@@ -161,26 +161,31 @@ export interface MutationOptions {
161
161
decodeDatesAsIso ?: boolean ;
162
162
}
163
163
164
- type SimpleTypeSchemaProperty = {
164
+ export type SimpleTypeSchemaProperty = {
165
165
type : "string" | "boolean" | "number" | "integer" | "variable" ;
166
166
format ?: string ;
167
167
description ?: string ;
168
168
alias_for ?: string ;
169
169
default ?: string ;
170
170
} ;
171
- type ArrayTypeSchemaProperty = {
171
+ export type ArrayTypeSchemaProperty = {
172
172
type : "array" | "mapped_array" ;
173
173
items : RefSchemaProperty ;
174
174
description ?: string ;
175
175
alias_for ?: string ;
176
176
} ;
177
- type TypedSchemaProperty = SimpleTypeSchemaProperty | ArrayTypeSchemaProperty ;
178
- type RefSchemaProperty = {
177
+ export type TypedSchemaProperty =
178
+ | SimpleTypeSchemaProperty
179
+ | ArrayTypeSchemaProperty ;
180
+ export type RefSchemaProperty = {
179
181
[ "$ref" ] : string ;
180
182
} ;
181
- type SchemaProperties = {
183
+ export type SchemaProperties = {
182
184
[ key : string ] : TypedSchemaProperty | RefSchemaProperty ;
183
185
} ;
186
+ export type SchemaMixin = {
187
+ $ref : string ;
188
+ } ;
184
189
export interface Schema {
185
190
properties : SchemaProperties ;
186
191
default_projections : string [ ] ;
@@ -192,6 +197,7 @@ export interface Schema {
192
197
computed ?: string [ ] ;
193
198
system_projections ?: string [ ] ;
194
199
alias_for ?: string | Data ;
200
+ $mixin ?: SchemaMixin ;
195
201
}
196
202
export interface QueryOptions {
197
203
abortController ?: AbortController ;
0 commit comments