mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Fixed nested structured of Entity/EntitySynonyms to reflect struct in docs (#35794)
This commit is contained in:
parent
32d0440d31
commit
cec8eb31ac
11
types/dialogflow/index.d.ts
vendored
11
types/dialogflow/index.d.ts
vendored
@ -890,7 +890,7 @@ export type Value =
|
||||
|
||||
export interface EntityType {
|
||||
name?: string;
|
||||
entities: EntitySynonyms[];
|
||||
entities: Entity[];
|
||||
displayName: string;
|
||||
kind: EntityKind;
|
||||
autoExpansionMode: EntityAutoExpansionMode;
|
||||
@ -916,9 +916,9 @@ export interface ClientOptions {
|
||||
servicePath?: string;
|
||||
}
|
||||
|
||||
export interface EntitySynonyms {
|
||||
synonyms: NonEmptyArray<string>;
|
||||
export interface Entity {
|
||||
value: string;
|
||||
synonyms: NonEmptyArray<string>;
|
||||
}
|
||||
|
||||
export type EntityKind =
|
||||
@ -1239,11 +1239,6 @@ export interface SessionEntityType {
|
||||
entities: Entity[];
|
||||
}
|
||||
|
||||
export interface Entity {
|
||||
value: string;
|
||||
synonyms: string[];
|
||||
}
|
||||
|
||||
export interface WebhookRequest {
|
||||
session: string;
|
||||
responseId: string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user