mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Fixed nested structured of Entity/EntitySynonyms to reflect struct in docs (#35794)
This commit is contained in:
Vendored
+3
-8
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user