@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,1736 +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_47_0`'s JSON-Schema
|
|
8
|
-
* via the `definition` "args".
|
|
9
|
-
*/
|
|
10
|
-
export type ArgsV3_47_0 = string | ObjectSchemaV3_47_0;
|
|
11
|
-
/**
|
|
12
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
13
|
-
* via the `definition` "objectSchema".
|
|
14
|
-
*/
|
|
15
|
-
export type ObjectSchemaV3_47_0 = PropertySchemaV3_47_0 & {
|
|
16
|
-
type: 'object';
|
|
17
|
-
properties: {
|
|
18
|
-
[k: string]: PropertySchemaV3_47_0;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
23
|
-
* via the `definition` "nonNegativeInteger".
|
|
24
|
-
*/
|
|
25
|
-
export type NonNegativeIntegerV3_47_0 = number;
|
|
26
|
-
/**
|
|
27
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
28
|
-
* via the `definition` "nonNegativeIntegerDefault0".
|
|
29
|
-
*/
|
|
30
|
-
export type NonNegativeIntegerDefault0V3_47_0 = NonNegativeIntegerV3_47_0;
|
|
31
|
-
/**
|
|
32
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
33
|
-
* via the `definition` "stringArray".
|
|
34
|
-
*/
|
|
35
|
-
export type StringArrayV3_47_0 = string[];
|
|
36
|
-
/**
|
|
37
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
38
|
-
* via the `definition` "simpleTypes".
|
|
39
|
-
*/
|
|
40
|
-
export type SimpleTypesV3_47_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
|
|
41
|
-
/**
|
|
42
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
43
|
-
* via the `definition` "schemaArray".
|
|
44
|
-
*/
|
|
45
|
-
export type SchemaArrayV3_47_0 = PropertySchemaV3_47_0[];
|
|
46
|
-
/**
|
|
47
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
48
|
-
* via the `definition` "ref".
|
|
49
|
-
*/
|
|
50
|
-
export type RefV3_47_0 = string;
|
|
51
|
-
/**
|
|
52
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
53
|
-
* via the `definition` "objectOrRefArray".
|
|
54
|
-
*/
|
|
55
|
-
export type ObjectOrRefArrayV3_47_0 = (RefSchemaV3_47_0 | RefSchemaLegacyV3_47_0 | ObjectSchemaV3_47_0)[];
|
|
56
|
-
/**
|
|
57
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
58
|
-
* via the `definition` "fieldMapping".
|
|
59
|
-
*/
|
|
60
|
-
export type FieldMappingV3_47_0 = MappingStringV3_47_0 | MappingStringV3_47_0[];
|
|
61
|
-
/**
|
|
62
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
63
|
-
* via the `definition` "mappingString".
|
|
64
|
-
*/
|
|
65
|
-
export type MappingStringV3_47_0 = string;
|
|
66
|
-
/**
|
|
67
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
68
|
-
* via the `definition` "resolver".
|
|
69
|
-
*/
|
|
70
|
-
export type ResolverV3_47_0 = BasicResolverV3_47_0 | ComposeResolverV3_47_0;
|
|
71
|
-
/**
|
|
72
|
-
* A single resolver, can be composed with the ComposeResolver.
|
|
73
|
-
*
|
|
74
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
75
|
-
* via the `definition` "basicResolver".
|
|
76
|
-
*/
|
|
77
|
-
export type BasicResolverV3_47_0 = UtilResolverV3_47_0 | DelegateResolverV3_47_0 | TakeshapeResolverV3_47_0 | ShapedbResolverV3_47_0 | ShapedbResolverShapeNameNotRequiredV3_47_0 | GraphqlResolverV3_47_0 | RestResolverV3_47_0 | AwsLambdaResolverV3_47_0 | SalsifyResolverV3_47_0 | FunctionResolverV3_47_0 | AIGenerateTextResolverV3_47_0 | AIEmbeddingResolverV3_47_0 | AIParseFileResolverV3_47_0;
|
|
78
|
-
/**
|
|
79
|
-
* Name of the resolver function.
|
|
80
|
-
*/
|
|
81
|
-
export type UtilResolverNameV3_47_0 = 'util:noop' | 'util:wrap';
|
|
82
|
-
/**
|
|
83
|
-
* An object describing an operation to generate a parameter.
|
|
84
|
-
*
|
|
85
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
86
|
-
* via the `definition` "parameterOp".
|
|
87
|
-
*/
|
|
88
|
-
export type ParameterOpV3_47_0 = ParameterOpNestedV3_47_0 | ParameterOpValueV3_47_0 | ParameterOpMappingV3_47_0 | ParameterOpOpV3_47_0;
|
|
89
|
-
/**
|
|
90
|
-
* A tuple with a string directive name, and options to pass to the directive
|
|
91
|
-
*
|
|
92
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
93
|
-
* via the `definition` "directiveConfigItem".
|
|
94
|
-
*/
|
|
95
|
-
export type DirectiveConfigItemV3_47_0 = [DirectiveNameV3_47_0, DirectiveOptionsV3_47_0];
|
|
96
|
-
export type DirectiveNameV3_47_0 = string;
|
|
97
|
-
/**
|
|
98
|
-
* An array of individual directive config items to process in order
|
|
99
|
-
*
|
|
100
|
-
* This interface was referenced by `DirectiveMappingMapV3_47_0`'s JSON-Schema definition
|
|
101
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
102
|
-
*
|
|
103
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
104
|
-
* via the `definition` "directiveConfig".
|
|
105
|
-
*/
|
|
106
|
-
export type DirectiveConfigV3_47_0 = DirectiveConfigItemV3_47_0[];
|
|
107
|
-
/**
|
|
108
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
109
|
-
* via the `definition` "parameterOpList".
|
|
110
|
-
*/
|
|
111
|
-
export type ParameterOpListV3_47_0 = ParameterOpV3_47_0[];
|
|
112
|
-
/**
|
|
113
|
-
* Maps a query's input args to the input expected by the service's endpoint.
|
|
114
|
-
*
|
|
115
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
116
|
-
* via the `definition` "argsMapping".
|
|
117
|
-
*/
|
|
118
|
-
export type ArgsMappingV3_47_0 = DirectiveMappingMapV3_47_0 | DirectiveConfigV3_47_0;
|
|
119
|
-
/**
|
|
120
|
-
* Maps a service endpoint's response results to the expected shape of the query's response.
|
|
121
|
-
*
|
|
122
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
123
|
-
* via the `definition` "resultsMapping".
|
|
124
|
-
*/
|
|
125
|
-
export type ResultsMappingV3_47_0 = DirectiveMappingMapV3_47_0 | DirectiveConfigV3_47_0;
|
|
126
|
-
/**
|
|
127
|
-
* Name of the resolver function.
|
|
128
|
-
*/
|
|
129
|
-
export type DelegateResolverNameV3_47_0 = 'delegate';
|
|
130
|
-
/**
|
|
131
|
-
* Name of the resolver function.
|
|
132
|
-
*/
|
|
133
|
-
export type TakeshapeResolverNameV3_47_0 = 'takeshape:getUser' | 'takeshape:search' | 'takeshape:vectorSearch' | 'takeshape:queryApiIndex';
|
|
134
|
-
/**
|
|
135
|
-
* Name of the resolver function.
|
|
136
|
-
*/
|
|
137
|
-
export type ShapedbResolverNameV3_47_0 = 'shapedb:get' | 'shapedb:create' | 'shapedb:update' | 'shapedb:delete' | 'shapedb:duplicate' | 'shapedb:find';
|
|
138
|
-
/**
|
|
139
|
-
* Name of the resolver function.
|
|
140
|
-
*/
|
|
141
|
-
export type ShapedbResolverShapeNameNotRequiredNameV3_47_0 = 'shapedb:list' | 'shapedb:taxonomySuggest' | 'shapedb:getRelated';
|
|
142
|
-
/**
|
|
143
|
-
* Name of the resolver function.
|
|
144
|
-
*/
|
|
145
|
-
export type GraphqlResolverNameV3_47_0 = 'graphql:query' | 'graphql:mutation' | 'shopify:bulkQuery';
|
|
146
|
-
/**
|
|
147
|
-
* Name of the resolver function.
|
|
148
|
-
*/
|
|
149
|
-
export type RestResolverNameV3_47_0 = 'rest:get' | 'rest:head' | 'rest:post' | 'rest:put' | 'rest:patch' | 'rest:delete';
|
|
150
|
-
/**
|
|
151
|
-
* A tuple with a string key and a directive config to evaluate
|
|
152
|
-
*
|
|
153
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
154
|
-
* via the `definition` "directiveMappingArrayItem".
|
|
155
|
-
*/
|
|
156
|
-
export type DirectiveMappingArrayItemV3_47_0 = [string, DirectiveConfigV3_47_0];
|
|
157
|
-
/**
|
|
158
|
-
* An array of key / value or directive config tuples
|
|
159
|
-
*/
|
|
160
|
-
export type SearchParamsMappingV3_47_0 = DirectiveMappingArrayItemV3_47_0[];
|
|
161
|
-
/**
|
|
162
|
-
* Name of the resolver function.
|
|
163
|
-
*/
|
|
164
|
-
export type AwsLambdaResolverNameV3_47_0 = 'awsLambda:invoke';
|
|
165
|
-
/**
|
|
166
|
-
* Name of the resolver function.
|
|
167
|
-
*/
|
|
168
|
-
export type SalsifyResolverNameV3_47_0 = 'salsify:listChannelProducts';
|
|
169
|
-
/**
|
|
170
|
-
* Name of the resolver function.
|
|
171
|
-
*/
|
|
172
|
-
export type FunctionResolverNameV3_47_0 = 'function:run';
|
|
173
|
-
export type FunctionResolverJavascriptV3_47_0 = string;
|
|
174
|
-
/**
|
|
175
|
-
* Name of the resolver function.
|
|
176
|
-
*/
|
|
177
|
-
export type AIResolverNameV3_47_0 = 'ai:generateText' | 'ai:chat';
|
|
178
|
-
export type HistoryV3_47_0 = boolean;
|
|
179
|
-
/**
|
|
180
|
-
* Maximum number of tokens to generate.
|
|
181
|
-
*/
|
|
182
|
-
export type MaximumTokensV3_47_0 = number;
|
|
183
|
-
/**
|
|
184
|
-
* This is a number between 0 (almost no randomness) and 1 (very random). It is recommended to set either `temperature` or `topP`, but not both. Defaults to 0
|
|
185
|
-
*/
|
|
186
|
-
export type TemperatureV3_47_0 = number;
|
|
187
|
-
/**
|
|
188
|
-
* Nucleus sampling. This is a number between 0 and 1. E.g. 0.1 would mean that only tokens with the top 10% probability mass are considered. It is recommended to set either `temperature` or `topP`, but not both.
|
|
189
|
-
*/
|
|
190
|
-
export type TopPV3_47_0 = number;
|
|
191
|
-
/**
|
|
192
|
-
* Only sample from the top K options for each subsequent token. Used to remove "long tail" low probability responses. Recommended for advanced use cases only. You usually only need to use temperature.
|
|
193
|
-
*/
|
|
194
|
-
export type TopKV3_47_0 = number;
|
|
195
|
-
/**
|
|
196
|
-
* It affects the likelihood of the model to repeat information that is already in the prompt. The presence penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
|
|
197
|
-
*/
|
|
198
|
-
export type PresencePenaltySettingV3_47_0 = number;
|
|
199
|
-
/**
|
|
200
|
-
* It affects the likelihood of the model to repeatedly use the same words or phrases. The frequency penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
|
|
201
|
-
*/
|
|
202
|
-
export type FrequencyPenaltySettingV3_47_0 = number;
|
|
203
|
-
/**
|
|
204
|
-
* If set, the model will stop generating text when one of the stop sequences is generated.
|
|
205
|
-
*/
|
|
206
|
-
export type StopSequencesV3_47_0 = string[];
|
|
207
|
-
/**
|
|
208
|
-
* The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
|
|
209
|
-
*/
|
|
210
|
-
export type SeedV3_47_0 = number;
|
|
211
|
-
/**
|
|
212
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
213
|
-
* via the `definition` "aiGuardrail".
|
|
214
|
-
*/
|
|
215
|
-
export type AIGuardrailV3_47_0 = AISimilarityGuardrailV3_47_0;
|
|
216
|
-
/**
|
|
217
|
-
* Name of the resolver function.
|
|
218
|
-
*/
|
|
219
|
-
export type AIResolverNameV3_47_01 = 'ai:createEmbedding';
|
|
220
|
-
/**
|
|
221
|
-
* Name of the resolver function.
|
|
222
|
-
*/
|
|
223
|
-
export type AIResolverNameV3_47_02 = 'ai:parseFile';
|
|
224
|
-
/**
|
|
225
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
226
|
-
* via the `definition` "dependencies".
|
|
227
|
-
*/
|
|
228
|
-
export type DependenciesV3_47_0 = string;
|
|
229
|
-
/**
|
|
230
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
231
|
-
* via the `definition` "returnShape".
|
|
232
|
-
*/
|
|
233
|
-
export type ReturnShapeV3_47_0 = string | ReturnShapeArraySchemaV3_47_0;
|
|
234
|
-
/**
|
|
235
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
236
|
-
* via the `definition` "returnShapeArraySchema".
|
|
237
|
-
*/
|
|
238
|
-
export type ReturnShapeArraySchemaV3_47_0 = PropertySchemaV3_47_0 & {
|
|
239
|
-
type: 'array';
|
|
240
|
-
items: RefSchemaV3_47_0 | {
|
|
241
|
-
type: 'boolean' | 'integer' | 'number' | 'string' | 'object';
|
|
242
|
-
[k: string]: any;
|
|
243
|
-
};
|
|
244
|
-
};
|
|
245
|
-
export type ModelTypeV3_47_0 = 'single' | 'multiple' | 'taxonomy';
|
|
246
|
-
/**
|
|
247
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
248
|
-
* via the `definition` "paginationConfig".
|
|
249
|
-
*/
|
|
250
|
-
export type PaginationConfigV3_47_0 = PaginationCursorConfigV3_47_0 | PaginationPageConfigV3_47_0 | PaginationOffsetConfigV3_47_0;
|
|
251
|
-
/**
|
|
252
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
253
|
-
* via the `definition` "cacheTriggerConfig".
|
|
254
|
-
*/
|
|
255
|
-
export type CacheTriggerConfigV3_47_0 = CacheScheduleTriggerConfigV3_47_0 | CacheWebhookTriggerConfigV3_47_0;
|
|
256
|
-
/**
|
|
257
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
258
|
-
* via the `definition` "shapeSchema".
|
|
259
|
-
*/
|
|
260
|
-
export type ShapeSchemaV3_47_0 = ShapeSchemaAllOfV3_47_0 | ShapeSchemaExtendsV3_47_0 | ShapeSchemaOneOfV3_47_0 | ShapeSchemaEnumV3_47_0 | ObjectSchemaV3_47_0 | ShapeSchemaAnyV3_47_0;
|
|
261
|
-
/**
|
|
262
|
-
* Human-readable id for use in the UI
|
|
263
|
-
*/
|
|
264
|
-
export type WorkflowNameV3_47_0 = string;
|
|
265
|
-
/**
|
|
266
|
-
* machine-readable slug
|
|
267
|
-
*/
|
|
268
|
-
export type NameV3_47_0 = string;
|
|
269
|
-
/**
|
|
270
|
-
* Human-readable id for use in the UI
|
|
271
|
-
*/
|
|
272
|
-
export type TitleV3_47_0 = string;
|
|
273
|
-
export type DescriptionV3_47_0 = string;
|
|
274
|
-
/**
|
|
275
|
-
* Hex color code
|
|
276
|
-
*/
|
|
277
|
-
export type ColorV3_47_0 = string;
|
|
278
|
-
/**
|
|
279
|
-
* Value to indicate whether items in the state should be returned in list queries
|
|
280
|
-
*/
|
|
281
|
-
export type LiveV3_47_0 = boolean;
|
|
282
|
-
/**
|
|
283
|
-
* machine-readable id
|
|
284
|
-
*/
|
|
285
|
-
export type KeyV3_47_0 = string;
|
|
286
|
-
export type StepsV3_47_0 = WorkflowStepV3_47_0[];
|
|
287
|
-
/**
|
|
288
|
-
* The general type of this service, specifying how and where it will be utilized.
|
|
289
|
-
*
|
|
290
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
291
|
-
* via the `definition` "serviceType".
|
|
292
|
-
*/
|
|
293
|
-
export type ServiceTypeV3_47_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
|
|
294
|
-
/**
|
|
295
|
-
* The name of a health check to run
|
|
296
|
-
*/
|
|
297
|
-
export type CheckNameV3_47_0 = 'graphqlIntrospection' | 'ping' | 'none';
|
|
298
|
-
/**
|
|
299
|
-
* The endpoint to use when checking the service health.
|
|
300
|
-
*/
|
|
301
|
-
export type EndpointV3_47_0 = string;
|
|
302
|
-
/**
|
|
303
|
-
* A custom method to use for the health check request.
|
|
304
|
-
*/
|
|
305
|
-
export type RequestMethodV3_47_0 = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
306
|
-
/**
|
|
307
|
-
* A custom body to send along with the ping request.
|
|
308
|
-
*/
|
|
309
|
-
export type RequestBodyV3_47_0 = string;
|
|
310
|
-
/**
|
|
311
|
-
* A custom body to send along with the ping request.
|
|
312
|
-
*/
|
|
313
|
-
export type RequestBodyFormatV3_47_0 = 'string' | 'form' | 'json' | 'form-data';
|
|
314
|
-
/**
|
|
315
|
-
* The amount of time to wait when receiving a response from the health check, in seconds.
|
|
316
|
-
*/
|
|
317
|
-
export type RequestTimeoutV3_47_0 = number;
|
|
318
|
-
/**
|
|
319
|
-
* The response status code that qualifies as healthy.
|
|
320
|
-
*/
|
|
321
|
-
export type HealthyResponseStatusCodeV3_47_0 = number;
|
|
322
|
-
/**
|
|
323
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
324
|
-
* via the `definition` "serviceHealthCheckTrigger".
|
|
325
|
-
*/
|
|
326
|
-
export type ServiceHealthCheckTriggerV3_47_0 = 'manual' | 'schedule';
|
|
327
|
-
/**
|
|
328
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
329
|
-
* via the `definition` "allOfSchema".
|
|
330
|
-
*/
|
|
331
|
-
export type AllOfSchemaV3_47_0 = PropertySchemaV3_47_0 & {
|
|
332
|
-
allOf: ObjectOrRefArrayV3_47_0;
|
|
333
|
-
};
|
|
334
|
-
/**
|
|
335
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
336
|
-
* via the `definition` "extendsSchema".
|
|
337
|
-
*/
|
|
338
|
-
export type ExtendsSchemaV3_47_0 = PropertySchemaV3_47_0 & {
|
|
339
|
-
extends: ObjectOrRefArrayV3_47_0;
|
|
340
|
-
};
|
|
341
|
-
/**
|
|
342
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
343
|
-
* via the `definition` "oneOfSchema".
|
|
344
|
-
*/
|
|
345
|
-
export type OneOfSchemaV3_47_0 = PropertySchemaV3_47_0 & {
|
|
346
|
-
oneOf: ObjectOrRefArrayV3_47_0;
|
|
347
|
-
};
|
|
348
|
-
/**
|
|
349
|
-
* Options to be passed to the serialization routine.
|
|
350
|
-
*
|
|
351
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
352
|
-
* via the `definition` "parameterSerializeOptions".
|
|
353
|
-
*
|
|
354
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
355
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
356
|
-
*/
|
|
357
|
-
export type ParameterSerializeOptionsV3_47_0 = ParameterSerializeStyleOptionsV3_47_0 | ParameterSerializeContentOptionsV3_47_0;
|
|
358
|
-
/**
|
|
359
|
-
* An array of key / value or directive config tuples
|
|
360
|
-
*
|
|
361
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
362
|
-
* via the `definition` "directiveMappingArray".
|
|
363
|
-
*/
|
|
364
|
-
export type DirectiveMappingArrayV3_47_0 = DirectiveMappingArrayItemV3_47_0[];
|
|
365
|
-
/**
|
|
366
|
-
* A resolver which references a specific service
|
|
367
|
-
*
|
|
368
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
369
|
-
* via the `definition` "serviceResolver".
|
|
370
|
-
*/
|
|
371
|
-
export type ServiceResolverV3_47_0 = TakeshapeResolverV3_47_0 | ShapedbResolverShapeNameNotRequiredV3_47_0 | ShapedbResolverV3_47_0 | GraphqlResolverV3_47_0 | RestResolverV3_47_0 | AwsLambdaResolverV3_47_0;
|
|
372
|
-
/**
|
|
373
|
-
* An array of key / value or directive config tuples
|
|
374
|
-
*
|
|
375
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
376
|
-
* via the `definition` "searchParamsMapping".
|
|
377
|
-
*/
|
|
378
|
-
export type SearchParamsMappingV3_47_01 = DirectiveMappingArrayItemV3_47_0[];
|
|
379
|
-
/**
|
|
380
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
381
|
-
* via the `definition` "shapeWithObjectSchema".
|
|
382
|
-
*/
|
|
383
|
-
export type ShapeWithObjectSchemaV3_47_0 = ShapeJSONV3_47_0 & {
|
|
384
|
-
schema: ObjectSchemaV3_47_0;
|
|
385
|
-
};
|
|
386
|
-
/**
|
|
387
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
388
|
-
* via the `definition` "serviceAuthentication".
|
|
389
|
-
*/
|
|
390
|
-
export type ServiceAuthenticationV3_47_0 = OAuth2AuthenticationV3_47_0 | OAuth2BearerAuthenticationV3_47_0 | BearerAuthenticationV3_47_0 | BasicAuthenticationV3_47_0 | SearchParamsAuthenticationV3_47_0 | AWSAuthenticationV3_47_0 | CustomAuthenticationV3_47_0;
|
|
391
|
-
/**
|
|
392
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
393
|
-
* via the `definition` "anyServiceConfig".
|
|
394
|
-
*/
|
|
395
|
-
export type AnyServiceConfigV3_47_0 = ServiceConfigJSONV3_47_0 | ServiceConfigV3_47_0;
|
|
396
|
-
export interface ProjectSchemaJSONV3_47_0 {
|
|
397
|
-
$schema?: string;
|
|
398
|
-
/**
|
|
399
|
-
* The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
|
|
400
|
-
*/
|
|
401
|
-
apiVersion: string;
|
|
402
|
-
/**
|
|
403
|
-
* The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
|
|
404
|
-
*/
|
|
405
|
-
schemaVersion: '3.47.0';
|
|
406
|
-
/**
|
|
407
|
-
* The ID of the TakeShape project this schema belongs to.
|
|
408
|
-
*/
|
|
409
|
-
projectId: string;
|
|
410
|
-
/**
|
|
411
|
-
* The ID of the TakeShape user who created the schema.
|
|
412
|
-
*/
|
|
413
|
-
author?: string;
|
|
414
|
-
deactivated?: number;
|
|
415
|
-
/**
|
|
416
|
-
* The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
|
|
417
|
-
*/
|
|
418
|
-
defaultLocale: string;
|
|
419
|
-
locales: string[];
|
|
420
|
-
queries: QueryMapV3_47_0;
|
|
421
|
-
mutations: QueryMapV3_47_0;
|
|
422
|
-
shapes: ShapeMapV3_47_0;
|
|
423
|
-
forms?: FormMapV3_47_0;
|
|
424
|
-
workflows: WorkflowMapV3_47_0;
|
|
425
|
-
services?: ServiceMapJSONV3_47_0;
|
|
426
|
-
}
|
|
427
|
-
/**
|
|
428
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
429
|
-
* via the `definition` "queryMap".
|
|
430
|
-
*/
|
|
431
|
-
export interface QueryMapV3_47_0 {
|
|
432
|
-
[k: string]: QueryJSONV3_47_0;
|
|
433
|
-
}
|
|
434
|
-
/**
|
|
435
|
-
* This interface was referenced by `QueryMapV3_47_0`'s JSON-Schema definition
|
|
436
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
437
|
-
*
|
|
438
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
439
|
-
* via the `definition` "query".
|
|
440
|
-
*/
|
|
441
|
-
export interface QueryJSONV3_47_0 {
|
|
442
|
-
args?: ArgsV3_47_0;
|
|
443
|
-
resolver: ResolverV3_47_0;
|
|
444
|
-
shape: ReturnShapeV3_47_0;
|
|
445
|
-
/**
|
|
446
|
-
* Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
|
|
447
|
-
*/
|
|
448
|
-
description?: string;
|
|
449
|
-
}
|
|
450
|
-
/**
|
|
451
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
452
|
-
* via the `definition` "propertySchema".
|
|
453
|
-
*/
|
|
454
|
-
export interface PropertySchemaV3_47_0 {
|
|
455
|
-
$ref?: string;
|
|
456
|
-
title?: string;
|
|
457
|
-
description?: string;
|
|
458
|
-
default?: any;
|
|
459
|
-
readOnly?: boolean;
|
|
460
|
-
multipleOf?: number;
|
|
461
|
-
maximum?: number;
|
|
462
|
-
exclusiveMaximum?: number;
|
|
463
|
-
minimum?: number;
|
|
464
|
-
exclusiveMinimum?: number;
|
|
465
|
-
maxLength?: NonNegativeIntegerV3_47_0;
|
|
466
|
-
minLength?: NonNegativeIntegerDefault0V3_47_0;
|
|
467
|
-
pattern?: string;
|
|
468
|
-
additionalItems?: PropertySchemaV3_47_0;
|
|
469
|
-
items?: PropertySchemaV3_47_0;
|
|
470
|
-
maxItems?: NonNegativeIntegerV3_47_0;
|
|
471
|
-
minItems?: NonNegativeIntegerDefault0V3_47_0;
|
|
472
|
-
uniqueItems?: boolean;
|
|
473
|
-
contains?: PropertySchemaV3_47_0;
|
|
474
|
-
maxProperties?: NonNegativeIntegerV3_47_0;
|
|
475
|
-
minProperties?: NonNegativeIntegerDefault0V3_47_0;
|
|
476
|
-
required?: StringArrayV3_47_0;
|
|
477
|
-
additionalProperties?: PropertySchemaV3_47_0 | false;
|
|
478
|
-
definitions?: {
|
|
479
|
-
[k: string]: PropertySchemaV3_47_0;
|
|
480
|
-
};
|
|
481
|
-
properties?: {
|
|
482
|
-
[k: string]: PropertySchemaV3_47_0;
|
|
483
|
-
};
|
|
484
|
-
const?: any;
|
|
485
|
-
enum?: any[];
|
|
486
|
-
type?: SimpleTypesV3_47_0 | SimpleTypesV3_47_0[];
|
|
487
|
-
format?: string;
|
|
488
|
-
contentMediaType?: string;
|
|
489
|
-
contentEncoding?: string;
|
|
490
|
-
allOf?: SchemaArrayV3_47_0;
|
|
491
|
-
discriminator?: {
|
|
492
|
-
propertyName?: string;
|
|
493
|
-
[k: string]: any;
|
|
494
|
-
};
|
|
495
|
-
oneOf?: SchemaArrayV3_47_0;
|
|
496
|
-
extends?: ObjectOrRefArrayV3_47_0;
|
|
497
|
-
'@backreference'?: BackReferenceV3_47_0;
|
|
498
|
-
'@input'?: PropertySchemaV3_47_0;
|
|
499
|
-
'@output'?: PropertySchemaV3_47_0;
|
|
500
|
-
'@syncLocaleStructure'?: boolean;
|
|
501
|
-
'@sensitive'?: boolean;
|
|
502
|
-
'@draftjs'?: boolean;
|
|
503
|
-
'@l10n'?: boolean;
|
|
504
|
-
'@key'?: string;
|
|
505
|
-
'@workflow'?: string;
|
|
506
|
-
'@mapping'?: FieldMappingV3_47_0;
|
|
507
|
-
'@tag'?: string;
|
|
508
|
-
'@tags'?: string[];
|
|
509
|
-
'@deprecationReason'?: string;
|
|
510
|
-
'@args'?: ArgsV3_47_0;
|
|
511
|
-
'@resolver'?: ResolverV3_47_0;
|
|
512
|
-
'@dependencies'?: DependenciesV3_47_0;
|
|
513
|
-
'@ref'?: RefV3_47_0;
|
|
514
|
-
'@derivedFrom'?: string;
|
|
515
|
-
'@indexed'?: IndexedV3_47_0;
|
|
516
|
-
'@graphql'?: GraphQLConfigV3_47_0;
|
|
517
|
-
}
|
|
518
|
-
/**
|
|
519
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
520
|
-
* via the `definition` "refSchema".
|
|
521
|
-
*/
|
|
522
|
-
export interface RefSchemaV3_47_0 {
|
|
523
|
-
'@ref': RefV3_47_0;
|
|
524
|
-
[k: string]: any;
|
|
525
|
-
}
|
|
526
|
-
/**
|
|
527
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
528
|
-
* via the `definition` "refSchemaLegacy".
|
|
529
|
-
*/
|
|
530
|
-
export interface RefSchemaLegacyV3_47_0 {
|
|
531
|
-
$ref: RefV3_47_0;
|
|
532
|
-
[k: string]: any;
|
|
533
|
-
}
|
|
534
|
-
/**
|
|
535
|
-
* A configuration object for a reverse reference in a relationship.
|
|
536
|
-
*
|
|
537
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
538
|
-
* via the `definition` "backreference".
|
|
539
|
-
*/
|
|
540
|
-
export interface BackReferenceV3_47_0 {
|
|
541
|
-
enabled: boolean;
|
|
542
|
-
name?: string;
|
|
543
|
-
}
|
|
544
|
-
/**
|
|
545
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
546
|
-
* via the `definition` "utilResolver".
|
|
547
|
-
*/
|
|
548
|
-
export interface UtilResolverV3_47_0 {
|
|
549
|
-
if?: string;
|
|
550
|
-
id?: string;
|
|
551
|
-
name: UtilResolverNameV3_47_0;
|
|
552
|
-
options?: UtilResolverOptionsV3_47_0;
|
|
553
|
-
/**
|
|
554
|
-
* Optional value to return from the noop resolver.
|
|
555
|
-
*/
|
|
556
|
-
value?: number | string | boolean | {
|
|
557
|
-
[k: string]: any;
|
|
558
|
-
} | any[] | null;
|
|
559
|
-
args?: ParameterConfigForJsonV3_47_0;
|
|
560
|
-
results?: ParameterConfigForJsonV3_47_0;
|
|
561
|
-
argsMapping?: ArgsMappingV3_47_0;
|
|
562
|
-
resultsMapping?: ResultsMappingV3_47_0;
|
|
563
|
-
}
|
|
564
|
-
export interface UtilResolverOptionsV3_47_0 {
|
|
565
|
-
[k: string]: any;
|
|
566
|
-
}
|
|
567
|
-
/**
|
|
568
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
569
|
-
* via the `definition` "parameterConfigForJson".
|
|
570
|
-
*/
|
|
571
|
-
export interface ParameterConfigForJsonV3_47_0 {
|
|
572
|
-
ops: ParameterOpListV3_47_0;
|
|
573
|
-
}
|
|
574
|
-
/**
|
|
575
|
-
* An object describing an operation to generate a parameter, using a nested OpList.
|
|
576
|
-
*
|
|
577
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
578
|
-
* via the `definition` "parameterOpNested".
|
|
579
|
-
*/
|
|
580
|
-
export interface ParameterOpNestedV3_47_0 {
|
|
581
|
-
/**
|
|
582
|
-
* A path to the parameter for this operation.
|
|
583
|
-
*/
|
|
584
|
-
path: string;
|
|
585
|
-
/**
|
|
586
|
-
* A mode for this parameter's operation.
|
|
587
|
-
*/
|
|
588
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
589
|
-
ops: ParameterOpListV3_47_0;
|
|
590
|
-
}
|
|
591
|
-
/**
|
|
592
|
-
* An object describing an operation to generate a parameter using a value.
|
|
593
|
-
*
|
|
594
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
595
|
-
* via the `definition` "parameterOpValue".
|
|
596
|
-
*/
|
|
597
|
-
export interface ParameterOpValueV3_47_0 {
|
|
598
|
-
/**
|
|
599
|
-
* A path to the parameter for this operation.
|
|
600
|
-
*/
|
|
601
|
-
path: string;
|
|
602
|
-
/**
|
|
603
|
-
* A mode for this parameter's operation.
|
|
604
|
-
*/
|
|
605
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
606
|
-
/**
|
|
607
|
-
* A value to set directly at this path.
|
|
608
|
-
*/
|
|
609
|
-
value: number | string | boolean | {
|
|
610
|
-
[k: string]: any;
|
|
611
|
-
} | any[] | null;
|
|
612
|
-
}
|
|
613
|
-
/**
|
|
614
|
-
* An object describing an operation to generate a parameter using a mapping.
|
|
615
|
-
*
|
|
616
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
617
|
-
* via the `definition` "parameterOpMapping".
|
|
618
|
-
*/
|
|
619
|
-
export interface ParameterOpMappingV3_47_0 {
|
|
620
|
-
/**
|
|
621
|
-
* A path to the parameter for this operation.
|
|
622
|
-
*/
|
|
623
|
-
path: string;
|
|
624
|
-
/**
|
|
625
|
-
* A mode for this parameter's operation.
|
|
626
|
-
*/
|
|
627
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
628
|
-
/**
|
|
629
|
-
* Either a valid JSONPath or a directive pipeline to evaluate against the query context.
|
|
630
|
-
*/
|
|
631
|
-
mapping: string | DirectiveConfigV3_47_0;
|
|
632
|
-
}
|
|
633
|
-
export interface DirectiveOptionsV3_47_0 {
|
|
634
|
-
[k: string]: any;
|
|
635
|
-
}
|
|
636
|
-
/**
|
|
637
|
-
* An object describing an operation to generate a parameter using a mapping.
|
|
638
|
-
*
|
|
639
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
640
|
-
* via the `definition` "parameterOpOp".
|
|
641
|
-
*/
|
|
642
|
-
export interface ParameterOpOpV3_47_0 {
|
|
643
|
-
/**
|
|
644
|
-
* A path to the parameter for this operation.
|
|
645
|
-
*/
|
|
646
|
-
path: string;
|
|
647
|
-
/**
|
|
648
|
-
* A mode for this parameter's operation.
|
|
649
|
-
*/
|
|
650
|
-
op: 'set' | 'concat' | 'extend' | 'remove';
|
|
651
|
-
}
|
|
652
|
-
/**
|
|
653
|
-
* An map of object keys / key paths to directive configs
|
|
654
|
-
*
|
|
655
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
656
|
-
* via the `definition` "directiveMappingMap".
|
|
657
|
-
*/
|
|
658
|
-
export interface DirectiveMappingMapV3_47_0 {
|
|
659
|
-
[k: string]: DirectiveConfigV3_47_0;
|
|
660
|
-
}
|
|
661
|
-
/**
|
|
662
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
663
|
-
* via the `definition` "delegateResolver".
|
|
664
|
-
*/
|
|
665
|
-
export interface DelegateResolverV3_47_0 {
|
|
666
|
-
if?: string;
|
|
667
|
-
id?: string;
|
|
668
|
-
name: DelegateResolverNameV3_47_0;
|
|
669
|
-
options?: DelegateResolverOptionsV3_47_0;
|
|
670
|
-
argsMapping?: ArgsMappingV3_47_0;
|
|
671
|
-
resultsMapping?: ResultsMappingV3_47_0;
|
|
672
|
-
/**
|
|
673
|
-
* A ref to a query/mutation/property to delegate to.
|
|
674
|
-
*/
|
|
675
|
-
to: string;
|
|
676
|
-
args?: ParameterConfigForJsonV3_47_0;
|
|
677
|
-
results?: ParameterConfigForJsonV3_47_0;
|
|
678
|
-
}
|
|
679
|
-
export interface DelegateResolverOptionsV3_47_0 {
|
|
680
|
-
[k: string]: any;
|
|
681
|
-
}
|
|
682
|
-
/**
|
|
683
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
684
|
-
* via the `definition` "takeshapeResolver".
|
|
685
|
-
*/
|
|
686
|
-
export interface TakeshapeResolverV3_47_0 {
|
|
687
|
-
if?: string;
|
|
688
|
-
id?: string;
|
|
689
|
-
name: TakeshapeResolverNameV3_47_0;
|
|
690
|
-
/**
|
|
691
|
-
* Internal service identifier.
|
|
692
|
-
*/
|
|
693
|
-
service: 'takeshape';
|
|
694
|
-
options?: TakeshapeResolverOptionsV3_47_0;
|
|
695
|
-
/**
|
|
696
|
-
* An optional Shape name for the resolver.
|
|
697
|
-
*/
|
|
698
|
-
shapeName?: string;
|
|
699
|
-
args?: ParameterConfigForJsonV3_47_0;
|
|
700
|
-
results?: ParameterConfigForJsonV3_47_0;
|
|
701
|
-
argsMapping?: ArgsMappingV3_47_0;
|
|
702
|
-
resultsMapping?: ResultsMappingV3_47_0;
|
|
703
|
-
}
|
|
704
|
-
export interface TakeshapeResolverOptionsV3_47_0 {
|
|
705
|
-
[k: string]: any;
|
|
706
|
-
}
|
|
707
|
-
/**
|
|
708
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
709
|
-
* via the `definition` "shapedbResolver".
|
|
710
|
-
*/
|
|
711
|
-
export interface ShapedbResolverV3_47_0 {
|
|
712
|
-
if?: string;
|
|
713
|
-
id?: string;
|
|
714
|
-
name: ShapedbResolverNameV3_47_0;
|
|
715
|
-
/**
|
|
716
|
-
* Internal service identifier.
|
|
717
|
-
*/
|
|
718
|
-
service: 'shapedb';
|
|
719
|
-
options?: ShapedbResolverOptionsV3_47_0;
|
|
720
|
-
argsMapping?: ArgsMappingV3_47_0;
|
|
721
|
-
resultsMapping?: ResultsMappingV3_47_0;
|
|
722
|
-
/**
|
|
723
|
-
* A Shape name for the resolver to use.
|
|
724
|
-
*/
|
|
725
|
-
shapeName: string;
|
|
726
|
-
args?: ParameterConfigForJsonV3_47_0;
|
|
727
|
-
results?: ParameterConfigForJsonV3_47_0;
|
|
728
|
-
}
|
|
729
|
-
export interface ShapedbResolverOptionsV3_47_0 {
|
|
730
|
-
[k: string]: any;
|
|
731
|
-
}
|
|
732
|
-
/**
|
|
733
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
734
|
-
* via the `definition` "shapedbResolverShapeNameNotRequired".
|
|
735
|
-
*/
|
|
736
|
-
export interface ShapedbResolverShapeNameNotRequiredV3_47_0 {
|
|
737
|
-
if?: string;
|
|
738
|
-
id?: string;
|
|
739
|
-
name: ShapedbResolverShapeNameNotRequiredNameV3_47_0;
|
|
740
|
-
/**
|
|
741
|
-
* Internal service identifier.
|
|
742
|
-
*/
|
|
743
|
-
service: 'shapedb';
|
|
744
|
-
options?: ShapedbResolverShapeNameNotRequiredOptionsV3_47_0;
|
|
745
|
-
/**
|
|
746
|
-
* An optional Shape name for the resolver.
|
|
747
|
-
*/
|
|
748
|
-
shapeName?: string;
|
|
749
|
-
args?: ParameterConfigForJsonV3_47_0;
|
|
750
|
-
results?: ParameterConfigForJsonV3_47_0;
|
|
751
|
-
argsMapping?: ArgsMappingV3_47_0;
|
|
752
|
-
resultsMapping?: ResultsMappingV3_47_0;
|
|
753
|
-
}
|
|
754
|
-
export interface ShapedbResolverShapeNameNotRequiredOptionsV3_47_0 {
|
|
755
|
-
[k: string]: any;
|
|
756
|
-
}
|
|
757
|
-
/**
|
|
758
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
759
|
-
* via the `definition` "graphqlResolver".
|
|
760
|
-
*/
|
|
761
|
-
export interface GraphqlResolverV3_47_0 {
|
|
762
|
-
if?: string;
|
|
763
|
-
id?: string;
|
|
764
|
-
name: GraphqlResolverNameV3_47_0;
|
|
765
|
-
/**
|
|
766
|
-
* Configuration for a service to use with this resolver.
|
|
767
|
-
*/
|
|
768
|
-
service: string;
|
|
769
|
-
argsMapping?: ArgsMappingV3_47_0;
|
|
770
|
-
resultsMapping?: ResultsMappingV3_47_0;
|
|
771
|
-
options?: GraphqlResolverOptionsV3_47_0;
|
|
772
|
-
/**
|
|
773
|
-
* A fieldname to use in queries.
|
|
774
|
-
*/
|
|
775
|
-
fieldName: string;
|
|
776
|
-
headers?: ParameterConfigForHeadersV3_47_0;
|
|
777
|
-
searchParams?: ParameterConfigForSearchParamsV3_47_0;
|
|
778
|
-
args?: ParameterConfigForJsonV3_47_0;
|
|
779
|
-
results?: ParameterConfigForJsonV3_47_0;
|
|
780
|
-
}
|
|
781
|
-
export interface GraphqlResolverOptionsV3_47_0 {
|
|
782
|
-
selectionSet?: string;
|
|
783
|
-
unboxParentSelectionSet?: boolean;
|
|
784
|
-
ignoreErrors?: boolean;
|
|
785
|
-
skipWhenMissingArgs?: boolean;
|
|
786
|
-
ttl?: number;
|
|
787
|
-
timeout?: number;
|
|
788
|
-
allowStream?: boolean;
|
|
789
|
-
retry?: number | {
|
|
790
|
-
[k: string]: any;
|
|
791
|
-
};
|
|
792
|
-
[k: string]: any;
|
|
793
|
-
}
|
|
794
|
-
/**
|
|
795
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
796
|
-
* via the `definition` "parameterConfigForHeaders".
|
|
797
|
-
*/
|
|
798
|
-
export interface ParameterConfigForHeadersV3_47_0 {
|
|
799
|
-
ops: ParameterOpListV3_47_0;
|
|
800
|
-
serialize?: ParameterSerializeConfigForHeadersV3_47_0;
|
|
801
|
-
}
|
|
802
|
-
/**
|
|
803
|
-
* Top-level paths to use headers serialization options for.
|
|
804
|
-
*
|
|
805
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
806
|
-
* via the `definition` "parameterSerializeConfigForHeaders".
|
|
807
|
-
*/
|
|
808
|
-
export interface ParameterSerializeConfigForHeadersV3_47_0 {
|
|
809
|
-
defaults?: ParameterSerializeStyleOptionsForHeadersV3_47_0 | ParameterSerializeContentOptionsV3_47_0;
|
|
810
|
-
paths?: {
|
|
811
|
-
/**
|
|
812
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
813
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
814
|
-
*/
|
|
815
|
-
[k: string]: ParameterSerializeStyleOptionsForHeadersV3_47_0 | ParameterSerializeContentOptionsV3_47_0;
|
|
816
|
-
};
|
|
817
|
-
}
|
|
818
|
-
/**
|
|
819
|
-
* Options to be passed to the serialization routine.
|
|
820
|
-
*
|
|
821
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
822
|
-
* via the `definition` "parameterSerializeStyleOptionsForHeaders".
|
|
823
|
-
*/
|
|
824
|
-
export interface ParameterSerializeStyleOptionsForHeadersV3_47_0 {
|
|
825
|
-
style: 'simple' | 'none';
|
|
826
|
-
explode?: boolean;
|
|
827
|
-
}
|
|
828
|
-
/**
|
|
829
|
-
* Options to be passed to the serialization routine.
|
|
830
|
-
*
|
|
831
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
832
|
-
* via the `definition` "parameterSerializeContentOptions".
|
|
833
|
-
*/
|
|
834
|
-
export interface ParameterSerializeContentOptionsV3_47_0 {
|
|
835
|
-
contentType: string;
|
|
836
|
-
/**
|
|
837
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
838
|
-
*/
|
|
839
|
-
allowReserved?: boolean;
|
|
840
|
-
skipEncoding?: boolean;
|
|
841
|
-
/**
|
|
842
|
-
* Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
|
|
843
|
-
*/
|
|
844
|
-
options?: {
|
|
845
|
-
[k: string]: any;
|
|
846
|
-
};
|
|
847
|
-
}
|
|
848
|
-
/**
|
|
849
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
850
|
-
* via the `definition` "parameterConfigForSearchParams".
|
|
851
|
-
*/
|
|
852
|
-
export interface ParameterConfigForSearchParamsV3_47_0 {
|
|
853
|
-
ops: ParameterOpListV3_47_0;
|
|
854
|
-
serialize?: ParameterSerializeConfigForSearchParamsV3_47_0;
|
|
855
|
-
}
|
|
856
|
-
/**
|
|
857
|
-
* Top-level paths to use search params serialization options for.
|
|
858
|
-
*
|
|
859
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
860
|
-
* via the `definition` "parameterSerializeConfigForSearchParams".
|
|
861
|
-
*/
|
|
862
|
-
export interface ParameterSerializeConfigForSearchParamsV3_47_0 {
|
|
863
|
-
defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_47_0 | ParameterSerializeContentOptionsV3_47_0;
|
|
864
|
-
paths?: {
|
|
865
|
-
/**
|
|
866
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
867
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
868
|
-
*/
|
|
869
|
-
[k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_47_0 | ParameterSerializeContentOptionsV3_47_0;
|
|
870
|
-
};
|
|
871
|
-
}
|
|
872
|
-
/**
|
|
873
|
-
* Options to be passed to the serialization routine.
|
|
874
|
-
*
|
|
875
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
876
|
-
* via the `definition` "parameterSerializeStyleOptionsForSearchParams".
|
|
877
|
-
*/
|
|
878
|
-
export interface ParameterSerializeStyleOptionsForSearchParamsV3_47_0 {
|
|
879
|
-
style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
|
|
880
|
-
explode?: boolean;
|
|
881
|
-
allowEmptyValue?: boolean;
|
|
882
|
-
/**
|
|
883
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
884
|
-
*/
|
|
885
|
-
allowReserved?: boolean;
|
|
886
|
-
skipEncoding?: boolean;
|
|
887
|
-
}
|
|
888
|
-
/**
|
|
889
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
890
|
-
* via the `definition` "restResolver".
|
|
891
|
-
*/
|
|
892
|
-
export interface RestResolverV3_47_0 {
|
|
893
|
-
if?: string;
|
|
894
|
-
id?: string;
|
|
895
|
-
name: RestResolverNameV3_47_0;
|
|
896
|
-
/**
|
|
897
|
-
* Configuration for a service to use with this resolver.
|
|
898
|
-
*/
|
|
899
|
-
service: string;
|
|
900
|
-
argsMapping?: ArgsMappingV3_47_0;
|
|
901
|
-
searchParamsMapping?: SearchParamsMappingV3_47_0;
|
|
902
|
-
resultsMapping?: ResultsMappingV3_47_0;
|
|
903
|
-
options?: RestResolverOptionsV3_47_0;
|
|
904
|
-
body?: ParameterConfigForBodyV3_47_0;
|
|
905
|
-
form?: ParameterConfigForSearchParamsV3_47_0;
|
|
906
|
-
headers?: ParameterConfigForHeadersV3_47_0;
|
|
907
|
-
json?: ParameterConfigForJsonV3_47_0;
|
|
908
|
-
/**
|
|
909
|
-
* Mapping and serialization configuration for the path, or a simple string.
|
|
910
|
-
*/
|
|
911
|
-
path: ParameterConfigForPathParamsV3_47_0 | string;
|
|
912
|
-
searchParams?: ParameterConfigForSearchParamsV3_47_0;
|
|
913
|
-
args?: ParameterConfigForJsonV3_47_0;
|
|
914
|
-
results?: ParameterConfigForJsonV3_47_0;
|
|
915
|
-
}
|
|
916
|
-
export interface RestResolverOptionsV3_47_0 {
|
|
917
|
-
trailingSlash?: boolean;
|
|
918
|
-
allowStream?: boolean;
|
|
919
|
-
ttl?: number;
|
|
920
|
-
timeout?: number;
|
|
921
|
-
retry?: number | {
|
|
922
|
-
[k: string]: any;
|
|
923
|
-
};
|
|
924
|
-
[k: string]: any;
|
|
925
|
-
}
|
|
926
|
-
/**
|
|
927
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
928
|
-
* via the `definition` "parameterConfigForBody".
|
|
929
|
-
*/
|
|
930
|
-
export interface ParameterConfigForBodyV3_47_0 {
|
|
931
|
-
ops: ParameterOpListV3_47_0;
|
|
932
|
-
serialize?: ParameterSerializeConfigForBodyV3_47_0;
|
|
933
|
-
}
|
|
934
|
-
/**
|
|
935
|
-
* Top-level paths to use serialization options for.
|
|
936
|
-
*
|
|
937
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
938
|
-
* via the `definition` "parameterSerializeConfigForBody".
|
|
939
|
-
*/
|
|
940
|
-
export interface ParameterSerializeConfigForBodyV3_47_0 {
|
|
941
|
-
content?: ParameterSerializeContentOptionsV3_47_0;
|
|
942
|
-
}
|
|
943
|
-
/**
|
|
944
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
945
|
-
* via the `definition` "parameterConfigForPathParams".
|
|
946
|
-
*/
|
|
947
|
-
export interface ParameterConfigForPathParamsV3_47_0 {
|
|
948
|
-
ops: ParameterOpListV3_47_0;
|
|
949
|
-
serialize: ParameterSerializeConfigForPathParamsV3_47_0;
|
|
950
|
-
}
|
|
951
|
-
/**
|
|
952
|
-
* Top-level paths to use path params serialization options for.
|
|
953
|
-
*
|
|
954
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
955
|
-
* via the `definition` "parameterSerializeConfigForPathParams".
|
|
956
|
-
*/
|
|
957
|
-
export interface ParameterSerializeConfigForPathParamsV3_47_0 {
|
|
958
|
-
/**
|
|
959
|
-
* For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
|
|
960
|
-
*/
|
|
961
|
-
template: string;
|
|
962
|
-
defaults?: ParameterSerializeStyleOptionsForPathParamsV3_47_0 | ParameterSerializeContentOptionsV3_47_0;
|
|
963
|
-
paths?: {
|
|
964
|
-
/**
|
|
965
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
966
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
967
|
-
*/
|
|
968
|
-
[k: string]: ParameterSerializeStyleOptionsForPathParamsV3_47_0 | ParameterSerializeContentOptionsV3_47_0;
|
|
969
|
-
};
|
|
970
|
-
}
|
|
971
|
-
/**
|
|
972
|
-
* Options to be passed to the serialization routine.
|
|
973
|
-
*
|
|
974
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
975
|
-
* via the `definition` "parameterSerializeStyleOptionsForPathParams".
|
|
976
|
-
*/
|
|
977
|
-
export interface ParameterSerializeStyleOptionsForPathParamsV3_47_0 {
|
|
978
|
-
style: 'simple' | 'label' | 'matrix' | 'none';
|
|
979
|
-
explode?: boolean;
|
|
980
|
-
allowEmptyValue?: boolean;
|
|
981
|
-
/**
|
|
982
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
983
|
-
*/
|
|
984
|
-
allowReserved?: boolean;
|
|
985
|
-
skipEncoding?: boolean;
|
|
986
|
-
}
|
|
987
|
-
/**
|
|
988
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
989
|
-
* via the `definition` "awsLambdaResolver".
|
|
990
|
-
*/
|
|
991
|
-
export interface AwsLambdaResolverV3_47_0 {
|
|
992
|
-
if?: string;
|
|
993
|
-
id?: string;
|
|
994
|
-
name: AwsLambdaResolverNameV3_47_0;
|
|
995
|
-
/**
|
|
996
|
-
* Configuration for a service to use with this resolver.
|
|
997
|
-
*/
|
|
998
|
-
service: string;
|
|
999
|
-
options?: AwsLambdaResolverOptionsV3_47_0;
|
|
1000
|
-
payload?: ParameterConfigForJsonV3_47_0;
|
|
1001
|
-
/**
|
|
1002
|
-
* Mapping configuration for the FunctionName.
|
|
1003
|
-
*/
|
|
1004
|
-
functionName: string | ParameterConfigForAwsLambdaV3_47_0;
|
|
1005
|
-
clientContext?: ParameterConfigForJsonV3_47_0;
|
|
1006
|
-
args?: ParameterConfigForJsonV3_47_0;
|
|
1007
|
-
results?: ParameterConfigForJsonV3_47_0;
|
|
1008
|
-
argsMapping?: ArgsMappingV3_47_0;
|
|
1009
|
-
searchParamsMapping?: SearchParamsMappingV3_47_0;
|
|
1010
|
-
resultsMapping?: ResultsMappingV3_47_0;
|
|
1011
|
-
}
|
|
1012
|
-
export interface AwsLambdaResolverOptionsV3_47_0 {
|
|
1013
|
-
[k: string]: any;
|
|
1014
|
-
}
|
|
1015
|
-
/**
|
|
1016
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1017
|
-
* via the `definition` "parameterConfigForAwsLambda".
|
|
1018
|
-
*/
|
|
1019
|
-
export interface ParameterConfigForAwsLambdaV3_47_0 {
|
|
1020
|
-
ops: ParameterOpListV3_47_0;
|
|
1021
|
-
serialize: ParameterSerializeConfigForPathParamsV3_47_0;
|
|
1022
|
-
}
|
|
1023
|
-
/**
|
|
1024
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1025
|
-
* via the `definition` "salsifyResolver".
|
|
1026
|
-
*/
|
|
1027
|
-
export interface SalsifyResolverV3_47_0 {
|
|
1028
|
-
if?: string;
|
|
1029
|
-
id?: string;
|
|
1030
|
-
name: SalsifyResolverNameV3_47_0;
|
|
1031
|
-
/**
|
|
1032
|
-
* Configuration for a service to use with this resolver.
|
|
1033
|
-
*/
|
|
1034
|
-
service: string;
|
|
1035
|
-
options?: SalsifyResolverOptionsV3_47_0;
|
|
1036
|
-
args?: ParameterConfigForJsonV3_47_0;
|
|
1037
|
-
results?: ParameterConfigForJsonV3_47_0;
|
|
1038
|
-
argsMapping?: ArgsMappingV3_47_0;
|
|
1039
|
-
resultsMapping?: ResultsMappingV3_47_0;
|
|
1040
|
-
}
|
|
1041
|
-
export interface SalsifyResolverOptionsV3_47_0 {
|
|
1042
|
-
[k: string]: any;
|
|
1043
|
-
}
|
|
1044
|
-
/**
|
|
1045
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1046
|
-
* via the `definition` "functionResolver".
|
|
1047
|
-
*/
|
|
1048
|
-
export interface FunctionResolverV3_47_0 {
|
|
1049
|
-
if?: string;
|
|
1050
|
-
id?: string;
|
|
1051
|
-
name: FunctionResolverNameV3_47_0;
|
|
1052
|
-
options?: FunctionResolverOptionsV3_47_0;
|
|
1053
|
-
args?: ParameterConfigForJsonV3_47_0;
|
|
1054
|
-
results?: ParameterConfigForJsonV3_47_0;
|
|
1055
|
-
argsMapping?: ArgsMappingV3_47_0;
|
|
1056
|
-
resultsMapping?: ResultsMappingV3_47_0;
|
|
1057
|
-
javascript?: FunctionResolverJavascriptV3_47_0;
|
|
1058
|
-
}
|
|
1059
|
-
export interface FunctionResolverOptionsV3_47_0 {
|
|
1060
|
-
[k: string]: any;
|
|
1061
|
-
}
|
|
1062
|
-
/**
|
|
1063
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1064
|
-
* via the `definition` "aiGenerateTextResolver".
|
|
1065
|
-
*/
|
|
1066
|
-
export interface AIGenerateTextResolverV3_47_0 {
|
|
1067
|
-
if?: string;
|
|
1068
|
-
id?: string;
|
|
1069
|
-
name: AIResolverNameV3_47_0;
|
|
1070
|
-
/**
|
|
1071
|
-
* Configuration for a service to use with this resolver.
|
|
1072
|
-
*/
|
|
1073
|
-
service: string;
|
|
1074
|
-
options?: AIGenerateTextResolverOptionsV3_47_0;
|
|
1075
|
-
systemPrompt: string;
|
|
1076
|
-
inputTemplate?: string;
|
|
1077
|
-
model: string;
|
|
1078
|
-
tools?: (string | AIToolConfigV3_47_0)[];
|
|
1079
|
-
guardrails?: AIGuardrailV3_47_0[];
|
|
1080
|
-
context?: ParameterConfigForJsonV3_47_0;
|
|
1081
|
-
results?: ParameterConfigForJsonV3_47_0;
|
|
1082
|
-
}
|
|
1083
|
-
/**
|
|
1084
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1085
|
-
* via the `definition` "aiGenerateTextResolverOptions".
|
|
1086
|
-
*/
|
|
1087
|
-
export interface AIGenerateTextResolverOptionsV3_47_0 {
|
|
1088
|
-
history?: HistoryV3_47_0;
|
|
1089
|
-
maxTokens?: MaximumTokensV3_47_0;
|
|
1090
|
-
temperature?: TemperatureV3_47_0;
|
|
1091
|
-
topP?: TopPV3_47_0;
|
|
1092
|
-
topK?: TopKV3_47_0;
|
|
1093
|
-
presencePenalty?: PresencePenaltySettingV3_47_0;
|
|
1094
|
-
frequencyPenalty?: FrequencyPenaltySettingV3_47_0;
|
|
1095
|
-
stopSequences?: StopSequencesV3_47_0;
|
|
1096
|
-
seed?: SeedV3_47_0;
|
|
1097
|
-
/**
|
|
1098
|
-
* Maximum number of retries. Set to 0 to disable retries. Defaults to 2
|
|
1099
|
-
*/
|
|
1100
|
-
maxRetries?: number;
|
|
1101
|
-
/**
|
|
1102
|
-
* The tool choice strategy. Default: 'auto'
|
|
1103
|
-
*/
|
|
1104
|
-
toolChoice?: (('auto' | 'none' | 'required') | string) & string;
|
|
1105
|
-
/**
|
|
1106
|
-
* Maximal number of automatic roundtrips for tool calls.
|
|
1107
|
-
*/
|
|
1108
|
-
maxToolRoundtrips?: number;
|
|
1109
|
-
[k: string]: any;
|
|
1110
|
-
}
|
|
1111
|
-
/**
|
|
1112
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1113
|
-
* via the `definition` "aiToolConfig".
|
|
1114
|
-
*/
|
|
1115
|
-
export interface AIToolConfigV3_47_0 {
|
|
1116
|
-
ref: string;
|
|
1117
|
-
selectionSet?: string;
|
|
1118
|
-
}
|
|
1119
|
-
/**
|
|
1120
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1121
|
-
* via the `definition` "aiSimilarityGuardrail".
|
|
1122
|
-
*/
|
|
1123
|
-
export interface AISimilarityGuardrailV3_47_0 {
|
|
1124
|
-
name: 'similarity';
|
|
1125
|
-
shape: string;
|
|
1126
|
-
defaultResponse: string;
|
|
1127
|
-
threshold?: number;
|
|
1128
|
-
}
|
|
1129
|
-
/**
|
|
1130
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1131
|
-
* via the `definition` "aiEmbeddingResolver".
|
|
1132
|
-
*/
|
|
1133
|
-
export interface AIEmbeddingResolverV3_47_0 {
|
|
1134
|
-
if?: string;
|
|
1135
|
-
id?: string;
|
|
1136
|
-
name: AIResolverNameV3_47_01;
|
|
1137
|
-
/**
|
|
1138
|
-
* Configuration for a service to use with this resolver.
|
|
1139
|
-
*/
|
|
1140
|
-
service: string;
|
|
1141
|
-
options?: AIEmbeddingResolverOptionsV3_47_0;
|
|
1142
|
-
model: string;
|
|
1143
|
-
args?: ParameterConfigForJsonV3_47_0;
|
|
1144
|
-
results?: ParameterConfigForJsonV3_47_0;
|
|
1145
|
-
}
|
|
1146
|
-
/**
|
|
1147
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1148
|
-
* via the `definition` "aiEmbeddingResolverOptions".
|
|
1149
|
-
*/
|
|
1150
|
-
export interface AIEmbeddingResolverOptionsV3_47_0 {
|
|
1151
|
-
useDependencies?: boolean;
|
|
1152
|
-
[k: string]: any;
|
|
1153
|
-
}
|
|
1154
|
-
/**
|
|
1155
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1156
|
-
* via the `definition` "aiParseFileResolver".
|
|
1157
|
-
*/
|
|
1158
|
-
export interface AIParseFileResolverV3_47_0 {
|
|
1159
|
-
if?: string;
|
|
1160
|
-
id?: string;
|
|
1161
|
-
name: AIResolverNameV3_47_02;
|
|
1162
|
-
/**
|
|
1163
|
-
* Configuration for a service to use with this resolver.
|
|
1164
|
-
*/
|
|
1165
|
-
service: string;
|
|
1166
|
-
options?: AIEmbeddingResolverOptionsV3_47_0;
|
|
1167
|
-
args?: ParameterConfigForJsonV3_47_0;
|
|
1168
|
-
results?: ParameterConfigForJsonV3_47_0;
|
|
1169
|
-
}
|
|
1170
|
-
/**
|
|
1171
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1172
|
-
* via the `definition` "composeResolver".
|
|
1173
|
-
*/
|
|
1174
|
-
export interface ComposeResolverV3_47_0 {
|
|
1175
|
-
compose: BasicResolverV3_47_0[];
|
|
1176
|
-
resultsMapping?: DirectiveMappingMapV3_47_0 | DirectiveConfigV3_47_0;
|
|
1177
|
-
results?: ParameterConfigForJsonV3_47_0;
|
|
1178
|
-
}
|
|
1179
|
-
/**
|
|
1180
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1181
|
-
* via the `definition` "indexed".
|
|
1182
|
-
*/
|
|
1183
|
-
export interface IndexedV3_47_0 {
|
|
1184
|
-
nested?: boolean;
|
|
1185
|
-
}
|
|
1186
|
-
/**
|
|
1187
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1188
|
-
* via the `definition` "graphql".
|
|
1189
|
-
*/
|
|
1190
|
-
export interface GraphQLConfigV3_47_0 {
|
|
1191
|
-
json?: boolean;
|
|
1192
|
-
}
|
|
1193
|
-
/**
|
|
1194
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1195
|
-
* via the `definition` "shapeMap".
|
|
1196
|
-
*/
|
|
1197
|
-
export interface ShapeMapV3_47_0 {
|
|
1198
|
-
[k: string]: ShapeJSONV3_47_0;
|
|
1199
|
-
}
|
|
1200
|
-
/**
|
|
1201
|
-
* A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
|
|
1202
|
-
*
|
|
1203
|
-
* This interface was referenced by `ShapeMapV3_47_0`'s JSON-Schema definition
|
|
1204
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1205
|
-
*
|
|
1206
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1207
|
-
* via the `definition` "shape".
|
|
1208
|
-
*/
|
|
1209
|
-
export interface ShapeJSONV3_47_0 {
|
|
1210
|
-
/**
|
|
1211
|
-
* 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
|
|
1212
|
-
*/
|
|
1213
|
-
name: string;
|
|
1214
|
-
/**
|
|
1215
|
-
* 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.
|
|
1216
|
-
*/
|
|
1217
|
-
id: string;
|
|
1218
|
-
/**
|
|
1219
|
-
* The human-readable name for a Shape for use in a UI.
|
|
1220
|
-
*/
|
|
1221
|
-
title: string;
|
|
1222
|
-
description?: string;
|
|
1223
|
-
type?: 'interface' | 'input' | 'output';
|
|
1224
|
-
interfaces?: string[];
|
|
1225
|
-
/**
|
|
1226
|
-
* Specifying a model type allows Shape data to be stored in TakeShape's built-in database
|
|
1227
|
-
*/
|
|
1228
|
-
model?: {
|
|
1229
|
-
type: ModelTypeV3_47_0;
|
|
1230
|
-
};
|
|
1231
|
-
workflow?: string;
|
|
1232
|
-
loaders?: ShapeLoadersV3_47_0;
|
|
1233
|
-
joins?: ShapeJoinsV3_47_0;
|
|
1234
|
-
cache?: ShapeCacheConfigV3_47_0;
|
|
1235
|
-
schema: ShapeSchemaV3_47_0;
|
|
1236
|
-
}
|
|
1237
|
-
/**
|
|
1238
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1239
|
-
* via the `definition` "shapeLoaders".
|
|
1240
|
-
*/
|
|
1241
|
-
export interface ShapeLoadersV3_47_0 {
|
|
1242
|
-
list: StoredListQueryLoaderConfigV3_47_0 | StoredListQueryLoaderConfigV3_47_0[];
|
|
1243
|
-
get?: GetQueryLoaderConfigV3_47_0;
|
|
1244
|
-
}
|
|
1245
|
-
/**
|
|
1246
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1247
|
-
* via the `definition` "storedListQueryLoaderConfig".
|
|
1248
|
-
*/
|
|
1249
|
-
export interface StoredListQueryLoaderConfigV3_47_0 {
|
|
1250
|
-
query: string;
|
|
1251
|
-
args?: {
|
|
1252
|
-
[k: string]: any;
|
|
1253
|
-
} | {
|
|
1254
|
-
[k: string]: any;
|
|
1255
|
-
}[];
|
|
1256
|
-
pagination?: PaginationConfigV3_47_0;
|
|
1257
|
-
}
|
|
1258
|
-
/**
|
|
1259
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1260
|
-
* via the `definition` "paginationCursorConfig".
|
|
1261
|
-
*/
|
|
1262
|
-
export interface PaginationCursorConfigV3_47_0 {
|
|
1263
|
-
type: 'cursor';
|
|
1264
|
-
cursorArg: string;
|
|
1265
|
-
cursorPath: string;
|
|
1266
|
-
pageSize?: number;
|
|
1267
|
-
pageSizeArg: string;
|
|
1268
|
-
hasMorePath: string;
|
|
1269
|
-
itemsPath: string;
|
|
1270
|
-
}
|
|
1271
|
-
/**
|
|
1272
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1273
|
-
* via the `definition` "paginationPageConfig".
|
|
1274
|
-
*/
|
|
1275
|
-
export interface PaginationPageConfigV3_47_0 {
|
|
1276
|
-
type: 'page';
|
|
1277
|
-
pageArg: string;
|
|
1278
|
-
pageSize?: number;
|
|
1279
|
-
pageSizeArg?: string;
|
|
1280
|
-
itemsPath: string;
|
|
1281
|
-
pageTotalPath: string;
|
|
1282
|
-
}
|
|
1283
|
-
/**
|
|
1284
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1285
|
-
* via the `definition` "paginationOffsetConfig".
|
|
1286
|
-
*/
|
|
1287
|
-
export interface PaginationOffsetConfigV3_47_0 {
|
|
1288
|
-
type: 'offset';
|
|
1289
|
-
offsetArg: string;
|
|
1290
|
-
pageSize?: number;
|
|
1291
|
-
pageSizeArg?: string;
|
|
1292
|
-
itemsPath: string;
|
|
1293
|
-
itemTotalPath: string;
|
|
1294
|
-
}
|
|
1295
|
-
/**
|
|
1296
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1297
|
-
* via the `definition` "getQueryLoaderConfig".
|
|
1298
|
-
*/
|
|
1299
|
-
export interface GetQueryLoaderConfigV3_47_0 {
|
|
1300
|
-
query: string;
|
|
1301
|
-
args?: {
|
|
1302
|
-
[k: string]: any;
|
|
1303
|
-
};
|
|
1304
|
-
idArg?: string;
|
|
1305
|
-
}
|
|
1306
|
-
/**
|
|
1307
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1308
|
-
* via the `definition` "shapeJoins".
|
|
1309
|
-
*/
|
|
1310
|
-
export interface ShapeJoinsV3_47_0 {
|
|
1311
|
-
[k: string]: ShapeJoinV3_47_0;
|
|
1312
|
-
}
|
|
1313
|
-
/**
|
|
1314
|
-
* This interface was referenced by `ShapeJoinsV3_47_0`'s JSON-Schema definition
|
|
1315
|
-
* via the `patternProperty` "[:0-9A-Za-z_-]+".
|
|
1316
|
-
*
|
|
1317
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1318
|
-
* via the `definition` "shapeJoin".
|
|
1319
|
-
*/
|
|
1320
|
-
export interface ShapeJoinV3_47_0 {
|
|
1321
|
-
resolver: DelegateResolverV3_47_0 | ShapedbResolverV3_47_0;
|
|
1322
|
-
dependencies?: string;
|
|
1323
|
-
}
|
|
1324
|
-
/**
|
|
1325
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1326
|
-
* via the `definition` "shapeCacheConfig".
|
|
1327
|
-
*/
|
|
1328
|
-
export interface ShapeCacheConfigV3_47_0 {
|
|
1329
|
-
enabled: boolean;
|
|
1330
|
-
idField?: string;
|
|
1331
|
-
searchSummaryField?: string;
|
|
1332
|
-
fragment?: CachedFragmentConfigV3_47_0;
|
|
1333
|
-
triggers?: CacheTriggerConfigV3_47_0[];
|
|
1334
|
-
/**
|
|
1335
|
-
* Number of seconds this Shape should be cached. Default 0.
|
|
1336
|
-
*/
|
|
1337
|
-
maxAge?: number;
|
|
1338
|
-
}
|
|
1339
|
-
/**
|
|
1340
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1341
|
-
* via the `definition` "cachedFragmentConfig".
|
|
1342
|
-
*/
|
|
1343
|
-
export interface CachedFragmentConfigV3_47_0 {
|
|
1344
|
-
ignoreFields?: string[];
|
|
1345
|
-
maxDepth?: number;
|
|
1346
|
-
selectionSet?: string;
|
|
1347
|
-
includeDeprecated?: boolean;
|
|
1348
|
-
}
|
|
1349
|
-
/**
|
|
1350
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1351
|
-
* via the `definition` "cacheScheduleTriggerConfig".
|
|
1352
|
-
*/
|
|
1353
|
-
export interface CacheScheduleTriggerConfigV3_47_0 {
|
|
1354
|
-
type: 'schedule';
|
|
1355
|
-
loader: 'get' | 'list';
|
|
1356
|
-
interval: number;
|
|
1357
|
-
}
|
|
1358
|
-
/**
|
|
1359
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1360
|
-
* via the `definition` "cacheWebhookTriggerConfig".
|
|
1361
|
-
*/
|
|
1362
|
-
export interface CacheWebhookTriggerConfigV3_47_0 {
|
|
1363
|
-
type: 'webhook';
|
|
1364
|
-
loader: 'get' | 'list';
|
|
1365
|
-
service: string;
|
|
1366
|
-
events: string[];
|
|
1367
|
-
}
|
|
1368
|
-
/**
|
|
1369
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1370
|
-
* via the `definition` "shapeSchemaAllOf".
|
|
1371
|
-
*/
|
|
1372
|
-
export interface ShapeSchemaAllOfV3_47_0 {
|
|
1373
|
-
allOf: ObjectOrRefArrayV3_47_0;
|
|
1374
|
-
}
|
|
1375
|
-
/**
|
|
1376
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1377
|
-
* via the `definition` "shapeSchemaExtends".
|
|
1378
|
-
*/
|
|
1379
|
-
export interface ShapeSchemaExtendsV3_47_0 {
|
|
1380
|
-
extends: ObjectOrRefArrayV3_47_0;
|
|
1381
|
-
}
|
|
1382
|
-
/**
|
|
1383
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1384
|
-
* via the `definition` "shapeSchemaOneOf".
|
|
1385
|
-
*/
|
|
1386
|
-
export interface ShapeSchemaOneOfV3_47_0 {
|
|
1387
|
-
oneOf: ObjectOrRefArrayV3_47_0;
|
|
1388
|
-
}
|
|
1389
|
-
/**
|
|
1390
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1391
|
-
* via the `definition` "shapeSchemaEnum".
|
|
1392
|
-
*/
|
|
1393
|
-
export interface ShapeSchemaEnumV3_47_0 {
|
|
1394
|
-
enum: any[];
|
|
1395
|
-
}
|
|
1396
|
-
/**
|
|
1397
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1398
|
-
* via the `definition` "shapeSchemaAny".
|
|
1399
|
-
*/
|
|
1400
|
-
export interface ShapeSchemaAnyV3_47_0 {
|
|
1401
|
-
}
|
|
1402
|
-
/**
|
|
1403
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1404
|
-
* via the `definition` "formMap".
|
|
1405
|
-
*/
|
|
1406
|
-
export interface FormMapV3_47_0 {
|
|
1407
|
-
[k: string]: FormsConfigV3_47_0;
|
|
1408
|
-
}
|
|
1409
|
-
/**
|
|
1410
|
-
* This interface was referenced by `FormMapV3_47_0`'s JSON-Schema definition
|
|
1411
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1412
|
-
*
|
|
1413
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1414
|
-
* via the `definition` "formsConfig".
|
|
1415
|
-
*/
|
|
1416
|
-
export interface FormsConfigV3_47_0 {
|
|
1417
|
-
default: FormConfigV3_47_0;
|
|
1418
|
-
[k: string]: FormConfigV3_47_0;
|
|
1419
|
-
}
|
|
1420
|
-
/**
|
|
1421
|
-
* This interface was referenced by `FormsConfigV3_47_0`'s JSON-Schema definition
|
|
1422
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1423
|
-
*
|
|
1424
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1425
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1426
|
-
*
|
|
1427
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1428
|
-
* via the `definition` "formConfig".
|
|
1429
|
-
*/
|
|
1430
|
-
export interface FormConfigV3_47_0 {
|
|
1431
|
-
[k: string]: any;
|
|
1432
|
-
}
|
|
1433
|
-
/**
|
|
1434
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1435
|
-
* via the `definition` "workflowMap".
|
|
1436
|
-
*/
|
|
1437
|
-
export interface WorkflowMapV3_47_0 {
|
|
1438
|
-
[k: string]: WorkflowV3_47_0;
|
|
1439
|
-
}
|
|
1440
|
-
/**
|
|
1441
|
-
* This interface was referenced by `WorkflowMapV3_47_0`'s JSON-Schema definition
|
|
1442
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1443
|
-
*
|
|
1444
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1445
|
-
* via the `definition` "workflow".
|
|
1446
|
-
*/
|
|
1447
|
-
export interface WorkflowV3_47_0 {
|
|
1448
|
-
/**
|
|
1449
|
-
* machine-readable id
|
|
1450
|
-
*/
|
|
1451
|
-
name: string;
|
|
1452
|
-
title: WorkflowNameV3_47_0;
|
|
1453
|
-
steps: StepsV3_47_0;
|
|
1454
|
-
[k: string]: any;
|
|
1455
|
-
}
|
|
1456
|
-
/**
|
|
1457
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1458
|
-
* via the `definition` "workflowStep".
|
|
1459
|
-
*/
|
|
1460
|
-
export interface WorkflowStepV3_47_0 {
|
|
1461
|
-
name: NameV3_47_0;
|
|
1462
|
-
title: TitleV3_47_0;
|
|
1463
|
-
description?: DescriptionV3_47_0;
|
|
1464
|
-
color: ColorV3_47_0;
|
|
1465
|
-
live: LiveV3_47_0;
|
|
1466
|
-
key: KeyV3_47_0;
|
|
1467
|
-
}
|
|
1468
|
-
/**
|
|
1469
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1470
|
-
* via the `definition` "storedServiceMap".
|
|
1471
|
-
*/
|
|
1472
|
-
export interface ServiceMapJSONV3_47_0 {
|
|
1473
|
-
[k: string]: ServiceConfigJSONV3_47_0;
|
|
1474
|
-
}
|
|
1475
|
-
/**
|
|
1476
|
-
* This interface was referenced by `ServiceMapJSONV3_47_0`'s JSON-Schema definition
|
|
1477
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1478
|
-
*
|
|
1479
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1480
|
-
* via the `definition` "storedServiceConfig".
|
|
1481
|
-
*/
|
|
1482
|
-
export interface ServiceConfigJSONV3_47_0 {
|
|
1483
|
-
/**
|
|
1484
|
-
* Machine-readable identifier, should typically be the same as the property name on the services object.
|
|
1485
|
-
*/
|
|
1486
|
-
id: string;
|
|
1487
|
-
/**
|
|
1488
|
-
* Human-readable name for this service.
|
|
1489
|
-
*/
|
|
1490
|
-
title: string;
|
|
1491
|
-
/**
|
|
1492
|
-
* The service provider id.
|
|
1493
|
-
*/
|
|
1494
|
-
provider: string;
|
|
1495
|
-
/**
|
|
1496
|
-
* A namespace to use for the imported types tied to this service.
|
|
1497
|
-
*/
|
|
1498
|
-
namespace?: string;
|
|
1499
|
-
serviceType: ServiceTypeV3_47_0;
|
|
1500
|
-
authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
|
|
1501
|
-
authentication?: string;
|
|
1502
|
-
healthCheck?: ServiceHealthCheckV3_47_0;
|
|
1503
|
-
webhookId?: string;
|
|
1504
|
-
/**
|
|
1505
|
-
* Configuration options passed to and handled by the provider.
|
|
1506
|
-
*/
|
|
1507
|
-
options?: {
|
|
1508
|
-
[k: string]: any;
|
|
1509
|
-
};
|
|
1510
|
-
}
|
|
1511
|
-
/**
|
|
1512
|
-
* Configuration for ping health checks.
|
|
1513
|
-
*
|
|
1514
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1515
|
-
* via the `definition` "serviceHealthCheck".
|
|
1516
|
-
*/
|
|
1517
|
-
export interface ServiceHealthCheckV3_47_0 {
|
|
1518
|
-
checkName: CheckNameV3_47_0;
|
|
1519
|
-
endpoint?: EndpointV3_47_0;
|
|
1520
|
-
requestMethod?: RequestMethodV3_47_0;
|
|
1521
|
-
requestHeaders?: RequestHeadersV3_47_0;
|
|
1522
|
-
requestSearchParams?: RequestSearchParamsV3_47_0;
|
|
1523
|
-
requestBody?: RequestBodyV3_47_0;
|
|
1524
|
-
requestBodyFormat?: RequestBodyFormatV3_47_0;
|
|
1525
|
-
requestTimeout?: RequestTimeoutV3_47_0;
|
|
1526
|
-
healthyResponseStatusCode?: HealthyResponseStatusCodeV3_47_0;
|
|
1527
|
-
triggers?: ServiceHealthCheckTriggerV3_47_0[];
|
|
1528
|
-
}
|
|
1529
|
-
/**
|
|
1530
|
-
* Any custom headers to set with the health check request.
|
|
1531
|
-
*/
|
|
1532
|
-
export interface RequestHeadersV3_47_0 {
|
|
1533
|
-
[k: string]: any;
|
|
1534
|
-
}
|
|
1535
|
-
/**
|
|
1536
|
-
* Any custom search params to set with the health check request.
|
|
1537
|
-
*/
|
|
1538
|
-
export interface RequestSearchParamsV3_47_0 {
|
|
1539
|
-
[k: string]: any;
|
|
1540
|
-
}
|
|
1541
|
-
/**
|
|
1542
|
-
* All possible options for the more specific ParameterSerializeStyleOptions types.
|
|
1543
|
-
*
|
|
1544
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1545
|
-
* via the `definition` "parameterSerializeStyleOptions".
|
|
1546
|
-
*/
|
|
1547
|
-
export interface ParameterSerializeStyleOptionsV3_47_0 {
|
|
1548
|
-
style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
|
|
1549
|
-
explode?: boolean;
|
|
1550
|
-
allowEmptyValue?: boolean;
|
|
1551
|
-
/**
|
|
1552
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
1553
|
-
*/
|
|
1554
|
-
allowReserved?: boolean;
|
|
1555
|
-
skipEncoding?: boolean;
|
|
1556
|
-
}
|
|
1557
|
-
/**
|
|
1558
|
-
* All possible options for the more specific ParameterSerializeConfig types.
|
|
1559
|
-
*
|
|
1560
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1561
|
-
* via the `definition` "parameterSerializeConfig".
|
|
1562
|
-
*/
|
|
1563
|
-
export interface ParameterSerializeConfigV3_47_0 {
|
|
1564
|
-
content?: ParameterSerializeContentOptionsV3_47_0;
|
|
1565
|
-
defaults?: ParameterSerializeOptionsV3_47_0;
|
|
1566
|
-
paths?: {
|
|
1567
|
-
[k: string]: ParameterSerializeOptionsV3_47_0;
|
|
1568
|
-
};
|
|
1569
|
-
}
|
|
1570
|
-
/**
|
|
1571
|
-
* All possible options for the more specific ParameterConfig types.
|
|
1572
|
-
*
|
|
1573
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1574
|
-
* via the `definition` "parameterConfig".
|
|
1575
|
-
*/
|
|
1576
|
-
export interface ParameterConfigV3_47_0 {
|
|
1577
|
-
ops: ParameterOpListV3_47_0;
|
|
1578
|
-
serialize?: ParameterSerializeConfigV3_47_0;
|
|
1579
|
-
}
|
|
1580
|
-
/**
|
|
1581
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1582
|
-
* via the `definition` "aiParseFileResolverOptions".
|
|
1583
|
-
*/
|
|
1584
|
-
export interface AIParseFileResolverOptionsV3_47_0 {
|
|
1585
|
-
[k: string]: any;
|
|
1586
|
-
}
|
|
1587
|
-
/**
|
|
1588
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1589
|
-
* via the `definition` "listQueryLoaderConfig".
|
|
1590
|
-
*/
|
|
1591
|
-
export interface ListQueryLoaderConfigV3_47_0 {
|
|
1592
|
-
query: string;
|
|
1593
|
-
args?: {
|
|
1594
|
-
[k: string]: any;
|
|
1595
|
-
};
|
|
1596
|
-
pagination?: PaginationConfigV3_47_0;
|
|
1597
|
-
}
|
|
1598
|
-
/**
|
|
1599
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1600
|
-
* via the `definition` "formScalarConfig".
|
|
1601
|
-
*/
|
|
1602
|
-
export interface FormScalarConfigV3_47_0 {
|
|
1603
|
-
widget: string;
|
|
1604
|
-
}
|
|
1605
|
-
/**
|
|
1606
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1607
|
-
* via the `definition` "formObjectConfig".
|
|
1608
|
-
*/
|
|
1609
|
-
export interface FormObjectConfigV3_47_0 {
|
|
1610
|
-
widget?: string;
|
|
1611
|
-
order?: string[];
|
|
1612
|
-
properties?: {
|
|
1613
|
-
[k: string]: FormConfigV3_47_0;
|
|
1614
|
-
};
|
|
1615
|
-
}
|
|
1616
|
-
/**
|
|
1617
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1618
|
-
* via the `definition` "formArrayConfig".
|
|
1619
|
-
*/
|
|
1620
|
-
export interface FormArrayConfigV3_47_0 {
|
|
1621
|
-
widget: string;
|
|
1622
|
-
items: FormConfigV3_47_0;
|
|
1623
|
-
}
|
|
1624
|
-
/**
|
|
1625
|
-
* For use with a custom auth handler on a service provider.
|
|
1626
|
-
*
|
|
1627
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1628
|
-
* via the `definition` "customAuthentication".
|
|
1629
|
-
*/
|
|
1630
|
-
export interface CustomAuthenticationV3_47_0 {
|
|
1631
|
-
type: 'custom';
|
|
1632
|
-
[k: string]: any;
|
|
1633
|
-
}
|
|
1634
|
-
/**
|
|
1635
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1636
|
-
* via the `definition` "searchParamsAuthentication".
|
|
1637
|
-
*/
|
|
1638
|
-
export interface SearchParamsAuthenticationV3_47_0 {
|
|
1639
|
-
type: 'searchParams';
|
|
1640
|
-
params: {
|
|
1641
|
-
name: string;
|
|
1642
|
-
value: string;
|
|
1643
|
-
}[];
|
|
1644
|
-
}
|
|
1645
|
-
/**
|
|
1646
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1647
|
-
* via the `definition` "bearerAuthentication".
|
|
1648
|
-
*/
|
|
1649
|
-
export interface BearerAuthenticationV3_47_0 {
|
|
1650
|
-
type: 'bearer';
|
|
1651
|
-
token: string;
|
|
1652
|
-
prefix?: string;
|
|
1653
|
-
header?: string;
|
|
1654
|
-
}
|
|
1655
|
-
/**
|
|
1656
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1657
|
-
* via the `definition` "oauth2BearerAuthentication".
|
|
1658
|
-
*/
|
|
1659
|
-
export interface OAuth2BearerAuthenticationV3_47_0 {
|
|
1660
|
-
type: 'oauth2Bearer';
|
|
1661
|
-
token: string;
|
|
1662
|
-
prefix?: string;
|
|
1663
|
-
header?: string;
|
|
1664
|
-
scope?: string;
|
|
1665
|
-
expiresAt?: string;
|
|
1666
|
-
}
|
|
1667
|
-
/**
|
|
1668
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1669
|
-
* via the `definition` "basicAuthentication".
|
|
1670
|
-
*/
|
|
1671
|
-
export interface BasicAuthenticationV3_47_0 {
|
|
1672
|
-
type: 'basic';
|
|
1673
|
-
username: string;
|
|
1674
|
-
password: string;
|
|
1675
|
-
useIso8859?: boolean;
|
|
1676
|
-
}
|
|
1677
|
-
/**
|
|
1678
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1679
|
-
* via the `definition` "oauth2Authentication".
|
|
1680
|
-
*/
|
|
1681
|
-
export interface OAuth2AuthenticationV3_47_0 {
|
|
1682
|
-
type: 'oauth2';
|
|
1683
|
-
grantType: 'authorizationCode' | 'clientCredentials';
|
|
1684
|
-
authorizationUrl?: string;
|
|
1685
|
-
accessTokenUrl?: string;
|
|
1686
|
-
clientId: string;
|
|
1687
|
-
clientSecret?: string;
|
|
1688
|
-
scope?: string;
|
|
1689
|
-
usePkce?: boolean;
|
|
1690
|
-
redirectUrl?: string;
|
|
1691
|
-
headerPrefix?: string;
|
|
1692
|
-
audience?: string;
|
|
1693
|
-
resource?: string;
|
|
1694
|
-
}
|
|
1695
|
-
/**
|
|
1696
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1697
|
-
* via the `definition` "awsAuthentication".
|
|
1698
|
-
*/
|
|
1699
|
-
export interface AWSAuthenticationV3_47_0 {
|
|
1700
|
-
type: 'aws';
|
|
1701
|
-
awsAccessKeyId: string;
|
|
1702
|
-
awsSecretAccessKey: string;
|
|
1703
|
-
}
|
|
1704
|
-
/**
|
|
1705
|
-
* This interface was referenced by `ProjectSchemaJSONV3_47_0`'s JSON-Schema
|
|
1706
|
-
* via the `definition` "serviceConfig".
|
|
1707
|
-
*/
|
|
1708
|
-
export interface ServiceConfigV3_47_0 {
|
|
1709
|
-
/**
|
|
1710
|
-
* Machine-readable identifier, should typically be the same as the property name on the services object.
|
|
1711
|
-
*/
|
|
1712
|
-
id: string;
|
|
1713
|
-
/**
|
|
1714
|
-
* Human-readable name for this service.
|
|
1715
|
-
*/
|
|
1716
|
-
title: string;
|
|
1717
|
-
/**
|
|
1718
|
-
* The service provider id.
|
|
1719
|
-
*/
|
|
1720
|
-
provider: string;
|
|
1721
|
-
/**
|
|
1722
|
-
* A namespace to use for the imported types tied to this service.
|
|
1723
|
-
*/
|
|
1724
|
-
namespace?: string;
|
|
1725
|
-
serviceType: ServiceTypeV3_47_0;
|
|
1726
|
-
authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
|
|
1727
|
-
authentication?: ServiceAuthenticationV3_47_0;
|
|
1728
|
-
healthCheck?: ServiceHealthCheckV3_47_0;
|
|
1729
|
-
webhookId?: string;
|
|
1730
|
-
/**
|
|
1731
|
-
* Configuration options passed to and handled by the provider.
|
|
1732
|
-
*/
|
|
1733
|
-
options?: {
|
|
1734
|
-
[k: string]: any;
|
|
1735
|
-
};
|
|
1736
|
-
}
|