@takeshape/schema 8.86.2 → 8.87.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/es/migration/index.js +3 -1
  2. package/es/migration/to/v3.16.0.js +10 -0
  3. package/es/project-schema/index.js +3 -1
  4. package/es/project-schema/migrate.js +5 -1
  5. package/es/project-schema/v3.16.0.js +1 -0
  6. package/es/schema-util.js +20 -5
  7. package/es/schemas/index.js +4 -3
  8. package/es/schemas/index.ts +4 -2
  9. package/es/schemas/project-schema/latest.json +10 -2
  10. package/es/schemas/project-schema/v3.16.0.json +2367 -0
  11. package/es/schemas/project-schema.json +3 -0
  12. package/es/validate.js +1 -1
  13. package/examples/latest/betzino.json +1 -1
  14. package/examples/latest/blog-schema.json +1 -1
  15. package/examples/latest/brewery-schema.json +1 -1
  16. package/examples/latest/complex-project-schema.json +1 -1
  17. package/examples/latest/fabric-ecommerce.json +1 -1
  18. package/examples/latest/frank-and-fred-schema.json +1 -1
  19. package/examples/latest/massive-schema.json +1 -1
  20. package/examples/latest/mill-components-schema.json +1 -1
  21. package/examples/latest/pet-oneof-array.json +1 -1
  22. package/examples/latest/post-schema.json +1 -1
  23. package/examples/latest/pruned-shopify-product-schema.json +1 -1
  24. package/examples/latest/real-world-schema.json +1 -1
  25. package/examples/latest/recursive-repeater-schema.json +1 -1
  26. package/examples/latest/recursive-schema.json +1 -1
  27. package/examples/latest/rick-and-morty-ast.json +1 -1
  28. package/examples/latest/rick-and-morty-graphql.json +1 -1
  29. package/examples/latest/rick-and-morty-rest.json +1 -1
  30. package/examples/latest/schema-with-repeater-draftjs.json +1 -1
  31. package/examples/latest/shape-books-v3_2_0.json +1 -1
  32. package/examples/latest/shape-books.json +1 -1
  33. package/examples/latest/shopify-lookbook.json +1 -1
  34. package/examples/latest/shopify-store-with-widget.json +1 -1
  35. package/examples/latest/stripe-starter-resolved.json +1 -1
  36. package/examples/latest/user-schema-no-required.json +1 -1
  37. package/examples/latest/user-schema-with-defaults.json +1 -1
  38. package/lib/migration/index.d.ts +1 -0
  39. package/lib/migration/index.d.ts.map +1 -1
  40. package/lib/migration/index.js +4 -1
  41. package/lib/migration/to/v3.16.0.d.ts +5 -0
  42. package/lib/migration/to/v3.16.0.d.ts.map +1 -0
  43. package/lib/migration/to/v3.16.0.js +18 -0
  44. package/lib/project-schema/index.d.ts +4 -1
  45. package/lib/project-schema/index.d.ts.map +1 -1
  46. package/lib/project-schema/index.js +20 -3
  47. package/lib/project-schema/latest.d.ts +13 -1
  48. package/lib/project-schema/latest.d.ts.map +1 -1
  49. package/lib/project-schema/migrate.d.ts.map +1 -1
  50. package/lib/project-schema/migrate.js +4 -0
  51. package/lib/project-schema/v3.16.0.d.ts +1471 -0
  52. package/lib/project-schema/v3.16.0.d.ts.map +1 -0
  53. package/lib/project-schema/v3.16.0.js +5 -0
  54. package/lib/schema-util.d.ts.map +1 -1
  55. package/lib/schema-util.js +20 -5
  56. package/lib/schemas/index.d.ts +4583 -4583
  57. package/lib/schemas/index.d.ts.map +1 -1
  58. package/lib/schemas/index.js +6 -4
  59. package/lib/schemas/index.ts +4 -2
  60. package/lib/schemas/project-schema/latest.json +10 -2
  61. package/lib/schemas/project-schema/v3.16.0.json +2367 -0
  62. package/lib/schemas/project-schema.json +3 -0
  63. package/lib/types/types.d.ts +2 -2
  64. package/lib/types/types.d.ts.map +1 -1
  65. package/lib/validate.js +1 -1
  66. package/package.json +6 -6
