Skip to content

Commit

Permalink
fix(specs): dictionary entry for stopwords has type property (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3456

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Kai Welke <kai.welke@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
  • Loading branch information
3 people committed Aug 5, 2024
1 parent 68ab113 commit eeebdac
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/client-search/model/dictionaryEntry.ts
Original file line number Diff line number Diff line change
@@ -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';

/**
Expand Down Expand Up @@ -30,4 +31,6 @@ export type DictionaryEntry = Record<string, any> & {
decomposition?: string[];

state?: DictionaryEntryState;

type?: DictionaryEntryType;
};
6 changes: 6 additions & 0 deletions packages/client-search/model/dictionaryEntryType.ts
Original file line number Diff line number Diff line change
@@ -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';
1 change: 1 addition & 0 deletions packages/client-search/model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit eeebdac

Please sign in to comment.