From eeebdac544d476af31d490588cc901227cff92d1 Mon Sep 17 00:00:00 2001 From: algolia-bot Date: Mon, 5 Aug 2024 08:45:17 +0000 Subject: [PATCH] fix(specs): dictionary entry for stopwords has type property (generated) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/algolia/api-clients-automation/pull/3456 Co-authored-by: algolia-bot Co-authored-by: Kai Welke Co-authored-by: Clément Vannicatte --- packages/client-search/model/dictionaryEntry.ts | 3 +++ packages/client-search/model/dictionaryEntryType.ts | 6 ++++++ packages/client-search/model/index.ts | 1 + 3 files changed, 10 insertions(+) create mode 100644 packages/client-search/model/dictionaryEntryType.ts diff --git a/packages/client-search/model/dictionaryEntry.ts b/packages/client-search/model/dictionaryEntry.ts index 16fce7026..819512048 100644 --- a/packages/client-search/model/dictionaryEntry.ts +++ b/packages/client-search/model/dictionaryEntry.ts @@ -1,6 +1,7 @@ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. import type { DictionaryEntryState } from './dictionaryEntryState'; +import type { DictionaryEntryType } from './dictionaryEntryType'; import type { SupportedLanguage } from './supportedLanguage'; /** @@ -30,4 +31,6 @@ export type DictionaryEntry = Record & { decomposition?: string[]; state?: DictionaryEntryState; + + type?: DictionaryEntryType; }; diff --git a/packages/client-search/model/dictionaryEntryType.ts b/packages/client-search/model/dictionaryEntryType.ts new file mode 100644 index 000000000..f3f97e15b --- /dev/null +++ b/packages/client-search/model/dictionaryEntryType.ts @@ -0,0 +1,6 @@ +// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. + +/** + * Whether a dictionary entry is provided by Algolia (standard), or has been added by you (custom). + */ +export type DictionaryEntryType = 'custom' | 'standard'; diff --git a/packages/client-search/model/index.ts b/packages/client-search/model/index.ts index 3f77a760e..73f280d71 100644 --- a/packages/client-search/model/index.ts +++ b/packages/client-search/model/index.ts @@ -49,6 +49,7 @@ export * from './deletedAtResponse'; export * from './dictionaryAction'; export * from './dictionaryEntry'; export * from './dictionaryEntryState'; +export * from './dictionaryEntryType'; export * from './dictionaryLanguage'; export * from './dictionarySettingsParams'; export * from './dictionaryType';