File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 17
17
* under the License.
18
18
*/
19
19
20
- import { Dictionary } from '@spec_utils/Dictionary'
20
+ import { Dictionary , SingleKeyDictionary } from '@spec_utils/Dictionary'
21
21
import { Metadata , PropertyName } from '@_types/common'
22
22
import { DynamicMapping , DynamicTemplate } from './dynamic-template'
23
23
import {
@@ -36,7 +36,7 @@ export class TypeMapping {
36
36
date_detection ?: boolean
37
37
dynamic ?: DynamicMapping
38
38
dynamic_date_formats ?: string [ ]
39
- dynamic_templates ?: Dictionary < string , DynamicTemplate > [ ]
39
+ dynamic_templates ?: SingleKeyDictionary < string , DynamicTemplate > [ ]
40
40
_field_names ?: FieldNamesField
41
41
index_field ?: IndexField
42
42
/** @doc_id mapping-meta-field */
Original file line number Diff line number Diff line change 17
17
* under the License.
18
18
*/
19
19
20
- import { Dictionary } from '@spec_utils/Dictionary'
20
+ import { Dictionary , SingleKeyDictionary } from '@spec_utils/Dictionary'
21
21
import { RequestBase } from '@_types/Base'
22
22
import {
23
23
ExpandWildcards ,
@@ -141,7 +141,7 @@ export interface Request extends RequestBase {
141
141
/**
142
142
* Specify dynamic templates for the mapping.
143
143
*/
144
- dynamic_templates ?: Dictionary < string , DynamicTemplate > [ ]
144
+ dynamic_templates ?: SingleKeyDictionary < string , DynamicTemplate > [ ]
145
145
/**
146
146
* Control whether field names are enabled for the index.
147
147
*/
You can’t perform that action at this time.
0 commit comments