diff --git a/output/schema/schema.json b/output/schema/schema.json index 3ebce4876f..a7bc743f88 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -75589,7 +75589,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L172-L175" + "specLocation": "_types/mapping/core.ts#L176-L179" }, { "kind": "interface", @@ -75887,6 +75887,28 @@ } } }, + { + "name": "script", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "Script", + "namespace": "_types" + } + } + }, + { + "name": "on_script_error", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "OnScriptError", + "namespace": "_types.mapping" + } + } + }, { "name": "null_value", "required": false, @@ -75918,7 +75940,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L78-L86" + "specLocation": "_types/mapping/core.ts#L80-L90" }, { "kind": "interface", @@ -75988,6 +76010,28 @@ } } }, + { + "name": "script", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "Script", + "namespace": "_types" + } + } + }, + { + "name": "on_script_error", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "OnScriptError", + "namespace": "_types.mapping" + } + } + }, { "name": "null_value", "required": false, @@ -76030,7 +76074,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L66-L76" + "specLocation": "_types/mapping/core.ts#L66-L78" }, { "kind": "interface", @@ -76355,7 +76399,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L152-L155" + "specLocation": "_types/mapping/core.ts#L156-L159" }, { "kind": "interface", @@ -76680,7 +76724,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L302-L333" + "specLocation": "_types/mapping/core.ts#L306-L337" }, { "kind": "interface", @@ -77300,7 +77344,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L142-L145" + "specLocation": "_types/mapping/core.ts#L146-L149" }, { "kind": "interface", @@ -77573,7 +77617,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L147-L150" + "specLocation": "_types/mapping/core.ts#L151-L154" }, { "kind": "interface", @@ -77853,7 +77897,7 @@ "name": "IndexOptions", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/core.ts#L258-L263" + "specLocation": "_types/mapping/core.ts#L262-L267" }, { "kind": "interface", @@ -77888,7 +77932,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L157-L160" + "specLocation": "_types/mapping/core.ts#L161-L164" }, { "kind": "interface", @@ -78118,7 +78162,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L88-L92" + "specLocation": "_types/mapping/core.ts#L92-L96" }, { "kind": "interface", @@ -78295,7 +78339,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L94-L113" + "specLocation": "_types/mapping/core.ts#L98-L117" }, { "kind": "interface", @@ -78330,7 +78374,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L162-L165" + "specLocation": "_types/mapping/core.ts#L166-L169" }, { "kind": "interface", @@ -78435,7 +78479,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L231-L256" + "specLocation": "_types/mapping/core.ts#L235-L260" }, { "kind": "enum", @@ -78655,7 +78699,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L115-L135" + "specLocation": "_types/mapping/core.ts#L119-L139" }, { "kind": "interface", @@ -78717,7 +78761,7 @@ "name": "OnScriptError", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/core.ts#L137-L140" + "specLocation": "_types/mapping/core.ts#L141-L144" }, { "kind": "interface", @@ -78798,7 +78842,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L188-L190" + "specLocation": "_types/mapping/core.ts#L192-L194" }, { "kind": "interface", @@ -79427,7 +79471,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L192-L195" + "specLocation": "_types/mapping/core.ts#L196-L199" }, { "kind": "interface", @@ -79462,7 +79506,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L197-L200" + "specLocation": "_types/mapping/core.ts#L201-L204" }, { "kind": "interface", @@ -79747,7 +79791,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L182-L186" + "specLocation": "_types/mapping/core.ts#L186-L190" }, { "kind": "interface", @@ -79882,7 +79926,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L212-L223" + "specLocation": "_types/mapping/core.ts#L216-L227" }, { "kind": "interface", @@ -79933,7 +79977,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L206-L210" + "specLocation": "_types/mapping/core.ts#L210-L214" }, { "kind": "interface", @@ -80039,7 +80083,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L167-L170" + "specLocation": "_types/mapping/core.ts#L171-L174" }, { "kind": "interface", @@ -80186,7 +80230,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L202-L204" + "specLocation": "_types/mapping/core.ts#L206-L208" }, { "kind": "enum", @@ -80364,7 +80408,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L265-L268" + "specLocation": "_types/mapping/core.ts#L269-L272" }, { "kind": "interface", @@ -80577,7 +80621,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L270-L287" + "specLocation": "_types/mapping/core.ts#L274-L291" }, { "kind": "enum", @@ -80960,7 +81004,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L177-L180" + "specLocation": "_types/mapping/core.ts#L181-L184" }, { "kind": "interface", @@ -80984,7 +81028,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L289-L291" + "specLocation": "_types/mapping/core.ts#L293-L295" }, { "kind": "interface", @@ -81025,7 +81069,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L293-L300" + "specLocation": "_types/mapping/core.ts#L297-L304" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 956eb1bf0a..b6b7d1ee14 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -5429,6 +5429,8 @@ export interface MappingDateNanosProperty extends MappingDocValuesPropertyBase { format?: string ignore_malformed?: boolean index?: boolean + script?: Script | string + on_script_error?: MappingOnScriptError null_value?: DateTime precision_step?: integer type: 'date_nanos' @@ -5440,6 +5442,8 @@ export interface MappingDateProperty extends MappingDocValuesPropertyBase { format?: string ignore_malformed?: boolean index?: boolean + script?: Script | string + on_script_error?: MappingOnScriptError null_value?: DateTime precision_step?: integer locale?: string diff --git a/specification/_types/mapping/core.ts b/specification/_types/mapping/core.ts index aa25c6d091..c1233a18d9 100644 --- a/specification/_types/mapping/core.ts +++ b/specification/_types/mapping/core.ts @@ -69,6 +69,8 @@ export class DateProperty extends DocValuesPropertyBase { format?: string ignore_malformed?: boolean index?: boolean + script?: Script + on_script_error?: OnScriptError null_value?: DateTime precision_step?: integer locale?: string @@ -80,6 +82,8 @@ export class DateNanosProperty extends DocValuesPropertyBase { format?: string ignore_malformed?: boolean index?: boolean + script?: Script + on_script_error?: OnScriptError null_value?: DateTime precision_step?: integer type: 'date_nanos'