diff --git a/output/schema/schema.json b/output/schema/schema.json index 9303e22abf..15b7d638a6 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -75666,7 +75666,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L172-L175" + "specLocation": "_types/mapping/core.ts#L176-L179" }, { "kind": "interface", @@ -75964,6 +75964,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, @@ -75995,7 +76017,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L78-L86" + "specLocation": "_types/mapping/core.ts#L80-L90" }, { "kind": "interface", @@ -76065,6 +76087,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, @@ -76107,7 +76151,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L66-L76" + "specLocation": "_types/mapping/core.ts#L66-L78" }, { "kind": "interface", @@ -76432,7 +76476,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L152-L155" + "specLocation": "_types/mapping/core.ts#L156-L159" }, { "kind": "interface", @@ -76757,7 +76801,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L302-L333" + "specLocation": "_types/mapping/core.ts#L306-L337" }, { "kind": "interface", @@ -77377,7 +77421,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L142-L145" + "specLocation": "_types/mapping/core.ts#L146-L149" }, { "kind": "interface", @@ -77650,7 +77694,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L147-L150" + "specLocation": "_types/mapping/core.ts#L151-L154" }, { "kind": "interface", @@ -77930,7 +77974,7 @@ "name": "IndexOptions", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/core.ts#L258-L263" + "specLocation": "_types/mapping/core.ts#L262-L267" }, { "kind": "interface", @@ -77965,7 +78009,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L157-L160" + "specLocation": "_types/mapping/core.ts#L161-L164" }, { "kind": "interface", @@ -78195,7 +78239,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L88-L92" + "specLocation": "_types/mapping/core.ts#L92-L96" }, { "kind": "interface", @@ -78372,7 +78416,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L94-L113" + "specLocation": "_types/mapping/core.ts#L98-L117" }, { "kind": "interface", @@ -78407,7 +78451,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L162-L165" + "specLocation": "_types/mapping/core.ts#L166-L169" }, { "kind": "interface", @@ -78512,7 +78556,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L231-L256" + "specLocation": "_types/mapping/core.ts#L235-L260" }, { "kind": "enum", @@ -78732,7 +78776,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L115-L135" + "specLocation": "_types/mapping/core.ts#L119-L139" }, { "kind": "interface", @@ -78794,7 +78838,7 @@ "name": "OnScriptError", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/core.ts#L137-L140" + "specLocation": "_types/mapping/core.ts#L141-L144" }, { "kind": "interface", @@ -78875,7 +78919,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L188-L190" + "specLocation": "_types/mapping/core.ts#L192-L194" }, { "kind": "interface", @@ -79504,7 +79548,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L192-L195" + "specLocation": "_types/mapping/core.ts#L196-L199" }, { "kind": "interface", @@ -79539,7 +79583,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L197-L200" + "specLocation": "_types/mapping/core.ts#L201-L204" }, { "kind": "interface", @@ -79824,7 +79868,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L182-L186" + "specLocation": "_types/mapping/core.ts#L186-L190" }, { "kind": "interface", @@ -79959,7 +80003,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L212-L223" + "specLocation": "_types/mapping/core.ts#L216-L227" }, { "kind": "interface", @@ -80010,7 +80054,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L206-L210" + "specLocation": "_types/mapping/core.ts#L210-L214" }, { "kind": "interface", @@ -80116,7 +80160,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L167-L170" + "specLocation": "_types/mapping/core.ts#L171-L174" }, { "kind": "interface", @@ -80263,7 +80307,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L202-L204" + "specLocation": "_types/mapping/core.ts#L206-L208" }, { "kind": "enum", @@ -80441,7 +80485,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L265-L268" + "specLocation": "_types/mapping/core.ts#L269-L272" }, { "kind": "interface", @@ -80654,7 +80698,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L270-L287" + "specLocation": "_types/mapping/core.ts#L274-L291" }, { "kind": "enum", @@ -81037,7 +81081,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L177-L180" + "specLocation": "_types/mapping/core.ts#L181-L184" }, { "kind": "interface", @@ -81061,7 +81105,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L289-L291" + "specLocation": "_types/mapping/core.ts#L293-L295" }, { "kind": "interface", @@ -81102,7 +81146,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 42a9952274..ff6ab16b0d 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -5439,6 +5439,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' @@ -5450,6 +5452,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'