@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,1201 +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
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
8
|
-
* via the `definition` "args".
|
|
9
|
-
*/
|
|
10
|
-
export type ArgsV3_10_0 = string | ObjectSchemaV3_10_0;
|
|
11
|
-
/**
|
|
12
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
13
|
-
* via the `definition` "objectSchema".
|
|
14
|
-
*/
|
|
15
|
-
export type ObjectSchemaV3_10_0 = PropertySchemaV3_10_0 & {
|
|
16
|
-
type: 'object';
|
|
17
|
-
properties: {
|
|
18
|
-
[k: string]: PropertySchemaV3_10_0;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
23
|
-
* via the `definition` "nonNegativeInteger".
|
|
24
|
-
*/
|
|
25
|
-
export type NonNegativeIntegerV3_10_0 = number;
|
|
26
|
-
/**
|
|
27
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
28
|
-
* via the `definition` "nonNegativeIntegerDefault0".
|
|
29
|
-
*/
|
|
30
|
-
export type NonNegativeIntegerDefault0V3_10_0 = NonNegativeIntegerV3_10_0;
|
|
31
|
-
/**
|
|
32
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
33
|
-
* via the `definition` "stringArray".
|
|
34
|
-
*/
|
|
35
|
-
export type StringArrayV3_10_0 = string[];
|
|
36
|
-
/**
|
|
37
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
38
|
-
* via the `definition` "simpleTypes".
|
|
39
|
-
*/
|
|
40
|
-
export type SimpleTypesV3_10_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
|
|
41
|
-
/**
|
|
42
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
43
|
-
* via the `definition` "schemaArray".
|
|
44
|
-
*/
|
|
45
|
-
export type SchemaArrayV3_10_0 = PropertySchemaV3_10_0[];
|
|
46
|
-
/**
|
|
47
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
48
|
-
* via the `definition` "fieldMapping".
|
|
49
|
-
*/
|
|
50
|
-
export type FieldMappingV3_10_0 = MappingStringV3_10_0 | MappingStringV3_10_0[];
|
|
51
|
-
/**
|
|
52
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
53
|
-
* via the `definition` "mappingString".
|
|
54
|
-
*/
|
|
55
|
-
export type MappingStringV3_10_0 = string;
|
|
56
|
-
/**
|
|
57
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
58
|
-
* via the `definition` "resolver".
|
|
59
|
-
*/
|
|
60
|
-
export type ResolverV3_10_0 = BasicResolverV3_10_0 | ComposeResolverV3_10_0;
|
|
61
|
-
/**
|
|
62
|
-
* A single resolver, can be composed with the ComposeResolver.
|
|
63
|
-
*
|
|
64
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
65
|
-
* via the `definition` "basicResolver".
|
|
66
|
-
*/
|
|
67
|
-
export type BasicResolverV3_10_0 = UtilResolverV3_10_0 | TakeshapeResolverV3_10_0 | InternalTakeshapeResolverV3_10_0 | GraphqlResolverV3_10_0 | RestResolverV3_10_0 | AwsLambdaResolverV3_10_0;
|
|
68
|
-
/**
|
|
69
|
-
* Name of the resolver function.
|
|
70
|
-
*/
|
|
71
|
-
export type UtilResolverNameV3_10_0 = 'debug:noop' | 'util:wrap';
|
|
72
|
-
/**
|
|
73
|
-
* An object describing an operation to generate a parameter.
|
|
74
|
-
*
|
|
75
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
76
|
-
* via the `definition` "parameterOp".
|
|
77
|
-
*/
|
|
78
|
-
export type ParameterOpV3_10_0 = ParameterOpNestedV3_10_0 | ParameterOpValueV3_10_0 | ParameterOpMappingV3_10_0 | ParameterOpOpV3_10_0;
|
|
79
|
-
/**
|
|
80
|
-
* A tuple with a string directive name, and options to pass to the directive
|
|
81
|
-
*
|
|
82
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
83
|
-
* via the `definition` "directiveConfigItem".
|
|
84
|
-
*/
|
|
85
|
-
export type DirectiveConfigItemV3_10_0 = [DirectiveNameV3_10_0, DirectiveOptionsV3_10_0];
|
|
86
|
-
export type DirectiveNameV3_10_0 = string;
|
|
87
|
-
/**
|
|
88
|
-
* An array of individual directive config items to process in order
|
|
89
|
-
*
|
|
90
|
-
* This interface was referenced by `DirectiveMappingMapV3_10_0`'s JSON-Schema definition
|
|
91
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
92
|
-
*
|
|
93
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
94
|
-
* via the `definition` "directiveConfig".
|
|
95
|
-
*/
|
|
96
|
-
export type DirectiveConfigV3_10_0 = DirectiveConfigItemV3_10_0[];
|
|
97
|
-
/**
|
|
98
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
99
|
-
* via the `definition` "parameterOpList".
|
|
100
|
-
*/
|
|
101
|
-
export type ParameterOpListV3_10_0 = ParameterOpV3_10_0[];
|
|
102
|
-
/**
|
|
103
|
-
* Maps a query's input args to the input expected by the service's endpoint.
|
|
104
|
-
*
|
|
105
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
106
|
-
* via the `definition` "argsMapping".
|
|
107
|
-
*/
|
|
108
|
-
export type ArgsMappingV3_10_0 = DirectiveMappingMapV3_10_0 | DirectiveConfigV3_10_0;
|
|
109
|
-
/**
|
|
110
|
-
* Maps a service endpoint's response results to the expected shape of the query's response.
|
|
111
|
-
*
|
|
112
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
113
|
-
* via the `definition` "resultsMapping".
|
|
114
|
-
*/
|
|
115
|
-
export type ResultsMappingV3_10_0 = DirectiveMappingMapV3_10_0 | DirectiveConfigV3_10_0;
|
|
116
|
-
/**
|
|
117
|
-
* Name of the resolver function.
|
|
118
|
-
*/
|
|
119
|
-
export type TakeshapeResolverNameV3_10_0 = 'takeshape:get' | 'takeshape:list' | 'takeshape:create' | 'takeshape:update' | 'takeshape:delete' | 'takeshape:duplicate' | 'takeshape:find' | 'takeshape:queryApiIndex' | 'takeshape:search';
|
|
120
|
-
/**
|
|
121
|
-
* Name of the resolver function.
|
|
122
|
-
*/
|
|
123
|
-
export type InternalTakeshapeResolverNameV3_10_0 = 'takeshape:getRelationship' | 'takeshape:taxonomySuggest';
|
|
124
|
-
/**
|
|
125
|
-
* Name of the resolver function.
|
|
126
|
-
*/
|
|
127
|
-
export type GraphqlResolverNameV3_10_0 = 'graphql:query' | 'graphql:mutation';
|
|
128
|
-
/**
|
|
129
|
-
* Name of the resolver function.
|
|
130
|
-
*/
|
|
131
|
-
export type RestResolverNameV3_10_0 = 'rest:get' | 'rest:head' | 'rest:post' | 'rest:put' | 'rest:patch' | 'rest:delete';
|
|
132
|
-
/**
|
|
133
|
-
* A tuple with a string key and a directive config to evaluate
|
|
134
|
-
*
|
|
135
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
136
|
-
* via the `definition` "directiveMappingArrayItem".
|
|
137
|
-
*/
|
|
138
|
-
export type DirectiveMappingArrayItemV3_10_0 = [string, DirectiveConfigV3_10_0];
|
|
139
|
-
/**
|
|
140
|
-
* An array of key / value or directive config tuples
|
|
141
|
-
*/
|
|
142
|
-
export type SearchParamsMappingV3_10_0 = DirectiveMappingArrayItemV3_10_0[];
|
|
143
|
-
/**
|
|
144
|
-
* Name of the resolver function.
|
|
145
|
-
*/
|
|
146
|
-
export type AwsLambdaResolverNameV3_10_0 = 'awsLambda:invoke';
|
|
147
|
-
/**
|
|
148
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
149
|
-
* via the `definition` "ref".
|
|
150
|
-
*/
|
|
151
|
-
export type RefV3_10_0 = string;
|
|
152
|
-
/**
|
|
153
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
154
|
-
* via the `definition` "returnShape".
|
|
155
|
-
*/
|
|
156
|
-
export type ReturnShapeV3_10_0 = string | ReturnShapeArraySchemaV3_10_0;
|
|
157
|
-
/**
|
|
158
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
159
|
-
* via the `definition` "returnShapeArraySchema".
|
|
160
|
-
*/
|
|
161
|
-
export type ReturnShapeArraySchemaV3_10_0 = PropertySchemaV3_10_0 & {
|
|
162
|
-
type: 'array';
|
|
163
|
-
items: RefSchemaV3_10_0 | {
|
|
164
|
-
type: 'boolean' | 'integer' | 'number' | 'string';
|
|
165
|
-
[k: string]: any;
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
export type ModelTypeV3_10_0 = 'single' | 'multiple' | 'taxonomy';
|
|
169
|
-
/**
|
|
170
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
171
|
-
* via the `definition` "shapeSchema".
|
|
172
|
-
*/
|
|
173
|
-
export type ShapeSchemaV3_10_0 = ShapeSchemaAllOfV3_10_0 | ShapeSchemaOneOfV3_10_0 | ShapeSchemaEnumV3_10_0 | ObjectSchemaV3_10_0;
|
|
174
|
-
/**
|
|
175
|
-
* Human-readable id for use in the UI
|
|
176
|
-
*/
|
|
177
|
-
export type WorkflowNameV3_10_0 = string;
|
|
178
|
-
/**
|
|
179
|
-
* machine-readable slug
|
|
180
|
-
*/
|
|
181
|
-
export type NameV3_10_0 = string;
|
|
182
|
-
/**
|
|
183
|
-
* Human-readable id for use in the UI
|
|
184
|
-
*/
|
|
185
|
-
export type TitleV3_10_0 = string;
|
|
186
|
-
export type DescriptionV3_10_0 = string;
|
|
187
|
-
/**
|
|
188
|
-
* Hex color code
|
|
189
|
-
*/
|
|
190
|
-
export type ColorV3_10_0 = string;
|
|
191
|
-
/**
|
|
192
|
-
* Value to indicate whether items in the state should be returned in list queries
|
|
193
|
-
*/
|
|
194
|
-
export type LiveV3_10_0 = boolean;
|
|
195
|
-
/**
|
|
196
|
-
* machine-readable id
|
|
197
|
-
*/
|
|
198
|
-
export type KeyV3_10_0 = string;
|
|
199
|
-
export type StepsV3_10_0 = WorkflowStepV3_10_0[];
|
|
200
|
-
/**
|
|
201
|
-
* The general type of this service, specifying how and where it will be utilized.
|
|
202
|
-
*
|
|
203
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
204
|
-
* via the `definition` "serviceType".
|
|
205
|
-
*/
|
|
206
|
-
export type ServiceTypeV3_10_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
|
|
207
|
-
/**
|
|
208
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
209
|
-
* via the `definition` "allOfSchema".
|
|
210
|
-
*/
|
|
211
|
-
export type AllOfSchemaV3_10_0 = PropertySchemaV3_10_0 & {
|
|
212
|
-
allOf: (RefSchemaV3_10_0 | RefSchemaLegacyV3_10_0 | ObjectSchemaV3_10_0)[];
|
|
213
|
-
};
|
|
214
|
-
/**
|
|
215
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
216
|
-
* via the `definition` "oneOfSchema".
|
|
217
|
-
*/
|
|
218
|
-
export type OneOfSchemaV3_10_0 = PropertySchemaV3_10_0 & {
|
|
219
|
-
oneOf: (RefSchemaV3_10_0 | RefSchemaLegacyV3_10_0 | ObjectSchemaV3_10_0)[];
|
|
220
|
-
};
|
|
221
|
-
/**
|
|
222
|
-
* Options to be passed to the serialization routine.
|
|
223
|
-
*
|
|
224
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
225
|
-
* via the `definition` "parameterSerializeOptions".
|
|
226
|
-
*
|
|
227
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
228
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
229
|
-
*/
|
|
230
|
-
export type ParameterSerializeOptionsV3_10_0 = ParameterSerializeStyleOptionsV3_10_0 | ParameterSerializeContentOptionsV3_10_0;
|
|
231
|
-
/**
|
|
232
|
-
* An array of key / value or directive config tuples
|
|
233
|
-
*
|
|
234
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
235
|
-
* via the `definition` "directiveMappingArray".
|
|
236
|
-
*/
|
|
237
|
-
export type DirectiveMappingArrayV3_10_0 = DirectiveMappingArrayItemV3_10_0[];
|
|
238
|
-
/**
|
|
239
|
-
* An array of key / value or directive config tuples
|
|
240
|
-
*
|
|
241
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
242
|
-
* via the `definition` "searchParamsMapping".
|
|
243
|
-
*/
|
|
244
|
-
export type SearchParamsMappingV3_10_01 = DirectiveMappingArrayItemV3_10_0[];
|
|
245
|
-
/**
|
|
246
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
247
|
-
* via the `definition` "shapeWithObjectSchema".
|
|
248
|
-
*/
|
|
249
|
-
export type ShapeWithObjectSchemaV3_10_0 = ShapeJSONV3_10_0 & {
|
|
250
|
-
schema: ObjectSchemaV3_10_0;
|
|
251
|
-
};
|
|
252
|
-
/**
|
|
253
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
254
|
-
* via the `definition` "searchParamsAuthentication".
|
|
255
|
-
*/
|
|
256
|
-
export type SearchParamsAuthenticationV3_10_0 = {
|
|
257
|
-
name: string;
|
|
258
|
-
value: string;
|
|
259
|
-
}[];
|
|
260
|
-
/**
|
|
261
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
262
|
-
* via the `definition` "serviceAuthentication".
|
|
263
|
-
*/
|
|
264
|
-
export type ServiceAuthenticationV3_10_0 = OAuth2AuthenticationV3_10_0 | OAuth2BearerAuthenticationV3_10_0 | BearerAuthenticationV3_10_0 | BasicAuthenticationV3_10_0 | SearchParamsAuthenticationV3_10_0 | AWSAuthenticationV3_10_0 | CustomAuthenticationV3_10_0;
|
|
265
|
-
/**
|
|
266
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
267
|
-
* via the `definition` "anyServiceConfig".
|
|
268
|
-
*/
|
|
269
|
-
export type AnyServiceConfigV3_10_0 = ServiceConfigJSONV3_10_0 | ServiceConfigV3_10_0;
|
|
270
|
-
export interface ProjectSchemaJSONV3_10_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: '3.10.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
|
-
queries: QueryMapV3_10_0;
|
|
307
|
-
mutations: QueryMapV3_10_0;
|
|
308
|
-
shapes: ShapeMapV3_10_0;
|
|
309
|
-
indexedShapes?: IndexedShapeMapV3_10_0;
|
|
310
|
-
forms?: FormMapV3_10_0;
|
|
311
|
-
workflows: WorkflowMapV3_10_0;
|
|
312
|
-
dataKey: string;
|
|
313
|
-
services?: ServiceMapJSONV3_10_0;
|
|
314
|
-
}
|
|
315
|
-
/**
|
|
316
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
317
|
-
* via the `definition` "queryMap".
|
|
318
|
-
*/
|
|
319
|
-
export interface QueryMapV3_10_0 {
|
|
320
|
-
[k: string]: QueryJSONV3_10_0;
|
|
321
|
-
}
|
|
322
|
-
/**
|
|
323
|
-
* This interface was referenced by `QueryMapV3_10_0`'s JSON-Schema definition
|
|
324
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
325
|
-
*
|
|
326
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
327
|
-
* via the `definition` "query".
|
|
328
|
-
*/
|
|
329
|
-
export interface QueryJSONV3_10_0 {
|
|
330
|
-
args?: ArgsV3_10_0;
|
|
331
|
-
resolver: ResolverV3_10_0;
|
|
332
|
-
shape: ReturnShapeV3_10_0;
|
|
333
|
-
/**
|
|
334
|
-
* Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
|
|
335
|
-
*/
|
|
336
|
-
description?: string;
|
|
337
|
-
[k: string]: any;
|
|
338
|
-
}
|
|
339
|
-
/**
|
|
340
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
341
|
-
* via the `definition` "propertySchema".
|
|
342
|
-
*/
|
|
343
|
-
export interface PropertySchemaV3_10_0 {
|
|
344
|
-
$ref?: string;
|
|
345
|
-
title?: string;
|
|
346
|
-
description?: string;
|
|
347
|
-
default?: any;
|
|
348
|
-
readOnly?: boolean;
|
|
349
|
-
multipleOf?: number;
|
|
350
|
-
maximum?: number;
|
|
351
|
-
exclusiveMaximum?: number;
|
|
352
|
-
minimum?: number;
|
|
353
|
-
exclusiveMinimum?: number;
|
|
354
|
-
maxLength?: NonNegativeIntegerV3_10_0;
|
|
355
|
-
minLength?: NonNegativeIntegerDefault0V3_10_0;
|
|
356
|
-
pattern?: string;
|
|
357
|
-
additionalItems?: PropertySchemaV3_10_0;
|
|
358
|
-
items?: PropertySchemaV3_10_0;
|
|
359
|
-
maxItems?: NonNegativeIntegerV3_10_0;
|
|
360
|
-
minItems?: NonNegativeIntegerDefault0V3_10_0;
|
|
361
|
-
uniqueItems?: boolean;
|
|
362
|
-
contains?: PropertySchemaV3_10_0;
|
|
363
|
-
maxProperties?: NonNegativeIntegerV3_10_0;
|
|
364
|
-
minProperties?: NonNegativeIntegerDefault0V3_10_0;
|
|
365
|
-
required?: StringArrayV3_10_0;
|
|
366
|
-
additionalProperties?: PropertySchemaV3_10_0 | false;
|
|
367
|
-
definitions?: {
|
|
368
|
-
[k: string]: PropertySchemaV3_10_0;
|
|
369
|
-
};
|
|
370
|
-
properties?: {
|
|
371
|
-
[k: string]: PropertySchemaV3_10_0;
|
|
372
|
-
};
|
|
373
|
-
const?: any;
|
|
374
|
-
enum?: any[];
|
|
375
|
-
type?: SimpleTypesV3_10_0 | SimpleTypesV3_10_0[];
|
|
376
|
-
format?: string;
|
|
377
|
-
contentMediaType?: string;
|
|
378
|
-
contentEncoding?: string;
|
|
379
|
-
allOf?: SchemaArrayV3_10_0;
|
|
380
|
-
oneOf?: SchemaArrayV3_10_0;
|
|
381
|
-
'@relationship'?: RelationshipV3_10_0;
|
|
382
|
-
'@syncLocaleStructure'?: boolean;
|
|
383
|
-
'@sensitive'?: boolean;
|
|
384
|
-
'@draftjs'?: boolean;
|
|
385
|
-
'@l10n'?: boolean;
|
|
386
|
-
'@key'?: string;
|
|
387
|
-
'@workflow'?: string;
|
|
388
|
-
'@mapping'?: FieldMappingV3_10_0;
|
|
389
|
-
'@tag'?: string;
|
|
390
|
-
'@tags'?: string[];
|
|
391
|
-
'@deprecationReason'?: string;
|
|
392
|
-
'@user'?: boolean;
|
|
393
|
-
'@args'?: ArgsV3_10_0;
|
|
394
|
-
'@resolver'?: ResolverV3_10_0;
|
|
395
|
-
'@ref'?: RefV3_10_0;
|
|
396
|
-
'@derivedFrom'?: string;
|
|
397
|
-
}
|
|
398
|
-
/**
|
|
399
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
400
|
-
* via the `definition` "relationship".
|
|
401
|
-
*/
|
|
402
|
-
export interface RelationshipV3_10_0 {
|
|
403
|
-
shapeIds: string[];
|
|
404
|
-
type?: string;
|
|
405
|
-
relatedName?: string;
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
409
|
-
* via the `definition` "utilResolver".
|
|
410
|
-
*/
|
|
411
|
-
export interface UtilResolverV3_10_0 {
|
|
412
|
-
if?: string;
|
|
413
|
-
id?: string;
|
|
414
|
-
name: UtilResolverNameV3_10_0;
|
|
415
|
-
/**
|
|
416
|
-
* Configuration for a service to use with this resolver.
|
|
417
|
-
*/
|
|
418
|
-
service: string;
|
|
419
|
-
options?: UtilResolverOptionsV3_10_0;
|
|
420
|
-
args?: ParameterConfigForJsonV3_10_0;
|
|
421
|
-
results?: ParameterConfigForJsonV3_10_0;
|
|
422
|
-
argsMapping?: ArgsMappingV3_10_0;
|
|
423
|
-
resultsMapping?: ResultsMappingV3_10_0;
|
|
424
|
-
}
|
|
425
|
-
export interface UtilResolverOptionsV3_10_0 {
|
|
426
|
-
[k: string]: any;
|
|
427
|
-
}
|
|
428
|
-
/**
|
|
429
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
430
|
-
* via the `definition` "parameterConfigForJson".
|
|
431
|
-
*/
|
|
432
|
-
export interface ParameterConfigForJsonV3_10_0 {
|
|
433
|
-
ops: ParameterOpListV3_10_0;
|
|
434
|
-
}
|
|
435
|
-
/**
|
|
436
|
-
* An object describing an operation to generate a parameter, using a nested OpList.
|
|
437
|
-
*
|
|
438
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
439
|
-
* via the `definition` "parameterOpNested".
|
|
440
|
-
*/
|
|
441
|
-
export interface ParameterOpNestedV3_10_0 {
|
|
442
|
-
/**
|
|
443
|
-
* A path to the parameter for this operation.
|
|
444
|
-
*/
|
|
445
|
-
path: string;
|
|
446
|
-
/**
|
|
447
|
-
* A mode for this parameter's operation.
|
|
448
|
-
*/
|
|
449
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
450
|
-
ops: ParameterOpListV3_10_0;
|
|
451
|
-
}
|
|
452
|
-
/**
|
|
453
|
-
* An object describing an operation to generate a parameter using a value.
|
|
454
|
-
*
|
|
455
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
456
|
-
* via the `definition` "parameterOpValue".
|
|
457
|
-
*/
|
|
458
|
-
export interface ParameterOpValueV3_10_0 {
|
|
459
|
-
/**
|
|
460
|
-
* A path to the parameter for this operation.
|
|
461
|
-
*/
|
|
462
|
-
path: string;
|
|
463
|
-
/**
|
|
464
|
-
* A mode for this parameter's operation.
|
|
465
|
-
*/
|
|
466
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
467
|
-
/**
|
|
468
|
-
* A value to set directly at this path.
|
|
469
|
-
*/
|
|
470
|
-
value: number | string | boolean | {
|
|
471
|
-
[k: string]: any;
|
|
472
|
-
} | any[] | null;
|
|
473
|
-
}
|
|
474
|
-
/**
|
|
475
|
-
* An object describing an operation to generate a parameter using a mapping.
|
|
476
|
-
*
|
|
477
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
478
|
-
* via the `definition` "parameterOpMapping".
|
|
479
|
-
*/
|
|
480
|
-
export interface ParameterOpMappingV3_10_0 {
|
|
481
|
-
/**
|
|
482
|
-
* A path to the parameter for this operation.
|
|
483
|
-
*/
|
|
484
|
-
path: string;
|
|
485
|
-
/**
|
|
486
|
-
* A mode for this parameter's operation.
|
|
487
|
-
*/
|
|
488
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
489
|
-
/**
|
|
490
|
-
* Either a valid JSONPath or a directive pipeline to evaluate against the query context.
|
|
491
|
-
*/
|
|
492
|
-
mapping: string | DirectiveConfigV3_10_0;
|
|
493
|
-
}
|
|
494
|
-
export interface DirectiveOptionsV3_10_0 {
|
|
495
|
-
[k: string]: any;
|
|
496
|
-
}
|
|
497
|
-
/**
|
|
498
|
-
* An object describing an operation to generate a parameter using a mapping.
|
|
499
|
-
*
|
|
500
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
501
|
-
* via the `definition` "parameterOpOp".
|
|
502
|
-
*/
|
|
503
|
-
export interface ParameterOpOpV3_10_0 {
|
|
504
|
-
/**
|
|
505
|
-
* A path to the parameter for this operation.
|
|
506
|
-
*/
|
|
507
|
-
path: string;
|
|
508
|
-
/**
|
|
509
|
-
* A mode for this parameter's operation.
|
|
510
|
-
*/
|
|
511
|
-
op: 'set' | 'concat' | 'extend' | 'remove';
|
|
512
|
-
}
|
|
513
|
-
/**
|
|
514
|
-
* An map of object keys / key paths to directive configs
|
|
515
|
-
*
|
|
516
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
517
|
-
* via the `definition` "directiveMappingMap".
|
|
518
|
-
*/
|
|
519
|
-
export interface DirectiveMappingMapV3_10_0 {
|
|
520
|
-
[k: string]: DirectiveConfigV3_10_0;
|
|
521
|
-
}
|
|
522
|
-
/**
|
|
523
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
524
|
-
* via the `definition` "takeshapeResolver".
|
|
525
|
-
*/
|
|
526
|
-
export interface TakeshapeResolverV3_10_0 {
|
|
527
|
-
if?: string;
|
|
528
|
-
id?: string;
|
|
529
|
-
name: TakeshapeResolverNameV3_10_0;
|
|
530
|
-
/**
|
|
531
|
-
* Internal service identifier.
|
|
532
|
-
*/
|
|
533
|
-
service: 'takeshape:local';
|
|
534
|
-
options?: TakeshapeResolverOptionsV3_10_0;
|
|
535
|
-
argsMapping?: ArgsMappingV3_10_0;
|
|
536
|
-
resultsMapping?: ResultsMappingV3_10_0;
|
|
537
|
-
/**
|
|
538
|
-
* A Shape name for the resolver to use.
|
|
539
|
-
*/
|
|
540
|
-
shapeName: string;
|
|
541
|
-
args?: ParameterConfigForJsonV3_10_0;
|
|
542
|
-
results?: ParameterConfigForJsonV3_10_0;
|
|
543
|
-
}
|
|
544
|
-
export interface TakeshapeResolverOptionsV3_10_0 {
|
|
545
|
-
[k: string]: any;
|
|
546
|
-
}
|
|
547
|
-
/**
|
|
548
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
549
|
-
* via the `definition` "internalTakeshapeResolver".
|
|
550
|
-
*/
|
|
551
|
-
export interface InternalTakeshapeResolverV3_10_0 {
|
|
552
|
-
if?: string;
|
|
553
|
-
id?: string;
|
|
554
|
-
name: InternalTakeshapeResolverNameV3_10_0;
|
|
555
|
-
/**
|
|
556
|
-
* Internal service identifier.
|
|
557
|
-
*/
|
|
558
|
-
service: 'takeshape:local';
|
|
559
|
-
/**
|
|
560
|
-
* An optional Shape name for the resolver.
|
|
561
|
-
*/
|
|
562
|
-
shapeName?: string;
|
|
563
|
-
args?: ParameterConfigForJsonV3_10_0;
|
|
564
|
-
results?: ParameterConfigForJsonV3_10_0;
|
|
565
|
-
argsMapping?: ArgsMappingV3_10_0;
|
|
566
|
-
resultsMapping?: ResultsMappingV3_10_0;
|
|
567
|
-
}
|
|
568
|
-
/**
|
|
569
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
570
|
-
* via the `definition` "graphqlResolver".
|
|
571
|
-
*/
|
|
572
|
-
export interface GraphqlResolverV3_10_0 {
|
|
573
|
-
if?: string;
|
|
574
|
-
id?: string;
|
|
575
|
-
name: GraphqlResolverNameV3_10_0;
|
|
576
|
-
/**
|
|
577
|
-
* Configuration for a service to use with this resolver.
|
|
578
|
-
*/
|
|
579
|
-
service: string;
|
|
580
|
-
argsMapping?: ArgsMappingV3_10_0;
|
|
581
|
-
resultsMapping?: ResultsMappingV3_10_0;
|
|
582
|
-
options?: GraphqlResolverOptionsV3_10_0;
|
|
583
|
-
/**
|
|
584
|
-
* A fieldname to use in queries.
|
|
585
|
-
*/
|
|
586
|
-
fieldName: string;
|
|
587
|
-
headers?: ParameterConfigForHeadersV3_10_0;
|
|
588
|
-
searchParams?: ParameterConfigForSearchParamsV3_10_0;
|
|
589
|
-
args?: ParameterConfigForJsonV3_10_0;
|
|
590
|
-
results?: ParameterConfigForJsonV3_10_0;
|
|
591
|
-
}
|
|
592
|
-
export interface GraphqlResolverOptionsV3_10_0 {
|
|
593
|
-
selectionSet?: string;
|
|
594
|
-
unboxParentSelectionSet?: boolean;
|
|
595
|
-
ignoreErrors?: boolean;
|
|
596
|
-
skipWhenMissingArgs?: boolean;
|
|
597
|
-
ttl?: number;
|
|
598
|
-
timeout?: number;
|
|
599
|
-
retry?: number | {
|
|
600
|
-
[k: string]: any;
|
|
601
|
-
};
|
|
602
|
-
[k: string]: any;
|
|
603
|
-
}
|
|
604
|
-
/**
|
|
605
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
606
|
-
* via the `definition` "parameterConfigForHeaders".
|
|
607
|
-
*/
|
|
608
|
-
export interface ParameterConfigForHeadersV3_10_0 {
|
|
609
|
-
ops: ParameterOpListV3_10_0;
|
|
610
|
-
serialize?: ParameterSerializeConfigForHeadersV3_10_0;
|
|
611
|
-
}
|
|
612
|
-
/**
|
|
613
|
-
* Top-level paths to use headers serialization options for.
|
|
614
|
-
*
|
|
615
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
616
|
-
* via the `definition` "parameterSerializeConfigForHeaders".
|
|
617
|
-
*/
|
|
618
|
-
export interface ParameterSerializeConfigForHeadersV3_10_0 {
|
|
619
|
-
defaults?: ParameterSerializeStyleOptionsForHeadersV3_10_0 | ParameterSerializeContentOptionsV3_10_0;
|
|
620
|
-
paths?: {
|
|
621
|
-
/**
|
|
622
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
623
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
624
|
-
*/
|
|
625
|
-
[k: string]: ParameterSerializeStyleOptionsForHeadersV3_10_0 | ParameterSerializeContentOptionsV3_10_0;
|
|
626
|
-
};
|
|
627
|
-
}
|
|
628
|
-
/**
|
|
629
|
-
* Options to be passed to the serialization routine.
|
|
630
|
-
*
|
|
631
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
632
|
-
* via the `definition` "parameterSerializeStyleOptionsForHeaders".
|
|
633
|
-
*/
|
|
634
|
-
export interface ParameterSerializeStyleOptionsForHeadersV3_10_0 {
|
|
635
|
-
style: 'simple' | 'none';
|
|
636
|
-
explode?: boolean;
|
|
637
|
-
}
|
|
638
|
-
/**
|
|
639
|
-
* Options to be passed to the serialization routine.
|
|
640
|
-
*
|
|
641
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
642
|
-
* via the `definition` "parameterSerializeContentOptions".
|
|
643
|
-
*/
|
|
644
|
-
export interface ParameterSerializeContentOptionsV3_10_0 {
|
|
645
|
-
contentType: string;
|
|
646
|
-
/**
|
|
647
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
648
|
-
*/
|
|
649
|
-
allowReserved?: boolean;
|
|
650
|
-
skipEncoding?: boolean;
|
|
651
|
-
/**
|
|
652
|
-
* Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
|
|
653
|
-
*/
|
|
654
|
-
options?: {
|
|
655
|
-
[k: string]: any;
|
|
656
|
-
};
|
|
657
|
-
}
|
|
658
|
-
/**
|
|
659
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
660
|
-
* via the `definition` "parameterConfigForSearchParams".
|
|
661
|
-
*/
|
|
662
|
-
export interface ParameterConfigForSearchParamsV3_10_0 {
|
|
663
|
-
ops: ParameterOpListV3_10_0;
|
|
664
|
-
serialize?: ParameterSerializeConfigForSearchParamsV3_10_0;
|
|
665
|
-
}
|
|
666
|
-
/**
|
|
667
|
-
* Top-level paths to use search params serialization options for.
|
|
668
|
-
*
|
|
669
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
670
|
-
* via the `definition` "parameterSerializeConfigForSearchParams".
|
|
671
|
-
*/
|
|
672
|
-
export interface ParameterSerializeConfigForSearchParamsV3_10_0 {
|
|
673
|
-
defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_10_0 | ParameterSerializeContentOptionsV3_10_0;
|
|
674
|
-
paths?: {
|
|
675
|
-
/**
|
|
676
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
677
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
678
|
-
*/
|
|
679
|
-
[k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_10_0 | ParameterSerializeContentOptionsV3_10_0;
|
|
680
|
-
};
|
|
681
|
-
}
|
|
682
|
-
/**
|
|
683
|
-
* Options to be passed to the serialization routine.
|
|
684
|
-
*
|
|
685
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
686
|
-
* via the `definition` "parameterSerializeStyleOptionsForSearchParams".
|
|
687
|
-
*/
|
|
688
|
-
export interface ParameterSerializeStyleOptionsForSearchParamsV3_10_0 {
|
|
689
|
-
style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
|
|
690
|
-
explode?: boolean;
|
|
691
|
-
allowEmptyValue?: boolean;
|
|
692
|
-
/**
|
|
693
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
694
|
-
*/
|
|
695
|
-
allowReserved?: boolean;
|
|
696
|
-
skipEncoding?: boolean;
|
|
697
|
-
}
|
|
698
|
-
/**
|
|
699
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
700
|
-
* via the `definition` "restResolver".
|
|
701
|
-
*/
|
|
702
|
-
export interface RestResolverV3_10_0 {
|
|
703
|
-
if?: string;
|
|
704
|
-
id?: string;
|
|
705
|
-
name: RestResolverNameV3_10_0;
|
|
706
|
-
/**
|
|
707
|
-
* Configuration for a service to use with this resolver.
|
|
708
|
-
*/
|
|
709
|
-
service: string;
|
|
710
|
-
argsMapping?: ArgsMappingV3_10_0;
|
|
711
|
-
searchParamsMapping?: SearchParamsMappingV3_10_0;
|
|
712
|
-
resultsMapping?: ResultsMappingV3_10_0;
|
|
713
|
-
options?: RestResolverOptionsV3_10_0;
|
|
714
|
-
body?: ParameterConfigForBodyV3_10_0;
|
|
715
|
-
form?: ParameterConfigForSearchParamsV3_10_0;
|
|
716
|
-
headers?: ParameterConfigForHeadersV3_10_0;
|
|
717
|
-
json?: ParameterConfigForJsonV3_10_0;
|
|
718
|
-
/**
|
|
719
|
-
* Mapping and serialization configuration for the path, or a simple string.
|
|
720
|
-
*/
|
|
721
|
-
path: ParameterConfigForPathParamsV3_10_0 | string;
|
|
722
|
-
searchParams?: ParameterConfigForSearchParamsV3_10_0;
|
|
723
|
-
args?: ParameterConfigForJsonV3_10_0;
|
|
724
|
-
results?: ParameterConfigForJsonV3_10_0;
|
|
725
|
-
}
|
|
726
|
-
export interface RestResolverOptionsV3_10_0 {
|
|
727
|
-
trailingSlash?: boolean;
|
|
728
|
-
ttl?: number;
|
|
729
|
-
timeout?: number;
|
|
730
|
-
retry?: number | {
|
|
731
|
-
[k: string]: any;
|
|
732
|
-
};
|
|
733
|
-
[k: string]: any;
|
|
734
|
-
}
|
|
735
|
-
/**
|
|
736
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
737
|
-
* via the `definition` "parameterConfigForBody".
|
|
738
|
-
*/
|
|
739
|
-
export interface ParameterConfigForBodyV3_10_0 {
|
|
740
|
-
ops: ParameterOpListV3_10_0;
|
|
741
|
-
serialize?: ParameterSerializeConfigForBodyV3_10_0;
|
|
742
|
-
}
|
|
743
|
-
/**
|
|
744
|
-
* Top-level paths to use serialization options for.
|
|
745
|
-
*
|
|
746
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
747
|
-
* via the `definition` "parameterSerializeConfigForBody".
|
|
748
|
-
*/
|
|
749
|
-
export interface ParameterSerializeConfigForBodyV3_10_0 {
|
|
750
|
-
content?: ParameterSerializeContentOptionsV3_10_0;
|
|
751
|
-
}
|
|
752
|
-
/**
|
|
753
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
754
|
-
* via the `definition` "parameterConfigForPathParams".
|
|
755
|
-
*/
|
|
756
|
-
export interface ParameterConfigForPathParamsV3_10_0 {
|
|
757
|
-
ops: ParameterOpListV3_10_0;
|
|
758
|
-
serialize: ParameterSerializeConfigForPathParamsV3_10_0;
|
|
759
|
-
}
|
|
760
|
-
/**
|
|
761
|
-
* Top-level paths to use path params serialization options for.
|
|
762
|
-
*
|
|
763
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
764
|
-
* via the `definition` "parameterSerializeConfigForPathParams".
|
|
765
|
-
*/
|
|
766
|
-
export interface ParameterSerializeConfigForPathParamsV3_10_0 {
|
|
767
|
-
/**
|
|
768
|
-
* For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
|
|
769
|
-
*/
|
|
770
|
-
template: string;
|
|
771
|
-
defaults?: ParameterSerializeStyleOptionsForPathParamsV3_10_0 | ParameterSerializeContentOptionsV3_10_0;
|
|
772
|
-
paths?: {
|
|
773
|
-
/**
|
|
774
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
775
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
776
|
-
*/
|
|
777
|
-
[k: string]: ParameterSerializeStyleOptionsForPathParamsV3_10_0 | ParameterSerializeContentOptionsV3_10_0;
|
|
778
|
-
};
|
|
779
|
-
}
|
|
780
|
-
/**
|
|
781
|
-
* Options to be passed to the serialization routine.
|
|
782
|
-
*
|
|
783
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
784
|
-
* via the `definition` "parameterSerializeStyleOptionsForPathParams".
|
|
785
|
-
*/
|
|
786
|
-
export interface ParameterSerializeStyleOptionsForPathParamsV3_10_0 {
|
|
787
|
-
style: 'simple' | 'label' | 'matrix' | 'none';
|
|
788
|
-
explode?: boolean;
|
|
789
|
-
allowEmptyValue?: boolean;
|
|
790
|
-
/**
|
|
791
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
792
|
-
*/
|
|
793
|
-
allowReserved?: boolean;
|
|
794
|
-
skipEncoding?: boolean;
|
|
795
|
-
}
|
|
796
|
-
/**
|
|
797
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
798
|
-
* via the `definition` "awsLambdaResolver".
|
|
799
|
-
*/
|
|
800
|
-
export interface AwsLambdaResolverV3_10_0 {
|
|
801
|
-
if?: string;
|
|
802
|
-
id?: string;
|
|
803
|
-
name: AwsLambdaResolverNameV3_10_0;
|
|
804
|
-
/**
|
|
805
|
-
* Configuration for a service to use with this resolver.
|
|
806
|
-
*/
|
|
807
|
-
service: string;
|
|
808
|
-
options?: AwsLambdaResolverOptionsV3_10_0;
|
|
809
|
-
payload?: ParameterConfigForJsonV3_10_0;
|
|
810
|
-
/**
|
|
811
|
-
* Mapping configuration for the FunctionName.
|
|
812
|
-
*/
|
|
813
|
-
functionName: string | ParameterConfigForAwsLambdaV3_10_0;
|
|
814
|
-
clientContext?: ParameterConfigForJsonV3_10_0;
|
|
815
|
-
args?: ParameterConfigForJsonV3_10_0;
|
|
816
|
-
results?: ParameterConfigForJsonV3_10_0;
|
|
817
|
-
argsMapping?: ArgsMappingV3_10_0;
|
|
818
|
-
searchParamsMapping?: SearchParamsMappingV3_10_0;
|
|
819
|
-
resultsMapping?: ResultsMappingV3_10_0;
|
|
820
|
-
}
|
|
821
|
-
export interface AwsLambdaResolverOptionsV3_10_0 {
|
|
822
|
-
[k: string]: any;
|
|
823
|
-
}
|
|
824
|
-
/**
|
|
825
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
826
|
-
* via the `definition` "parameterConfigForAwsLambda".
|
|
827
|
-
*/
|
|
828
|
-
export interface ParameterConfigForAwsLambdaV3_10_0 {
|
|
829
|
-
ops: ParameterOpListV3_10_0;
|
|
830
|
-
serialize: ParameterSerializeConfigForPathParamsV3_10_0;
|
|
831
|
-
}
|
|
832
|
-
/**
|
|
833
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
834
|
-
* via the `definition` "composeResolver".
|
|
835
|
-
*/
|
|
836
|
-
export interface ComposeResolverV3_10_0 {
|
|
837
|
-
compose: BasicResolverV3_10_0[];
|
|
838
|
-
resultsMapping?: DirectiveMappingMapV3_10_0 | DirectiveConfigV3_10_0;
|
|
839
|
-
results?: ParameterConfigForJsonV3_10_0;
|
|
840
|
-
}
|
|
841
|
-
/**
|
|
842
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
843
|
-
* via the `definition` "refSchema".
|
|
844
|
-
*/
|
|
845
|
-
export interface RefSchemaV3_10_0 {
|
|
846
|
-
'@ref': RefV3_10_0;
|
|
847
|
-
[k: string]: any;
|
|
848
|
-
}
|
|
849
|
-
/**
|
|
850
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
851
|
-
* via the `definition` "shapeMap".
|
|
852
|
-
*/
|
|
853
|
-
export interface ShapeMapV3_10_0 {
|
|
854
|
-
[k: string]: ShapeJSONV3_10_0;
|
|
855
|
-
}
|
|
856
|
-
/**
|
|
857
|
-
* A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
|
|
858
|
-
*
|
|
859
|
-
* This interface was referenced by `ShapeMapV3_10_0`'s JSON-Schema definition
|
|
860
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
861
|
-
*
|
|
862
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
863
|
-
* via the `definition` "shape".
|
|
864
|
-
*/
|
|
865
|
-
export interface ShapeJSONV3_10_0 {
|
|
866
|
-
/**
|
|
867
|
-
* 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
|
|
868
|
-
*/
|
|
869
|
-
name: string;
|
|
870
|
-
/**
|
|
871
|
-
* 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.
|
|
872
|
-
*/
|
|
873
|
-
id: string;
|
|
874
|
-
/**
|
|
875
|
-
* The human-readable name for a Shape for use in a UI.
|
|
876
|
-
*/
|
|
877
|
-
title: string;
|
|
878
|
-
description?: string;
|
|
879
|
-
/**
|
|
880
|
-
* Specifying a model type allows Shape data to be stored in TakeShape's built-in database
|
|
881
|
-
*/
|
|
882
|
-
model?: {
|
|
883
|
-
type: ModelTypeV3_10_0;
|
|
884
|
-
};
|
|
885
|
-
workflow?: string;
|
|
886
|
-
schema: ShapeSchemaV3_10_0;
|
|
887
|
-
}
|
|
888
|
-
/**
|
|
889
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
890
|
-
* via the `definition` "shapeSchemaAllOf".
|
|
891
|
-
*/
|
|
892
|
-
export interface ShapeSchemaAllOfV3_10_0 {
|
|
893
|
-
allOf: (RefSchemaV3_10_0 | RefSchemaLegacyV3_10_0 | ObjectSchemaV3_10_0)[];
|
|
894
|
-
}
|
|
895
|
-
/**
|
|
896
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
897
|
-
* via the `definition` "refSchemaLegacy".
|
|
898
|
-
*/
|
|
899
|
-
export interface RefSchemaLegacyV3_10_0 {
|
|
900
|
-
$ref: RefV3_10_0;
|
|
901
|
-
[k: string]: any;
|
|
902
|
-
}
|
|
903
|
-
/**
|
|
904
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
905
|
-
* via the `definition` "shapeSchemaOneOf".
|
|
906
|
-
*/
|
|
907
|
-
export interface ShapeSchemaOneOfV3_10_0 {
|
|
908
|
-
oneOf: (RefSchemaV3_10_0 | RefSchemaLegacyV3_10_0 | ObjectSchemaV3_10_0)[];
|
|
909
|
-
}
|
|
910
|
-
/**
|
|
911
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
912
|
-
* via the `definition` "shapeSchemaEnum".
|
|
913
|
-
*/
|
|
914
|
-
export interface ShapeSchemaEnumV3_10_0 {
|
|
915
|
-
enum: string[];
|
|
916
|
-
}
|
|
917
|
-
/**
|
|
918
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
919
|
-
* via the `definition` "indexedShapeMap".
|
|
920
|
-
*/
|
|
921
|
-
export interface IndexedShapeMapV3_10_0 {
|
|
922
|
-
[k: string]: IndexedShapeConfigV3_10_0;
|
|
923
|
-
}
|
|
924
|
-
/**
|
|
925
|
-
* This interface was referenced by `IndexedShapeMapV3_10_0`'s JSON-Schema definition
|
|
926
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
927
|
-
*
|
|
928
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
929
|
-
* via the `definition` "indexedShapeConfig".
|
|
930
|
-
*/
|
|
931
|
-
export interface IndexedShapeConfigV3_10_0 {
|
|
932
|
-
[k: string]: any;
|
|
933
|
-
}
|
|
934
|
-
/**
|
|
935
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
936
|
-
* via the `definition` "formMap".
|
|
937
|
-
*/
|
|
938
|
-
export interface FormMapV3_10_0 {
|
|
939
|
-
[k: string]: FormsConfigV3_10_0;
|
|
940
|
-
}
|
|
941
|
-
/**
|
|
942
|
-
* This interface was referenced by `FormMapV3_10_0`'s JSON-Schema definition
|
|
943
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
944
|
-
*
|
|
945
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
946
|
-
* via the `definition` "formsConfig".
|
|
947
|
-
*/
|
|
948
|
-
export interface FormsConfigV3_10_0 {
|
|
949
|
-
default: FormConfigV3_10_0;
|
|
950
|
-
[k: string]: FormConfigV3_10_0;
|
|
951
|
-
}
|
|
952
|
-
/**
|
|
953
|
-
* This interface was referenced by `FormsConfigV3_10_0`'s JSON-Schema definition
|
|
954
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
955
|
-
*
|
|
956
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
957
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
958
|
-
*
|
|
959
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
960
|
-
* via the `definition` "formConfig".
|
|
961
|
-
*/
|
|
962
|
-
export interface FormConfigV3_10_0 {
|
|
963
|
-
[k: string]: any;
|
|
964
|
-
}
|
|
965
|
-
/**
|
|
966
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
967
|
-
* via the `definition` "workflowMap".
|
|
968
|
-
*/
|
|
969
|
-
export interface WorkflowMapV3_10_0 {
|
|
970
|
-
[k: string]: WorkflowV3_10_0;
|
|
971
|
-
}
|
|
972
|
-
/**
|
|
973
|
-
* This interface was referenced by `WorkflowMapV3_10_0`'s JSON-Schema definition
|
|
974
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
975
|
-
*
|
|
976
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
977
|
-
* via the `definition` "workflow".
|
|
978
|
-
*/
|
|
979
|
-
export interface WorkflowV3_10_0 {
|
|
980
|
-
/**
|
|
981
|
-
* machine-readable id
|
|
982
|
-
*/
|
|
983
|
-
name: string;
|
|
984
|
-
title: WorkflowNameV3_10_0;
|
|
985
|
-
steps: StepsV3_10_0;
|
|
986
|
-
[k: string]: any;
|
|
987
|
-
}
|
|
988
|
-
/**
|
|
989
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
990
|
-
* via the `definition` "workflowStep".
|
|
991
|
-
*/
|
|
992
|
-
export interface WorkflowStepV3_10_0 {
|
|
993
|
-
name: NameV3_10_0;
|
|
994
|
-
title: TitleV3_10_0;
|
|
995
|
-
description?: DescriptionV3_10_0;
|
|
996
|
-
color: ColorV3_10_0;
|
|
997
|
-
live: LiveV3_10_0;
|
|
998
|
-
key: KeyV3_10_0;
|
|
999
|
-
}
|
|
1000
|
-
/**
|
|
1001
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1002
|
-
* via the `definition` "storedServiceMap".
|
|
1003
|
-
*/
|
|
1004
|
-
export interface ServiceMapJSONV3_10_0 {
|
|
1005
|
-
[k: string]: ServiceConfigJSONV3_10_0;
|
|
1006
|
-
}
|
|
1007
|
-
/**
|
|
1008
|
-
* This interface was referenced by `ServiceMapJSONV3_10_0`'s JSON-Schema definition
|
|
1009
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1010
|
-
*
|
|
1011
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1012
|
-
* via the `definition` "storedServiceConfig".
|
|
1013
|
-
*/
|
|
1014
|
-
export interface ServiceConfigJSONV3_10_0 {
|
|
1015
|
-
/**
|
|
1016
|
-
* Machine-readable identifier, should typically be the same as the property name on the services object.
|
|
1017
|
-
*/
|
|
1018
|
-
id: string;
|
|
1019
|
-
/**
|
|
1020
|
-
* Human-readable name for this service.
|
|
1021
|
-
*/
|
|
1022
|
-
title: string;
|
|
1023
|
-
/**
|
|
1024
|
-
* The service provider id.
|
|
1025
|
-
*/
|
|
1026
|
-
provider: string;
|
|
1027
|
-
/**
|
|
1028
|
-
* A namespace to use for the imported types tied to this service.
|
|
1029
|
-
*/
|
|
1030
|
-
namespace?: string;
|
|
1031
|
-
serviceType: ServiceTypeV3_10_0;
|
|
1032
|
-
authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
|
|
1033
|
-
authentication?: string;
|
|
1034
|
-
webhookId?: string;
|
|
1035
|
-
/**
|
|
1036
|
-
* Configuration options passed to and handled by the provider.
|
|
1037
|
-
*/
|
|
1038
|
-
options?: {
|
|
1039
|
-
[k: string]: any;
|
|
1040
|
-
};
|
|
1041
|
-
}
|
|
1042
|
-
/**
|
|
1043
|
-
* All possible options for the more specific ParameterSerializeStyleOptions types.
|
|
1044
|
-
*
|
|
1045
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1046
|
-
* via the `definition` "parameterSerializeStyleOptions".
|
|
1047
|
-
*/
|
|
1048
|
-
export interface ParameterSerializeStyleOptionsV3_10_0 {
|
|
1049
|
-
style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
|
|
1050
|
-
explode?: boolean;
|
|
1051
|
-
allowEmptyValue?: boolean;
|
|
1052
|
-
/**
|
|
1053
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
1054
|
-
*/
|
|
1055
|
-
allowReserved?: boolean;
|
|
1056
|
-
skipEncoding?: boolean;
|
|
1057
|
-
}
|
|
1058
|
-
/**
|
|
1059
|
-
* All possible options for the more specific ParameterSerializeConfig types.
|
|
1060
|
-
*
|
|
1061
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1062
|
-
* via the `definition` "parameterSerializeConfig".
|
|
1063
|
-
*/
|
|
1064
|
-
export interface ParameterSerializeConfigV3_10_0 {
|
|
1065
|
-
content?: ParameterSerializeContentOptionsV3_10_0;
|
|
1066
|
-
defaults?: ParameterSerializeOptionsV3_10_0;
|
|
1067
|
-
paths?: {
|
|
1068
|
-
[k: string]: ParameterSerializeOptionsV3_10_0;
|
|
1069
|
-
};
|
|
1070
|
-
}
|
|
1071
|
-
/**
|
|
1072
|
-
* All possible options for the more specific ParameterConfig types.
|
|
1073
|
-
*
|
|
1074
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1075
|
-
* via the `definition` "parameterConfig".
|
|
1076
|
-
*/
|
|
1077
|
-
export interface ParameterConfigV3_10_0 {
|
|
1078
|
-
ops: ParameterOpListV3_10_0;
|
|
1079
|
-
serialize?: ParameterSerializeConfigV3_10_0;
|
|
1080
|
-
}
|
|
1081
|
-
/**
|
|
1082
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1083
|
-
* via the `definition` "formScalarConfig".
|
|
1084
|
-
*/
|
|
1085
|
-
export interface FormScalarConfigV3_10_0 {
|
|
1086
|
-
widget: string;
|
|
1087
|
-
}
|
|
1088
|
-
/**
|
|
1089
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1090
|
-
* via the `definition` "formObjectConfig".
|
|
1091
|
-
*/
|
|
1092
|
-
export interface FormObjectConfigV3_10_0 {
|
|
1093
|
-
widget?: string;
|
|
1094
|
-
order?: string[];
|
|
1095
|
-
properties?: {
|
|
1096
|
-
[k: string]: FormConfigV3_10_0;
|
|
1097
|
-
};
|
|
1098
|
-
}
|
|
1099
|
-
/**
|
|
1100
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1101
|
-
* via the `definition` "formArrayConfig".
|
|
1102
|
-
*/
|
|
1103
|
-
export interface FormArrayConfigV3_10_0 {
|
|
1104
|
-
widget: string;
|
|
1105
|
-
items: FormConfigV3_10_0;
|
|
1106
|
-
}
|
|
1107
|
-
/**
|
|
1108
|
-
* For use with a custom auth handler on a service provider.
|
|
1109
|
-
*
|
|
1110
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1111
|
-
* via the `definition` "customAuthentication".
|
|
1112
|
-
*/
|
|
1113
|
-
export interface CustomAuthenticationV3_10_0 {
|
|
1114
|
-
[k: string]: any;
|
|
1115
|
-
}
|
|
1116
|
-
/**
|
|
1117
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1118
|
-
* via the `definition` "bearerAuthentication".
|
|
1119
|
-
*/
|
|
1120
|
-
export interface BearerAuthenticationV3_10_0 {
|
|
1121
|
-
token?: string;
|
|
1122
|
-
prefix?: string;
|
|
1123
|
-
header?: string;
|
|
1124
|
-
}
|
|
1125
|
-
/**
|
|
1126
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1127
|
-
* via the `definition` "oauth2BearerAuthentication".
|
|
1128
|
-
*/
|
|
1129
|
-
export interface OAuth2BearerAuthenticationV3_10_0 {
|
|
1130
|
-
token?: string;
|
|
1131
|
-
prefix?: string;
|
|
1132
|
-
header?: string;
|
|
1133
|
-
scope?: string;
|
|
1134
|
-
expiresAt?: string;
|
|
1135
|
-
}
|
|
1136
|
-
/**
|
|
1137
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1138
|
-
* via the `definition` "basicAuthentication".
|
|
1139
|
-
*/
|
|
1140
|
-
export interface BasicAuthenticationV3_10_0 {
|
|
1141
|
-
username?: string;
|
|
1142
|
-
password?: string;
|
|
1143
|
-
useIso8859?: boolean;
|
|
1144
|
-
}
|
|
1145
|
-
/**
|
|
1146
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1147
|
-
* via the `definition` "oauth2Authentication".
|
|
1148
|
-
*/
|
|
1149
|
-
export interface OAuth2AuthenticationV3_10_0 {
|
|
1150
|
-
grantType?: 'authorizationCode' | 'clientCredentials';
|
|
1151
|
-
authorizationUrl?: string;
|
|
1152
|
-
accessTokenUrl?: string;
|
|
1153
|
-
clientId?: string;
|
|
1154
|
-
clientSecret?: string;
|
|
1155
|
-
scope?: string;
|
|
1156
|
-
usePkce?: boolean;
|
|
1157
|
-
redirectUrl?: string;
|
|
1158
|
-
headerPrefix?: string;
|
|
1159
|
-
audience?: string;
|
|
1160
|
-
resource?: string;
|
|
1161
|
-
}
|
|
1162
|
-
/**
|
|
1163
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1164
|
-
* via the `definition` "awsAuthentication".
|
|
1165
|
-
*/
|
|
1166
|
-
export interface AWSAuthenticationV3_10_0 {
|
|
1167
|
-
awsAccessKeyId?: string;
|
|
1168
|
-
awsSecretAccessKey?: string;
|
|
1169
|
-
}
|
|
1170
|
-
/**
|
|
1171
|
-
* This interface was referenced by `ProjectSchemaJSONV3_10_0`'s JSON-Schema
|
|
1172
|
-
* via the `definition` "serviceConfig".
|
|
1173
|
-
*/
|
|
1174
|
-
export interface ServiceConfigV3_10_0 {
|
|
1175
|
-
/**
|
|
1176
|
-
* Machine-readable identifier, should typically be the same as the property name on the services object.
|
|
1177
|
-
*/
|
|
1178
|
-
id: string;
|
|
1179
|
-
/**
|
|
1180
|
-
* Human-readable name for this service.
|
|
1181
|
-
*/
|
|
1182
|
-
title: string;
|
|
1183
|
-
/**
|
|
1184
|
-
* The service provider id.
|
|
1185
|
-
*/
|
|
1186
|
-
provider: string;
|
|
1187
|
-
/**
|
|
1188
|
-
* A namespace to use for the imported types tied to this service.
|
|
1189
|
-
*/
|
|
1190
|
-
namespace?: string;
|
|
1191
|
-
serviceType: ServiceTypeV3_10_0;
|
|
1192
|
-
authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
|
|
1193
|
-
authentication?: ServiceAuthenticationV3_10_0;
|
|
1194
|
-
webhookId?: string;
|
|
1195
|
-
/**
|
|
1196
|
-
* Configuration options passed to and handled by the provider.
|
|
1197
|
-
*/
|
|
1198
|
-
options?: {
|
|
1199
|
-
[k: string]: any;
|
|
1200
|
-
};
|
|
1201
|
-
}
|