diff --git a/output/schema/schema.json b/output/schema/schema.json index a5c1661119..23d5a9e436 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -75590,7 +75590,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L172-L175" + "specLocation": "_types/mapping/core.ts#L176-L179" }, { "kind": "interface", @@ -75888,6 +75888,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, @@ -75919,7 +75941,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L78-L86" + "specLocation": "_types/mapping/core.ts#L80-L90" }, { "kind": "interface", @@ -75989,6 +76011,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, @@ -76031,7 +76075,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L66-L76" + "specLocation": "_types/mapping/core.ts#L66-L78" }, { "kind": "interface", @@ -76356,7 +76400,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L152-L155" + "specLocation": "_types/mapping/core.ts#L156-L159" }, { "kind": "interface", @@ -76681,7 +76725,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L302-L333" + "specLocation": "_types/mapping/core.ts#L306-L337" }, { "kind": "interface", @@ -77301,7 +77345,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L142-L145" + "specLocation": "_types/mapping/core.ts#L146-L149" }, { "kind": "interface", @@ -77574,7 +77618,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L147-L150" + "specLocation": "_types/mapping/core.ts#L151-L154" }, { "kind": "interface", @@ -77854,7 +77898,7 @@ "name": "IndexOptions", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/core.ts#L258-L263" + "specLocation": "_types/mapping/core.ts#L262-L267" }, { "kind": "interface", @@ -77889,7 +77933,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L157-L160" + "specLocation": "_types/mapping/core.ts#L161-L164" }, { "kind": "interface", @@ -78119,7 +78163,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L88-L92" + "specLocation": "_types/mapping/core.ts#L92-L96" }, { "kind": "interface", @@ -78296,7 +78340,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L94-L113" + "specLocation": "_types/mapping/core.ts#L98-L117" }, { "kind": "interface", @@ -78331,7 +78375,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L162-L165" + "specLocation": "_types/mapping/core.ts#L166-L169" }, { "kind": "interface", @@ -78436,7 +78480,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L231-L256" + "specLocation": "_types/mapping/core.ts#L235-L260" }, { "kind": "enum", @@ -78656,7 +78700,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L115-L135" + "specLocation": "_types/mapping/core.ts#L119-L139" }, { "kind": "interface", @@ -78718,7 +78762,7 @@ "name": "OnScriptError", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/core.ts#L137-L140" + "specLocation": "_types/mapping/core.ts#L141-L144" }, { "kind": "interface", @@ -78799,7 +78843,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L188-L190" + "specLocation": "_types/mapping/core.ts#L192-L194" }, { "kind": "interface", @@ -79428,7 +79472,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L192-L195" + "specLocation": "_types/mapping/core.ts#L196-L199" }, { "kind": "interface", @@ -79463,7 +79507,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L197-L200" + "specLocation": "_types/mapping/core.ts#L201-L204" }, { "kind": "interface", @@ -79748,7 +79792,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L182-L186" + "specLocation": "_types/mapping/core.ts#L186-L190" }, { "kind": "interface", @@ -79883,7 +79927,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L212-L223" + "specLocation": "_types/mapping/core.ts#L216-L227" }, { "kind": "interface", @@ -79934,7 +79978,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L206-L210" + "specLocation": "_types/mapping/core.ts#L210-L214" }, { "kind": "interface", @@ -80040,7 +80084,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L167-L170" + "specLocation": "_types/mapping/core.ts#L171-L174" }, { "kind": "interface", @@ -80187,7 +80231,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L202-L204" + "specLocation": "_types/mapping/core.ts#L206-L208" }, { "kind": "enum", @@ -80365,7 +80409,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L265-L268" + "specLocation": "_types/mapping/core.ts#L269-L272" }, { "kind": "interface", @@ -80578,7 +80622,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L270-L287" + "specLocation": "_types/mapping/core.ts#L274-L291" }, { "kind": "enum", @@ -80961,7 +81005,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L177-L180" + "specLocation": "_types/mapping/core.ts#L181-L184" }, { "kind": "interface", @@ -80985,7 +81029,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L289-L291" + "specLocation": "_types/mapping/core.ts#L293-L295" }, { "kind": "interface", @@ -81026,7 +81070,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 c3857a47bb..848f9bf998 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'