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