Skip to content

Commit cae7ca6

Browse files
committed
Updated output
1 parent a5d28f9 commit cae7ca6

File tree

2 files changed

+145
-1
lines changed

2 files changed

+145
-1
lines changed

output/schema/schema.json

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47461,6 +47461,27 @@
4746147461
"name": "TokenCountProperty",
4746247462
"namespace": "mapping.types.specialized.token_count"
4746347463
}
47464+
},
47465+
{
47466+
"kind": "instance_of",
47467+
"type": {
47468+
"name": "VersionProperty",
47469+
"namespace": "mapping.types.core.version"
47470+
}
47471+
},
47472+
{
47473+
"kind": "instance_of",
47474+
"type": {
47475+
"name": "WildcardProperty",
47476+
"namespace": "mapping.types.core.wildcard"
47477+
}
47478+
},
47479+
{
47480+
"kind": "instance_of",
47481+
"type": {
47482+
"name": "PointProperty",
47483+
"namespace": "mapping.types.geo.point"
47484+
}
4746447485
}
4746547486
],
4746647487
"kind": "union_of"
@@ -85875,6 +85896,64 @@
8587585896
}
8587685897
]
8587785898
},
85899+
{
85900+
"inherits": [
85901+
{
85902+
"type": {
85903+
"name": "DocValuesPropertyBase",
85904+
"namespace": "mapping.types"
85905+
}
85906+
}
85907+
],
85908+
"kind": "interface",
85909+
"name": {
85910+
"name": "PointProperty",
85911+
"namespace": "mapping.types.geo.point"
85912+
},
85913+
"properties": [
85914+
{
85915+
"name": "ignore_malformed",
85916+
"required": false,
85917+
"type": {
85918+
"kind": "instance_of",
85919+
"type": {
85920+
"name": "boolean",
85921+
"namespace": "internal"
85922+
}
85923+
}
85924+
},
85925+
{
85926+
"name": "ignore_z_value",
85927+
"required": false,
85928+
"type": {
85929+
"kind": "instance_of",
85930+
"type": {
85931+
"name": "boolean",
85932+
"namespace": "internal"
85933+
}
85934+
}
85935+
},
85936+
{
85937+
"name": "null_value",
85938+
"required": false,
85939+
"type": {
85940+
"kind": "instance_of",
85941+
"type": {
85942+
"name": "string",
85943+
"namespace": "internal"
85944+
}
85945+
}
85946+
},
85947+
{
85948+
"name": "type",
85949+
"required": true,
85950+
"type": {
85951+
"kind": "literal_value",
85952+
"value": "point"
85953+
}
85954+
}
85955+
]
85956+
},
8587885957
{
8587985958
"kind": "interface",
8588085959
"name": {
@@ -124398,6 +124477,31 @@
124398124477
}
124399124478
]
124400124479
},
124480+
{
124481+
"inherits": [
124482+
{
124483+
"type": {
124484+
"name": "DocValuesPropertyBase",
124485+
"namespace": "mapping.types"
124486+
}
124487+
}
124488+
],
124489+
"kind": "interface",
124490+
"name": {
124491+
"name": "VersionProperty",
124492+
"namespace": "mapping.types.core.version"
124493+
},
124494+
"properties": [
124495+
{
124496+
"name": "type",
124497+
"required": true,
124498+
"type": {
124499+
"kind": "literal_value",
124500+
"value": "version"
124501+
}
124502+
}
124503+
]
124504+
},
124401124505
{
124402124506
"kind": "enum",
124403124507
"members": [
@@ -125630,6 +125734,31 @@
125630125734
}
125631125735
]
125632125736
},
125737+
{
125738+
"inherits": [
125739+
{
125740+
"type": {
125741+
"name": "DocValuesPropertyBase",
125742+
"namespace": "mapping.types"
125743+
}
125744+
}
125745+
],
125746+
"kind": "interface",
125747+
"name": {
125748+
"name": "WildcardProperty",
125749+
"namespace": "mapping.types.core.wildcard"
125750+
},
125751+
"properties": [
125752+
{
125753+
"name": "type",
125754+
"required": true,
125755+
"type": {
125756+
"kind": "literal_value",
125757+
"value": "wildcard"
125758+
}
125759+
}
125760+
]
125761+
},
125633125762
{
125634125763
"inherits": [
125635125764
{

output/typescript/types.ts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4565,7 +4565,7 @@ export interface DocValueField {
45654565
format?: string
45664566
}
45674567

4568-
export type DocValuesProperty = BinaryProperty | BooleanProperty | DateProperty | DateNanosProperty | KeywordProperty | NumberProperty | RangeProperty | GeoPointProperty | GeoShapeProperty | CompletionProperty | GenericProperty | IpProperty | Murmur3HashProperty | ShapeProperty | TokenCountProperty
4568+
export type DocValuesProperty = BinaryProperty | BooleanProperty | DateProperty | DateNanosProperty | KeywordProperty | NumberProperty | RangeProperty | GeoPointProperty | GeoShapeProperty | CompletionProperty | GenericProperty | IpProperty | Murmur3HashProperty | ShapeProperty | TokenCountProperty | VersionProperty | WildcardProperty | PointProperty
45694569

45704570
export interface DocValuesPropertyBase extends CorePropertyBase {
45714571
doc_values?: boolean
@@ -8916,6 +8916,13 @@ export interface PointInTimeReference {
89168916
keep_alive?: Time
89178917
}
89188918

8919+
export interface PointProperty extends DocValuesPropertyBase {
8920+
ignore_malformed?: boolean
8921+
ignore_z_value?: boolean
8922+
null_value?: string
8923+
type: 'point'
8924+
}
8925+
89198926
export interface Policy {
89208927
phases: Phases
89218928
name?: string
@@ -13085,6 +13092,10 @@ export interface VerifyRepositoryResponse extends ResponseBase {
1308513092
nodes: Record<string, CompactNodeInfo>
1308613093
}
1308713094

13095+
export interface VersionProperty extends DocValuesPropertyBase {
13096+
type: 'version'
13097+
}
13098+
1308813099
export type VersionType = 'internal' | 'external' | 'external_gte' | 'force'
1308913100

1309013101
export type WaitForActiveShardOptions = 'all'
@@ -13225,6 +13236,10 @@ export interface WhitespaceTokenizer extends TokenizerBase {
1322513236
max_token_length: integer
1322613237
}
1322713238

13239+
export interface WildcardProperty extends DocValuesPropertyBase {
13240+
type: 'wildcard'
13241+
}
13242+
1322813243
export interface WildcardQuery extends QueryBase {
1322913244
rewrite?: MultiTermQueryRewrite
1323013245
value: string

0 commit comments

Comments
 (0)