@@ -0,0 +1,1471 @@
1
+ /**
2
+ * This file was automatically generated by json-schema-to-typescript.
3
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
+ * and run json-schema-to-typescript to regenerate this file.
5
+ */
6
+ /**
7
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
8
+ * via the `definition` "args".
9
+ */
10
+ export declare type ArgsV3_16_0 = string | ObjectSchemaV3_16_0;
11
+ /**
12
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
13
+ * via the `definition` "objectSchema".
14
+ */
15
+ export declare type ObjectSchemaV3_16_0 = PropertySchemaV3_16_0 & {
16
+ type: 'object';
17
+ properties: {
18
+ [k: string]: PropertySchemaV3_16_0;
19
+ };
20
+ };
21
+ /**
22
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
23
+ * via the `definition` "nonNegativeInteger".
24
+ */
25
+ export declare type NonNegativeIntegerV3_16_0 = number;
26
+ /**
27
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
28
+ * via the `definition` "nonNegativeIntegerDefault0".
29
+ */
30
+ export declare type NonNegativeIntegerDefault0V3_16_0 = NonNegativeIntegerV3_16_0;
31
+ /**
32
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
33
+ * via the `definition` "stringArray".
34
+ */
35
+ export declare type StringArrayV3_16_0 = string[];
36
+ /**
37
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
38
+ * via the `definition` "simpleTypes".
39
+ */
40
+ export declare type SimpleTypesV3_16_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
41
+ /**
42
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
43
+ * via the `definition` "schemaArray".
44
+ */
45
+ export declare type SchemaArrayV3_16_0 = PropertySchemaV3_16_0[];
46
+ /**
47
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
48
+ * via the `definition` "ref".
49
+ */
50
+ export declare type RefV3_16_0 = string;
51
+ /**
52
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
53
+ * via the `definition` "objectOrRefArray".
54
+ */
55
+ export declare type ObjectOrRefArrayV3_16_0 = (RefSchemaV3_16_0 | RefSchemaLegacyV3_16_0 | ObjectSchemaV3_16_0)[];
56
+ /**
57
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
58
+ * via the `definition` "fieldMapping".
59
+ */
60
+ export declare type FieldMappingV3_16_0 = MappingStringV3_16_0 | MappingStringV3_16_0[];
61
+ /**
62
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
63
+ * via the `definition` "mappingString".
64
+ */
65
+ export declare type MappingStringV3_16_0 = string;
66
+ /**
67
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
68
+ * via the `definition` "resolver".
69
+ */
70
+ export declare type ResolverV3_16_0 = BasicResolverV3_16_0 | ComposeResolverV3_16_0;
71
+ /**
72
+ * A single resolver, can be composed with the ComposeResolver.
73
+ *
74
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
75
+ * via the `definition` "basicResolver".
76
+ */
77
+ export declare type BasicResolverV3_16_0 = UtilResolverV3_16_0 | TakeshapeResolverV3_16_0 | InternalTakeshapeResolverV3_16_0 | GraphqlResolverV3_16_0 | RestResolverV3_16_0 | AwsLambdaResolverV3_16_0;
78
+ /**
79
+ * Name of the resolver function.
80
+ */
81
+ export declare type UtilResolverNameV3_16_0 = 'debug:noop' | 'util:wrap';
82
+ /**
83
+ * An object describing an operation to generate a parameter.
84
+ *
85
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
86
+ * via the `definition` "parameterOp".
87
+ */
88
+ export declare type ParameterOpV3_16_0 = ParameterOpNestedV3_16_0 | ParameterOpValueV3_16_0 | ParameterOpMappingV3_16_0 | ParameterOpOpV3_16_0;
89
+ /**
90
+ * A tuple with a string directive name, and options to pass to the directive
91
+ *
92
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
93
+ * via the `definition` "directiveConfigItem".
94
+ */
95
+ export declare type DirectiveConfigItemV3_16_0 = [DirectiveNameV3_16_0, DirectiveOptionsV3_16_0];
96
+ export declare type DirectiveNameV3_16_0 = string;
97
+ /**
98
+ * An array of individual directive config items to process in order
99
+ *
100
+ * This interface was referenced by `DirectiveMappingMapV3_16_0`'s JSON-Schema definition
101
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
102
+ *
103
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
104
+ * via the `definition` "directiveConfig".
105
+ */
106
+ export declare type DirectiveConfigV3_16_0 = DirectiveConfigItemV3_16_0[];
107
+ /**
108
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
109
+ * via the `definition` "parameterOpList".
110
+ */
111
+ export declare type ParameterOpListV3_16_0 = ParameterOpV3_16_0[];
112
+ /**
113
+ * Maps a query's input args to the input expected by the service's endpoint.
114
+ *
115
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
116
+ * via the `definition` "argsMapping".
117
+ */
118
+ export declare type ArgsMappingV3_16_0 = DirectiveMappingMapV3_16_0 | DirectiveConfigV3_16_0;
119
+ /**
120
+ * Maps a service endpoint's response results to the expected shape of the query's response.
121
+ *
122
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
123
+ * via the `definition` "resultsMapping".
124
+ */
125
+ export declare type ResultsMappingV3_16_0 = DirectiveMappingMapV3_16_0 | DirectiveConfigV3_16_0;
126
+ /**
127
+ * Name of the resolver function.
128
+ */
129
+ export declare type TakeshapeResolverNameV3_16_0 = 'takeshape:get' | 'takeshape:create' | 'takeshape:update' | 'takeshape:delete' | 'takeshape:duplicate' | 'takeshape:find' | 'takeshape:queryApiIndex';
130
+ /**
131
+ * Name of the resolver function.
132
+ */
133
+ export declare type InternalTakeshapeResolverNameV3_16_0 = 'takeshape:getRelationship' | 'takeshape:taxonomySuggest' | 'takeshape:list' | 'takeshape:search';
134
+ /**
135
+ * Name of the resolver function.
136
+ */
137
+ export declare type GraphqlResolverNameV3_16_0 = 'graphql:query' | 'graphql:mutation';
138
+ /**
139
+ * Name of the resolver function.
140
+ */
141
+ export declare type RestResolverNameV3_16_0 = 'rest:get' | 'rest:head' | 'rest:post' | 'rest:put' | 'rest:patch' | 'rest:delete';
142
+ /**
143
+ * A tuple with a string key and a directive config to evaluate
144
+ *
145
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
146
+ * via the `definition` "directiveMappingArrayItem".
147
+ */
148
+ export declare type DirectiveMappingArrayItemV3_16_0 = [string, DirectiveConfigV3_16_0];
149
+ /**
150
+ * An array of key / value or directive config tuples
151
+ */
152
+ export declare type SearchParamsMappingV3_16_0 = DirectiveMappingArrayItemV3_16_0[];
153
+ /**
154
+ * Name of the resolver function.
155
+ */
156
+ export declare type AwsLambdaResolverNameV3_16_0 = 'awsLambda:invoke';
157
+ /**
158
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
159
+ * via the `definition` "returnShape".
160
+ */
161
+ export declare type ReturnShapeV3_16_0 = string | ReturnShapeArraySchemaV3_16_0;
162
+ /**
163
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
164
+ * via the `definition` "returnShapeArraySchema".
165
+ */
166
+ export declare type ReturnShapeArraySchemaV3_16_0 = PropertySchemaV3_16_0 & {
167
+ type: 'array';
168
+ items: RefSchemaV3_16_0 | {
169
+ type: 'boolean' | 'integer' | 'number' | 'string';
170
+ [k: string]: any;
171
+ };
172
+ };
173
+ export declare type ModelTypeV3_16_0 = 'single' | 'multiple' | 'taxonomy';
174
+ /**
175
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
176
+ * via the `definition` "shapeSchema".
177
+ */
178
+ export declare type ShapeSchemaV3_16_0 = ShapeSchemaAllOfV3_16_0 | ShapeSchemaExtendsV3_16_0 | ShapeSchemaOneOfV3_16_0 | ShapeSchemaEnumV3_16_0 | ObjectSchemaV3_16_0;
179
+ /**
180
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
181
+ * via the `definition` "paginationConfig".
182
+ */
183
+ export declare type PaginationConfigV3_16_0 = PaginationCursorConfigV3_16_0 | PaginationPageConfigV3_16_0 | PaginationOffsetConfigV3_16_0;
184
+ /**
185
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
186
+ * via the `definition` "indexedShapeTriggersConfig".
187
+ */
188
+ export declare type IndexedShapeTriggersConfigV3_16_0 = IndexedShapeScheduleTriggerConfigV3_16_0 | IndexedShapeWebhookTriggerConfigV3_16_0;
189
+ /**
190
+ * Human-readable id for use in the UI
191
+ */
192
+ export declare type WorkflowNameV3_16_0 = string;
193
+ /**
194
+ * machine-readable slug
195
+ */
196
+ export declare type NameV3_16_0 = string;
197
+ /**
198
+ * Human-readable id for use in the UI
199
+ */
200
+ export declare type TitleV3_16_0 = string;
201
+ export declare type DescriptionV3_16_0 = string;
202
+ /**
203
+ * Hex color code
204
+ */
205
+ export declare type ColorV3_16_0 = string;
206
+ /**
207
+ * Value to indicate whether items in the state should be returned in list queries
208
+ */
209
+ export declare type LiveV3_16_0 = boolean;
210
+ /**
211
+ * machine-readable id
212
+ */
213
+ export declare type KeyV3_16_0 = string;
214
+ export declare type StepsV3_16_0 = WorkflowStepV3_16_0[];
215
+ /**
216
+ * The general type of this service, specifying how and where it will be utilized.
217
+ *
218
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
219
+ * via the `definition` "serviceType".
220
+ */
221
+ export declare type ServiceTypeV3_16_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
222
+ /**
223
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
224
+ * via the `definition` "allOfSchema".
225
+ */
226
+ export declare type AllOfSchemaV3_16_0 = PropertySchemaV3_16_0 & {
227
+ allOf: ObjectOrRefArrayV3_16_0;
228
+ };
229
+ /**
230
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
231
+ * via the `definition` "extendsSchema".
232
+ */
233
+ export declare type ExtendsSchemaV3_16_0 = PropertySchemaV3_16_0 & {
234
+ extends: ObjectOrRefArrayV3_16_0;
235
+ };
236
+ /**
237
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
238
+ * via the `definition` "oneOfSchema".
239
+ */
240
+ export declare type OneOfSchemaV3_16_0 = PropertySchemaV3_16_0 & {
241
+ oneOf: ObjectOrRefArrayV3_16_0;
242
+ };
243
+ /**
244
+ * Options to be passed to the serialization routine.
245
+ *
246
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
247
+ * via the `definition` "parameterSerializeOptions".
248
+ *
249
+ * This interface was referenced by `undefined`'s JSON-Schema definition
250
+ * via the `patternProperty` "^[^\n\r]*$".
251
+ */
252
+ export declare type ParameterSerializeOptionsV3_16_0 = ParameterSerializeStyleOptionsV3_16_0 | ParameterSerializeContentOptionsV3_16_0;
253
+ /**
254
+ * An array of key / value or directive config tuples
255
+ *
256
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
257
+ * via the `definition` "directiveMappingArray".
258
+ */
259
+ export declare type DirectiveMappingArrayV3_16_0 = DirectiveMappingArrayItemV3_16_0[];
260
+ /**
261
+ * An array of key / value or directive config tuples
262
+ *
263
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
264
+ * via the `definition` "searchParamsMapping".
265
+ */
266
+ export declare type SearchParamsMappingV3_16_01 = DirectiveMappingArrayItemV3_16_0[];
267
+ /**
268
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
269
+ * via the `definition` "shapeWithObjectSchema".
270
+ */
271
+ export declare type ShapeWithObjectSchemaV3_16_0 = ShapeV3_16_0 & {
272
+ schema: ObjectSchemaV3_16_0;
273
+ };
274
+ /**
275
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
276
+ * via the `definition` "serviceAuthentication".
277
+ */
278
+ export declare type ServiceAuthenticationV3_16_0 = OAuth2AuthenticationV3_16_0 | OAuth2BearerAuthenticationV3_16_0 | BearerAuthenticationV3_16_0 | BasicAuthenticationV3_16_0 | SearchParamsAuthenticationV3_16_0 | AWSAuthenticationV3_16_0 | CustomAuthenticationV3_16_0;
279
+ /**
280
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
281
+ * via the `definition` "anyServiceConfig".
282
+ */
283
+ export declare type AnyServiceConfigV3_16_0 = StoredServiceConfigV3_16_0 | ServiceConfigV3_16_0;
284
+ export interface ProjectSchemaV3_16_0 {
285
+ $schema?: string;
286
+ /**
287
+ * This is the revision number of your schema. Every time your project schema is updated, this value should be incremented.
288
+ */
289
+ version: number;
290
+ /**
291
+ * The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
292
+ */
293
+ apiVersion: string;
294
+ /**
295
+ * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
296
+ */
297
+ schemaVersion: '3.16.0';
298
+ /**
299
+ * The ID of the TakeShape project this schema belongs to.
300
+ */
301
+ projectId: string;
302
+ /**
303
+ * The ID of the TakeShape user who created the schema.
304
+ */
305
+ author?: string;
306
+ /**
307
+ * The date the schema was created
308
+ */
309
+ created: string;
310
+ /**
311
+ * The date the schema was last updated
312
+ */
313
+ updated: string;
314
+ deactivated?: number;
315
+ /**
316
+ * The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
317
+ */
318
+ defaultLocale: string;
319
+ locales: string[];
320
+ queries: QueryMapV3_16_0;
321
+ mutations: QueryMapV3_16_0;
322
+ shapes: ShapeMapV3_16_0;
323
+ indexedShapes?: IndexedShapeMapV3_16_0;
324
+ forms?: FormMapV3_16_0;
325
+ workflows: WorkflowMapV3_16_0;
326
+ dataKey: string;
327
+ services?: StoredServiceMapV3_16_0;
328
+ }
329
+ /**
330
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
331
+ * via the `definition` "queryMap".
332
+ */
333
+ export interface QueryMapV3_16_0 {
334
+ [k: string]: QueryV3_16_0;
335
+ }
336
+ /**
337
+ * This interface was referenced by `QueryMapV3_16_0`'s JSON-Schema definition
338
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
339
+ *
340
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
341
+ * via the `definition` "query".
342
+ */
343
+ export interface QueryV3_16_0 {
344
+ args?: ArgsV3_16_0;
345
+ resolver: ResolverV3_16_0;
346
+ shape: ReturnShapeV3_16_0;
347
+ /**
348
+ * Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
349
+ */
350
+ description?: string;
351
+ [k: string]: any;
352
+ }
353
+ /**
354
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
355
+ * via the `definition` "propertySchema".
356
+ */
357
+ export interface PropertySchemaV3_16_0 {
358
+ $ref?: string;
359
+ title?: string;
360
+ description?: string;
361
+ default?: any;
362
+ readOnly?: boolean;
363
+ multipleOf?: number;
364
+ maximum?: number;
365
+ exclusiveMaximum?: number;
366
+ minimum?: number;
367
+ exclusiveMinimum?: number;
368
+ maxLength?: NonNegativeIntegerV3_16_0;
369
+ minLength?: NonNegativeIntegerDefault0V3_16_0;
370
+ pattern?: string;
371
+ additionalItems?: PropertySchemaV3_16_0;
372
+ items?: PropertySchemaV3_16_0;
373
+ maxItems?: NonNegativeIntegerV3_16_0;
374
+ minItems?: NonNegativeIntegerDefault0V3_16_0;
375
+ uniqueItems?: boolean;
376
+ contains?: PropertySchemaV3_16_0;
377
+ maxProperties?: NonNegativeIntegerV3_16_0;
378
+ minProperties?: NonNegativeIntegerDefault0V3_16_0;
379
+ required?: StringArrayV3_16_0;
380
+ additionalProperties?: PropertySchemaV3_16_0 | false;
381
+ definitions?: {
382
+ [k: string]: PropertySchemaV3_16_0;
383
+ };
384
+ properties?: {
385
+ [k: string]: PropertySchemaV3_16_0;
386
+ };
387
+ const?: any;
388
+ enum?: any[];
389
+ type?: SimpleTypesV3_16_0 | SimpleTypesV3_16_0[];
390
+ format?: string;
391
+ contentMediaType?: string;
392
+ contentEncoding?: string;
393
+ allOf?: SchemaArrayV3_16_0;
394
+ discriminator?: {
395
+ propertyName?: string;
396
+ [k: string]: any;
397
+ };
398
+ oneOf?: SchemaArrayV3_16_0;
399
+ extends?: ObjectOrRefArrayV3_16_0;
400
+ '@relationship'?: RelationshipV3_16_0;
401
+ '@backreference'?: BackReferenceV3_16_0;
402
+ '@input'?: InputV3_16_0;
403
+ '@syncLocaleStructure'?: boolean;
404
+ '@sensitive'?: boolean;
405
+ '@draftjs'?: boolean;
406
+ '@l10n'?: boolean;
407
+ '@key'?: string;
408
+ '@workflow'?: string;
409
+ '@mapping'?: FieldMappingV3_16_0;
410
+ '@tag'?: string;
411
+ '@tags'?: string[];
412
+ '@deprecationReason'?: string;
413
+ '@user'?: boolean;
414
+ '@args'?: ArgsV3_16_0;
415
+ '@resolver'?: ResolverV3_16_0;
416
+ '@ref'?: RefV3_16_0;
417
+ '@derivedFrom'?: string;
418
+ }
419
+ /**
420
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
421
+ * via the `definition` "refSchema".
422
+ */
423
+ export interface RefSchemaV3_16_0 {
424
+ '@ref': RefV3_16_0;
425
+ [k: string]: any;
426
+ }
427
+ /**
428
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
429
+ * via the `definition` "refSchemaLegacy".
430
+ */
431
+ export interface RefSchemaLegacyV3_16_0 {
432
+ $ref: RefV3_16_0;
433
+ [k: string]: any;
434
+ }
435
+ /**
436
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
437
+ * via the `definition` "relationship".
438
+ */
439
+ export interface RelationshipV3_16_0 {
440
+ shapeIds: string[];
441
+ type?: string;
442
+ relatedName?: string;
443
+ }
444
+ /**
445
+ * A configuration object for a reverse reference in a relationship.
446
+ *
447
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
448
+ * via the `definition` "backreference".
449
+ */
450
+ export interface BackReferenceV3_16_0 {
451
+ enabled: boolean;
452
+ name?: string;
453
+ }
454
+ export interface InputV3_16_0 {
455
+ $ref?: string;
456
+ title?: string;
457
+ description?: string;
458
+ default?: any;
459
+ readOnly?: boolean;
460
+ multipleOf?: number;
461
+ maximum?: number;
462
+ exclusiveMaximum?: number;
463
+ minimum?: number;
464
+ exclusiveMinimum?: number;
465
+ maxLength?: NonNegativeIntegerV3_16_0;
466
+ minLength?: NonNegativeIntegerDefault0V3_16_0;
467
+ pattern?: string;
468
+ additionalItems?: PropertySchemaV3_16_0;
469
+ items?: PropertySchemaV3_16_0;
470
+ maxItems?: NonNegativeIntegerV3_16_0;
471
+ minItems?: NonNegativeIntegerDefault0V3_16_0;
472
+ uniqueItems?: boolean;
473
+ contains?: PropertySchemaV3_16_0;
474
+ maxProperties?: NonNegativeIntegerV3_16_0;
475
+ minProperties?: NonNegativeIntegerDefault0V3_16_0;
476
+ required?: StringArrayV3_16_0;
477
+ additionalProperties?: PropertySchemaV3_16_0 | false;
478
+ definitions?: {
479
+ [k: string]: PropertySchemaV3_16_0;
480
+ };
481
+ properties?: {
482
+ [k: string]: PropertySchemaV3_16_0;
483
+ };
484
+ const?: any;
485
+ enum?: any[];
486
+ type?: SimpleTypesV3_16_0 | SimpleTypesV3_16_0[];
487
+ format?: string;
488
+ contentMediaType?: string;
489
+ contentEncoding?: string;
490
+ allOf?: SchemaArrayV3_16_0;
491
+ discriminator?: {
492
+ propertyName?: string;
493
+ [k: string]: any;
494
+ };
495
+ oneOf?: SchemaArrayV3_16_0;
496
+ extends?: ObjectOrRefArrayV3_16_0;
497
+ '@relationship'?: RelationshipV3_16_0;
498
+ '@backreference'?: BackReferenceV3_16_0;
499
+ '@input'?: InputV3_16_0;
500
+ '@syncLocaleStructure'?: boolean;
501
+ '@sensitive'?: boolean;
502
+ '@draftjs'?: boolean;
503
+ '@l10n'?: boolean;
504
+ '@key'?: string;
505
+ '@workflow'?: string;
506
+ '@mapping'?: FieldMappingV3_16_0;
507
+ '@tag'?: string;
508
+ '@tags'?: string[];
509
+ '@deprecationReason'?: string;
510
+ '@user'?: boolean;
511
+ '@args'?: ArgsV3_16_0;
512
+ '@resolver'?: ResolverV3_16_0;
513
+ '@ref'?: RefV3_16_0;
514
+ '@derivedFrom'?: string;
515
+ }
516
+ /**
517
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
518
+ * via the `definition` "utilResolver".
519
+ */
520
+ export interface UtilResolverV3_16_0 {
521
+ if?: string;
522
+ id?: string;
523
+ name: UtilResolverNameV3_16_0;
524
+ /**
525
+ * Configuration for a service to use with this resolver.
526
+ */
527
+ service: string;
528
+ options?: UtilResolverOptionsV3_16_0;
529
+ args?: ParameterConfigForJsonV3_16_0;
530
+ results?: ParameterConfigForJsonV3_16_0;
531
+ argsMapping?: ArgsMappingV3_16_0;
532
+ resultsMapping?: ResultsMappingV3_16_0;
533
+ }
534
+ export interface UtilResolverOptionsV3_16_0 {
535
+ [k: string]: any;
536
+ }
537
+ /**
538
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
539
+ * via the `definition` "parameterConfigForJson".
540
+ */
541
+ export interface ParameterConfigForJsonV3_16_0 {
542
+ ops: ParameterOpListV3_16_0;
543
+ }
544
+ /**
545
+ * An object describing an operation to generate a parameter, using a nested OpList.
546
+ *
547
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
548
+ * via the `definition` "parameterOpNested".
549
+ */
550
+ export interface ParameterOpNestedV3_16_0 {
551
+ /**
552
+ * A path to the parameter for this operation.
553
+ */
554
+ path: string;
555
+ /**
556
+ * A mode for this parameter's operation.
557
+ */
558
+ op?: 'set' | 'concat' | 'extend' | 'remove';
559
+ ops: ParameterOpListV3_16_0;
560
+ }
561
+ /**
562
+ * An object describing an operation to generate a parameter using a value.
563
+ *
564
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
565
+ * via the `definition` "parameterOpValue".
566
+ */
567
+ export interface ParameterOpValueV3_16_0 {
568
+ /**
569
+ * A path to the parameter for this operation.
570
+ */
571
+ path: string;
572
+ /**
573
+ * A mode for this parameter's operation.
574
+ */
575
+ op?: 'set' | 'concat' | 'extend' | 'remove';
576
+ /**
577
+ * A value to set directly at this path.
578
+ */
579
+ value: number | string | boolean | {
580
+ [k: string]: any;
581
+ } | any[] | null;
582
+ }
583
+ /**
584
+ * An object describing an operation to generate a parameter using a mapping.
585
+ *
586
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
587
+ * via the `definition` "parameterOpMapping".
588
+ */
589
+ export interface ParameterOpMappingV3_16_0 {
590
+ /**
591
+ * A path to the parameter for this operation.
592
+ */
593
+ path: string;
594
+ /**
595
+ * A mode for this parameter's operation.
596
+ */
597
+ op?: 'set' | 'concat' | 'extend' | 'remove';
598
+ /**
599
+ * Either a valid JSONPath or a directive pipeline to evaluate against the query context.
600
+ */
601
+ mapping: string | DirectiveConfigV3_16_0;
602
+ }
603
+ export interface DirectiveOptionsV3_16_0 {
604
+ [k: string]: any;
605
+ }
606
+ /**
607
+ * An object describing an operation to generate a parameter using a mapping.
608
+ *
609
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
610
+ * via the `definition` "parameterOpOp".
611
+ */
612
+ export interface ParameterOpOpV3_16_0 {
613
+ /**
614
+ * A path to the parameter for this operation.
615
+ */
616
+ path: string;
617
+ /**
618
+ * A mode for this parameter's operation.
619
+ */
620
+ op: 'set' | 'concat' | 'extend' | 'remove';
621
+ }
622
+ /**
623
+ * An map of object keys / key paths to directive configs
624
+ *
625
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
626
+ * via the `definition` "directiveMappingMap".
627
+ */
628
+ export interface DirectiveMappingMapV3_16_0 {
629
+ [k: string]: DirectiveConfigV3_16_0;
630
+ }
631
+ /**
632
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
633
+ * via the `definition` "takeshapeResolver".
634
+ */
635
+ export interface TakeshapeResolverV3_16_0 {
636
+ if?: string;
637
+ id?: string;
638
+ name: TakeshapeResolverNameV3_16_0;
639
+ /**
640
+ * Internal service identifier.
641
+ */
642
+ service: 'takeshape:local';
643
+ options?: TakeshapeResolverOptionsV3_16_0;
644
+ argsMapping?: ArgsMappingV3_16_0;
645
+ resultsMapping?: ResultsMappingV3_16_0;
646
+ /**
647
+ * A Shape name for the resolver to use.
648
+ */
649
+ shapeName: string;
650
+ args?: ParameterConfigForJsonV3_16_0;
651
+ results?: ParameterConfigForJsonV3_16_0;
652
+ }
653
+ export interface TakeshapeResolverOptionsV3_16_0 {
654
+ [k: string]: any;
655
+ }
656
+ /**
657
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
658
+ * via the `definition` "internalTakeshapeResolver".
659
+ */
660
+ export interface InternalTakeshapeResolverV3_16_0 {
661
+ if?: string;
662
+ id?: string;
663
+ name: InternalTakeshapeResolverNameV3_16_0;
664
+ /**
665
+ * Internal service identifier.
666
+ */
667
+ service: 'takeshape:local';
668
+ options?: TakeshapeResolverOptionsV3_16_01;
669
+ /**
670
+ * An optional Shape name for the resolver.
671
+ */
672
+ shapeName?: string;
673
+ args?: ParameterConfigForJsonV3_16_0;
674
+ results?: ParameterConfigForJsonV3_16_0;
675
+ argsMapping?: ArgsMappingV3_16_0;
676
+ resultsMapping?: ResultsMappingV3_16_0;
677
+ }
678
+ export interface TakeshapeResolverOptionsV3_16_01 {
679
+ [k: string]: any;
680
+ }
681
+ /**
682
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
683
+ * via the `definition` "graphqlResolver".
684
+ */
685
+ export interface GraphqlResolverV3_16_0 {
686
+ if?: string;
687
+ id?: string;
688
+ name: GraphqlResolverNameV3_16_0;
689
+ /**
690
+ * Configuration for a service to use with this resolver.
691
+ */
692
+ service: string;
693
+ argsMapping?: ArgsMappingV3_16_0;
694
+ resultsMapping?: ResultsMappingV3_16_0;
695
+ options?: GraphqlResolverOptionsV3_16_0;
696
+ /**
697
+ * A fieldname to use in queries.
698
+ */
699
+ fieldName: string;
700
+ headers?: ParameterConfigForHeadersV3_16_0;
701
+ searchParams?: ParameterConfigForSearchParamsV3_16_0;
702
+ args?: ParameterConfigForJsonV3_16_0;
703
+ results?: ParameterConfigForJsonV3_16_0;
704
+ }
705
+ export interface GraphqlResolverOptionsV3_16_0 {
706
+ selectionSet?: string;
707
+ unboxParentSelectionSet?: boolean;
708
+ ignoreErrors?: boolean;
709
+ skipWhenMissingArgs?: boolean;
710
+ ttl?: number;
711
+ timeout?: number;
712
+ retry?: number | {
713
+ [k: string]: any;
714
+ };
715
+ [k: string]: any;
716
+ }
717
+ /**
718
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
719
+ * via the `definition` "parameterConfigForHeaders".
720
+ */
721
+ export interface ParameterConfigForHeadersV3_16_0 {
722
+ ops: ParameterOpListV3_16_0;
723
+ serialize?: ParameterSerializeConfigForHeadersV3_16_0;
724
+ }
725
+ /**
726
+ * Top-level paths to use headers serialization options for.
727
+ *
728
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
729
+ * via the `definition` "parameterSerializeConfigForHeaders".
730
+ */
731
+ export interface ParameterSerializeConfigForHeadersV3_16_0 {
732
+ defaults?: ParameterSerializeStyleOptionsForHeadersV3_16_0 | ParameterSerializeContentOptionsV3_16_0;
733
+ paths?: {
734
+ /**
735
+ * This interface was referenced by `undefined`'s JSON-Schema definition
736
+ * via the `patternProperty` "^[^\n\r]*$".
737
+ */
738
+ [k: string]: ParameterSerializeStyleOptionsForHeadersV3_16_0 | ParameterSerializeContentOptionsV3_16_0;
739
+ };
740
+ }
741
+ /**
742
+ * Options to be passed to the serialization routine.
743
+ *
744
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
745
+ * via the `definition` "parameterSerializeStyleOptionsForHeaders".
746
+ */
747
+ export interface ParameterSerializeStyleOptionsForHeadersV3_16_0 {
748
+ style: 'simple' | 'none';
749
+ explode?: boolean;
750
+ }
751
+ /**
752
+ * Options to be passed to the serialization routine.
753
+ *
754
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
755
+ * via the `definition` "parameterSerializeContentOptions".
756
+ */
757
+ export interface ParameterSerializeContentOptionsV3_16_0 {
758
+ contentType: string;
759
+ /**
760
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
761
+ */
762
+ allowReserved?: boolean;
763
+ skipEncoding?: boolean;
764
+ /**
765
+ * Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
766
+ */
767
+ options?: {
768
+ [k: string]: any;
769
+ };
770
+ }
771
+ /**
772
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
773
+ * via the `definition` "parameterConfigForSearchParams".
774
+ */
775
+ export interface ParameterConfigForSearchParamsV3_16_0 {
776
+ ops: ParameterOpListV3_16_0;
777
+ serialize?: ParameterSerializeConfigForSearchParamsV3_16_0;
778
+ }
779
+ /**
780
+ * Top-level paths to use search params serialization options for.
781
+ *
782
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
783
+ * via the `definition` "parameterSerializeConfigForSearchParams".
784
+ */
785
+ export interface ParameterSerializeConfigForSearchParamsV3_16_0 {
786
+ defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_16_0 | ParameterSerializeContentOptionsV3_16_0;
787
+ paths?: {
788
+ /**
789
+ * This interface was referenced by `undefined`'s JSON-Schema definition
790
+ * via the `patternProperty` "^[^\n\r]*$".
791
+ */
792
+ [k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_16_0 | ParameterSerializeContentOptionsV3_16_0;
793
+ };
794
+ }
795
+ /**
796
+ * Options to be passed to the serialization routine.
797
+ *
798
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
799
+ * via the `definition` "parameterSerializeStyleOptionsForSearchParams".
800
+ */
801
+ export interface ParameterSerializeStyleOptionsForSearchParamsV3_16_0 {
802
+ style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
803
+ explode?: boolean;
804
+ allowEmptyValue?: boolean;
805
+ /**
806
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
807
+ */
808
+ allowReserved?: boolean;
809
+ skipEncoding?: boolean;
810
+ }
811
+ /**
812
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
813
+ * via the `definition` "restResolver".
814
+ */
815
+ export interface RestResolverV3_16_0 {
816
+ if?: string;
817
+ id?: string;
818
+ name: RestResolverNameV3_16_0;
819
+ /**
820
+ * Configuration for a service to use with this resolver.
821
+ */
822
+ service: string;
823
+ argsMapping?: ArgsMappingV3_16_0;
824
+ searchParamsMapping?: SearchParamsMappingV3_16_0;
825
+ resultsMapping?: ResultsMappingV3_16_0;
826
+ options?: RestResolverOptionsV3_16_0;
827
+ body?: ParameterConfigForBodyV3_16_0;
828
+ form?: ParameterConfigForSearchParamsV3_16_0;
829
+ headers?: ParameterConfigForHeadersV3_16_0;
830
+ json?: ParameterConfigForJsonV3_16_0;
831
+ /**
832
+ * Mapping and serialization configuration for the path, or a simple string.
833
+ */
834
+ path: ParameterConfigForPathParamsV3_16_0 | string;
835
+ searchParams?: ParameterConfigForSearchParamsV3_16_0;
836
+ args?: ParameterConfigForJsonV3_16_0;
837
+ results?: ParameterConfigForJsonV3_16_0;
838
+ }
839
+ export interface RestResolverOptionsV3_16_0 {
840
+ trailingSlash?: boolean;
841
+ ttl?: number;
842
+ timeout?: number;
843
+ retry?: number | {
844
+ [k: string]: any;
845
+ };
846
+ [k: string]: any;
847
+ }
848
+ /**
849
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
850
+ * via the `definition` "parameterConfigForBody".
851
+ */
852
+ export interface ParameterConfigForBodyV3_16_0 {
853
+ ops: ParameterOpListV3_16_0;
854
+ serialize?: ParameterSerializeConfigForBodyV3_16_0;
855
+ }
856
+ /**
857
+ * Top-level paths to use serialization options for.
858
+ *
859
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
860
+ * via the `definition` "parameterSerializeConfigForBody".
861
+ */
862
+ export interface ParameterSerializeConfigForBodyV3_16_0 {
863
+ content?: ParameterSerializeContentOptionsV3_16_0;
864
+ }
865
+ /**
866
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
867
+ * via the `definition` "parameterConfigForPathParams".
868
+ */
869
+ export interface ParameterConfigForPathParamsV3_16_0 {
870
+ ops: ParameterOpListV3_16_0;
871
+ serialize: ParameterSerializeConfigForPathParamsV3_16_0;
872
+ }
873
+ /**
874
+ * Top-level paths to use path params serialization options for.
875
+ *
876
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
877
+ * via the `definition` "parameterSerializeConfigForPathParams".
878
+ */
879
+ export interface ParameterSerializeConfigForPathParamsV3_16_0 {
880
+ /**
881
+ * For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
882
+ */
883
+ template: string;
884
+ defaults?: ParameterSerializeStyleOptionsForPathParamsV3_16_0 | ParameterSerializeContentOptionsV3_16_0;
885
+ paths?: {
886
+ /**
887
+ * This interface was referenced by `undefined`'s JSON-Schema definition
888
+ * via the `patternProperty` "^[^\n\r]*$".
889
+ */
890
+ [k: string]: ParameterSerializeStyleOptionsForPathParamsV3_16_0 | ParameterSerializeContentOptionsV3_16_0;
891
+ };
892
+ }
893
+ /**
894
+ * Options to be passed to the serialization routine.
895
+ *
896
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
897
+ * via the `definition` "parameterSerializeStyleOptionsForPathParams".
898
+ */
899
+ export interface ParameterSerializeStyleOptionsForPathParamsV3_16_0 {
900
+ style: 'simple' | 'label' | 'matrix' | 'none';
901
+ explode?: boolean;
902
+ allowEmptyValue?: boolean;
903
+ /**
904
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
905
+ */
906
+ allowReserved?: boolean;
907
+ skipEncoding?: boolean;
908
+ }
909
+ /**
910
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
911
+ * via the `definition` "awsLambdaResolver".
912
+ */
913
+ export interface AwsLambdaResolverV3_16_0 {
914
+ if?: string;
915
+ id?: string;
916
+ name: AwsLambdaResolverNameV3_16_0;
917
+ /**
918
+ * Configuration for a service to use with this resolver.
919
+ */
920
+ service: string;
921
+ options?: AwsLambdaResolverOptionsV3_16_0;
922
+ payload?: ParameterConfigForJsonV3_16_0;
923
+ /**
924
+ * Mapping configuration for the FunctionName.
925
+ */
926
+ functionName: string | ParameterConfigForAwsLambdaV3_16_0;
927
+ clientContext?: ParameterConfigForJsonV3_16_0;
928
+ args?: ParameterConfigForJsonV3_16_0;
929
+ results?: ParameterConfigForJsonV3_16_0;
930
+ argsMapping?: ArgsMappingV3_16_0;
931
+ searchParamsMapping?: SearchParamsMappingV3_16_0;
932
+ resultsMapping?: ResultsMappingV3_16_0;
933
+ }
934
+ export interface AwsLambdaResolverOptionsV3_16_0 {
935
+ [k: string]: any;
936
+ }
937
+ /**
938
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
939
+ * via the `definition` "parameterConfigForAwsLambda".
940
+ */
941
+ export interface ParameterConfigForAwsLambdaV3_16_0 {
942
+ ops: ParameterOpListV3_16_0;
943
+ serialize: ParameterSerializeConfigForPathParamsV3_16_0;
944
+ }
945
+ /**
946
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
947
+ * via the `definition` "composeResolver".
948
+ */
949
+ export interface ComposeResolverV3_16_0 {
950
+ compose: BasicResolverV3_16_0[];
951
+ resultsMapping?: DirectiveMappingMapV3_16_0 | DirectiveConfigV3_16_0;
952
+ results?: ParameterConfigForJsonV3_16_0;
953
+ }
954
+ /**
955
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
956
+ * via the `definition` "shapeMap".
957
+ */
958
+ export interface ShapeMapV3_16_0 {
959
+ [k: string]: ShapeV3_16_0;
960
+ }
961
+ /**
962
+ * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
963
+ *
964
+ * This interface was referenced by `ShapeMapV3_16_0`'s JSON-Schema definition
965
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
966
+ *
967
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
968
+ * via the `definition` "shape".
969
+ */
970
+ export interface ShapeV3_16_0 {
971
+ /**
972
+ * The Pascal-cased human-readable id for a Shape. This value should match the shape's key in the shapes object. This value is used in @ref and @mapping annotations
973
+ */
974
+ name: string;
975
+ /**
976
+ * The machine-readable id for a Shape which should never change. When using TakeShape's built-in database to store Shape data, this value is used database as a stable "table name" and changing it will result in orphaning that data.
977
+ */
978
+ id: string;
979
+ /**
980
+ * The human-readable name for a Shape for use in a UI.
981
+ */
982
+ title: string;
983
+ description?: string;
984
+ /**
985
+ * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
986
+ */
987
+ model?: {
988
+ type: ModelTypeV3_16_0;
989
+ };
990
+ workflow?: string;
991
+ schema: ShapeSchemaV3_16_0;
992
+ }
993
+ /**
994
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
995
+ * via the `definition` "shapeSchemaAllOf".
996
+ */
997
+ export interface ShapeSchemaAllOfV3_16_0 {
998
+ allOf: ObjectOrRefArrayV3_16_0;
999
+ }
1000
+ /**
1001
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1002
+ * via the `definition` "shapeSchemaExtends".
1003
+ */
1004
+ export interface ShapeSchemaExtendsV3_16_0 {
1005
+ extends: ObjectOrRefArrayV3_16_0;
1006
+ }
1007
+ /**
1008
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1009
+ * via the `definition` "shapeSchemaOneOf".
1010
+ */
1011
+ export interface ShapeSchemaOneOfV3_16_0 {
1012
+ oneOf: ObjectOrRefArrayV3_16_0;
1013
+ }
1014
+ /**
1015
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1016
+ * via the `definition` "shapeSchemaEnum".
1017
+ */
1018
+ export interface ShapeSchemaEnumV3_16_0 {
1019
+ enum: string[];
1020
+ }
1021
+ /**
1022
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1023
+ * via the `definition` "indexedShapeMap".
1024
+ */
1025
+ export interface IndexedShapeMapV3_16_0 {
1026
+ [k: string]: IndexedShapeConfigV3_16_0;
1027
+ }
1028
+ /**
1029
+ * This interface was referenced by `IndexedShapeMapV3_16_0`'s JSON-Schema definition
1030
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1031
+ *
1032
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1033
+ * via the `definition` "indexedShapeConfig".
1034
+ */
1035
+ export interface IndexedShapeConfigV3_16_0 {
1036
+ idField?: string;
1037
+ searchSummaryField?: string;
1038
+ queries: IndexedShapeQueriesConfigV3_16_0;
1039
+ triggers: IndexedShapeTriggersConfigV3_16_0[];
1040
+ }
1041
+ /**
1042
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1043
+ * via the `definition` "indexedShapeQueriesConfig".
1044
+ */
1045
+ export interface IndexedShapeQueriesConfigV3_16_0 {
1046
+ list?: IndexedShapeQueryAllConfigV3_16_0;
1047
+ get?: IndexedShapeQuerySingleConfigV3_16_0;
1048
+ }
1049
+ /**
1050
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1051
+ * via the `definition` "indexedShapeListQueryConfig".
1052
+ */
1053
+ export interface IndexedShapeQueryAllConfigV3_16_0 {
1054
+ name: string;
1055
+ ignoreFields?: string[];
1056
+ objectDepthLimit?: number;
1057
+ pagination?: PaginationConfigV3_16_0;
1058
+ }
1059
+ /**
1060
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1061
+ * via the `definition` "paginationCursorConfig".
1062
+ */
1063
+ export interface PaginationCursorConfigV3_16_0 {
1064
+ type: 'cursor';
1065
+ cursorArg: string;
1066
+ cursorPath: string;
1067
+ pageSize?: number;
1068
+ pageSizeArg: string;
1069
+ hasMorePath: string;
1070
+ itemsToIndexPath: string;
1071
+ }
1072
+ /**
1073
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1074
+ * via the `definition` "paginationPageConfig".
1075
+ */
1076
+ export interface PaginationPageConfigV3_16_0 {
1077
+ type: 'page';
1078
+ pageArg: string;
1079
+ itemsToIndexPath: string;
1080
+ pageTotalPath: string;
1081
+ }
1082
+ /**
1083
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1084
+ * via the `definition` "paginationOffsetConfig".
1085
+ */
1086
+ export interface PaginationOffsetConfigV3_16_0 {
1087
+ type: 'offset';
1088
+ offsetArg: string;
1089
+ itemsToIndexPath: string;
1090
+ itemTotalPath: string;
1091
+ }
1092
+ /**
1093
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1094
+ * via the `definition` "indexedShapeGetQueryConfig".
1095
+ */
1096
+ export interface IndexedShapeQuerySingleConfigV3_16_0 {
1097
+ name: string;
1098
+ ignoreFields?: string[];
1099
+ objectDepthLimit?: number;
1100
+ }
1101
+ /**
1102
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1103
+ * via the `definition` "indexedShapeScheduleTriggerConfig".
1104
+ */
1105
+ export interface IndexedShapeScheduleTriggerConfigV3_16_0 {
1106
+ type: 'schedule';
1107
+ query: 'get' | 'list';
1108
+ interval: number;
1109
+ }
1110
+ /**
1111
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1112
+ * via the `definition` "indexedShapeWebhookTriggerConfig".
1113
+ */
1114
+ export interface IndexedShapeWebhookTriggerConfigV3_16_0 {
1115
+ type: 'webhook';
1116
+ query: 'get' | 'list';
1117
+ service: string;
1118
+ events: string[];
1119
+ }
1120
+ /**
1121
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1122
+ * via the `definition` "formMap".
1123
+ */
1124
+ export interface FormMapV3_16_0 {
1125
+ [k: string]: FormsConfigV3_16_0;
1126
+ }
1127
+ /**
1128
+ * This interface was referenced by `FormMapV3_16_0`'s JSON-Schema definition
1129
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1130
+ *
1131
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1132
+ * via the `definition` "formsConfig".
1133
+ */
1134
+ export interface FormsConfigV3_16_0 {
1135
+ default: FormConfigV3_16_0;
1136
+ [k: string]: FormConfigV3_16_0;
1137
+ }
1138
+ /**
1139
+ * This interface was referenced by `FormsConfigV3_16_0`'s JSON-Schema definition
1140
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1141
+ *
1142
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1143
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1144
+ *
1145
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1146
+ * via the `definition` "formConfig".
1147
+ */
1148
+ export interface FormConfigV3_16_0 {
1149
+ [k: string]: any;
1150
+ }
1151
+ /**
1152
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1153
+ * via the `definition` "workflowMap".
1154
+ */
1155
+ export interface WorkflowMapV3_16_0 {
1156
+ [k: string]: WorkflowV3_16_0;
1157
+ }
1158
+ /**
1159
+ * This interface was referenced by `WorkflowMapV3_16_0`'s JSON-Schema definition
1160
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1161
+ *
1162
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1163
+ * via the `definition` "workflow".
1164
+ */
1165
+ export interface WorkflowV3_16_0 {
1166
+ /**
1167
+ * machine-readable id
1168
+ */
1169
+ name: string;
1170
+ title: WorkflowNameV3_16_0;
1171
+ steps: StepsV3_16_0;
1172
+ [k: string]: any;
1173
+ }
1174
+ /**
1175
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1176
+ * via the `definition` "workflowStep".
1177
+ */
1178
+ export interface WorkflowStepV3_16_0 {
1179
+ name: NameV3_16_0;
1180
+ title: TitleV3_16_0;
1181
+ description?: DescriptionV3_16_0;
1182
+ color: ColorV3_16_0;
1183
+ live: LiveV3_16_0;
1184
+ key: KeyV3_16_0;
1185
+ }
1186
+ /**
1187
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1188
+ * via the `definition` "storedServiceMap".
1189
+ */
1190
+ export interface StoredServiceMapV3_16_0 {
1191
+ [k: string]: StoredServiceConfigV3_16_0;
1192
+ }
1193
+ /**
1194
+ * This interface was referenced by `StoredServiceMapV3_16_0`'s JSON-Schema definition
1195
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1196
+ *
1197
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1198
+ * via the `definition` "storedServiceConfig".
1199
+ */
1200
+ export interface StoredServiceConfigV3_16_0 {
1201
+ /**
1202
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
1203
+ */
1204
+ id: string;
1205
+ /**
1206
+ * Human-readable name for this service.
1207
+ */
1208
+ title: string;
1209
+ /**
1210
+ * The service provider id.
1211
+ */
1212
+ provider: string;
1213
+ /**
1214
+ * A namespace to use for the imported types tied to this service.
1215
+ */
1216
+ namespace?: string;
1217
+ serviceType: ServiceTypeV3_16_0;
1218
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
1219
+ authentication?: string;
1220
+ webhookId?: string;
1221
+ /**
1222
+ * Configuration options passed to and handled by the provider.
1223
+ */
1224
+ options?: {
1225
+ [k: string]: any;
1226
+ };
1227
+ }
1228
+ /**
1229
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1230
+ * via the `definition` "input".
1231
+ */
1232
+ export interface PropertySchemaV3_16_01 {
1233
+ $ref?: string;
1234
+ title?: string;
1235
+ description?: string;
1236
+ default?: any;
1237
+ readOnly?: boolean;
1238
+ multipleOf?: number;
1239
+ maximum?: number;
1240
+ exclusiveMaximum?: number;
1241
+ minimum?: number;
1242
+ exclusiveMinimum?: number;
1243
+ maxLength?: NonNegativeIntegerV3_16_0;
1244
+ minLength?: NonNegativeIntegerDefault0V3_16_0;
1245
+ pattern?: string;
1246
+ additionalItems?: PropertySchemaV3_16_0;
1247
+ items?: PropertySchemaV3_16_0;
1248
+ maxItems?: NonNegativeIntegerV3_16_0;
1249
+ minItems?: NonNegativeIntegerDefault0V3_16_0;
1250
+ uniqueItems?: boolean;
1251
+ contains?: PropertySchemaV3_16_0;
1252
+ maxProperties?: NonNegativeIntegerV3_16_0;
1253
+ minProperties?: NonNegativeIntegerDefault0V3_16_0;
1254
+ required?: StringArrayV3_16_0;
1255
+ additionalProperties?: PropertySchemaV3_16_0 | false;
1256
+ definitions?: {
1257
+ [k: string]: PropertySchemaV3_16_0;
1258
+ };
1259
+ properties?: {
1260
+ [k: string]: PropertySchemaV3_16_0;
1261
+ };
1262
+ const?: any;
1263
+ enum?: any[];
1264
+ type?: SimpleTypesV3_16_0 | SimpleTypesV3_16_0[];
1265
+ format?: string;
1266
+ contentMediaType?: string;
1267
+ contentEncoding?: string;
1268
+ allOf?: SchemaArrayV3_16_0;
1269
+ discriminator?: {
1270
+ propertyName?: string;
1271
+ [k: string]: any;
1272
+ };
1273
+ oneOf?: SchemaArrayV3_16_0;
1274
+ extends?: ObjectOrRefArrayV3_16_0;
1275
+ '@relationship'?: RelationshipV3_16_0;
1276
+ '@backreference'?: BackReferenceV3_16_0;
1277
+ '@input'?: InputV3_16_0;
1278
+ '@syncLocaleStructure'?: boolean;
1279
+ '@sensitive'?: boolean;
1280
+ '@draftjs'?: boolean;
1281
+ '@l10n'?: boolean;
1282
+ '@key'?: string;
1283
+ '@workflow'?: string;
1284
+ '@mapping'?: FieldMappingV3_16_0;
1285
+ '@tag'?: string;
1286
+ '@tags'?: string[];
1287
+ '@deprecationReason'?: string;
1288
+ '@user'?: boolean;
1289
+ '@args'?: ArgsV3_16_0;
1290
+ '@resolver'?: ResolverV3_16_0;
1291
+ '@ref'?: RefV3_16_0;
1292
+ '@derivedFrom'?: string;
1293
+ }
1294
+ /**
1295
+ * All possible options for the more specific ParameterSerializeStyleOptions types.
1296
+ *
1297
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1298
+ * via the `definition` "parameterSerializeStyleOptions".
1299
+ */
1300
+ export interface ParameterSerializeStyleOptionsV3_16_0 {
1301
+ style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
1302
+ explode?: boolean;
1303
+ allowEmptyValue?: boolean;
1304
+ /**
1305
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1306
+ */
1307
+ allowReserved?: boolean;
1308
+ skipEncoding?: boolean;
1309
+ }
1310
+ /**
1311
+ * All possible options for the more specific ParameterSerializeConfig types.
1312
+ *
1313
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1314
+ * via the `definition` "parameterSerializeConfig".
1315
+ */
1316
+ export interface ParameterSerializeConfigV3_16_0 {
1317
+ content?: ParameterSerializeContentOptionsV3_16_0;
1318
+ defaults?: ParameterSerializeOptionsV3_16_0;
1319
+ paths?: {
1320
+ [k: string]: ParameterSerializeOptionsV3_16_0;
1321
+ };
1322
+ }
1323
+ /**
1324
+ * All possible options for the more specific ParameterConfig types.
1325
+ *
1326
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1327
+ * via the `definition` "parameterConfig".
1328
+ */
1329
+ export interface ParameterConfigV3_16_0 {
1330
+ ops: ParameterOpListV3_16_0;
1331
+ serialize?: ParameterSerializeConfigV3_16_0;
1332
+ }
1333
+ /**
1334
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1335
+ * via the `definition` "formScalarConfig".
1336
+ */
1337
+ export interface FormScalarConfigV3_16_0 {
1338
+ widget: string;
1339
+ }
1340
+ /**
1341
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1342
+ * via the `definition` "formObjectConfig".
1343
+ */
1344
+ export interface FormObjectConfigV3_16_0 {
1345
+ widget?: string;
1346
+ order?: string[];
1347
+ properties?: {
1348
+ [k: string]: FormConfigV3_16_0;
1349
+ };
1350
+ }
1351
+ /**
1352
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1353
+ * via the `definition` "formArrayConfig".
1354
+ */
1355
+ export interface FormArrayConfigV3_16_0 {
1356
+ widget: string;
1357
+ items: FormConfigV3_16_0;
1358
+ }
1359
+ /**
1360
+ * For use with a custom auth handler on a service provider.
1361
+ *
1362
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1363
+ * via the `definition` "customAuthentication".
1364
+ */
1365
+ export interface CustomAuthenticationV3_16_0 {
1366
+ type: 'custom';
1367
+ [k: string]: any;
1368
+ }
1369
+ /**
1370
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1371
+ * via the `definition` "searchParamsAuthentication".
1372
+ */
1373
+ export interface SearchParamsAuthenticationV3_16_0 {
1374
+ type: 'searchParams';
1375
+ params: {
1376
+ name: string;
1377
+ value: string;
1378
+ }[];
1379
+ }
1380
+ /**
1381
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1382
+ * via the `definition` "bearerAuthentication".
1383
+ */
1384
+ export interface BearerAuthenticationV3_16_0 {
1385
+ type: 'bearer';
1386
+ token: string;
1387
+ prefix?: string;
1388
+ header?: string;
1389
+ }
1390
+ /**
1391
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1392
+ * via the `definition` "oauth2BearerAuthentication".
1393
+ */
1394
+ export interface OAuth2BearerAuthenticationV3_16_0 {
1395
+ type: 'oauth2Bearer';
1396
+ token: string;
1397
+ prefix?: string;
1398
+ header?: string;
1399
+ scope?: string;
1400
+ expiresAt?: string;
1401
+ }
1402
+ /**
1403
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1404
+ * via the `definition` "basicAuthentication".
1405
+ */
1406
+ export interface BasicAuthenticationV3_16_0 {
1407
+ type: 'basic';
1408
+ username: string;
1409
+ password: string;
1410
+ useIso8859?: boolean;
1411
+ }
1412
+ /**
1413
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1414
+ * via the `definition` "oauth2Authentication".
1415
+ */
1416
+ export interface OAuth2AuthenticationV3_16_0 {
1417
+ type: 'oauth2';
1418
+ grantType: 'authorizationCode' | 'clientCredentials';
1419
+ authorizationUrl?: string;
1420
+ accessTokenUrl?: string;
1421
+ clientId: string;
1422
+ clientSecret?: string;
1423
+ scope?: string;
1424
+ usePkce?: boolean;
1425
+ redirectUrl?: string;
1426
+ headerPrefix?: string;
1427
+ audience?: string;
1428
+ resource?: string;
1429
+ }
1430
+ /**
1431
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1432
+ * via the `definition` "awsAuthentication".
1433
+ */
1434
+ export interface AWSAuthenticationV3_16_0 {
1435
+ type: 'aws';
1436
+ awsAccessKeyId: string;
1437
+ awsSecretAccessKey: string;
1438
+ }
1439
+ /**
1440
+ * This interface was referenced by `ProjectSchemaV3_16_0`'s JSON-Schema
1441
+ * via the `definition` "serviceConfig".
1442
+ */
1443
+ export interface ServiceConfigV3_16_0 {
1444
+ /**
1445
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
1446
+ */
1447
+ id: string;
1448
+ /**
1449
+ * Human-readable name for this service.
1450
+ */
1451
+ title: string;
1452
+ /**
1453
+ * The service provider id.
1454
+ */
1455
+ provider: string;
1456
+ /**
1457
+ * A namespace to use for the imported types tied to this service.
1458
+ */
1459
+ namespace?: string;
1460
+ serviceType: ServiceTypeV3_16_0;
1461
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
1462
+ authentication?: ServiceAuthenticationV3_16_0;
1463
+ webhookId?: string;
1464
+ /**
1465
+ * Configuration options passed to and handled by the provider.
1466
+ */
1467
+ options?: {
1468
+ [k: string]: any;
1469
+ };
1470
+ }
1471
+ //# sourceMappingURL=v3.16.0.d.ts.map