File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1717 * under the License.
1818 */
1919
20- import { Dictionary } from '@spec_utils/Dictionary'
20+ import { Dictionary , SingleKeyDictionary } from '@spec_utils/Dictionary'
2121import { Metadata , PropertyName } from '@_types/common'
2222import { DynamicMapping , DynamicTemplate } from './dynamic-template'
2323import {
@@ -36,7 +36,7 @@ export class TypeMapping {
3636 date_detection ?: boolean
3737 dynamic ?: DynamicMapping
3838 dynamic_date_formats ?: string [ ]
39- dynamic_templates ?: Dictionary < string , DynamicTemplate > [ ]
39+ dynamic_templates ?: SingleKeyDictionary < string , DynamicTemplate > [ ]
4040 _field_names ?: FieldNamesField
4141 index_field ?: IndexField
4242 /** @doc_id mapping-meta-field */
Original file line number Diff line number Diff line change 1717 * under the License.
1818 */
1919
20- import { Dictionary } from '@spec_utils/Dictionary'
20+ import { Dictionary , SingleKeyDictionary } from '@spec_utils/Dictionary'
2121import { RequestBase } from '@_types/Base'
2222import {
2323 ExpandWildcards ,
@@ -141,7 +141,7 @@ export interface Request extends RequestBase {
141141 /**
142142 * Specify dynamic templates for the mapping.
143143 */
144- dynamic_templates ?: Dictionary < string , DynamicTemplate > [ ]
144+ dynamic_templates ?: SingleKeyDictionary < string , DynamicTemplate > [ ]
145145 /**
146146 * Control whether field names are enabled for the index.
147147 */
You can’t perform that action at this time.
0 commit comments