@takeshape/schema 11.144.1 → 11.154.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.
- package/examples/latest/all-fields-shapes-inline.json +1 -1
- package/examples/latest/all-fields-shapes.json +1 -1
- package/examples/latest/betzino.json +1 -1
- package/examples/latest/blog-schema.json +1 -1
- package/examples/latest/brewery-schema.json +1 -1
- package/examples/latest/chat-agent-schema.json +1 -1
- package/examples/latest/clear-cache-schema.json +1 -1
- package/examples/latest/complex-project-schema.json +1 -1
- package/examples/latest/complex-schema.json +1 -1
- package/examples/latest/edit-schema.json +1 -1
- package/examples/latest/frank-and-fred-schema.json +1 -1
- package/examples/latest/generate-agent-schema.json +1 -1
- package/examples/latest/klirr-schema.json +1 -1
- package/examples/latest/layers/rick-and-morty-layer.json +1 -1
- package/examples/latest/layers/shopify-layer-2023-01.json +1 -1
- package/examples/latest/layers/shopify-storefront-2023-04.json +1 -1
- package/examples/latest/layers/wordpress-2024-01.json +1 -1
- package/examples/latest/massive-schema.json +1 -1
- package/examples/latest/mill-components-schema.json +1 -1
- package/examples/latest/nested-shape-arrays.json +1 -1
- package/examples/latest/one-earth.json +1 -1
- package/examples/latest/pet-oneof-array.json +1 -1
- package/examples/latest/post-schema.json +1 -1
- package/examples/latest/pruned-shopify-product-schema.json +1 -1
- package/examples/latest/rag-example.json +1 -1
- package/examples/latest/real-world-schema.json +1 -1
- package/examples/latest/recursive-repeater-schema.json +1 -1
- package/examples/latest/recursive-schema.json +1 -1
- package/examples/latest/rick-and-morty-ast.json +1 -1
- package/examples/latest/rick-and-morty-graphql.json +1 -1
- package/examples/latest/rick-and-morty-rest.json +1 -1
- package/examples/latest/rick-and-morty-user-schema.json +1 -1
- package/examples/latest/rick-and-morty-with-indexing.json +1 -1
- package/examples/latest/schema-where-filter.json +1 -1
- package/examples/latest/schema-with-repeater-draftjs.json +1 -1
- package/examples/latest/schema-with-rick-and-morty.json +1 -1
- package/examples/latest/shape-books-v3_2_0.json +1 -1
- package/examples/latest/shape-books.json +1 -1
- package/examples/latest/shape-editor-schema-edited.json +1 -1
- package/examples/latest/shape-editor-schema-initial.json +1 -1
- package/examples/latest/shapedb-crud-every-prop-type.json +1 -1
- package/examples/latest/shopify-lookbook.json +1 -1
- package/examples/latest/shopify-product-2022-07.json +1 -1
- package/examples/latest/shopify-product-2023-04.json +1 -1
- package/examples/latest/shopify-store-with-widget.json +1 -1
- package/examples/latest/stripe-product-runtime-schema.json +1 -1
- package/examples/latest/stripe-starter-resolved.json +1 -1
- package/examples/latest/user-schema-no-required.json +1 -1
- package/examples/latest/user-schema-with-defaults.json +1 -1
- package/examples/latest/valvoline-ai-demo.json +1461 -1421
- package/examples/latest/vector-search-schema.json +1 -1
- package/package.json +10 -9
- package/dist/agents.d.ts +0 -62
- package/dist/agents.js +0 -338
- package/dist/api-version.d.ts +0 -5
- package/dist/api-version.js +0 -17
- package/dist/auth-schemas.d.ts +0 -128
- package/dist/auth-schemas.js +0 -7
- package/dist/auth-utils.d.ts +0 -5
- package/dist/auth-utils.js +0 -6
- package/dist/builtin-schema.d.ts +0 -18
- package/dist/builtin-schema.js +0 -683
- package/dist/constants.d.ts +0 -1
- package/dist/constants.js +0 -1
- package/dist/content-schema-transform.d.ts +0 -35
- package/dist/content-schema-transform.js +0 -162
- package/dist/create-input-schema.d.ts +0 -9
- package/dist/create-input-schema.js +0 -68
- package/dist/enum.d.ts +0 -2
- package/dist/enum.js +0 -9
- package/dist/flatten-templates.d.ts +0 -2
- package/dist/flatten-templates.js +0 -20
- package/dist/get-is-leaf.d.ts +0 -3
- package/dist/get-is-leaf.js +0 -56
- package/dist/index.d.ts +0 -62
- package/dist/index.js +0 -59
- package/dist/interfaces.d.ts +0 -14
- package/dist/interfaces.js +0 -86
- package/dist/layers/layers.d.ts +0 -26
- package/dist/layers/layers.js +0 -301
- package/dist/layers/refs.d.ts +0 -102
- package/dist/layers/refs.js +0 -220
- package/dist/layers/type-utils.d.ts +0 -59
- package/dist/layers/type-utils.js +0 -118
- package/dist/layers/visitor.d.ts +0 -5
- package/dist/layers/visitor.js +0 -38
- package/dist/migration/index.d.ts +0 -73
- package/dist/migration/index.js +0 -103
- package/dist/migration/to/v3.0.0.d.ts +0 -4
- package/dist/migration/to/v3.0.0.js +0 -212
- package/dist/migration/to/v3.1.0.d.ts +0 -4
- package/dist/migration/to/v3.1.0.js +0 -194
- package/dist/migration/to/v3.10.0.d.ts +0 -4
- package/dist/migration/to/v3.10.0.js +0 -67
- package/dist/migration/to/v3.11.0.d.ts +0 -4
- package/dist/migration/to/v3.11.0.js +0 -85
- package/dist/migration/to/v3.12.3.d.ts +0 -4
- package/dist/migration/to/v3.12.3.js +0 -87
- package/dist/migration/to/v3.13.0.d.ts +0 -4
- package/dist/migration/to/v3.13.0.js +0 -17
- package/dist/migration/to/v3.17.0.d.ts +0 -4
- package/dist/migration/to/v3.17.0.js +0 -22
- package/dist/migration/to/v3.18.0.d.ts +0 -4
- package/dist/migration/to/v3.18.0.js +0 -64
- package/dist/migration/to/v3.18.1.d.ts +0 -4
- package/dist/migration/to/v3.18.1.js +0 -12
- package/dist/migration/to/v3.18.2.d.ts +0 -4
- package/dist/migration/to/v3.18.2.js +0 -19
- package/dist/migration/to/v3.20.0.d.ts +0 -4
- package/dist/migration/to/v3.20.0.js +0 -24
- package/dist/migration/to/v3.22.0.d.ts +0 -4
- package/dist/migration/to/v3.22.0.js +0 -25
- package/dist/migration/to/v3.24.0.d.ts +0 -4
- package/dist/migration/to/v3.24.0.js +0 -11
- package/dist/migration/to/v3.25.0.d.ts +0 -4
- package/dist/migration/to/v3.25.0.js +0 -11
- package/dist/migration/to/v3.3.0.d.ts +0 -4
- package/dist/migration/to/v3.3.0.js +0 -13
- package/dist/migration/to/v3.31.0.d.ts +0 -4
- package/dist/migration/to/v3.31.0.js +0 -38
- package/dist/migration/to/v3.32.0.d.ts +0 -4
- package/dist/migration/to/v3.32.0.js +0 -59
- package/dist/migration/to/v3.34.0.d.ts +0 -6
- package/dist/migration/to/v3.34.0.js +0 -111
- package/dist/migration/to/v3.36.0.d.ts +0 -4
- package/dist/migration/to/v3.36.0.js +0 -22
- package/dist/migration/to/v3.39.0.d.ts +0 -4
- package/dist/migration/to/v3.39.0.js +0 -45
- package/dist/migration/to/v3.40.0.d.ts +0 -4
- package/dist/migration/to/v3.40.0.js +0 -26
- package/dist/migration/to/v3.46.0.d.ts +0 -4
- package/dist/migration/to/v3.46.0.js +0 -35
- package/dist/migration/to/v3.57.0.d.ts +0 -4
- package/dist/migration/to/v3.57.0.js +0 -18
- package/dist/migration/to/v3.9.0.d.ts +0 -4
- package/dist/migration/to/v3.9.0.js +0 -79
- package/dist/migration/types.d.ts +0 -26
- package/dist/migration/types.js +0 -3
- package/dist/migration/utils.d.ts +0 -2
- package/dist/migration/utils.js +0 -6
- package/dist/mocks.d.ts +0 -14
- package/dist/mocks.js +0 -58
- package/dist/models/agent.d.ts +0 -3
- package/dist/models/agent.js +0 -29
- package/dist/models/project-schema.d.ts +0 -18
- package/dist/models/project-schema.js +0 -119
- package/dist/models/query.d.ts +0 -3
- package/dist/models/query.js +0 -38
- package/dist/models/runtime-schema.d.ts +0 -9
- package/dist/models/runtime-schema.js +0 -20
- package/dist/models/shape.d.ts +0 -4
- package/dist/models/shape.js +0 -36
- package/dist/models/types.d.ts +0 -36
- package/dist/models/types.js +0 -1
- package/dist/models/user-schema.d.ts +0 -7
- package/dist/models/user-schema.js +0 -9
- package/dist/patterns.d.ts +0 -12
- package/dist/patterns.js +0 -1
- package/dist/project-schema/index.d.ts +0 -211
- package/dist/project-schema/index.js +0 -83
- package/dist/project-schema/latest.d.ts +0 -2619
- package/dist/project-schema/latest.js +0 -7
- package/dist/project-schema/migrate.d.ts +0 -4
- package/dist/project-schema/migrate.js +0 -218
- package/dist/project-schema/v1.0.0.d.ts +0 -299
- package/dist/project-schema/v1.0.0.js +0 -7
- package/dist/project-schema/v3.0.0.d.ts +0 -478
- package/dist/project-schema/v3.0.0.js +0 -7
- package/dist/project-schema/v3.1.0.d.ts +0 -621
- package/dist/project-schema/v3.1.0.js +0 -7
- package/dist/project-schema/v3.10.0.d.ts +0 -1201
- package/dist/project-schema/v3.10.0.js +0 -7
- package/dist/project-schema/v3.11.0.d.ts +0 -1210
- package/dist/project-schema/v3.11.0.js +0 -7
- package/dist/project-schema/v3.12.0.d.ts +0 -1214
- package/dist/project-schema/v3.12.0.js +0 -7
- package/dist/project-schema/v3.12.1.d.ts +0 -1273
- package/dist/project-schema/v3.12.1.js +0 -7
- package/dist/project-schema/v3.12.2.d.ts +0 -1283
- package/dist/project-schema/v3.12.2.js +0 -7
- package/dist/project-schema/v3.12.3.d.ts +0 -1306
- package/dist/project-schema/v3.12.3.js +0 -7
- package/dist/project-schema/v3.13.0.d.ts +0 -1317
- package/dist/project-schema/v3.13.0.js +0 -7
- package/dist/project-schema/v3.13.1.d.ts +0 -1412
- package/dist/project-schema/v3.13.1.js +0 -7
- package/dist/project-schema/v3.14.0.d.ts +0 -1436
- package/dist/project-schema/v3.14.0.js +0 -7
- package/dist/project-schema/v3.15.0.d.ts +0 -1458
- package/dist/project-schema/v3.15.0.js +0 -7
- package/dist/project-schema/v3.16.0.d.ts +0 -1470
- package/dist/project-schema/v3.16.0.js +0 -7
- package/dist/project-schema/v3.17.0.d.ts +0 -1467
- package/dist/project-schema/v3.17.0.js +0 -7
- package/dist/project-schema/v3.17.1.d.ts +0 -1468
- package/dist/project-schema/v3.17.1.js +0 -7
- package/dist/project-schema/v3.18.0.d.ts +0 -1333
- package/dist/project-schema/v3.18.0.js +0 -7
- package/dist/project-schema/v3.18.1.d.ts +0 -1332
- package/dist/project-schema/v3.18.1.js +0 -7
- package/dist/project-schema/v3.18.2.d.ts +0 -1332
- package/dist/project-schema/v3.18.2.js +0 -7
- package/dist/project-schema/v3.19.0.d.ts +0 -1336
- package/dist/project-schema/v3.19.0.js +0 -7
- package/dist/project-schema/v3.2.0.d.ts +0 -632
- package/dist/project-schema/v3.2.0.js +0 -7
- package/dist/project-schema/v3.20.0.d.ts +0 -1336
- package/dist/project-schema/v3.20.0.js +0 -7
- package/dist/project-schema/v3.21.0.d.ts +0 -1338
- package/dist/project-schema/v3.21.0.js +0 -7
- package/dist/project-schema/v3.22.0.d.ts +0 -1344
- package/dist/project-schema/v3.22.0.js +0 -7
- package/dist/project-schema/v3.23.0.d.ts +0 -1376
- package/dist/project-schema/v3.23.0.js +0 -7
- package/dist/project-schema/v3.24.0.d.ts +0 -1364
- package/dist/project-schema/v3.24.0.js +0 -7
- package/dist/project-schema/v3.25.0.d.ts +0 -1363
- package/dist/project-schema/v3.25.0.js +0 -7
- package/dist/project-schema/v3.26.0.d.ts +0 -1388
- package/dist/project-schema/v3.26.0.js +0 -7
- package/dist/project-schema/v3.27.0.d.ts +0 -1397
- package/dist/project-schema/v3.27.0.js +0 -7
- package/dist/project-schema/v3.28.0.d.ts +0 -1416
- package/dist/project-schema/v3.28.0.js +0 -7
- package/dist/project-schema/v3.29.0.d.ts +0 -1423
- package/dist/project-schema/v3.29.0.js +0 -7
- package/dist/project-schema/v3.3.0.d.ts +0 -632
- package/dist/project-schema/v3.3.0.js +0 -7
- package/dist/project-schema/v3.30.0.d.ts +0 -1416
- package/dist/project-schema/v3.30.0.js +0 -7
- package/dist/project-schema/v3.31.0.d.ts +0 -1448
- package/dist/project-schema/v3.31.0.js +0 -7
- package/dist/project-schema/v3.32.0.d.ts +0 -1439
- package/dist/project-schema/v3.32.0.js +0 -7
- package/dist/project-schema/v3.33.0.d.ts +0 -1445
- package/dist/project-schema/v3.33.0.js +0 -7
- package/dist/project-schema/v3.34.0.d.ts +0 -1445
- package/dist/project-schema/v3.34.0.js +0 -7
- package/dist/project-schema/v3.35.0.d.ts +0 -1464
- package/dist/project-schema/v3.35.0.js +0 -7
- package/dist/project-schema/v3.36.0.d.ts +0 -1470
- package/dist/project-schema/v3.36.0.js +0 -7
- package/dist/project-schema/v3.37.0.d.ts +0 -1522
- package/dist/project-schema/v3.37.0.js +0 -7
- package/dist/project-schema/v3.38.0.d.ts +0 -1522
- package/dist/project-schema/v3.38.0.js +0 -7
- package/dist/project-schema/v3.39.0.d.ts +0 -1529
- package/dist/project-schema/v3.39.0.js +0 -7
- package/dist/project-schema/v3.4.0.d.ts +0 -624
- package/dist/project-schema/v3.4.0.js +0 -7
- package/dist/project-schema/v3.40.0.d.ts +0 -1530
- package/dist/project-schema/v3.40.0.js +0 -7
- package/dist/project-schema/v3.41.0.d.ts +0 -1530
- package/dist/project-schema/v3.41.0.js +0 -7
- package/dist/project-schema/v3.42.0.d.ts +0 -1534
- package/dist/project-schema/v3.42.0.js +0 -7
- package/dist/project-schema/v3.43.0.d.ts +0 -1536
- package/dist/project-schema/v3.43.0.js +0 -7
- package/dist/project-schema/v3.44.0.d.ts +0 -1621
- package/dist/project-schema/v3.44.0.js +0 -7
- package/dist/project-schema/v3.45.0.d.ts +0 -1650
- package/dist/project-schema/v3.45.0.js +0 -7
- package/dist/project-schema/v3.46.0.d.ts +0 -1703
- package/dist/project-schema/v3.46.0.js +0 -7
- package/dist/project-schema/v3.47.0.d.ts +0 -1736
- package/dist/project-schema/v3.47.0.js +0 -7
- package/dist/project-schema/v3.48.0.d.ts +0 -2208
- package/dist/project-schema/v3.48.0.js +0 -7
- package/dist/project-schema/v3.49.0.d.ts +0 -2217
- package/dist/project-schema/v3.49.0.js +0 -7
- package/dist/project-schema/v3.5.0.d.ts +0 -649
- package/dist/project-schema/v3.5.0.js +0 -7
- package/dist/project-schema/v3.5.1.d.ts +0 -649
- package/dist/project-schema/v3.5.1.js +0 -7
- package/dist/project-schema/v3.50.0.d.ts +0 -2269
- package/dist/project-schema/v3.50.0.js +0 -7
- package/dist/project-schema/v3.51.0.d.ts +0 -2269
- package/dist/project-schema/v3.51.0.js +0 -7
- package/dist/project-schema/v3.52.0.d.ts +0 -2269
- package/dist/project-schema/v3.52.0.js +0 -7
- package/dist/project-schema/v3.53.0.d.ts +0 -2350
- package/dist/project-schema/v3.53.0.js +0 -7
- package/dist/project-schema/v3.54.0.d.ts +0 -2369
- package/dist/project-schema/v3.54.0.js +0 -7
- package/dist/project-schema/v3.55.0.d.ts +0 -2369
- package/dist/project-schema/v3.55.0.js +0 -7
- package/dist/project-schema/v3.56.0.d.ts +0 -2405
- package/dist/project-schema/v3.56.0.js +0 -7
- package/dist/project-schema/v3.57.0.d.ts +0 -2601
- package/dist/project-schema/v3.57.0.js +0 -7
- package/dist/project-schema/v3.58.0.d.ts +0 -2601
- package/dist/project-schema/v3.58.0.js +0 -7
- package/dist/project-schema/v3.59.0.d.ts +0 -2619
- package/dist/project-schema/v3.59.0.js +0 -7
- package/dist/project-schema/v3.6.0.d.ts +0 -658
- package/dist/project-schema/v3.6.0.js +0 -7
- package/dist/project-schema/v3.7.0.d.ts +0 -961
- package/dist/project-schema/v3.7.0.js +0 -7
- package/dist/project-schema/v3.8.0.d.ts +0 -979
- package/dist/project-schema/v3.8.0.js +0 -7
- package/dist/project-schema/v3.9.0.d.ts +0 -1178
- package/dist/project-schema/v3.9.0.js +0 -7
- package/dist/project-schema/v4.0.0.d.ts +0 -1328
- package/dist/project-schema/v4.0.0.js +0 -7
- package/dist/refs.d.ts +0 -218
- package/dist/refs.js +0 -616
- package/dist/relationships.d.ts +0 -40
- package/dist/relationships.js +0 -302
- package/dist/resolvers/ai/abort-agent-message-args.d.ts +0 -16
- package/dist/resolvers/ai/abort-agent-message-args.js +0 -13
- package/dist/resolvers/ai/abort-agent-message-response.d.ts +0 -39
- package/dist/resolvers/ai/abort-agent-message-response.js +0 -19
- package/dist/resolvers/ai/agent-chat-args.d.ts +0 -17
- package/dist/resolvers/ai/agent-chat-args.js +0 -14
- package/dist/resolvers/ai/agent-chat-payload.d.ts +0 -35
- package/dist/resolvers/ai/agent-chat-payload.js +0 -26
- package/dist/resolvers/ai/agent-chat-response.d.ts +0 -289
- package/dist/resolvers/ai/agent-chat-response.js +0 -21
- package/dist/resolvers/ai/agent-generate-args.d.ts +0 -17
- package/dist/resolvers/ai/agent-generate-args.js +0 -14
- package/dist/resolvers/ai/agent-message-input.d.ts +0 -73
- package/dist/resolvers/ai/agent-message-input.js +0 -39
- package/dist/resolvers/ai/agent-message-output.d.ts +0 -169
- package/dist/resolvers/ai/agent-message-output.js +0 -77
- package/dist/resolvers/ai/agent-message-payload.d.ts +0 -507
- package/dist/resolvers/ai/agent-message-payload.js +0 -156
- package/dist/resolvers/ai/agent-run-mode.d.ts +0 -7
- package/dist/resolvers/ai/agent-run-mode.js +0 -9
- package/dist/resolvers/ai/agent-session-payload.d.ts +0 -515
- package/dist/resolvers/ai/agent-session-payload.js +0 -175
- package/dist/resolvers/ai/create-agent-session-response.d.ts +0 -199
- package/dist/resolvers/ai/create-agent-session-response.js +0 -9
- package/dist/resolvers/ai/embedding-search.d.ts +0 -54
- package/dist/resolvers/ai/embedding-search.js +0 -46
- package/dist/resolvers/ai/get-agent-message-args.d.ts +0 -16
- package/dist/resolvers/ai/get-agent-message-args.js +0 -13
- package/dist/resolvers/ai/get-agent-message-response.d.ts +0 -805
- package/dist/resolvers/ai/get-agent-message-response.js +0 -63
- package/dist/resolvers/ai/inspect-agent-args.d.ts +0 -16
- package/dist/resolvers/ai/inspect-agent-args.js +0 -13
- package/dist/resolvers/ai/inspect-agent-response.d.ts +0 -504
- package/dist/resolvers/ai/inspect-agent-response.js +0 -48
- package/dist/resolvers/ai/send-agent-feedback-args.d.ts +0 -52
- package/dist/resolvers/ai/send-agent-feedback-args.js +0 -16
- package/dist/resolvers/ai/send-agent-message-args.d.ts +0 -48
- package/dist/resolvers/ai/send-agent-message-args.js +0 -36
- package/dist/resolvers/ai/send-agent-message-response.d.ts +0 -353
- package/dist/resolvers/ai/send-agent-message-response.js +0 -51
- package/dist/resolvers/ai/types.d.ts +0 -6
- package/dist/resolvers/ai/types.js +0 -1
- package/dist/resolvers/takeshape/assets/asset-image-meta.d.ts +0 -79
- package/dist/resolvers/takeshape/assets/asset-image-meta.js +0 -98
- package/dist/resolvers/takeshape/assets/asset-image-params.d.ts +0 -901
- package/dist/resolvers/takeshape/assets/asset-image-params.js +0 -726
- package/dist/resolvers/takeshape/assets/asset-image.d.ts +0 -17
- package/dist/resolvers/takeshape/assets/asset-image.js +0 -15
- package/dist/resolvers/takeshape/assets/asset.d.ts +0 -125
- package/dist/resolvers/takeshape/assets/asset.js +0 -107
- package/dist/resolvers/takeshape/assets/constants.d.ts +0 -11
- package/dist/resolvers/takeshape/assets/constants.js +0 -11
- package/dist/resolvers/takeshape/builtins/constants.d.ts +0 -1
- package/dist/resolvers/takeshape/builtins/constants.js +0 -1
- package/dist/runtime-schema.d.ts +0 -6
- package/dist/runtime-schema.js +0 -85
- package/dist/scalars.d.ts +0 -2
- package/dist/scalars.js +0 -4
- package/dist/schema-transform.d.ts +0 -19
- package/dist/schema-transform.js +0 -74
- package/dist/schema-util.d.ts +0 -266
- package/dist/schema-util.js +0 -1127
- package/dist/schemas/auth-schemas.json +0 -374
- package/dist/schemas/index.d.ts +0 -4
- package/dist/schemas/index.js +0 -170
- package/dist/schemas/project-schema/experimental-2025-07.json +0 -1297
- package/dist/schemas/project-schema/latest.d.ts +0 -180
- package/dist/schemas/project-schema/latest.js +0 -11
- package/dist/schemas/project-schema/latest.json +0 -4846
- package/dist/schemas/project-schema/meta-schema-v1.0.0.json +0 -193
- package/dist/schemas/project-schema/meta-schema-v3.0.0.json +0 -608
- package/dist/schemas/project-schema/meta-schema-v3.1.0.json +0 -608
- package/dist/schemas/project-schema/meta-schema-v3.2.0.json +0 -612
- package/dist/schemas/project-schema/meta-schema-v3.3.0.json +0 -612
- package/dist/schemas/project-schema/meta-schema-v3.4.0.json +0 -637
- package/dist/schemas/project-schema/meta-schema-v3.5.0.json +0 -626
- package/dist/schemas/project-schema/meta-schema-v3.5.1.json +0 -626
- package/dist/schemas/project-schema/meta-schema-v3.6.0.json +0 -629
- package/dist/schemas/project-schema/meta-schema-v3.7.0.json +0 -1137
- package/dist/schemas/project-schema/meta-schema-v3.8.0.json +0 -1137
- package/dist/schemas/project-schema/meta-schema-v3.9.0.json +0 -1477
- package/dist/schemas/project-schema/v1.0.0.json +0 -321
- package/dist/schemas/project-schema/v3.0.0.json +0 -414
- package/dist/schemas/project-schema/v3.1.0.json +0 -572
- package/dist/schemas/project-schema/v3.10.0.json +0 -2097
- package/dist/schemas/project-schema/v3.11.0.json +0 -2141
- package/dist/schemas/project-schema/v3.12.0.json +0 -2144
- package/dist/schemas/project-schema/v3.12.1.json +0 -2282
- package/dist/schemas/project-schema/v3.12.2.json +0 -2304
- package/dist/schemas/project-schema/v3.12.3.json +0 -2357
- package/dist/schemas/project-schema/v3.13.0.json +0 -2377
- package/dist/schemas/project-schema/v3.14.0.json +0 -2385
- package/dist/schemas/project-schema/v3.15.0.json +0 -2365
- package/dist/schemas/project-schema/v3.16.0.json +0 -2373
- package/dist/schemas/project-schema/v3.17.0.json +0 -2378
- package/dist/schemas/project-schema/v3.17.1.json +0 -2380
- package/dist/schemas/project-schema/v3.18.0.json +0 -2356
- package/dist/schemas/project-schema/v3.18.1.json +0 -2357
- package/dist/schemas/project-schema/v3.18.2.json +0 -2357
- package/dist/schemas/project-schema/v3.19.0.json +0 -2369
- package/dist/schemas/project-schema/v3.2.0.json +0 -580
- package/dist/schemas/project-schema/v3.20.0.json +0 -2369
- package/dist/schemas/project-schema/v3.21.0.json +0 -2376
- package/dist/schemas/project-schema/v3.22.0.json +0 -2381
- package/dist/schemas/project-schema/v3.23.0.json +0 -2456
- package/dist/schemas/project-schema/v3.24.0.json +0 -2556
- package/dist/schemas/project-schema/v3.25.0.json +0 -2552
- package/dist/schemas/project-schema/v3.26.0.json +0 -2599
- package/dist/schemas/project-schema/v3.27.0.json +0 -2611
- package/dist/schemas/project-schema/v3.28.0.json +0 -2656
- package/dist/schemas/project-schema/v3.29.0.json +0 -2670
- package/dist/schemas/project-schema/v3.3.0.json +0 -581
- package/dist/schemas/project-schema/v3.30.0.json +0 -2656
- package/dist/schemas/project-schema/v3.31.0.json +0 -2714
- package/dist/schemas/project-schema/v3.32.0.json +0 -2708
- package/dist/schemas/project-schema/v3.33.0.json +0 -2715
- package/dist/schemas/project-schema/v3.34.0.json +0 -2715
- package/dist/schemas/project-schema/v3.35.0.json +0 -2748
- package/dist/schemas/project-schema/v3.36.0.json +0 -2756
- package/dist/schemas/project-schema/v3.37.0.json +0 -2821
- package/dist/schemas/project-schema/v3.38.0.json +0 -2819
- package/dist/schemas/project-schema/v3.39.0.json +0 -2827
- package/dist/schemas/project-schema/v3.4.0.json +0 -571
- package/dist/schemas/project-schema/v3.40.0.json +0 -2830
- package/dist/schemas/project-schema/v3.41.0.json +0 -2830
- package/dist/schemas/project-schema/v3.42.0.json +0 -2835
- package/dist/schemas/project-schema/v3.43.0.json +0 -2841
- package/dist/schemas/project-schema/v3.44.0.json +0 -3013
- package/dist/schemas/project-schema/v3.45.0.json +0 -3064
- package/dist/schemas/project-schema/v3.46.0.json +0 -3136
- package/dist/schemas/project-schema/v3.47.0.json +0 -3189
- package/dist/schemas/project-schema/v3.48.0.json +0 -3196
- package/dist/schemas/project-schema/v3.49.0.json +0 -3239
- package/dist/schemas/project-schema/v3.5.0.json +0 -571
- package/dist/schemas/project-schema/v3.5.1.json +0 -571
- package/dist/schemas/project-schema/v3.50.0.json +0 -3320
- package/dist/schemas/project-schema/v3.51.0.json +0 -3326
- package/dist/schemas/project-schema/v3.52.0.json +0 -3326
- package/dist/schemas/project-schema/v3.53.0.json +0 -3476
- package/dist/schemas/project-schema/v3.54.0.json +0 -3512
- package/dist/schemas/project-schema/v3.55.0.json +0 -3515
- package/dist/schemas/project-schema/v3.56.0.json +0 -3530
- package/dist/schemas/project-schema/v3.57.0.json +0 -4815
- package/dist/schemas/project-schema/v3.58.0.json +0 -4815
- package/dist/schemas/project-schema/v3.59.0.json +0 -4846
- package/dist/schemas/project-schema/v3.6.0.json +0 -587
- package/dist/schemas/project-schema/v3.7.0.json +0 -587
- package/dist/schemas/project-schema/v3.8.0.json +0 -604
- package/dist/schemas/project-schema/v3.9.0.json +0 -604
- package/dist/schemas/project-schema/v4.0.0.json +0 -2316
- package/dist/schemas/project-schema.json +0 -214
- package/dist/service-dependencies.d.ts +0 -13
- package/dist/service-dependencies.js +0 -165
- package/dist/services/services.d.ts +0 -31
- package/dist/services/services.js +0 -145
- package/dist/services/types.d.ts +0 -11
- package/dist/services/types.js +0 -1
- package/dist/services/util.d.ts +0 -16
- package/dist/services/util.js +0 -36
- package/dist/shape-paths.d.ts +0 -7
- package/dist/shape-paths.js +0 -28
- package/dist/taxonomies.d.ts +0 -15
- package/dist/taxonomies.js +0 -24
- package/dist/template-shapes/index.d.ts +0 -7
- package/dist/template-shapes/index.js +0 -33
- package/dist/template-shapes/names.d.ts +0 -10
- package/dist/template-shapes/names.js +0 -21
- package/dist/template-shapes/templates.d.ts +0 -32
- package/dist/template-shapes/templates.js +0 -316
- package/dist/template-shapes/types.d.ts +0 -15
- package/dist/template-shapes/types.js +0 -7
- package/dist/template-shapes/where.d.ts +0 -37
- package/dist/template-shapes/where.js +0 -400
- package/dist/types/index.d.ts +0 -3
- package/dist/types/index.js +0 -2
- package/dist/types/transforms.d.ts +0 -15
- package/dist/types/transforms.js +0 -1
- package/dist/types/types.d.ts +0 -200
- package/dist/types/types.js +0 -10
- package/dist/types/utils.d.ts +0 -112
- package/dist/types/utils.js +0 -269
- package/dist/unions.d.ts +0 -14
- package/dist/unions.js +0 -77
- package/dist/util/ai-tools.d.ts +0 -2
- package/dist/util/ai-tools.js +0 -14
- package/dist/util/api-indexing.d.ts +0 -9
- package/dist/util/api-indexing.js +0 -57
- package/dist/util/coerce-value.d.ts +0 -9
- package/dist/util/coerce-value.js +0 -32
- package/dist/util/detect-cycles.d.ts +0 -7
- package/dist/util/detect-cycles.js +0 -45
- package/dist/util/expressions.d.ts +0 -34
- package/dist/util/expressions.js +0 -350
- package/dist/util/find-shape-at-path.d.ts +0 -21
- package/dist/util/find-shape-at-path.js +0 -53
- package/dist/util/form-config.d.ts +0 -11
- package/dist/util/form-config.js +0 -62
- package/dist/util/get-conflicting-properties.d.ts +0 -6
- package/dist/util/get-conflicting-properties.js +0 -55
- package/dist/util/get-return-shape.d.ts +0 -4
- package/dist/util/get-return-shape.js +0 -30
- package/dist/util/has-arg.d.ts +0 -6
- package/dist/util/has-arg.js +0 -25
- package/dist/util/is-asset-property.d.ts +0 -3
- package/dist/util/is-asset-property.js +0 -11
- package/dist/util/mcp.d.ts +0 -8
- package/dist/util/mcp.js +0 -21
- package/dist/util/merge.d.ts +0 -15
- package/dist/util/merge.js +0 -254
- package/dist/util/patch-schema.d.ts +0 -8
- package/dist/util/patch-schema.js +0 -51
- package/dist/util/query-field-path.d.ts +0 -9
- package/dist/util/query-field-path.js +0 -23
- package/dist/util/shapes.d.ts +0 -5
- package/dist/util/shapes.js +0 -22
- package/dist/validate/ai.d.ts +0 -6
- package/dist/validate/ai.js +0 -183
- package/dist/validate/errors.d.ts +0 -3
- package/dist/validate/errors.js +0 -20
- package/dist/validate/types.d.ts +0 -1
- package/dist/validate/types.js +0 -1
- package/dist/validate/util.d.ts +0 -3
- package/dist/validate/util.js +0 -28
- package/dist/validate/validate.d.ts +0 -80
- package/dist/validate/validate.js +0 -1058
- package/dist/versions.d.ts +0 -4
- package/dist/versions.js +0 -4
- package/dist/workflows.d.ts +0 -14
- package/dist/workflows.js +0 -66
|
@@ -1,1328 +0,0 @@
|
|
|
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
|
-
* The general type of this service, specifying how and where it will be utilized.
|
|
8
|
-
*
|
|
9
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
10
|
-
* via the `definition` "serviceType".
|
|
11
|
-
*/
|
|
12
|
-
export type ServiceTypeV4_0_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
|
|
13
|
-
/**
|
|
14
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
15
|
-
* via the `definition` "nonNegativeInteger".
|
|
16
|
-
*/
|
|
17
|
-
export type NonNegativeIntegerV4_0_0 = number;
|
|
18
|
-
/**
|
|
19
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
20
|
-
* via the `definition` "nonNegativeIntegerDefault0".
|
|
21
|
-
*/
|
|
22
|
-
export type NonNegativeIntegerDefault0V4_0_0 = NonNegativeIntegerV4_0_0;
|
|
23
|
-
/**
|
|
24
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
25
|
-
* via the `definition` "stringArray".
|
|
26
|
-
*/
|
|
27
|
-
export type StringArrayV4_0_0 = string[];
|
|
28
|
-
/**
|
|
29
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
30
|
-
* via the `definition` "simpleTypes".
|
|
31
|
-
*/
|
|
32
|
-
export type SimpleTypesV4_0_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
|
|
33
|
-
/**
|
|
34
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
35
|
-
* via the `definition` "fieldMapping".
|
|
36
|
-
*/
|
|
37
|
-
export type FieldMappingV4_0_0 = MappingStringV4_0_0 | MappingStringV4_0_0[];
|
|
38
|
-
/**
|
|
39
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
40
|
-
* via the `definition` "mappingString".
|
|
41
|
-
*/
|
|
42
|
-
export type MappingStringV4_0_0 = string;
|
|
43
|
-
/**
|
|
44
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
45
|
-
* via the `definition` "args".
|
|
46
|
-
*/
|
|
47
|
-
export type ArgsV4_0_0 = string | ObjectSchemaV4_0_0;
|
|
48
|
-
/**
|
|
49
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
50
|
-
* via the `definition` "objectSchema".
|
|
51
|
-
*/
|
|
52
|
-
export type ObjectSchemaV4_0_0 = PropertySchemaV4_0_0 & {
|
|
53
|
-
type: 'object';
|
|
54
|
-
properties: {
|
|
55
|
-
[k: string]: PropertySchemaV4_0_0;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
60
|
-
* via the `definition` "resolver".
|
|
61
|
-
*/
|
|
62
|
-
export type ResolverV4_0_0 = BasicResolverV4_0_0 | ComposeResolverV4_0_0;
|
|
63
|
-
/**
|
|
64
|
-
* A single resolver, can be composed with the ComposeResolver.
|
|
65
|
-
*
|
|
66
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
67
|
-
* via the `definition` "basicResolver".
|
|
68
|
-
*/
|
|
69
|
-
export type BasicResolverV4_0_0 = UtilResolverV4_0_0 | TakeshapeResolverV4_0_0 | InternalTakeshapeResolverV4_0_0 | GraphqlResolverV4_0_0 | RestResolverV4_0_0 | AwsLambdaResolverV4_0_0;
|
|
70
|
-
/**
|
|
71
|
-
* Name of the resolver function.
|
|
72
|
-
*/
|
|
73
|
-
export type UtilResolverNameV4_0_0 = 'debug:noop' | 'util:wrap';
|
|
74
|
-
/**
|
|
75
|
-
* An object describing an operation to generate a parameter.
|
|
76
|
-
*
|
|
77
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
78
|
-
* via the `definition` "parameterOp".
|
|
79
|
-
*/
|
|
80
|
-
export type ParameterOpV4_0_0 = ParameterOpNestedV4_0_0 | ParameterOpValueV4_0_0 | ParameterOpMappingV4_0_0 | ParameterOpOpV4_0_0;
|
|
81
|
-
/**
|
|
82
|
-
* A tuple with a string directive name, and options to pass to the directive
|
|
83
|
-
*
|
|
84
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
85
|
-
* via the `definition` "directiveConfigItem".
|
|
86
|
-
*/
|
|
87
|
-
export type DirectiveConfigItemV4_0_0 = [DirectiveNameV4_0_0, DirectiveOptionsV4_0_0];
|
|
88
|
-
export type DirectiveNameV4_0_0 = string;
|
|
89
|
-
/**
|
|
90
|
-
* An array of individual directive config items to process in order
|
|
91
|
-
*
|
|
92
|
-
* This interface was referenced by `DirectiveMappingMapV4_0_0`'s JSON-Schema definition
|
|
93
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
94
|
-
*
|
|
95
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
96
|
-
* via the `definition` "directiveConfig".
|
|
97
|
-
*/
|
|
98
|
-
export type DirectiveConfigV4_0_0 = DirectiveConfigItemV4_0_0[];
|
|
99
|
-
/**
|
|
100
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
101
|
-
* via the `definition` "parameterOpList".
|
|
102
|
-
*/
|
|
103
|
-
export type ParameterOpListV4_0_0 = ParameterOpV4_0_0[];
|
|
104
|
-
/**
|
|
105
|
-
* Maps a query's input args to the input expected by the service's endpoint.
|
|
106
|
-
*
|
|
107
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
108
|
-
* via the `definition` "argsMapping".
|
|
109
|
-
*/
|
|
110
|
-
export type ArgsMappingV4_0_0 = DirectiveMappingMapV4_0_0 | DirectiveConfigV4_0_0;
|
|
111
|
-
/**
|
|
112
|
-
* Maps a service endpoint's response results to the expected shape of the query's response.
|
|
113
|
-
*
|
|
114
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
115
|
-
* via the `definition` "resultsMapping".
|
|
116
|
-
*/
|
|
117
|
-
export type ResultsMappingV4_0_0 = DirectiveMappingMapV4_0_0 | DirectiveConfigV4_0_0;
|
|
118
|
-
/**
|
|
119
|
-
* Name of the resolver function.
|
|
120
|
-
*/
|
|
121
|
-
export type TakeshapeResolverNameV4_0_0 = 'takeshape:get' | 'takeshape:list' | 'takeshape:create' | 'takeshape:update' | 'takeshape:delete' | 'takeshape:duplicate' | 'takeshape:find' | 'takeshape:queryApiIndex' | 'takeshape:search';
|
|
122
|
-
/**
|
|
123
|
-
* Name of the resolver function.
|
|
124
|
-
*/
|
|
125
|
-
export type InternalTakeshapeResolverNameV4_0_0 = 'takeshape:getRelationship' | 'takeshape:taxonomySuggest';
|
|
126
|
-
/**
|
|
127
|
-
* Name of the resolver function.
|
|
128
|
-
*/
|
|
129
|
-
export type GraphqlResolverNameV4_0_0 = 'graphql:query' | 'graphql:mutation';
|
|
130
|
-
/**
|
|
131
|
-
* Name of the resolver function.
|
|
132
|
-
*/
|
|
133
|
-
export type RestResolverNameV4_0_0 = 'rest:get' | 'rest:head' | 'rest:post' | 'rest:put' | 'rest:patch' | 'rest:delete';
|
|
134
|
-
/**
|
|
135
|
-
* A tuple with a string key and a directive config to evaluate
|
|
136
|
-
*
|
|
137
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
138
|
-
* via the `definition` "directiveMappingArrayItem".
|
|
139
|
-
*/
|
|
140
|
-
export type DirectiveMappingArrayItemV4_0_0 = [string, DirectiveConfigV4_0_0];
|
|
141
|
-
/**
|
|
142
|
-
* An array of key / value or directive config tuples
|
|
143
|
-
*/
|
|
144
|
-
export type SearchParamsMappingV4_0_0 = DirectiveMappingArrayItemV4_0_0[];
|
|
145
|
-
/**
|
|
146
|
-
* Name of the resolver function.
|
|
147
|
-
*/
|
|
148
|
-
export type AwsLambdaResolverNameV4_0_0 = 'awsLambda:invoke';
|
|
149
|
-
/**
|
|
150
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
151
|
-
* via the `definition` "schemaArray".
|
|
152
|
-
*/
|
|
153
|
-
export type SchemaArrayV4_0_0 = PropertySchemaV4_0_0[];
|
|
154
|
-
/**
|
|
155
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
156
|
-
* via the `definition` "returnShapeArraySchema".
|
|
157
|
-
*/
|
|
158
|
-
export type ReturnShapeArraySchemaV4_0_0 = PropertySchemaV4_0_0 & {
|
|
159
|
-
type: 'array';
|
|
160
|
-
items: RefSchemaV4_0_0 | {
|
|
161
|
-
type: 'boolean' | 'integer' | 'number' | 'string';
|
|
162
|
-
[k: string]: any;
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
/**
|
|
166
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
167
|
-
* via the `definition` "allOfSchema".
|
|
168
|
-
*/
|
|
169
|
-
export type AllOfSchemaV4_0_0 = PropertySchemaV4_0_0 & {
|
|
170
|
-
allOf: (RefSchemaV4_0_0 | RefSchemaLegacyV4_0_0 | ObjectSchemaV4_0_0)[];
|
|
171
|
-
};
|
|
172
|
-
/**
|
|
173
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
174
|
-
* via the `definition` "oneOfSchema".
|
|
175
|
-
*/
|
|
176
|
-
export type OneOfSchemaV4_0_0 = PropertySchemaV4_0_0 & {
|
|
177
|
-
oneOf: (RefSchemaV4_0_0 | RefSchemaLegacyV4_0_0 | ObjectSchemaV4_0_0)[];
|
|
178
|
-
};
|
|
179
|
-
/**
|
|
180
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
181
|
-
* via the `definition` "shapeSchema".
|
|
182
|
-
*/
|
|
183
|
-
export type ShapeSchemaV4_0_0 = ShapeSchemaAllOfV4_0_0 | ShapeSchemaOneOfV4_0_0 | ShapeSchemaEnumV4_0_0 | ObjectSchemaV4_0_0;
|
|
184
|
-
/**
|
|
185
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
186
|
-
* via the `definition` "returnShape".
|
|
187
|
-
*/
|
|
188
|
-
export type ReturnShapeV4_0_0 = string | ReturnShapeArraySchemaV4_0_0;
|
|
189
|
-
/**
|
|
190
|
-
* Options to be passed to the serialization routine.
|
|
191
|
-
*
|
|
192
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
193
|
-
* via the `definition` "parameterSerializeOptions".
|
|
194
|
-
*
|
|
195
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
196
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
197
|
-
*/
|
|
198
|
-
export type ParameterSerializeOptionsV4_0_0 = ParameterSerializeStyleOptionsV4_0_0 | ParameterSerializeContentOptionsV4_0_0;
|
|
199
|
-
/**
|
|
200
|
-
* An array of key / value or directive config tuples
|
|
201
|
-
*
|
|
202
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
203
|
-
* via the `definition` "directiveMappingArray".
|
|
204
|
-
*/
|
|
205
|
-
export type DirectiveMappingArrayV4_0_0 = DirectiveMappingArrayItemV4_0_0[];
|
|
206
|
-
/**
|
|
207
|
-
* An array of key / value or directive config tuples
|
|
208
|
-
*
|
|
209
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
210
|
-
* via the `definition` "searchParamsMapping".
|
|
211
|
-
*/
|
|
212
|
-
export type SearchParamsMappingV4_0_01 = DirectiveMappingArrayItemV4_0_0[];
|
|
213
|
-
export type ModelTypeV4_0_0 = 'single' | 'multiple' | 'taxonomy';
|
|
214
|
-
/**
|
|
215
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
216
|
-
* via the `definition` "shapeWithObjectSchema".
|
|
217
|
-
*/
|
|
218
|
-
export type ShapeWithObjectSchemaV4_0_0 = ShapeJSONV4_0_0 & {
|
|
219
|
-
schema: ObjectSchemaV4_0_0;
|
|
220
|
-
};
|
|
221
|
-
/**
|
|
222
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
223
|
-
* via the `definition` "searchParamsAuthentication".
|
|
224
|
-
*/
|
|
225
|
-
export type SearchParamsAuthenticationV4_0_0 = {
|
|
226
|
-
name: string;
|
|
227
|
-
value: string;
|
|
228
|
-
}[];
|
|
229
|
-
/**
|
|
230
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
231
|
-
* via the `definition` "serviceAuthentication".
|
|
232
|
-
*/
|
|
233
|
-
export type ServiceAuthenticationV4_0_0 = OAuth2AuthenticationV4_0_0 | OAuth2BearerAuthenticationV4_0_0 | BearerAuthenticationV4_0_0 | BasicAuthenticationV4_0_0 | SearchParamsAuthenticationV4_0_0 | AWSAuthenticationV4_0_0 | CustomAuthenticationV4_0_0;
|
|
234
|
-
/**
|
|
235
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
236
|
-
* via the `definition` "anyServiceConfig".
|
|
237
|
-
*/
|
|
238
|
-
export type AnyServiceConfigV4_0_0 = ServiceConfigJSONV4_0_0 | ServiceConfigV4_0_0;
|
|
239
|
-
/**
|
|
240
|
-
* machine-readable slug
|
|
241
|
-
*/
|
|
242
|
-
export type NameV4_0_0 = string;
|
|
243
|
-
/**
|
|
244
|
-
* Human-readable id for use in the UI
|
|
245
|
-
*/
|
|
246
|
-
export type TitleV4_0_0 = string;
|
|
247
|
-
export type DescriptionV4_0_0 = string;
|
|
248
|
-
/**
|
|
249
|
-
* Hex color code
|
|
250
|
-
*/
|
|
251
|
-
export type ColorV4_0_0 = string;
|
|
252
|
-
/**
|
|
253
|
-
* Value to indicate whether items in the state should be returned in list queries
|
|
254
|
-
*/
|
|
255
|
-
export type LiveV4_0_0 = boolean;
|
|
256
|
-
/**
|
|
257
|
-
* machine-readable id
|
|
258
|
-
*/
|
|
259
|
-
export type KeyV4_0_0 = string;
|
|
260
|
-
/**
|
|
261
|
-
* Human-readable id for use in the UI
|
|
262
|
-
*/
|
|
263
|
-
export type WorkflowNameV4_0_0 = string;
|
|
264
|
-
export type StepsV4_0_0 = WorkflowStepV4_0_0[];
|
|
265
|
-
/**
|
|
266
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
267
|
-
* via the `definition` "layerType".
|
|
268
|
-
*/
|
|
269
|
-
export type LayerTypeV4_0_0 = 'service' | 'pattern';
|
|
270
|
-
export interface ProjectSchemaJSONV4_0_0 {
|
|
271
|
-
$schema?: string;
|
|
272
|
-
/**
|
|
273
|
-
* This is the revision number of your schema. Every time your project schema is updated, this value should be incremented.
|
|
274
|
-
*/
|
|
275
|
-
version: number;
|
|
276
|
-
/**
|
|
277
|
-
* The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
|
|
278
|
-
*/
|
|
279
|
-
apiVersion: string;
|
|
280
|
-
/**
|
|
281
|
-
* The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
|
|
282
|
-
*/
|
|
283
|
-
schemaVersion: '4.0.0';
|
|
284
|
-
/**
|
|
285
|
-
* The ID of the TakeShape project this schema belongs to.
|
|
286
|
-
*/
|
|
287
|
-
projectId: string;
|
|
288
|
-
/**
|
|
289
|
-
* The ID of the TakeShape user who created the schema.
|
|
290
|
-
*/
|
|
291
|
-
author?: string;
|
|
292
|
-
/**
|
|
293
|
-
* The date the schema was created
|
|
294
|
-
*/
|
|
295
|
-
created: string;
|
|
296
|
-
/**
|
|
297
|
-
* The date the schema was last updated
|
|
298
|
-
*/
|
|
299
|
-
updated: string;
|
|
300
|
-
deactivated?: number;
|
|
301
|
-
/**
|
|
302
|
-
* The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
|
|
303
|
-
*/
|
|
304
|
-
defaultLocale: string;
|
|
305
|
-
locales: string[];
|
|
306
|
-
layers: (string | LayerConfigV4_0_0)[];
|
|
307
|
-
dataKey: string;
|
|
308
|
-
services?: ServiceMapJSONV4_0_0;
|
|
309
|
-
}
|
|
310
|
-
/**
|
|
311
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
312
|
-
* via the `definition` "layerConfig".
|
|
313
|
-
*/
|
|
314
|
-
export interface LayerConfigV4_0_0 {
|
|
315
|
-
id: string;
|
|
316
|
-
visibility?: string[];
|
|
317
|
-
namespace?: string;
|
|
318
|
-
dependencies?: {
|
|
319
|
-
/**
|
|
320
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
321
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
322
|
-
*/
|
|
323
|
-
[k: string]: string;
|
|
324
|
-
};
|
|
325
|
-
variables?: {
|
|
326
|
-
/**
|
|
327
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
328
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
329
|
-
*/
|
|
330
|
-
[k: string]: string | number | boolean;
|
|
331
|
-
};
|
|
332
|
-
}
|
|
333
|
-
/**
|
|
334
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
335
|
-
* via the `definition` "storedServiceMap".
|
|
336
|
-
*/
|
|
337
|
-
export interface ServiceMapJSONV4_0_0 {
|
|
338
|
-
[k: string]: ServiceConfigJSONV4_0_0;
|
|
339
|
-
}
|
|
340
|
-
/**
|
|
341
|
-
* This interface was referenced by `ServiceMapJSONV4_0_0`'s JSON-Schema definition
|
|
342
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
343
|
-
*
|
|
344
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
345
|
-
* via the `definition` "storedServiceConfig".
|
|
346
|
-
*/
|
|
347
|
-
export interface ServiceConfigJSONV4_0_0 {
|
|
348
|
-
/**
|
|
349
|
-
* Human-readable name for this service.
|
|
350
|
-
*/
|
|
351
|
-
title: string;
|
|
352
|
-
/**
|
|
353
|
-
* The service provider id.
|
|
354
|
-
*/
|
|
355
|
-
provider: string;
|
|
356
|
-
/**
|
|
357
|
-
* A namespace to use for the imported types tied to this service.
|
|
358
|
-
*/
|
|
359
|
-
namespace?: string;
|
|
360
|
-
serviceType: ServiceTypeV4_0_0;
|
|
361
|
-
authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
|
|
362
|
-
authentication?: string;
|
|
363
|
-
webhookId?: string;
|
|
364
|
-
/**
|
|
365
|
-
* Configuration options passed to and handled by the provider.
|
|
366
|
-
*/
|
|
367
|
-
options?: {
|
|
368
|
-
[k: string]: any;
|
|
369
|
-
};
|
|
370
|
-
}
|
|
371
|
-
/**
|
|
372
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
373
|
-
* via the `definition` "propertySchema".
|
|
374
|
-
*/
|
|
375
|
-
export interface PropertySchemaV4_0_0 {
|
|
376
|
-
$ref?: string;
|
|
377
|
-
$comment?: string;
|
|
378
|
-
title?: string;
|
|
379
|
-
description?: string;
|
|
380
|
-
default?: any;
|
|
381
|
-
readOnly?: boolean;
|
|
382
|
-
examples?: any[];
|
|
383
|
-
multipleOf?: number;
|
|
384
|
-
maximum?: number;
|
|
385
|
-
exclusiveMaximum?: number;
|
|
386
|
-
minimum?: number;
|
|
387
|
-
exclusiveMinimum?: number;
|
|
388
|
-
maxLength?: NonNegativeIntegerV4_0_0;
|
|
389
|
-
minLength?: NonNegativeIntegerDefault0V4_0_0;
|
|
390
|
-
pattern?: string;
|
|
391
|
-
items?: PropertySchemaV4_0_0;
|
|
392
|
-
maxItems?: NonNegativeIntegerV4_0_0;
|
|
393
|
-
minItems?: NonNegativeIntegerDefault0V4_0_0;
|
|
394
|
-
uniqueItems?: boolean;
|
|
395
|
-
maxProperties?: NonNegativeIntegerV4_0_0;
|
|
396
|
-
minProperties?: NonNegativeIntegerDefault0V4_0_0;
|
|
397
|
-
required?: StringArrayV4_0_0;
|
|
398
|
-
properties?: {
|
|
399
|
-
[k: string]: PropertySchemaV4_0_0;
|
|
400
|
-
};
|
|
401
|
-
const?: any;
|
|
402
|
-
enum?: any[];
|
|
403
|
-
type?: SimpleTypesV4_0_0;
|
|
404
|
-
format?: string;
|
|
405
|
-
allOf?: SchemaArrayV4_0_0;
|
|
406
|
-
oneOf?: SchemaArrayV4_0_0;
|
|
407
|
-
'@relationship'?: RelationshipV4_0_0;
|
|
408
|
-
'@syncLocaleStructure'?: boolean;
|
|
409
|
-
'@sensitive'?: boolean;
|
|
410
|
-
'@l10n'?: boolean;
|
|
411
|
-
'@key'?: string;
|
|
412
|
-
'@workflow'?: string;
|
|
413
|
-
'@mapping'?: FieldMappingV4_0_0;
|
|
414
|
-
'@tag'?: string;
|
|
415
|
-
'@tags'?: string[];
|
|
416
|
-
'@deprecationReason'?: string;
|
|
417
|
-
'@user'?: boolean;
|
|
418
|
-
'@args'?: ArgsV4_0_0;
|
|
419
|
-
'@resolver'?: ResolverV4_0_0;
|
|
420
|
-
'@ref'?: string;
|
|
421
|
-
'@derivedFrom'?: string;
|
|
422
|
-
}
|
|
423
|
-
/**
|
|
424
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
425
|
-
* via the `definition` "relationship".
|
|
426
|
-
*/
|
|
427
|
-
export interface RelationshipV4_0_0 {
|
|
428
|
-
shapeIds: string[];
|
|
429
|
-
type?: string;
|
|
430
|
-
relatedName?: string;
|
|
431
|
-
}
|
|
432
|
-
/**
|
|
433
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
434
|
-
* via the `definition` "utilResolver".
|
|
435
|
-
*/
|
|
436
|
-
export interface UtilResolverV4_0_0 {
|
|
437
|
-
if?: string;
|
|
438
|
-
id?: string;
|
|
439
|
-
name: UtilResolverNameV4_0_0;
|
|
440
|
-
/**
|
|
441
|
-
* Configuration for a service to use with this resolver.
|
|
442
|
-
*/
|
|
443
|
-
service: string;
|
|
444
|
-
options?: UtilResolverOptionsV4_0_0;
|
|
445
|
-
args?: ParameterConfigForJsonV4_0_0;
|
|
446
|
-
results?: ParameterConfigForJsonV4_0_0;
|
|
447
|
-
argsMapping?: ArgsMappingV4_0_0;
|
|
448
|
-
resultsMapping?: ResultsMappingV4_0_0;
|
|
449
|
-
}
|
|
450
|
-
export interface UtilResolverOptionsV4_0_0 {
|
|
451
|
-
[k: string]: any;
|
|
452
|
-
}
|
|
453
|
-
/**
|
|
454
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
455
|
-
* via the `definition` "parameterConfigForJson".
|
|
456
|
-
*/
|
|
457
|
-
export interface ParameterConfigForJsonV4_0_0 {
|
|
458
|
-
ops: ParameterOpListV4_0_0;
|
|
459
|
-
}
|
|
460
|
-
/**
|
|
461
|
-
* An object describing an operation to generate a parameter, using a nested OpList.
|
|
462
|
-
*
|
|
463
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
464
|
-
* via the `definition` "parameterOpNested".
|
|
465
|
-
*/
|
|
466
|
-
export interface ParameterOpNestedV4_0_0 {
|
|
467
|
-
/**
|
|
468
|
-
* A path to the parameter for this operation.
|
|
469
|
-
*/
|
|
470
|
-
path: string;
|
|
471
|
-
/**
|
|
472
|
-
* A mode for this parameter's operation.
|
|
473
|
-
*/
|
|
474
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
475
|
-
ops: ParameterOpListV4_0_0;
|
|
476
|
-
}
|
|
477
|
-
/**
|
|
478
|
-
* An object describing an operation to generate a parameter using a value.
|
|
479
|
-
*
|
|
480
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
481
|
-
* via the `definition` "parameterOpValue".
|
|
482
|
-
*/
|
|
483
|
-
export interface ParameterOpValueV4_0_0 {
|
|
484
|
-
/**
|
|
485
|
-
* A path to the parameter for this operation.
|
|
486
|
-
*/
|
|
487
|
-
path: string;
|
|
488
|
-
/**
|
|
489
|
-
* A mode for this parameter's operation.
|
|
490
|
-
*/
|
|
491
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
492
|
-
/**
|
|
493
|
-
* A value to set directly at this path.
|
|
494
|
-
*/
|
|
495
|
-
value: number | string | boolean | {
|
|
496
|
-
[k: string]: any;
|
|
497
|
-
} | any[] | null;
|
|
498
|
-
}
|
|
499
|
-
/**
|
|
500
|
-
* An object describing an operation to generate a parameter using a mapping.
|
|
501
|
-
*
|
|
502
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
503
|
-
* via the `definition` "parameterOpMapping".
|
|
504
|
-
*/
|
|
505
|
-
export interface ParameterOpMappingV4_0_0 {
|
|
506
|
-
/**
|
|
507
|
-
* A path to the parameter for this operation.
|
|
508
|
-
*/
|
|
509
|
-
path: string;
|
|
510
|
-
/**
|
|
511
|
-
* A mode for this parameter's operation.
|
|
512
|
-
*/
|
|
513
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
514
|
-
/**
|
|
515
|
-
* Either a valid JSONPath or a directive pipeline to evaluate against the query context.
|
|
516
|
-
*/
|
|
517
|
-
mapping: string | DirectiveConfigV4_0_0;
|
|
518
|
-
}
|
|
519
|
-
export interface DirectiveOptionsV4_0_0 {
|
|
520
|
-
[k: string]: any;
|
|
521
|
-
}
|
|
522
|
-
/**
|
|
523
|
-
* An object describing an operation to generate a parameter using a mapping.
|
|
524
|
-
*
|
|
525
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
526
|
-
* via the `definition` "parameterOpOp".
|
|
527
|
-
*/
|
|
528
|
-
export interface ParameterOpOpV4_0_0 {
|
|
529
|
-
/**
|
|
530
|
-
* A path to the parameter for this operation.
|
|
531
|
-
*/
|
|
532
|
-
path: string;
|
|
533
|
-
/**
|
|
534
|
-
* A mode for this parameter's operation.
|
|
535
|
-
*/
|
|
536
|
-
op: 'set' | 'concat' | 'extend' | 'remove';
|
|
537
|
-
}
|
|
538
|
-
/**
|
|
539
|
-
* An map of object keys / key paths to directive configs
|
|
540
|
-
*
|
|
541
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
542
|
-
* via the `definition` "directiveMappingMap".
|
|
543
|
-
*/
|
|
544
|
-
export interface DirectiveMappingMapV4_0_0 {
|
|
545
|
-
[k: string]: DirectiveConfigV4_0_0;
|
|
546
|
-
}
|
|
547
|
-
/**
|
|
548
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
549
|
-
* via the `definition` "takeshapeResolver".
|
|
550
|
-
*/
|
|
551
|
-
export interface TakeshapeResolverV4_0_0 {
|
|
552
|
-
if?: string;
|
|
553
|
-
id?: string;
|
|
554
|
-
name: TakeshapeResolverNameV4_0_0;
|
|
555
|
-
/**
|
|
556
|
-
* Internal service identifier.
|
|
557
|
-
*/
|
|
558
|
-
service: string;
|
|
559
|
-
options?: TakeshapeResolverOptionsV4_0_0;
|
|
560
|
-
argsMapping?: ArgsMappingV4_0_0;
|
|
561
|
-
resultsMapping?: ResultsMappingV4_0_0;
|
|
562
|
-
/**
|
|
563
|
-
* A Shape name for the resolver to use.
|
|
564
|
-
*/
|
|
565
|
-
shapeName: string;
|
|
566
|
-
args?: ParameterConfigForJsonV4_0_0;
|
|
567
|
-
results?: ParameterConfigForJsonV4_0_0;
|
|
568
|
-
}
|
|
569
|
-
export interface TakeshapeResolverOptionsV4_0_0 {
|
|
570
|
-
[k: string]: any;
|
|
571
|
-
}
|
|
572
|
-
/**
|
|
573
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
574
|
-
* via the `definition` "internalTakeshapeResolver".
|
|
575
|
-
*/
|
|
576
|
-
export interface InternalTakeshapeResolverV4_0_0 {
|
|
577
|
-
if?: string;
|
|
578
|
-
id?: string;
|
|
579
|
-
name: InternalTakeshapeResolverNameV4_0_0;
|
|
580
|
-
/**
|
|
581
|
-
* Internal service identifier.
|
|
582
|
-
*/
|
|
583
|
-
service: 'takeshape:local';
|
|
584
|
-
/**
|
|
585
|
-
* An optional Shape name for the resolver.
|
|
586
|
-
*/
|
|
587
|
-
shapeName?: string;
|
|
588
|
-
args?: ParameterConfigForJsonV4_0_0;
|
|
589
|
-
results?: ParameterConfigForJsonV4_0_0;
|
|
590
|
-
argsMapping?: ArgsMappingV4_0_0;
|
|
591
|
-
resultsMapping?: ResultsMappingV4_0_0;
|
|
592
|
-
}
|
|
593
|
-
/**
|
|
594
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
595
|
-
* via the `definition` "graphqlResolver".
|
|
596
|
-
*/
|
|
597
|
-
export interface GraphqlResolverV4_0_0 {
|
|
598
|
-
if?: string;
|
|
599
|
-
id?: string;
|
|
600
|
-
name: GraphqlResolverNameV4_0_0;
|
|
601
|
-
/**
|
|
602
|
-
* Configuration for a service to use with this resolver.
|
|
603
|
-
*/
|
|
604
|
-
service: string;
|
|
605
|
-
argsMapping?: ArgsMappingV4_0_0;
|
|
606
|
-
resultsMapping?: ResultsMappingV4_0_0;
|
|
607
|
-
options?: GraphqlResolverOptionsV4_0_0;
|
|
608
|
-
/**
|
|
609
|
-
* A fieldname to use in queries.
|
|
610
|
-
*/
|
|
611
|
-
fieldName: string;
|
|
612
|
-
headers?: ParameterConfigForHeadersV4_0_0;
|
|
613
|
-
searchParams?: ParameterConfigForSearchParamsV4_0_0;
|
|
614
|
-
args?: ParameterConfigForJsonV4_0_0;
|
|
615
|
-
results?: ParameterConfigForJsonV4_0_0;
|
|
616
|
-
}
|
|
617
|
-
export interface GraphqlResolverOptionsV4_0_0 {
|
|
618
|
-
selectionSet?: string;
|
|
619
|
-
unboxParentSelectionSet?: boolean;
|
|
620
|
-
ignoreErrors?: boolean;
|
|
621
|
-
skipWhenMissingArgs?: boolean;
|
|
622
|
-
ttl?: number;
|
|
623
|
-
timeout?: number;
|
|
624
|
-
retry?: number | {
|
|
625
|
-
[k: string]: any;
|
|
626
|
-
};
|
|
627
|
-
[k: string]: any;
|
|
628
|
-
}
|
|
629
|
-
/**
|
|
630
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
631
|
-
* via the `definition` "parameterConfigForHeaders".
|
|
632
|
-
*/
|
|
633
|
-
export interface ParameterConfigForHeadersV4_0_0 {
|
|
634
|
-
ops: ParameterOpListV4_0_0;
|
|
635
|
-
serialize?: ParameterSerializeConfigForHeadersV4_0_0;
|
|
636
|
-
}
|
|
637
|
-
/**
|
|
638
|
-
* Top-level paths to use headers serialization options for.
|
|
639
|
-
*
|
|
640
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
641
|
-
* via the `definition` "parameterSerializeConfigForHeaders".
|
|
642
|
-
*/
|
|
643
|
-
export interface ParameterSerializeConfigForHeadersV4_0_0 {
|
|
644
|
-
defaults?: ParameterSerializeStyleOptionsForHeadersV4_0_0 | ParameterSerializeContentOptionsV4_0_0;
|
|
645
|
-
paths?: {
|
|
646
|
-
/**
|
|
647
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
648
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
649
|
-
*/
|
|
650
|
-
[k: string]: ParameterSerializeStyleOptionsForHeadersV4_0_0 | ParameterSerializeContentOptionsV4_0_0;
|
|
651
|
-
};
|
|
652
|
-
}
|
|
653
|
-
/**
|
|
654
|
-
* Options to be passed to the serialization routine.
|
|
655
|
-
*
|
|
656
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
657
|
-
* via the `definition` "parameterSerializeStyleOptionsForHeaders".
|
|
658
|
-
*/
|
|
659
|
-
export interface ParameterSerializeStyleOptionsForHeadersV4_0_0 {
|
|
660
|
-
style: 'simple' | 'none';
|
|
661
|
-
explode?: boolean;
|
|
662
|
-
}
|
|
663
|
-
/**
|
|
664
|
-
* Options to be passed to the serialization routine.
|
|
665
|
-
*
|
|
666
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
667
|
-
* via the `definition` "parameterSerializeContentOptions".
|
|
668
|
-
*/
|
|
669
|
-
export interface ParameterSerializeContentOptionsV4_0_0 {
|
|
670
|
-
contentType: 'application/json' | 'application/x-www-form-urlencoded' | 'text/csv';
|
|
671
|
-
/**
|
|
672
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
673
|
-
*/
|
|
674
|
-
allowReserved?: boolean;
|
|
675
|
-
skipEncoding?: boolean;
|
|
676
|
-
/**
|
|
677
|
-
* Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
|
|
678
|
-
*/
|
|
679
|
-
options?: {
|
|
680
|
-
[k: string]: any;
|
|
681
|
-
};
|
|
682
|
-
}
|
|
683
|
-
/**
|
|
684
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
685
|
-
* via the `definition` "parameterConfigForSearchParams".
|
|
686
|
-
*/
|
|
687
|
-
export interface ParameterConfigForSearchParamsV4_0_0 {
|
|
688
|
-
ops: ParameterOpListV4_0_0;
|
|
689
|
-
serialize?: ParameterSerializeConfigForSearchParamsV4_0_0;
|
|
690
|
-
}
|
|
691
|
-
/**
|
|
692
|
-
* Top-level paths to use search params serialization options for.
|
|
693
|
-
*
|
|
694
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
695
|
-
* via the `definition` "parameterSerializeConfigForSearchParams".
|
|
696
|
-
*/
|
|
697
|
-
export interface ParameterSerializeConfigForSearchParamsV4_0_0 {
|
|
698
|
-
defaults?: ParameterSerializeStyleOptionsForSearchParamsV4_0_0 | ParameterSerializeContentOptionsV4_0_0;
|
|
699
|
-
paths?: {
|
|
700
|
-
/**
|
|
701
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
702
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
703
|
-
*/
|
|
704
|
-
[k: string]: ParameterSerializeStyleOptionsForSearchParamsV4_0_0 | ParameterSerializeContentOptionsV4_0_0;
|
|
705
|
-
};
|
|
706
|
-
}
|
|
707
|
-
/**
|
|
708
|
-
* Options to be passed to the serialization routine.
|
|
709
|
-
*
|
|
710
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
711
|
-
* via the `definition` "parameterSerializeStyleOptionsForSearchParams".
|
|
712
|
-
*/
|
|
713
|
-
export interface ParameterSerializeStyleOptionsForSearchParamsV4_0_0 {
|
|
714
|
-
style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
|
|
715
|
-
explode?: boolean;
|
|
716
|
-
allowEmptyValue?: boolean;
|
|
717
|
-
/**
|
|
718
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
719
|
-
*/
|
|
720
|
-
allowReserved?: boolean;
|
|
721
|
-
skipEncoding?: boolean;
|
|
722
|
-
}
|
|
723
|
-
/**
|
|
724
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
725
|
-
* via the `definition` "restResolver".
|
|
726
|
-
*/
|
|
727
|
-
export interface RestResolverV4_0_0 {
|
|
728
|
-
if?: string;
|
|
729
|
-
id?: string;
|
|
730
|
-
name: RestResolverNameV4_0_0;
|
|
731
|
-
/**
|
|
732
|
-
* Configuration for a service to use with this resolver.
|
|
733
|
-
*/
|
|
734
|
-
service: string;
|
|
735
|
-
argsMapping?: ArgsMappingV4_0_0;
|
|
736
|
-
searchParamsMapping?: SearchParamsMappingV4_0_0;
|
|
737
|
-
resultsMapping?: ResultsMappingV4_0_0;
|
|
738
|
-
options?: RestResolverOptionsV4_0_0;
|
|
739
|
-
body?: ParameterConfigForBodyV4_0_0;
|
|
740
|
-
form?: ParameterConfigForSearchParamsV4_0_0;
|
|
741
|
-
headers?: ParameterConfigForHeadersV4_0_0;
|
|
742
|
-
json?: ParameterConfigForJsonV4_0_0;
|
|
743
|
-
/**
|
|
744
|
-
* Mapping and serialization configuration for the path, or a simple string.
|
|
745
|
-
*/
|
|
746
|
-
path: ParameterConfigForPathParamsV4_0_0 | string;
|
|
747
|
-
searchParams?: ParameterConfigForSearchParamsV4_0_0;
|
|
748
|
-
args?: ParameterConfigForJsonV4_0_0;
|
|
749
|
-
results?: ParameterConfigForJsonV4_0_0;
|
|
750
|
-
}
|
|
751
|
-
export interface RestResolverOptionsV4_0_0 {
|
|
752
|
-
trailingSlash?: boolean;
|
|
753
|
-
ttl?: number;
|
|
754
|
-
timeout?: number;
|
|
755
|
-
retry?: number | {
|
|
756
|
-
[k: string]: any;
|
|
757
|
-
};
|
|
758
|
-
[k: string]: any;
|
|
759
|
-
}
|
|
760
|
-
/**
|
|
761
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
762
|
-
* via the `definition` "parameterConfigForBody".
|
|
763
|
-
*/
|
|
764
|
-
export interface ParameterConfigForBodyV4_0_0 {
|
|
765
|
-
ops: ParameterOpListV4_0_0;
|
|
766
|
-
serialize?: ParameterSerializeConfigForBodyV4_0_0;
|
|
767
|
-
}
|
|
768
|
-
/**
|
|
769
|
-
* Top-level paths to use serialization options for.
|
|
770
|
-
*
|
|
771
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
772
|
-
* via the `definition` "parameterSerializeConfigForBody".
|
|
773
|
-
*/
|
|
774
|
-
export interface ParameterSerializeConfigForBodyV4_0_0 {
|
|
775
|
-
content?: ParameterSerializeContentOptionsV4_0_0;
|
|
776
|
-
}
|
|
777
|
-
/**
|
|
778
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
779
|
-
* via the `definition` "parameterConfigForPathParams".
|
|
780
|
-
*/
|
|
781
|
-
export interface ParameterConfigForPathParamsV4_0_0 {
|
|
782
|
-
ops: ParameterOpListV4_0_0;
|
|
783
|
-
serialize: ParameterSerializeConfigForPathParamsV4_0_0;
|
|
784
|
-
}
|
|
785
|
-
/**
|
|
786
|
-
* Top-level paths to use path params serialization options for.
|
|
787
|
-
*
|
|
788
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
789
|
-
* via the `definition` "parameterSerializeConfigForPathParams".
|
|
790
|
-
*/
|
|
791
|
-
export interface ParameterSerializeConfigForPathParamsV4_0_0 {
|
|
792
|
-
/**
|
|
793
|
-
* For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
|
|
794
|
-
*/
|
|
795
|
-
template: string;
|
|
796
|
-
defaults?: ParameterSerializeStyleOptionsForPathParamsV4_0_0 | ParameterSerializeContentOptionsV4_0_0;
|
|
797
|
-
paths?: {
|
|
798
|
-
/**
|
|
799
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
800
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
801
|
-
*/
|
|
802
|
-
[k: string]: ParameterSerializeStyleOptionsForPathParamsV4_0_0 | ParameterSerializeContentOptionsV4_0_0;
|
|
803
|
-
};
|
|
804
|
-
}
|
|
805
|
-
/**
|
|
806
|
-
* Options to be passed to the serialization routine.
|
|
807
|
-
*
|
|
808
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
809
|
-
* via the `definition` "parameterSerializeStyleOptionsForPathParams".
|
|
810
|
-
*/
|
|
811
|
-
export interface ParameterSerializeStyleOptionsForPathParamsV4_0_0 {
|
|
812
|
-
style: 'simple' | 'label' | 'matrix' | 'none';
|
|
813
|
-
explode?: boolean;
|
|
814
|
-
allowEmptyValue?: boolean;
|
|
815
|
-
/**
|
|
816
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
817
|
-
*/
|
|
818
|
-
allowReserved?: boolean;
|
|
819
|
-
skipEncoding?: boolean;
|
|
820
|
-
}
|
|
821
|
-
/**
|
|
822
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
823
|
-
* via the `definition` "awsLambdaResolver".
|
|
824
|
-
*/
|
|
825
|
-
export interface AwsLambdaResolverV4_0_0 {
|
|
826
|
-
if?: string;
|
|
827
|
-
id?: string;
|
|
828
|
-
name: AwsLambdaResolverNameV4_0_0;
|
|
829
|
-
/**
|
|
830
|
-
* Configuration for a service to use with this resolver.
|
|
831
|
-
*/
|
|
832
|
-
service: string;
|
|
833
|
-
options?: AwsLambdaResolverOptionsV4_0_0;
|
|
834
|
-
payload?: ParameterConfigForJsonV4_0_0;
|
|
835
|
-
/**
|
|
836
|
-
* Mapping configuration for the FunctionName.
|
|
837
|
-
*/
|
|
838
|
-
functionName: string | ParameterConfigForAwsLambdaV4_0_0;
|
|
839
|
-
clientContext?: ParameterConfigForJsonV4_0_0;
|
|
840
|
-
args?: ParameterConfigForJsonV4_0_0;
|
|
841
|
-
results?: ParameterConfigForJsonV4_0_0;
|
|
842
|
-
argsMapping?: ArgsMappingV4_0_0;
|
|
843
|
-
searchParamsMapping?: SearchParamsMappingV4_0_0;
|
|
844
|
-
resultsMapping?: ResultsMappingV4_0_0;
|
|
845
|
-
}
|
|
846
|
-
export interface AwsLambdaResolverOptionsV4_0_0 {
|
|
847
|
-
[k: string]: any;
|
|
848
|
-
}
|
|
849
|
-
/**
|
|
850
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
851
|
-
* via the `definition` "parameterConfigForAwsLambda".
|
|
852
|
-
*/
|
|
853
|
-
export interface ParameterConfigForAwsLambdaV4_0_0 {
|
|
854
|
-
ops: ParameterOpListV4_0_0;
|
|
855
|
-
serialize: ParameterSerializeConfigForPathParamsV4_0_0;
|
|
856
|
-
}
|
|
857
|
-
/**
|
|
858
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
859
|
-
* via the `definition` "composeResolver".
|
|
860
|
-
*/
|
|
861
|
-
export interface ComposeResolverV4_0_0 {
|
|
862
|
-
compose: BasicResolverV4_0_0[];
|
|
863
|
-
resultsMapping?: DirectiveMappingMapV4_0_0 | DirectiveConfigV4_0_0;
|
|
864
|
-
results?: ParameterConfigForJsonV4_0_0;
|
|
865
|
-
}
|
|
866
|
-
/**
|
|
867
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
868
|
-
* via the `definition` "refSchema".
|
|
869
|
-
*/
|
|
870
|
-
export interface RefSchemaV4_0_0 {
|
|
871
|
-
'@ref': string;
|
|
872
|
-
[k: string]: any;
|
|
873
|
-
}
|
|
874
|
-
/**
|
|
875
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
876
|
-
* via the `definition` "refSchemaLegacy".
|
|
877
|
-
*/
|
|
878
|
-
export interface RefSchemaLegacyV4_0_0 {
|
|
879
|
-
$ref: string;
|
|
880
|
-
[k: string]: any;
|
|
881
|
-
}
|
|
882
|
-
/**
|
|
883
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
884
|
-
* via the `definition` "shapeSchemaEnum".
|
|
885
|
-
*/
|
|
886
|
-
export interface ShapeSchemaEnumV4_0_0 {
|
|
887
|
-
enum: string[];
|
|
888
|
-
}
|
|
889
|
-
/**
|
|
890
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
891
|
-
* via the `definition` "shapeSchemaAllOf".
|
|
892
|
-
*/
|
|
893
|
-
export interface ShapeSchemaAllOfV4_0_0 {
|
|
894
|
-
allOf: (RefSchemaV4_0_0 | RefSchemaLegacyV4_0_0 | ObjectSchemaV4_0_0)[];
|
|
895
|
-
}
|
|
896
|
-
/**
|
|
897
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
898
|
-
* via the `definition` "shapeSchemaOneOf".
|
|
899
|
-
*/
|
|
900
|
-
export interface ShapeSchemaOneOfV4_0_0 {
|
|
901
|
-
oneOf: (RefSchemaV4_0_0 | RefSchemaLegacyV4_0_0 | ObjectSchemaV4_0_0)[];
|
|
902
|
-
}
|
|
903
|
-
/**
|
|
904
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
905
|
-
* via the `definition` "queryMap".
|
|
906
|
-
*/
|
|
907
|
-
export interface QueryMapV4_0_0 {
|
|
908
|
-
[k: string]: QueryJSONV4_0_0;
|
|
909
|
-
}
|
|
910
|
-
/**
|
|
911
|
-
* This interface was referenced by `QueryMapV4_0_0`'s JSON-Schema definition
|
|
912
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
913
|
-
*
|
|
914
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
915
|
-
* via the `definition` "query".
|
|
916
|
-
*/
|
|
917
|
-
export interface QueryJSONV4_0_0 {
|
|
918
|
-
args?: ArgsV4_0_0;
|
|
919
|
-
resolver: ResolverV4_0_0;
|
|
920
|
-
shape: ReturnShapeV4_0_0;
|
|
921
|
-
/**
|
|
922
|
-
* Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
|
|
923
|
-
*/
|
|
924
|
-
description?: string;
|
|
925
|
-
[k: string]: any;
|
|
926
|
-
}
|
|
927
|
-
/**
|
|
928
|
-
* All possible options for the more specific ParameterSerializeStyleOptions types.
|
|
929
|
-
*
|
|
930
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
931
|
-
* via the `definition` "parameterSerializeStyleOptions".
|
|
932
|
-
*/
|
|
933
|
-
export interface ParameterSerializeStyleOptionsV4_0_0 {
|
|
934
|
-
style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
|
|
935
|
-
explode?: boolean;
|
|
936
|
-
allowEmptyValue?: boolean;
|
|
937
|
-
/**
|
|
938
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
939
|
-
*/
|
|
940
|
-
allowReserved?: boolean;
|
|
941
|
-
skipEncoding?: boolean;
|
|
942
|
-
}
|
|
943
|
-
/**
|
|
944
|
-
* All possible options for the more specific ParameterSerializeConfig types.
|
|
945
|
-
*
|
|
946
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
947
|
-
* via the `definition` "parameterSerializeConfig".
|
|
948
|
-
*/
|
|
949
|
-
export interface ParameterSerializeConfigV4_0_0 {
|
|
950
|
-
content?: ParameterSerializeContentOptionsV4_0_0;
|
|
951
|
-
defaults?: ParameterSerializeOptionsV4_0_0;
|
|
952
|
-
paths?: {
|
|
953
|
-
[k: string]: ParameterSerializeOptionsV4_0_0;
|
|
954
|
-
};
|
|
955
|
-
}
|
|
956
|
-
/**
|
|
957
|
-
* All possible options for the more specific ParameterConfig types.
|
|
958
|
-
*
|
|
959
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
960
|
-
* via the `definition` "parameterConfig".
|
|
961
|
-
*/
|
|
962
|
-
export interface ParameterConfigV4_0_0 {
|
|
963
|
-
ops: ParameterOpListV4_0_0;
|
|
964
|
-
serialize?: ParameterSerializeConfigV4_0_0;
|
|
965
|
-
}
|
|
966
|
-
/**
|
|
967
|
-
* A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
|
|
968
|
-
*
|
|
969
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
970
|
-
* via the `definition` "shape".
|
|
971
|
-
*
|
|
972
|
-
* This interface was referenced by `ShapeMapV4_0_0`'s JSON-Schema definition
|
|
973
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
974
|
-
*/
|
|
975
|
-
export interface ShapeJSONV4_0_0 {
|
|
976
|
-
/**
|
|
977
|
-
* 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.
|
|
978
|
-
*/
|
|
979
|
-
id?: string;
|
|
980
|
-
/**
|
|
981
|
-
* The human-readable name for a Shape for use in a UI.
|
|
982
|
-
*/
|
|
983
|
-
title?: string;
|
|
984
|
-
description?: string;
|
|
985
|
-
/**
|
|
986
|
-
* Specifying a model type allows Shape data to be stored in TakeShape's built-in database
|
|
987
|
-
*/
|
|
988
|
-
model?: {
|
|
989
|
-
type: ModelTypeV4_0_0;
|
|
990
|
-
};
|
|
991
|
-
workflow?: string;
|
|
992
|
-
override?: 'extend' | 'replace';
|
|
993
|
-
schema: ShapeSchemaV4_0_0;
|
|
994
|
-
}
|
|
995
|
-
/**
|
|
996
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
997
|
-
* via the `definition` "shapeMap".
|
|
998
|
-
*/
|
|
999
|
-
export interface ShapeMapV4_0_0 {
|
|
1000
|
-
[k: string]: ShapeJSONV4_0_0;
|
|
1001
|
-
}
|
|
1002
|
-
/**
|
|
1003
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1004
|
-
* via the `definition` "formMap".
|
|
1005
|
-
*/
|
|
1006
|
-
export interface FormMapV4_0_0 {
|
|
1007
|
-
[k: string]: FormsConfigV4_0_0;
|
|
1008
|
-
}
|
|
1009
|
-
/**
|
|
1010
|
-
* This interface was referenced by `FormMapV4_0_0`'s JSON-Schema definition
|
|
1011
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1012
|
-
*
|
|
1013
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1014
|
-
* via the `definition` "formsConfig".
|
|
1015
|
-
*/
|
|
1016
|
-
export interface FormsConfigV4_0_0 {
|
|
1017
|
-
default: FormConfigV4_0_0;
|
|
1018
|
-
[k: string]: FormConfigV4_0_0;
|
|
1019
|
-
}
|
|
1020
|
-
/**
|
|
1021
|
-
* This interface was referenced by `FormsConfigV4_0_0`'s JSON-Schema definition
|
|
1022
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1023
|
-
*
|
|
1024
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1025
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1026
|
-
*
|
|
1027
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1028
|
-
* via the `definition` "formConfig".
|
|
1029
|
-
*/
|
|
1030
|
-
export interface FormConfigV4_0_0 {
|
|
1031
|
-
[k: string]: any;
|
|
1032
|
-
}
|
|
1033
|
-
/**
|
|
1034
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1035
|
-
* via the `definition` "indexedShapeMap".
|
|
1036
|
-
*/
|
|
1037
|
-
export interface IndexedShapeMapV4_0_0 {
|
|
1038
|
-
[k: string]: IndexedShapeConfigV4_0_0;
|
|
1039
|
-
}
|
|
1040
|
-
/**
|
|
1041
|
-
* This interface was referenced by `IndexedShapeMapV4_0_0`'s JSON-Schema definition
|
|
1042
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1043
|
-
*
|
|
1044
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1045
|
-
* via the `definition` "indexedShapeConfig".
|
|
1046
|
-
*/
|
|
1047
|
-
export interface IndexedShapeConfigV4_0_0 {
|
|
1048
|
-
[k: string]: any;
|
|
1049
|
-
}
|
|
1050
|
-
/**
|
|
1051
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1052
|
-
* via the `definition` "formScalarConfig".
|
|
1053
|
-
*/
|
|
1054
|
-
export interface FormScalarConfigV4_0_0 {
|
|
1055
|
-
widget: string;
|
|
1056
|
-
}
|
|
1057
|
-
/**
|
|
1058
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1059
|
-
* via the `definition` "formObjectConfig".
|
|
1060
|
-
*/
|
|
1061
|
-
export interface FormObjectConfigV4_0_0 {
|
|
1062
|
-
widget?: string;
|
|
1063
|
-
order?: string[];
|
|
1064
|
-
properties?: {
|
|
1065
|
-
[k: string]: FormConfigV4_0_0;
|
|
1066
|
-
};
|
|
1067
|
-
}
|
|
1068
|
-
/**
|
|
1069
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1070
|
-
* via the `definition` "formArrayConfig".
|
|
1071
|
-
*/
|
|
1072
|
-
export interface FormArrayConfigV4_0_0 {
|
|
1073
|
-
widget: string;
|
|
1074
|
-
items: FormConfigV4_0_0;
|
|
1075
|
-
}
|
|
1076
|
-
/**
|
|
1077
|
-
* For use with a custom auth handler on a service provider.
|
|
1078
|
-
*
|
|
1079
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1080
|
-
* via the `definition` "customAuthentication".
|
|
1081
|
-
*/
|
|
1082
|
-
export interface CustomAuthenticationV4_0_0 {
|
|
1083
|
-
[k: string]: any;
|
|
1084
|
-
}
|
|
1085
|
-
/**
|
|
1086
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1087
|
-
* via the `definition` "bearerAuthentication".
|
|
1088
|
-
*/
|
|
1089
|
-
export interface BearerAuthenticationV4_0_0 {
|
|
1090
|
-
token?: string;
|
|
1091
|
-
prefix?: string;
|
|
1092
|
-
header?: string;
|
|
1093
|
-
}
|
|
1094
|
-
/**
|
|
1095
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1096
|
-
* via the `definition` "oauth2BearerAuthentication".
|
|
1097
|
-
*/
|
|
1098
|
-
export interface OAuth2BearerAuthenticationV4_0_0 {
|
|
1099
|
-
token?: string;
|
|
1100
|
-
prefix?: string;
|
|
1101
|
-
header?: string;
|
|
1102
|
-
scope?: string;
|
|
1103
|
-
expiresAt?: string;
|
|
1104
|
-
}
|
|
1105
|
-
/**
|
|
1106
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1107
|
-
* via the `definition` "basicAuthentication".
|
|
1108
|
-
*/
|
|
1109
|
-
export interface BasicAuthenticationV4_0_0 {
|
|
1110
|
-
username?: string;
|
|
1111
|
-
password?: string;
|
|
1112
|
-
useIso8859?: boolean;
|
|
1113
|
-
}
|
|
1114
|
-
/**
|
|
1115
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1116
|
-
* via the `definition` "oauth2Authentication".
|
|
1117
|
-
*/
|
|
1118
|
-
export interface OAuth2AuthenticationV4_0_0 {
|
|
1119
|
-
grantType?: 'authorizationCode' | 'clientCredentials';
|
|
1120
|
-
authorizationUrl?: string;
|
|
1121
|
-
accessTokenUrl?: string;
|
|
1122
|
-
clientId?: string;
|
|
1123
|
-
clientSecret?: string;
|
|
1124
|
-
scope?: string;
|
|
1125
|
-
usePkce?: boolean;
|
|
1126
|
-
redirectUrl?: string;
|
|
1127
|
-
headerPrefix?: string;
|
|
1128
|
-
audience?: string;
|
|
1129
|
-
resource?: string;
|
|
1130
|
-
}
|
|
1131
|
-
/**
|
|
1132
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1133
|
-
* via the `definition` "awsAuthentication".
|
|
1134
|
-
*/
|
|
1135
|
-
export interface AWSAuthenticationV4_0_0 {
|
|
1136
|
-
awsAccessKeyId?: string;
|
|
1137
|
-
awsSecretAccessKey?: string;
|
|
1138
|
-
}
|
|
1139
|
-
/**
|
|
1140
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1141
|
-
* via the `definition` "serviceConfig".
|
|
1142
|
-
*/
|
|
1143
|
-
export interface ServiceConfigV4_0_0 {
|
|
1144
|
-
/**
|
|
1145
|
-
* Machine-readable identifier, should typically be the same as the property name on the services object.
|
|
1146
|
-
*/
|
|
1147
|
-
id: string;
|
|
1148
|
-
/**
|
|
1149
|
-
* Human-readable name for this service.
|
|
1150
|
-
*/
|
|
1151
|
-
title: string;
|
|
1152
|
-
/**
|
|
1153
|
-
* The service provider id.
|
|
1154
|
-
*/
|
|
1155
|
-
provider: string;
|
|
1156
|
-
/**
|
|
1157
|
-
* A namespace to use for the imported types tied to this service.
|
|
1158
|
-
*/
|
|
1159
|
-
namespace?: string;
|
|
1160
|
-
serviceType: ServiceTypeV4_0_0;
|
|
1161
|
-
authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
|
|
1162
|
-
authentication?: ServiceAuthenticationV4_0_0;
|
|
1163
|
-
webhookId?: string;
|
|
1164
|
-
/**
|
|
1165
|
-
* Configuration options passed to and handled by the provider.
|
|
1166
|
-
*/
|
|
1167
|
-
options?: {
|
|
1168
|
-
[k: string]: any;
|
|
1169
|
-
};
|
|
1170
|
-
}
|
|
1171
|
-
/**
|
|
1172
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1173
|
-
* via the `definition` "workflowStep".
|
|
1174
|
-
*/
|
|
1175
|
-
export interface WorkflowStepV4_0_0 {
|
|
1176
|
-
name: NameV4_0_0;
|
|
1177
|
-
title: TitleV4_0_0;
|
|
1178
|
-
description?: DescriptionV4_0_0;
|
|
1179
|
-
color: ColorV4_0_0;
|
|
1180
|
-
live: LiveV4_0_0;
|
|
1181
|
-
key: KeyV4_0_0;
|
|
1182
|
-
}
|
|
1183
|
-
/**
|
|
1184
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1185
|
-
* via the `definition` "workflow".
|
|
1186
|
-
*
|
|
1187
|
-
* This interface was referenced by `WorkflowMapV4_0_0`'s JSON-Schema definition
|
|
1188
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1189
|
-
*/
|
|
1190
|
-
export interface WorkflowV4_0_0 {
|
|
1191
|
-
/**
|
|
1192
|
-
* machine-readable id
|
|
1193
|
-
*/
|
|
1194
|
-
name: string;
|
|
1195
|
-
title: WorkflowNameV4_0_0;
|
|
1196
|
-
steps: StepsV4_0_0;
|
|
1197
|
-
[k: string]: any;
|
|
1198
|
-
}
|
|
1199
|
-
/**
|
|
1200
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1201
|
-
* via the `definition` "workflowMap".
|
|
1202
|
-
*/
|
|
1203
|
-
export interface WorkflowMapV4_0_0 {
|
|
1204
|
-
[k: string]: WorkflowV4_0_0;
|
|
1205
|
-
}
|
|
1206
|
-
/**
|
|
1207
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1208
|
-
* via the `definition` "variable".
|
|
1209
|
-
*
|
|
1210
|
-
* This interface was referenced by `VariableMapV4_0_0`'s JSON-Schema definition
|
|
1211
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1212
|
-
*/
|
|
1213
|
-
export interface VariableV4_0_0 {
|
|
1214
|
-
description?: string;
|
|
1215
|
-
default?: string | number | boolean;
|
|
1216
|
-
required?: boolean;
|
|
1217
|
-
type?: 'string' | 'number' | 'boolean';
|
|
1218
|
-
constraints?: {
|
|
1219
|
-
[k: string]: any;
|
|
1220
|
-
};
|
|
1221
|
-
[k: string]: any;
|
|
1222
|
-
}
|
|
1223
|
-
/**
|
|
1224
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1225
|
-
* via the `definition` "dependency".
|
|
1226
|
-
*
|
|
1227
|
-
* This interface was referenced by `DependencyMapV4_0_0`'s JSON-Schema definition
|
|
1228
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1229
|
-
*/
|
|
1230
|
-
export interface DependencyV4_0_0 {
|
|
1231
|
-
description?: string;
|
|
1232
|
-
required?: boolean;
|
|
1233
|
-
type?: 'service' | 'layer';
|
|
1234
|
-
constraints?: {
|
|
1235
|
-
[k: string]: any;
|
|
1236
|
-
};
|
|
1237
|
-
[k: string]: any;
|
|
1238
|
-
}
|
|
1239
|
-
/**
|
|
1240
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1241
|
-
* via the `definition` "variableMap".
|
|
1242
|
-
*/
|
|
1243
|
-
export interface VariableMapV4_0_0 {
|
|
1244
|
-
[k: string]: VariableV4_0_0;
|
|
1245
|
-
}
|
|
1246
|
-
/**
|
|
1247
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1248
|
-
* via the `definition` "dependencyMap".
|
|
1249
|
-
*/
|
|
1250
|
-
export interface DependencyMapV4_0_0 {
|
|
1251
|
-
[k: string]: DependencyV4_0_0;
|
|
1252
|
-
}
|
|
1253
|
-
/**
|
|
1254
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1255
|
-
* via the `definition` "layerSchema".
|
|
1256
|
-
*
|
|
1257
|
-
* This interface was referenced by `LayerMapV4_0_0`'s JSON-Schema definition
|
|
1258
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1259
|
-
*/
|
|
1260
|
-
export interface LayerSchemaV4_0_0 {
|
|
1261
|
-
layerId: string;
|
|
1262
|
-
layerType?: LayerTypeV4_0_0;
|
|
1263
|
-
/**
|
|
1264
|
-
* The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
|
|
1265
|
-
*/
|
|
1266
|
-
schemaVersion: '4.0.0';
|
|
1267
|
-
variables?: VariableMapV4_0_0;
|
|
1268
|
-
dependencies?: DependencyMapV4_0_0;
|
|
1269
|
-
queries?: QueryMapV4_0_0;
|
|
1270
|
-
mutations?: QueryMapV4_0_0;
|
|
1271
|
-
shapes?: ShapeMapV4_0_0;
|
|
1272
|
-
indexedShapes?: IndexedShapeMapV4_0_0;
|
|
1273
|
-
forms?: FormMapV4_0_0;
|
|
1274
|
-
workflows?: WorkflowMapV4_0_0;
|
|
1275
|
-
}
|
|
1276
|
-
/**
|
|
1277
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1278
|
-
* via the `definition` "layerMap".
|
|
1279
|
-
*/
|
|
1280
|
-
export interface LayerMapV4_0_0 {
|
|
1281
|
-
[k: string]: LayerSchemaV4_0_0;
|
|
1282
|
-
}
|
|
1283
|
-
/**
|
|
1284
|
-
* This interface was referenced by `ProjectSchemaJSONV4_0_0`'s JSON-Schema
|
|
1285
|
-
* via the `definition` "flattenedSchema".
|
|
1286
|
-
*/
|
|
1287
|
-
export interface FlattenedSchemaV4_0_0 {
|
|
1288
|
-
$schema?: string;
|
|
1289
|
-
/**
|
|
1290
|
-
* This is the revision number of your schema. Every time your project schema is updated, this value should be incremented.
|
|
1291
|
-
*/
|
|
1292
|
-
version: number;
|
|
1293
|
-
/**
|
|
1294
|
-
* The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
|
|
1295
|
-
*/
|
|
1296
|
-
schemaVersion: '4.0.0';
|
|
1297
|
-
/**
|
|
1298
|
-
* The ID of the TakeShape project this schema belongs to.
|
|
1299
|
-
*/
|
|
1300
|
-
projectId: string;
|
|
1301
|
-
/**
|
|
1302
|
-
* The ID of the TakeShape user who created the schema.
|
|
1303
|
-
*/
|
|
1304
|
-
author?: string;
|
|
1305
|
-
/**
|
|
1306
|
-
* The date the schema was created
|
|
1307
|
-
*/
|
|
1308
|
-
created: string;
|
|
1309
|
-
/**
|
|
1310
|
-
* The date the schema was last updated
|
|
1311
|
-
*/
|
|
1312
|
-
updated: string;
|
|
1313
|
-
deactivated?: number;
|
|
1314
|
-
/**
|
|
1315
|
-
* The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
|
|
1316
|
-
*/
|
|
1317
|
-
defaultLocale: string;
|
|
1318
|
-
locales: string[];
|
|
1319
|
-
serviceLayers?: LayerMapV4_0_0;
|
|
1320
|
-
queries: QueryMapV4_0_0;
|
|
1321
|
-
mutations: QueryMapV4_0_0;
|
|
1322
|
-
shapes: ShapeMapV4_0_0;
|
|
1323
|
-
indexedShapes?: IndexedShapeMapV4_0_0;
|
|
1324
|
-
forms?: FormMapV4_0_0;
|
|
1325
|
-
workflows: WorkflowMapV4_0_0;
|
|
1326
|
-
dataKey: string;
|
|
1327
|
-
services?: ServiceMapJSONV4_0_0;
|
|
1328
|
-
}
|