@takeshape/schema 11.40.0 → 11.41.0
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/dist/cjs/package.json +1 -0
- package/dist/cjs/src/agents.js +58 -0
- package/dist/cjs/src/api-version.js +24 -0
- package/dist/cjs/src/auth-schemas.js +8 -0
- package/dist/cjs/src/builtin-schema.js +616 -0
- package/dist/cjs/src/constants.js +4 -0
- package/dist/cjs/src/content-schema-transform.js +175 -0
- package/dist/cjs/src/create-input-schema.js +67 -0
- package/dist/cjs/src/enum.js +13 -0
- package/dist/cjs/src/flatten-templates.js +27 -0
- package/dist/cjs/src/get-is-leaf.js +60 -0
- package/dist/cjs/src/index.js +60 -0
- package/dist/cjs/src/interfaces.js +97 -0
- package/dist/cjs/src/layers/layers.js +308 -0
- package/dist/cjs/src/layers/refs.js +243 -0
- package/dist/cjs/src/layers/type-utils.js +146 -0
- package/dist/cjs/src/layers/visitor.js +43 -0
- package/dist/cjs/src/migration/index.js +140 -0
- package/dist/cjs/src/migration/to/v3.0.0.js +205 -0
- package/dist/cjs/src/migration/to/v3.1.0.js +197 -0
- package/dist/cjs/src/migration/to/v3.10.0.js +72 -0
- package/dist/cjs/src/migration/to/v3.11.0.js +90 -0
- package/dist/cjs/src/migration/to/v3.12.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.12.1.js +12 -0
- package/dist/cjs/src/migration/to/v3.12.2.js +12 -0
- package/dist/cjs/src/migration/to/v3.12.3.js +92 -0
- package/dist/cjs/src/migration/to/v3.13.0.js +22 -0
- package/dist/cjs/src/migration/to/v3.14.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.15.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.16.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.17.0.js +27 -0
- package/dist/cjs/src/migration/to/v3.17.1.js +12 -0
- package/dist/cjs/src/migration/to/v3.18.0.js +69 -0
- package/dist/cjs/src/migration/to/v3.18.1.js +20 -0
- package/dist/cjs/src/migration/to/v3.18.2.js +24 -0
- package/dist/cjs/src/migration/to/v3.19.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.2.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.20.0.js +26 -0
- package/dist/cjs/src/migration/to/v3.21.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.22.0.js +30 -0
- package/dist/cjs/src/migration/to/v3.23.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.24.0.js +13 -0
- package/dist/cjs/src/migration/to/v3.25.0.js +13 -0
- package/dist/cjs/src/migration/to/v3.26.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.27.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.28.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.29.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.3.0.js +15 -0
- package/dist/cjs/src/migration/to/v3.30.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.31.0.js +43 -0
- package/dist/cjs/src/migration/to/v3.32.0.js +59 -0
- package/dist/cjs/src/migration/to/v3.33.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.34.0.js +127 -0
- package/dist/cjs/src/migration/to/v3.35.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.36.0.js +27 -0
- package/dist/cjs/src/migration/to/v3.37.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.38.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.39.0.js +47 -0
- package/dist/cjs/src/migration/to/v3.4.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.40.0.js +31 -0
- package/dist/cjs/src/migration/to/v3.41.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.42.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.43.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.44.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.45.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.46.0.js +37 -0
- package/dist/cjs/src/migration/to/v3.47.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.48.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.49.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.5.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.5.1.js +12 -0
- package/dist/cjs/src/migration/to/v3.50.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.6.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.7.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.8.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.9.0.js +84 -0
- package/dist/cjs/src/migration/types.js +2 -0
- package/dist/cjs/src/migration/utils.js +11 -0
- package/dist/cjs/src/mocks.js +66 -0
- package/dist/cjs/src/models/project-schema.js +99 -0
- package/dist/cjs/src/models/query.js +35 -0
- package/dist/cjs/src/models/service.js +24 -0
- package/dist/cjs/src/models/shape.js +89 -0
- package/dist/cjs/src/patterns.js +2 -0
- package/dist/cjs/src/project-schema/index.js +154 -0
- package/dist/cjs/src/project-schema/latest.js +8 -0
- package/dist/cjs/src/project-schema/migrate.js +197 -0
- package/dist/cjs/src/project-schema/v1.0.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.0.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.1.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.10.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.11.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.12.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.12.1.js +8 -0
- package/dist/cjs/src/project-schema/v3.12.2.js +8 -0
- package/dist/cjs/src/project-schema/v3.12.3.js +8 -0
- package/dist/cjs/src/project-schema/v3.13.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.13.1.js +8 -0
- package/dist/cjs/src/project-schema/v3.14.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.15.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.16.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.17.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.17.1.js +8 -0
- package/dist/cjs/src/project-schema/v3.18.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.18.1.js +8 -0
- package/dist/cjs/src/project-schema/v3.18.2.js +8 -0
- package/dist/cjs/src/project-schema/v3.19.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.2.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.20.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.21.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.22.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.23.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.24.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.25.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.26.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.27.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.28.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.29.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.3.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.30.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.31.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.32.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.33.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.34.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.35.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.36.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.37.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.38.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.39.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.4.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.40.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.41.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.42.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.43.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.44.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.45.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.46.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.47.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.48.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.49.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.5.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.5.1.js +8 -0
- package/dist/cjs/src/project-schema/v3.50.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.6.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.7.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.8.0.js +8 -0
- package/dist/cjs/src/project-schema/v3.9.0.js +8 -0
- package/dist/cjs/src/project-schema/v4.0.0.js +8 -0
- package/dist/cjs/src/refs.js +662 -0
- package/dist/cjs/src/relationships.js +237 -0
- package/dist/cjs/src/scalars.js +8 -0
- package/dist/cjs/src/schema-transform.js +83 -0
- package/dist/cjs/src/schema-util.js +1133 -0
- package/dist/cjs/src/schemas/index.js +164 -0
- package/dist/cjs/src/services/services.js +156 -0
- package/dist/cjs/src/services/types.js +2 -0
- package/dist/cjs/src/services/util.js +46 -0
- package/dist/cjs/src/taxonomies.js +28 -0
- package/dist/cjs/src/template-shapes/index.js +38 -0
- package/dist/cjs/src/template-shapes/names.js +27 -0
- package/dist/cjs/src/template-shapes/templates.js +325 -0
- package/dist/cjs/src/template-shapes/types.js +10 -0
- package/dist/cjs/src/template-shapes/where.js +403 -0
- package/dist/cjs/src/types/index.js +19 -0
- package/dist/cjs/src/types/transforms.js +2 -0
- package/dist/cjs/src/types/types.js +21 -0
- package/dist/cjs/src/types/utils.js +345 -0
- package/dist/cjs/src/unions.js +90 -0
- package/dist/cjs/src/user-schema.js +8 -0
- package/dist/cjs/src/util/ai-tools.js +11 -0
- package/dist/cjs/src/util/api-indexing.js +62 -0
- package/dist/cjs/src/util/detect-cycles.js +49 -0
- package/dist/cjs/src/util/find-shape-at-path.js +58 -0
- package/dist/cjs/src/util/form-config.js +68 -0
- package/dist/cjs/src/util/get-conflicting-properties.js +59 -0
- package/dist/cjs/src/util/get-return-shape.js +35 -0
- package/dist/cjs/src/util/has-arg.js +18 -0
- package/dist/cjs/src/util/merge.js +261 -0
- package/dist/cjs/src/util/patch-schema.js +50 -0
- package/dist/cjs/src/util/shapes.js +32 -0
- package/dist/cjs/src/validate.js +1087 -0
- package/dist/cjs/src/versions.js +8 -0
- package/dist/cjs/src/workflows.js +76 -0
- package/dist/esm/package.json +1 -0
- package/dist/esm/src/agents.js +49 -0
- package/dist/esm/src/api-version.js +17 -0
- package/dist/esm/src/auth-schemas.js +7 -0
- package/dist/esm/src/builtin-schema.js +610 -0
- package/dist/esm/src/constants.js +1 -0
- package/dist/esm/src/content-schema-transform.js +162 -0
- package/dist/esm/src/create-input-schema.js +60 -0
- package/dist/esm/src/enum.js +9 -0
- package/dist/esm/src/flatten-templates.js +20 -0
- package/dist/esm/src/get-is-leaf.js +56 -0
- package/dist/esm/src/index.js +44 -0
- package/dist/esm/src/interfaces.js +83 -0
- package/dist/esm/src/layers/layers.js +295 -0
- package/dist/esm/src/layers/refs.js +220 -0
- package/dist/esm/src/layers/type-utils.js +118 -0
- package/dist/esm/src/layers/visitor.js +38 -0
- package/dist/esm/src/migration/index.js +120 -0
- package/dist/esm/src/migration/to/v3.0.0.js +200 -0
- package/dist/esm/src/migration/to/v3.1.0.js +192 -0
- package/dist/esm/src/migration/to/v3.10.0.js +67 -0
- package/dist/esm/src/migration/to/v3.11.0.js +85 -0
- package/dist/esm/src/migration/to/v3.12.0.js +10 -0
- package/dist/esm/src/migration/to/v3.12.1.js +10 -0
- package/dist/esm/src/migration/to/v3.12.2.js +10 -0
- package/dist/esm/src/migration/to/v3.12.3.js +87 -0
- package/dist/esm/src/migration/to/v3.13.0.js +17 -0
- package/dist/esm/src/migration/to/v3.14.0.js +10 -0
- package/dist/esm/src/migration/to/v3.15.0.js +10 -0
- package/dist/esm/src/migration/to/v3.16.0.js +10 -0
- package/dist/esm/src/migration/to/v3.17.0.js +22 -0
- package/dist/esm/src/migration/to/v3.17.1.js +10 -0
- package/dist/esm/src/migration/to/v3.18.0.js +64 -0
- package/dist/esm/src/migration/to/v3.18.1.js +15 -0
- package/dist/esm/src/migration/to/v3.18.2.js +19 -0
- package/dist/esm/src/migration/to/v3.19.0.js +10 -0
- package/dist/esm/src/migration/to/v3.2.0.js +10 -0
- package/dist/esm/src/migration/to/v3.20.0.js +21 -0
- package/dist/esm/src/migration/to/v3.21.0.js +10 -0
- package/dist/esm/src/migration/to/v3.22.0.js +25 -0
- package/dist/esm/src/migration/to/v3.23.0.js +10 -0
- package/dist/esm/src/migration/to/v3.24.0.js +11 -0
- package/dist/esm/src/migration/to/v3.25.0.js +11 -0
- package/dist/esm/src/migration/to/v3.26.0.js +10 -0
- package/dist/esm/src/migration/to/v3.27.0.js +10 -0
- package/dist/esm/src/migration/to/v3.28.0.js +10 -0
- package/dist/esm/src/migration/to/v3.29.0.js +10 -0
- package/dist/esm/src/migration/to/v3.3.0.js +13 -0
- package/dist/esm/src/migration/to/v3.30.0.js +10 -0
- package/dist/esm/src/migration/to/v3.31.0.js +38 -0
- package/dist/esm/src/migration/to/v3.32.0.js +57 -0
- package/dist/esm/src/migration/to/v3.33.0.js +10 -0
- package/dist/esm/src/migration/to/v3.34.0.js +119 -0
- package/dist/esm/src/migration/to/v3.35.0.js +10 -0
- package/dist/esm/src/migration/to/v3.36.0.js +22 -0
- package/dist/esm/src/migration/to/v3.37.0.js +10 -0
- package/dist/esm/src/migration/to/v3.38.0.js +10 -0
- package/dist/esm/src/migration/to/v3.39.0.js +45 -0
- package/dist/esm/src/migration/to/v3.4.0.js +10 -0
- package/dist/esm/src/migration/to/v3.40.0.js +26 -0
- package/dist/esm/src/migration/to/v3.41.0.js +10 -0
- package/dist/esm/src/migration/to/v3.42.0.js +10 -0
- package/dist/esm/src/migration/to/v3.43.0.js +10 -0
- package/dist/esm/src/migration/to/v3.44.0.js +10 -0
- package/dist/esm/src/migration/to/v3.45.0.js +10 -0
- package/dist/esm/src/migration/to/v3.46.0.js +35 -0
- package/dist/esm/src/migration/to/v3.47.0.js +10 -0
- package/dist/esm/src/migration/to/v3.48.0.js +10 -0
- package/dist/esm/src/migration/to/v3.49.0.js +10 -0
- package/dist/esm/src/migration/to/v3.5.0.js +10 -0
- package/dist/esm/src/migration/to/v3.5.1.js +10 -0
- package/dist/esm/src/migration/to/v3.50.0.js +10 -0
- package/dist/esm/src/migration/to/v3.6.0.js +10 -0
- package/dist/esm/src/migration/to/v3.7.0.js +10 -0
- package/dist/esm/src/migration/to/v3.8.0.js +10 -0
- package/dist/esm/src/migration/to/v3.9.0.js +79 -0
- package/dist/esm/src/migration/types.js +1 -0
- package/dist/esm/src/migration/utils.js +6 -0
- package/dist/esm/src/mocks.js +58 -0
- package/dist/esm/src/models/project-schema.js +92 -0
- package/dist/esm/src/models/query.js +31 -0
- package/dist/esm/src/models/service.js +20 -0
- package/dist/esm/src/models/shape.js +85 -0
- package/dist/esm/src/patterns.js +1 -0
- package/dist/esm/src/project-schema/index.js +136 -0
- package/dist/esm/src/project-schema/latest.js +7 -0
- package/dist/esm/src/project-schema/migrate.js +192 -0
- package/dist/esm/src/project-schema/v1.0.0.js +7 -0
- package/dist/esm/src/project-schema/v3.0.0.js +7 -0
- package/dist/esm/src/project-schema/v3.1.0.js +7 -0
- package/dist/esm/src/project-schema/v3.10.0.js +7 -0
- package/dist/esm/src/project-schema/v3.11.0.js +7 -0
- package/dist/esm/src/project-schema/v3.12.0.js +7 -0
- package/dist/esm/src/project-schema/v3.12.1.js +7 -0
- package/dist/esm/src/project-schema/v3.12.2.js +7 -0
- package/dist/esm/src/project-schema/v3.12.3.js +7 -0
- package/dist/esm/src/project-schema/v3.13.0.js +7 -0
- package/dist/esm/src/project-schema/v3.13.1.js +7 -0
- package/dist/esm/src/project-schema/v3.14.0.js +7 -0
- package/dist/esm/src/project-schema/v3.15.0.js +7 -0
- package/dist/esm/src/project-schema/v3.16.0.js +7 -0
- package/dist/esm/src/project-schema/v3.17.0.js +7 -0
- package/dist/esm/src/project-schema/v3.17.1.js +7 -0
- package/dist/esm/src/project-schema/v3.18.0.js +7 -0
- package/dist/esm/src/project-schema/v3.18.1.js +7 -0
- package/dist/esm/src/project-schema/v3.18.2.js +7 -0
- package/dist/esm/src/project-schema/v3.19.0.js +7 -0
- package/dist/esm/src/project-schema/v3.2.0.js +7 -0
- package/dist/esm/src/project-schema/v3.20.0.js +7 -0
- package/dist/esm/src/project-schema/v3.21.0.js +7 -0
- package/dist/esm/src/project-schema/v3.22.0.js +7 -0
- package/dist/esm/src/project-schema/v3.23.0.js +7 -0
- package/dist/esm/src/project-schema/v3.24.0.js +7 -0
- package/dist/esm/src/project-schema/v3.25.0.js +7 -0
- package/dist/esm/src/project-schema/v3.26.0.js +7 -0
- package/dist/esm/src/project-schema/v3.27.0.js +7 -0
- package/dist/esm/src/project-schema/v3.28.0.js +7 -0
- package/dist/esm/src/project-schema/v3.29.0.js +7 -0
- package/dist/esm/src/project-schema/v3.3.0.js +7 -0
- package/dist/esm/src/project-schema/v3.30.0.js +7 -0
- package/dist/esm/src/project-schema/v3.31.0.js +7 -0
- package/dist/esm/src/project-schema/v3.32.0.js +7 -0
- package/dist/esm/src/project-schema/v3.33.0.js +7 -0
- package/dist/esm/src/project-schema/v3.34.0.js +7 -0
- package/dist/esm/src/project-schema/v3.35.0.js +7 -0
- package/dist/esm/src/project-schema/v3.36.0.js +7 -0
- package/dist/esm/src/project-schema/v3.37.0.js +7 -0
- package/dist/esm/src/project-schema/v3.38.0.js +7 -0
- package/dist/esm/src/project-schema/v3.39.0.js +7 -0
- package/dist/esm/src/project-schema/v3.4.0.js +7 -0
- package/dist/esm/src/project-schema/v3.40.0.js +7 -0
- package/dist/esm/src/project-schema/v3.41.0.js +7 -0
- package/dist/esm/src/project-schema/v3.42.0.js +7 -0
- package/dist/esm/src/project-schema/v3.43.0.js +7 -0
- package/dist/esm/src/project-schema/v3.44.0.js +7 -0
- package/dist/esm/src/project-schema/v3.45.0.js +7 -0
- package/dist/esm/src/project-schema/v3.46.0.js +7 -0
- package/dist/esm/src/project-schema/v3.47.0.js +7 -0
- package/dist/esm/src/project-schema/v3.48.0.js +7 -0
- package/dist/esm/src/project-schema/v3.49.0.js +7 -0
- package/dist/esm/src/project-schema/v3.5.0.js +7 -0
- package/dist/esm/src/project-schema/v3.5.1.js +7 -0
- package/dist/esm/src/project-schema/v3.50.0.js +7 -0
- package/dist/esm/src/project-schema/v3.6.0.js +7 -0
- package/dist/esm/src/project-schema/v3.7.0.js +7 -0
- package/dist/esm/src/project-schema/v3.8.0.js +7 -0
- package/dist/esm/src/project-schema/v3.9.0.js +7 -0
- package/dist/esm/src/project-schema/v4.0.0.js +7 -0
- package/dist/esm/src/refs.js +598 -0
- package/dist/esm/src/relationships.js +222 -0
- package/dist/esm/src/scalars.js +4 -0
- package/dist/esm/src/schema-transform.js +74 -0
- package/dist/esm/src/schema-util.js +1069 -0
- package/dist/esm/src/schemas/index.js +154 -0
- package/dist/esm/src/services/services.js +144 -0
- package/dist/esm/src/services/types.js +1 -0
- package/dist/esm/src/services/util.js +36 -0
- package/dist/esm/src/taxonomies.js +24 -0
- package/dist/esm/src/template-shapes/index.js +33 -0
- package/dist/esm/src/template-shapes/names.js +21 -0
- package/dist/esm/src/template-shapes/templates.js +313 -0
- package/dist/esm/src/template-shapes/types.js +7 -0
- package/dist/esm/src/template-shapes/where.js +391 -0
- package/dist/esm/src/types/index.js +3 -0
- package/dist/esm/src/types/transforms.js +1 -0
- package/dist/esm/src/types/types.js +18 -0
- package/dist/esm/src/types/utils.js +279 -0
- package/dist/esm/src/unions.js +79 -0
- package/dist/esm/src/user-schema.js +7 -0
- package/dist/esm/src/util/ai-tools.js +6 -0
- package/dist/esm/src/util/api-indexing.js +57 -0
- package/dist/esm/src/util/detect-cycles.js +45 -0
- package/dist/esm/src/util/find-shape-at-path.js +53 -0
- package/dist/esm/src/util/form-config.js +63 -0
- package/dist/esm/src/util/get-conflicting-properties.js +55 -0
- package/dist/esm/src/util/get-return-shape.js +30 -0
- package/dist/esm/src/util/has-arg.js +13 -0
- package/dist/esm/src/util/merge.js +247 -0
- package/dist/esm/src/util/patch-schema.js +42 -0
- package/dist/esm/src/util/shapes.js +22 -0
- package/dist/esm/src/validate.js +1073 -0
- package/dist/esm/src/versions.js +4 -0
- package/dist/esm/src/workflows.js +66 -0
- package/dist/types/src/agents.d.ts +11 -0
- package/dist/types/src/api-version.d.ts +5 -0
- package/dist/types/src/auth-schemas.d.ts +104 -0
- package/dist/types/src/builtin-schema.d.ts +8 -0
- package/dist/types/src/constants.d.ts +1 -0
- package/dist/types/src/content-schema-transform.d.ts +35 -0
- package/dist/types/src/create-input-schema.d.ts +9 -0
- package/dist/types/src/enum.d.ts +2 -0
- package/dist/types/src/flatten-templates.d.ts +2 -0
- package/dist/types/src/get-is-leaf.d.ts +3 -0
- package/dist/types/src/index.d.ts +46 -0
- package/dist/types/src/interfaces.d.ts +12 -0
- package/dist/types/src/layers/layers.d.ts +26 -0
- package/dist/types/src/layers/refs.d.ts +103 -0
- package/dist/types/src/layers/type-utils.d.ts +59 -0
- package/dist/types/src/layers/visitor.d.ts +5 -0
- package/dist/types/src/migration/index.d.ts +63 -0
- package/dist/types/src/migration/to/v3.0.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.1.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.10.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.11.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.12.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.12.1.d.ts +4 -0
- package/dist/types/src/migration/to/v3.12.2.d.ts +4 -0
- package/dist/types/src/migration/to/v3.12.3.d.ts +4 -0
- package/dist/types/src/migration/to/v3.13.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.14.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.15.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.16.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.17.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.17.1.d.ts +4 -0
- package/dist/types/src/migration/to/v3.18.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.18.1.d.ts +4 -0
- package/dist/types/src/migration/to/v3.18.2.d.ts +4 -0
- package/dist/types/src/migration/to/v3.19.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.2.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.20.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.21.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.22.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.23.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.24.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.25.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.26.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.27.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.28.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.29.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.3.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.30.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.31.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.32.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.33.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.34.0.d.ts +6 -0
- package/dist/types/src/migration/to/v3.35.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.36.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.37.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.38.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.39.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.4.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.40.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.41.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.42.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.43.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.44.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.45.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.46.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.47.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.48.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.49.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.5.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.5.1.d.ts +4 -0
- package/dist/types/src/migration/to/v3.50.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.6.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.7.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.8.0.d.ts +4 -0
- package/dist/types/src/migration/to/v3.9.0.d.ts +4 -0
- package/dist/types/src/migration/types.d.ts +20 -0
- package/dist/types/src/migration/utils.d.ts +2 -0
- package/dist/types/src/mocks.d.ts +13 -0
- package/dist/types/src/models/project-schema.d.ts +35 -0
- package/dist/types/src/models/query.d.ts +17 -0
- package/dist/types/src/models/service.d.ts +12 -0
- package/dist/types/src/models/shape.d.ts +41 -0
- package/dist/types/src/patterns.d.ts +12 -0
- package/dist/types/src/project-schema/index.d.ts +184 -0
- package/dist/types/src/project-schema/latest.d.ts +2032 -0
- package/dist/types/src/project-schema/migrate.d.ts +4 -0
- package/dist/types/src/project-schema/v1.0.0.d.ts +299 -0
- package/dist/types/src/project-schema/v3.0.0.d.ts +478 -0
- package/dist/types/src/project-schema/v3.1.0.d.ts +621 -0
- package/dist/types/src/project-schema/v3.10.0.d.ts +1201 -0
- package/dist/types/src/project-schema/v3.11.0.d.ts +1210 -0
- package/dist/types/src/project-schema/v3.12.0.d.ts +1214 -0
- package/dist/types/src/project-schema/v3.12.1.d.ts +1273 -0
- package/dist/types/src/project-schema/v3.12.2.d.ts +1283 -0
- package/dist/types/src/project-schema/v3.12.3.d.ts +1306 -0
- package/dist/types/src/project-schema/v3.13.0.d.ts +1317 -0
- package/dist/types/src/project-schema/v3.13.1.d.ts +1412 -0
- package/dist/types/src/project-schema/v3.14.0.d.ts +1436 -0
- package/dist/types/src/project-schema/v3.15.0.d.ts +1458 -0
- package/dist/types/src/project-schema/v3.16.0.d.ts +1470 -0
- package/dist/types/src/project-schema/v3.17.0.d.ts +1467 -0
- package/dist/types/src/project-schema/v3.17.1.d.ts +1468 -0
- package/dist/types/src/project-schema/v3.18.0.d.ts +1333 -0
- package/dist/types/src/project-schema/v3.18.1.d.ts +1332 -0
- package/dist/types/src/project-schema/v3.18.2.d.ts +1332 -0
- package/dist/types/src/project-schema/v3.19.0.d.ts +1336 -0
- package/dist/types/src/project-schema/v3.2.0.d.ts +632 -0
- package/dist/types/src/project-schema/v3.20.0.d.ts +1336 -0
- package/dist/types/src/project-schema/v3.21.0.d.ts +1338 -0
- package/dist/types/src/project-schema/v3.22.0.d.ts +1344 -0
- package/dist/types/src/project-schema/v3.23.0.d.ts +1376 -0
- package/dist/types/src/project-schema/v3.24.0.d.ts +1364 -0
- package/dist/types/src/project-schema/v3.25.0.d.ts +1363 -0
- package/dist/types/src/project-schema/v3.26.0.d.ts +1388 -0
- package/dist/types/src/project-schema/v3.27.0.d.ts +1397 -0
- package/dist/types/src/project-schema/v3.28.0.d.ts +1416 -0
- package/dist/types/src/project-schema/v3.29.0.d.ts +1423 -0
- package/dist/types/src/project-schema/v3.3.0.d.ts +632 -0
- package/dist/types/src/project-schema/v3.30.0.d.ts +1416 -0
- package/dist/types/src/project-schema/v3.31.0.d.ts +1448 -0
- package/dist/types/src/project-schema/v3.32.0.d.ts +1439 -0
- package/dist/types/src/project-schema/v3.33.0.d.ts +1445 -0
- package/dist/types/src/project-schema/v3.34.0.d.ts +1445 -0
- package/dist/types/src/project-schema/v3.35.0.d.ts +1464 -0
- package/dist/types/src/project-schema/v3.36.0.d.ts +1470 -0
- package/dist/types/src/project-schema/v3.37.0.d.ts +1522 -0
- package/dist/types/src/project-schema/v3.38.0.d.ts +1522 -0
- package/dist/types/src/project-schema/v3.39.0.d.ts +1529 -0
- package/dist/types/src/project-schema/v3.4.0.d.ts +624 -0
- package/dist/types/src/project-schema/v3.40.0.d.ts +1530 -0
- package/dist/types/src/project-schema/v3.41.0.d.ts +1530 -0
- package/dist/types/src/project-schema/v3.42.0.d.ts +1534 -0
- package/dist/types/src/project-schema/v3.43.0.d.ts +1536 -0
- package/dist/types/src/project-schema/v3.44.0.d.ts +1621 -0
- package/dist/types/src/project-schema/v3.45.0.d.ts +1650 -0
- package/dist/types/src/project-schema/v3.46.0.d.ts +1703 -0
- package/dist/types/src/project-schema/v3.47.0.d.ts +1736 -0
- package/dist/types/src/project-schema/v3.48.0.d.ts +1989 -0
- package/dist/types/src/project-schema/v3.49.0.d.ts +1998 -0
- package/dist/types/src/project-schema/v3.5.0.d.ts +649 -0
- package/dist/types/src/project-schema/v3.5.1.d.ts +649 -0
- package/dist/types/src/project-schema/v3.50.0.d.ts +2032 -0
- package/dist/types/src/project-schema/v3.6.0.d.ts +658 -0
- package/dist/types/src/project-schema/v3.7.0.d.ts +961 -0
- package/dist/types/src/project-schema/v3.8.0.d.ts +979 -0
- package/dist/types/src/project-schema/v3.9.0.d.ts +1178 -0
- package/dist/types/src/project-schema/v4.0.0.d.ts +1328 -0
- package/dist/types/src/refs.d.ts +227 -0
- package/dist/types/src/relationships.d.ts +36 -0
- package/dist/types/src/scalars.d.ts +2 -0
- package/dist/types/src/schema-transform.d.ts +19 -0
- package/dist/types/src/schema-util.d.ts +211 -0
- package/dist/types/src/schemas/index.d.ts +6 -0
- package/dist/types/src/services/services.d.ts +31 -0
- package/dist/types/src/services/types.d.ts +11 -0
- package/dist/types/src/services/util.d.ts +16 -0
- package/dist/types/src/taxonomies.d.ts +15 -0
- package/dist/types/src/template-shapes/index.d.ts +7 -0
- package/dist/types/src/template-shapes/names.d.ts +10 -0
- package/dist/types/src/template-shapes/templates.d.ts +32 -0
- package/dist/types/src/template-shapes/types.d.ts +15 -0
- package/dist/types/src/template-shapes/where.d.ts +37 -0
- package/dist/types/src/types/index.d.ts +3 -0
- package/dist/types/src/types/transforms.d.ts +13 -0
- package/dist/types/src/types/types.d.ts +210 -0
- package/dist/types/src/types/utils.d.ts +117 -0
- package/dist/types/src/unions.d.ts +14 -0
- package/dist/types/src/user-schema.d.ts +38 -0
- package/dist/types/src/util/ai-tools.d.ts +3 -0
- package/dist/types/src/util/api-indexing.d.ts +9 -0
- package/dist/types/src/util/detect-cycles.d.ts +7 -0
- package/dist/types/src/util/find-shape-at-path.d.ts +21 -0
- package/dist/types/src/util/form-config.d.ts +11 -0
- package/dist/types/src/util/get-conflicting-properties.d.ts +6 -0
- package/dist/types/src/util/get-return-shape.d.ts +4 -0
- package/dist/types/src/util/has-arg.d.ts +4 -0
- package/dist/types/src/util/merge.d.ts +15 -0
- package/dist/types/src/util/patch-schema.d.ts +8 -0
- package/dist/types/src/util/shapes.d.ts +5 -0
- package/dist/types/src/validate.d.ts +70 -0
- package/dist/types/src/versions.d.ts +4 -0
- package/dist/types/src/workflows.d.ts +14 -0
- package/dist/types/tsconfig.types.tsbuildinfo +1 -0
- package/package.json +47 -23
- package/dist/agents.d.ts +0 -12
- package/dist/agents.d.ts.map +0 -1
- package/dist/agents.js +0 -61
- package/dist/api-version.d.ts +0 -6
- package/dist/api-version.d.ts.map +0 -1
- package/dist/api-version.js +0 -25
- package/dist/auth-schemas.d.ts +0 -105
- package/dist/auth-schemas.d.ts.map +0 -1
- package/dist/auth-schemas.js +0 -5
- package/dist/builtin-schema.d.ts +0 -9
- package/dist/builtin-schema.d.ts.map +0 -1
- package/dist/builtin-schema.js +0 -681
- package/dist/content-schema-transform.d.ts +0 -48
- package/dist/content-schema-transform.d.ts.map +0 -1
- package/dist/content-schema-transform.js +0 -207
- package/dist/create-input-schema.d.ts +0 -10
- package/dist/create-input-schema.d.ts.map +0 -1
- package/dist/create-input-schema.js +0 -74
- package/dist/enum.d.ts +0 -3
- package/dist/enum.d.ts.map +0 -1
- package/dist/enum.js +0 -15
- package/dist/flatten-templates.d.ts +0 -3
- package/dist/flatten-templates.d.ts.map +0 -1
- package/dist/flatten-templates.js +0 -30
- package/dist/get-is-leaf.d.ts +0 -4
- package/dist/get-is-leaf.d.ts.map +0 -1
- package/dist/get-is-leaf.js +0 -58
- package/dist/index.d.ts +0 -33
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -335
- package/dist/interfaces.d.ts +0 -13
- package/dist/interfaces.d.ts.map +0 -1
- package/dist/interfaces.js +0 -99
- package/dist/layers/layers.d.ts +0 -27
- package/dist/layers/layers.d.ts.map +0 -1
- package/dist/layers/layers.js +0 -324
- package/dist/layers/refs.d.ts +0 -104
- package/dist/layers/refs.d.ts.map +0 -1
- package/dist/layers/refs.js +0 -279
- package/dist/layers/type-utils.d.ts +0 -60
- package/dist/layers/type-utils.d.ts.map +0 -1
- package/dist/layers/type-utils.js +0 -166
- package/dist/layers/visitor.d.ts +0 -6
- package/dist/layers/visitor.d.ts.map +0 -1
- package/dist/layers/visitor.js +0 -42
- package/dist/migration/index.d.ts +0 -64
- package/dist/migration/index.d.ts.map +0 -1
- package/dist/migration/index.js +0 -142
- package/dist/migration/to/utils/v3.34.0-utils.d.ts +0 -1
- package/dist/migration/to/utils/v3.34.0-utils.d.ts.map +0 -1
- package/dist/migration/to/utils/v3.34.0-utils.js +0 -1
- package/dist/migration/to/v3.0.0.d.ts +0 -5
- package/dist/migration/to/v3.0.0.d.ts.map +0 -1
- package/dist/migration/to/v3.0.0.js +0 -263
- package/dist/migration/to/v3.1.0.d.ts +0 -5
- package/dist/migration/to/v3.1.0.d.ts.map +0 -1
- package/dist/migration/to/v3.1.0.js +0 -206
- package/dist/migration/to/v3.10.0.d.ts +0 -5
- package/dist/migration/to/v3.10.0.d.ts.map +0 -1
- package/dist/migration/to/v3.10.0.js +0 -91
- package/dist/migration/to/v3.11.0.d.ts +0 -5
- package/dist/migration/to/v3.11.0.d.ts.map +0 -1
- package/dist/migration/to/v3.11.0.js +0 -97
- package/dist/migration/to/v3.12.0.d.ts +0 -5
- package/dist/migration/to/v3.12.0.d.ts.map +0 -1
- package/dist/migration/to/v3.12.0.js +0 -16
- package/dist/migration/to/v3.12.1.d.ts +0 -5
- package/dist/migration/to/v3.12.1.d.ts.map +0 -1
- package/dist/migration/to/v3.12.1.js +0 -16
- package/dist/migration/to/v3.12.2.d.ts +0 -5
- package/dist/migration/to/v3.12.2.d.ts.map +0 -1
- package/dist/migration/to/v3.12.2.js +0 -16
- package/dist/migration/to/v3.12.3.d.ts +0 -5
- package/dist/migration/to/v3.12.3.d.ts.map +0 -1
- package/dist/migration/to/v3.12.3.js +0 -83
- package/dist/migration/to/v3.13.0.d.ts +0 -5
- package/dist/migration/to/v3.13.0.d.ts.map +0 -1
- package/dist/migration/to/v3.13.0.js +0 -26
- package/dist/migration/to/v3.14.0.d.ts +0 -5
- package/dist/migration/to/v3.14.0.d.ts.map +0 -1
- package/dist/migration/to/v3.14.0.js +0 -16
- package/dist/migration/to/v3.15.0.d.ts +0 -5
- package/dist/migration/to/v3.15.0.d.ts.map +0 -1
- package/dist/migration/to/v3.15.0.js +0 -16
- package/dist/migration/to/v3.16.0.d.ts +0 -5
- package/dist/migration/to/v3.16.0.d.ts.map +0 -1
- package/dist/migration/to/v3.16.0.js +0 -16
- package/dist/migration/to/v3.17.0.d.ts +0 -5
- package/dist/migration/to/v3.17.0.d.ts.map +0 -1
- package/dist/migration/to/v3.17.0.js +0 -34
- package/dist/migration/to/v3.17.1.d.ts +0 -5
- package/dist/migration/to/v3.17.1.d.ts.map +0 -1
- package/dist/migration/to/v3.17.1.js +0 -16
- package/dist/migration/to/v3.18.0.d.ts +0 -5
- package/dist/migration/to/v3.18.0.d.ts.map +0 -1
- package/dist/migration/to/v3.18.0.js +0 -71
- package/dist/migration/to/v3.18.1.d.ts +0 -5
- package/dist/migration/to/v3.18.1.d.ts.map +0 -1
- package/dist/migration/to/v3.18.1.js +0 -22
- package/dist/migration/to/v3.18.2.d.ts +0 -5
- package/dist/migration/to/v3.18.2.d.ts.map +0 -1
- package/dist/migration/to/v3.18.2.js +0 -29
- package/dist/migration/to/v3.19.0.d.ts +0 -5
- package/dist/migration/to/v3.19.0.d.ts.map +0 -1
- package/dist/migration/to/v3.19.0.js +0 -16
- package/dist/migration/to/v3.2.0.d.ts +0 -5
- package/dist/migration/to/v3.2.0.d.ts.map +0 -1
- package/dist/migration/to/v3.2.0.js +0 -16
- package/dist/migration/to/v3.20.0.d.ts +0 -5
- package/dist/migration/to/v3.20.0.d.ts.map +0 -1
- package/dist/migration/to/v3.20.0.js +0 -32
- package/dist/migration/to/v3.21.0.d.ts +0 -5
- package/dist/migration/to/v3.21.0.d.ts.map +0 -1
- package/dist/migration/to/v3.21.0.js +0 -16
- package/dist/migration/to/v3.22.0.d.ts +0 -5
- package/dist/migration/to/v3.22.0.d.ts.map +0 -1
- package/dist/migration/to/v3.22.0.js +0 -38
- package/dist/migration/to/v3.23.0.d.ts +0 -5
- package/dist/migration/to/v3.23.0.d.ts.map +0 -1
- package/dist/migration/to/v3.23.0.js +0 -16
- package/dist/migration/to/v3.24.0.d.ts +0 -5
- package/dist/migration/to/v3.24.0.d.ts.map +0 -1
- package/dist/migration/to/v3.24.0.js +0 -22
- package/dist/migration/to/v3.25.0.d.ts +0 -5
- package/dist/migration/to/v3.25.0.d.ts.map +0 -1
- package/dist/migration/to/v3.25.0.js +0 -20
- package/dist/migration/to/v3.26.0.d.ts +0 -5
- package/dist/migration/to/v3.26.0.d.ts.map +0 -1
- package/dist/migration/to/v3.26.0.js +0 -16
- package/dist/migration/to/v3.27.0.d.ts +0 -5
- package/dist/migration/to/v3.27.0.d.ts.map +0 -1
- package/dist/migration/to/v3.27.0.js +0 -16
- package/dist/migration/to/v3.28.0.d.ts +0 -5
- package/dist/migration/to/v3.28.0.d.ts.map +0 -1
- package/dist/migration/to/v3.28.0.js +0 -16
- package/dist/migration/to/v3.29.0.d.ts +0 -5
- package/dist/migration/to/v3.29.0.d.ts.map +0 -1
- package/dist/migration/to/v3.29.0.js +0 -16
- package/dist/migration/to/v3.3.0.d.ts +0 -5
- package/dist/migration/to/v3.3.0.d.ts.map +0 -1
- package/dist/migration/to/v3.3.0.js +0 -22
- package/dist/migration/to/v3.30.0.d.ts +0 -5
- package/dist/migration/to/v3.30.0.d.ts.map +0 -1
- package/dist/migration/to/v3.30.0.js +0 -16
- package/dist/migration/to/v3.31.0.d.ts +0 -5
- package/dist/migration/to/v3.31.0.d.ts.map +0 -1
- package/dist/migration/to/v3.31.0.js +0 -42
- package/dist/migration/to/v3.32.0.d.ts +0 -5
- package/dist/migration/to/v3.32.0.d.ts.map +0 -1
- package/dist/migration/to/v3.32.0.js +0 -97
- package/dist/migration/to/v3.33.0.d.ts +0 -5
- package/dist/migration/to/v3.33.0.d.ts.map +0 -1
- package/dist/migration/to/v3.33.0.js +0 -16
- package/dist/migration/to/v3.34.0.d.ts +0 -7
- package/dist/migration/to/v3.34.0.d.ts.map +0 -1
- package/dist/migration/to/v3.34.0.js +0 -150
- package/dist/migration/to/v3.35.0.d.ts +0 -5
- package/dist/migration/to/v3.35.0.d.ts.map +0 -1
- package/dist/migration/to/v3.35.0.js +0 -16
- package/dist/migration/to/v3.36.0.d.ts +0 -5
- package/dist/migration/to/v3.36.0.d.ts.map +0 -1
- package/dist/migration/to/v3.36.0.js +0 -29
- package/dist/migration/to/v3.37.0.d.ts +0 -5
- package/dist/migration/to/v3.37.0.d.ts.map +0 -1
- package/dist/migration/to/v3.37.0.js +0 -16
- package/dist/migration/to/v3.38.0.d.ts +0 -5
- package/dist/migration/to/v3.38.0.d.ts.map +0 -1
- package/dist/migration/to/v3.38.0.js +0 -16
- package/dist/migration/to/v3.39.0.d.ts +0 -5
- package/dist/migration/to/v3.39.0.d.ts.map +0 -1
- package/dist/migration/to/v3.39.0.js +0 -54
- package/dist/migration/to/v3.4.0.d.ts +0 -5
- package/dist/migration/to/v3.4.0.d.ts.map +0 -1
- package/dist/migration/to/v3.4.0.js +0 -16
- package/dist/migration/to/v3.40.0.d.ts +0 -5
- package/dist/migration/to/v3.40.0.d.ts.map +0 -1
- package/dist/migration/to/v3.40.0.js +0 -33
- package/dist/migration/to/v3.41.0.d.ts +0 -5
- package/dist/migration/to/v3.41.0.d.ts.map +0 -1
- package/dist/migration/to/v3.41.0.js +0 -16
- package/dist/migration/to/v3.42.0.d.ts +0 -5
- package/dist/migration/to/v3.42.0.d.ts.map +0 -1
- package/dist/migration/to/v3.42.0.js +0 -16
- package/dist/migration/to/v3.43.0.d.ts +0 -5
- package/dist/migration/to/v3.43.0.d.ts.map +0 -1
- package/dist/migration/to/v3.43.0.js +0 -16
- package/dist/migration/to/v3.44.0.d.ts +0 -5
- package/dist/migration/to/v3.44.0.d.ts.map +0 -1
- package/dist/migration/to/v3.44.0.js +0 -16
- package/dist/migration/to/v3.45.0.d.ts +0 -5
- package/dist/migration/to/v3.45.0.d.ts.map +0 -1
- package/dist/migration/to/v3.45.0.js +0 -16
- package/dist/migration/to/v3.46.0.d.ts +0 -5
- package/dist/migration/to/v3.46.0.d.ts.map +0 -1
- package/dist/migration/to/v3.46.0.js +0 -37
- package/dist/migration/to/v3.47.0.d.ts +0 -5
- package/dist/migration/to/v3.47.0.d.ts.map +0 -1
- package/dist/migration/to/v3.47.0.js +0 -16
- package/dist/migration/to/v3.48.0.d.ts +0 -5
- package/dist/migration/to/v3.48.0.d.ts.map +0 -1
- package/dist/migration/to/v3.48.0.js +0 -16
- package/dist/migration/to/v3.49.0.d.ts +0 -5
- package/dist/migration/to/v3.49.0.d.ts.map +0 -1
- package/dist/migration/to/v3.49.0.js +0 -16
- package/dist/migration/to/v3.5.0.d.ts +0 -5
- package/dist/migration/to/v3.5.0.d.ts.map +0 -1
- package/dist/migration/to/v3.5.0.js +0 -16
- package/dist/migration/to/v3.5.1.d.ts +0 -5
- package/dist/migration/to/v3.5.1.d.ts.map +0 -1
- package/dist/migration/to/v3.5.1.js +0 -16
- package/dist/migration/to/v3.50.0.d.ts +0 -5
- package/dist/migration/to/v3.50.0.d.ts.map +0 -1
- package/dist/migration/to/v3.50.0.js +0 -16
- package/dist/migration/to/v3.6.0.d.ts +0 -5
- package/dist/migration/to/v3.6.0.d.ts.map +0 -1
- package/dist/migration/to/v3.6.0.js +0 -16
- package/dist/migration/to/v3.7.0.d.ts +0 -5
- package/dist/migration/to/v3.7.0.d.ts.map +0 -1
- package/dist/migration/to/v3.7.0.js +0 -16
- package/dist/migration/to/v3.8.0.d.ts +0 -5
- package/dist/migration/to/v3.8.0.d.ts.map +0 -1
- package/dist/migration/to/v3.8.0.js +0 -16
- package/dist/migration/to/v3.9.0.d.ts +0 -5
- package/dist/migration/to/v3.9.0.d.ts.map +0 -1
- package/dist/migration/to/v3.9.0.js +0 -84
- package/dist/migration/types.d.ts +0 -21
- package/dist/migration/types.d.ts.map +0 -1
- package/dist/migration/types.js +0 -5
- package/dist/migration/utils.d.ts +0 -3
- package/dist/migration/utils.d.ts.map +0 -1
- package/dist/migration/utils.js +0 -13
- package/dist/mocks.d.ts +0 -14
- package/dist/mocks.d.ts.map +0 -1
- package/dist/mocks.js +0 -71
- package/dist/models/project-schema.d.ts +0 -36
- package/dist/models/project-schema.d.ts.map +0 -1
- package/dist/models/project-schema.js +0 -98
- package/dist/models/query.d.ts +0 -18
- package/dist/models/query.d.ts.map +0 -1
- package/dist/models/query.js +0 -35
- package/dist/models/service.d.ts +0 -13
- package/dist/models/service.d.ts.map +0 -1
- package/dist/models/service.js +0 -25
- package/dist/models/shape.d.ts +0 -42
- package/dist/models/shape.d.ts.map +0 -1
- package/dist/models/shape.js +0 -86
- package/dist/patterns.d.ts +0 -13
- package/dist/patterns.d.ts.map +0 -1
- package/dist/patterns.js +0 -5
- package/dist/project-schema/index.d.ts +0 -185
- package/dist/project-schema/index.d.ts.map +0 -1
- package/dist/project-schema/index.js +0 -879
- package/dist/project-schema/latest.d.ts +0 -2033
- package/dist/project-schema/latest.d.ts.map +0 -1
- package/dist/project-schema/latest.js +0 -5
- package/dist/project-schema/migrate.d.ts +0 -5
- package/dist/project-schema/migrate.d.ts.map +0 -1
- package/dist/project-schema/migrate.js +0 -201
- package/dist/project-schema/v1.0.0.d.ts +0 -300
- package/dist/project-schema/v1.0.0.d.ts.map +0 -1
- package/dist/project-schema/v1.0.0.js +0 -5
- package/dist/project-schema/v3.0.0.d.ts +0 -479
- package/dist/project-schema/v3.0.0.d.ts.map +0 -1
- package/dist/project-schema/v3.0.0.js +0 -5
- package/dist/project-schema/v3.1.0.d.ts +0 -622
- package/dist/project-schema/v3.1.0.d.ts.map +0 -1
- package/dist/project-schema/v3.1.0.js +0 -5
- package/dist/project-schema/v3.10.0.d.ts +0 -1202
- package/dist/project-schema/v3.10.0.d.ts.map +0 -1
- package/dist/project-schema/v3.10.0.js +0 -5
- package/dist/project-schema/v3.11.0.d.ts +0 -1211
- package/dist/project-schema/v3.11.0.d.ts.map +0 -1
- package/dist/project-schema/v3.11.0.js +0 -5
- package/dist/project-schema/v3.12.0.d.ts +0 -1215
- package/dist/project-schema/v3.12.0.d.ts.map +0 -1
- package/dist/project-schema/v3.12.0.js +0 -5
- package/dist/project-schema/v3.12.1.d.ts +0 -1274
- package/dist/project-schema/v3.12.1.d.ts.map +0 -1
- package/dist/project-schema/v3.12.1.js +0 -5
- package/dist/project-schema/v3.12.2.d.ts +0 -1284
- package/dist/project-schema/v3.12.2.d.ts.map +0 -1
- package/dist/project-schema/v3.12.2.js +0 -5
- package/dist/project-schema/v3.12.3.d.ts +0 -1307
- package/dist/project-schema/v3.12.3.d.ts.map +0 -1
- package/dist/project-schema/v3.12.3.js +0 -5
- package/dist/project-schema/v3.13.0.d.ts +0 -1318
- package/dist/project-schema/v3.13.0.d.ts.map +0 -1
- package/dist/project-schema/v3.13.0.js +0 -5
- package/dist/project-schema/v3.13.1.d.ts +0 -1413
- package/dist/project-schema/v3.13.1.d.ts.map +0 -1
- package/dist/project-schema/v3.13.1.js +0 -5
- package/dist/project-schema/v3.14.0.d.ts +0 -1437
- package/dist/project-schema/v3.14.0.d.ts.map +0 -1
- package/dist/project-schema/v3.14.0.js +0 -5
- package/dist/project-schema/v3.15.0.d.ts +0 -1459
- package/dist/project-schema/v3.15.0.d.ts.map +0 -1
- package/dist/project-schema/v3.15.0.js +0 -5
- package/dist/project-schema/v3.16.0.d.ts +0 -1471
- package/dist/project-schema/v3.16.0.d.ts.map +0 -1
- package/dist/project-schema/v3.16.0.js +0 -5
- package/dist/project-schema/v3.17.0.d.ts +0 -1468
- package/dist/project-schema/v3.17.0.d.ts.map +0 -1
- package/dist/project-schema/v3.17.0.js +0 -5
- package/dist/project-schema/v3.17.1.d.ts +0 -1469
- package/dist/project-schema/v3.17.1.d.ts.map +0 -1
- package/dist/project-schema/v3.17.1.js +0 -5
- package/dist/project-schema/v3.18.0.d.ts +0 -1334
- package/dist/project-schema/v3.18.0.d.ts.map +0 -1
- package/dist/project-schema/v3.18.0.js +0 -5
- package/dist/project-schema/v3.18.1.d.ts +0 -1333
- package/dist/project-schema/v3.18.1.d.ts.map +0 -1
- package/dist/project-schema/v3.18.1.js +0 -5
- package/dist/project-schema/v3.18.2.d.ts +0 -1333
- package/dist/project-schema/v3.18.2.d.ts.map +0 -1
- package/dist/project-schema/v3.18.2.js +0 -5
- package/dist/project-schema/v3.19.0.d.ts +0 -1337
- package/dist/project-schema/v3.19.0.d.ts.map +0 -1
- package/dist/project-schema/v3.19.0.js +0 -5
- package/dist/project-schema/v3.2.0.d.ts +0 -633
- package/dist/project-schema/v3.2.0.d.ts.map +0 -1
- package/dist/project-schema/v3.2.0.js +0 -5
- package/dist/project-schema/v3.20.0.d.ts +0 -1337
- package/dist/project-schema/v3.20.0.d.ts.map +0 -1
- package/dist/project-schema/v3.20.0.js +0 -5
- package/dist/project-schema/v3.21.0.d.ts +0 -1339
- package/dist/project-schema/v3.21.0.d.ts.map +0 -1
- package/dist/project-schema/v3.21.0.js +0 -5
- package/dist/project-schema/v3.22.0.d.ts +0 -1345
- package/dist/project-schema/v3.22.0.d.ts.map +0 -1
- package/dist/project-schema/v3.22.0.js +0 -5
- package/dist/project-schema/v3.23.0.d.ts +0 -1377
- package/dist/project-schema/v3.23.0.d.ts.map +0 -1
- package/dist/project-schema/v3.23.0.js +0 -5
- package/dist/project-schema/v3.24.0.d.ts +0 -1365
- package/dist/project-schema/v3.24.0.d.ts.map +0 -1
- package/dist/project-schema/v3.24.0.js +0 -5
- package/dist/project-schema/v3.25.0.d.ts +0 -1364
- package/dist/project-schema/v3.25.0.d.ts.map +0 -1
- package/dist/project-schema/v3.25.0.js +0 -5
- package/dist/project-schema/v3.26.0.d.ts +0 -1389
- package/dist/project-schema/v3.26.0.d.ts.map +0 -1
- package/dist/project-schema/v3.26.0.js +0 -5
- package/dist/project-schema/v3.27.0.d.ts +0 -1398
- package/dist/project-schema/v3.27.0.d.ts.map +0 -1
- package/dist/project-schema/v3.27.0.js +0 -5
- package/dist/project-schema/v3.28.0.d.ts +0 -1417
- package/dist/project-schema/v3.28.0.d.ts.map +0 -1
- package/dist/project-schema/v3.28.0.js +0 -5
- package/dist/project-schema/v3.29.0.d.ts +0 -1424
- package/dist/project-schema/v3.29.0.d.ts.map +0 -1
- package/dist/project-schema/v3.29.0.js +0 -5
- package/dist/project-schema/v3.3.0.d.ts +0 -633
- package/dist/project-schema/v3.3.0.d.ts.map +0 -1
- package/dist/project-schema/v3.3.0.js +0 -5
- package/dist/project-schema/v3.30.0.d.ts +0 -1417
- package/dist/project-schema/v3.30.0.d.ts.map +0 -1
- package/dist/project-schema/v3.30.0.js +0 -5
- package/dist/project-schema/v3.31.0.d.ts +0 -1449
- package/dist/project-schema/v3.31.0.d.ts.map +0 -1
- package/dist/project-schema/v3.31.0.js +0 -5
- package/dist/project-schema/v3.32.0.d.ts +0 -1440
- package/dist/project-schema/v3.32.0.d.ts.map +0 -1
- package/dist/project-schema/v3.32.0.js +0 -5
- package/dist/project-schema/v3.33.0.d.ts +0 -1446
- package/dist/project-schema/v3.33.0.d.ts.map +0 -1
- package/dist/project-schema/v3.33.0.js +0 -5
- package/dist/project-schema/v3.34.0.d.ts +0 -1446
- package/dist/project-schema/v3.34.0.d.ts.map +0 -1
- package/dist/project-schema/v3.34.0.js +0 -5
- package/dist/project-schema/v3.35.0.d.ts +0 -1465
- package/dist/project-schema/v3.35.0.d.ts.map +0 -1
- package/dist/project-schema/v3.35.0.js +0 -5
- package/dist/project-schema/v3.36.0.d.ts +0 -1471
- package/dist/project-schema/v3.36.0.d.ts.map +0 -1
- package/dist/project-schema/v3.36.0.js +0 -5
- package/dist/project-schema/v3.37.0.d.ts +0 -1523
- package/dist/project-schema/v3.37.0.d.ts.map +0 -1
- package/dist/project-schema/v3.37.0.js +0 -5
- package/dist/project-schema/v3.38.0.d.ts +0 -1523
- package/dist/project-schema/v3.38.0.d.ts.map +0 -1
- package/dist/project-schema/v3.38.0.js +0 -5
- package/dist/project-schema/v3.39.0.d.ts +0 -1530
- package/dist/project-schema/v3.39.0.d.ts.map +0 -1
- package/dist/project-schema/v3.39.0.js +0 -5
- package/dist/project-schema/v3.4.0.d.ts +0 -625
- package/dist/project-schema/v3.4.0.d.ts.map +0 -1
- package/dist/project-schema/v3.4.0.js +0 -5
- package/dist/project-schema/v3.40.0.d.ts +0 -1531
- package/dist/project-schema/v3.40.0.d.ts.map +0 -1
- package/dist/project-schema/v3.40.0.js +0 -5
- package/dist/project-schema/v3.41.0.d.ts +0 -1531
- package/dist/project-schema/v3.41.0.d.ts.map +0 -1
- package/dist/project-schema/v3.41.0.js +0 -5
- package/dist/project-schema/v3.42.0.d.ts +0 -1535
- package/dist/project-schema/v3.42.0.d.ts.map +0 -1
- package/dist/project-schema/v3.42.0.js +0 -5
- package/dist/project-schema/v3.43.0.d.ts +0 -1537
- package/dist/project-schema/v3.43.0.d.ts.map +0 -1
- package/dist/project-schema/v3.43.0.js +0 -5
- package/dist/project-schema/v3.44.0.d.ts +0 -1622
- package/dist/project-schema/v3.44.0.d.ts.map +0 -1
- package/dist/project-schema/v3.44.0.js +0 -5
- package/dist/project-schema/v3.45.0.d.ts +0 -1651
- package/dist/project-schema/v3.45.0.d.ts.map +0 -1
- package/dist/project-schema/v3.45.0.js +0 -5
- package/dist/project-schema/v3.46.0.d.ts +0 -1704
- package/dist/project-schema/v3.46.0.d.ts.map +0 -1
- package/dist/project-schema/v3.46.0.js +0 -5
- package/dist/project-schema/v3.47.0.d.ts +0 -1737
- package/dist/project-schema/v3.47.0.d.ts.map +0 -1
- package/dist/project-schema/v3.47.0.js +0 -5
- package/dist/project-schema/v3.48.0.d.ts +0 -1990
- package/dist/project-schema/v3.48.0.d.ts.map +0 -1
- package/dist/project-schema/v3.48.0.js +0 -5
- package/dist/project-schema/v3.49.0.d.ts +0 -1999
- package/dist/project-schema/v3.49.0.d.ts.map +0 -1
- package/dist/project-schema/v3.49.0.js +0 -5
- package/dist/project-schema/v3.5.0.d.ts +0 -650
- package/dist/project-schema/v3.5.0.d.ts.map +0 -1
- package/dist/project-schema/v3.5.0.js +0 -5
- package/dist/project-schema/v3.5.1.d.ts +0 -650
- package/dist/project-schema/v3.5.1.d.ts.map +0 -1
- package/dist/project-schema/v3.5.1.js +0 -5
- package/dist/project-schema/v3.50.0.d.ts +0 -2033
- package/dist/project-schema/v3.50.0.d.ts.map +0 -1
- package/dist/project-schema/v3.50.0.js +0 -5
- package/dist/project-schema/v3.6.0.d.ts +0 -659
- package/dist/project-schema/v3.6.0.d.ts.map +0 -1
- package/dist/project-schema/v3.6.0.js +0 -5
- package/dist/project-schema/v3.7.0.d.ts +0 -962
- package/dist/project-schema/v3.7.0.d.ts.map +0 -1
- package/dist/project-schema/v3.7.0.js +0 -5
- package/dist/project-schema/v3.8.0.d.ts +0 -980
- package/dist/project-schema/v3.8.0.d.ts.map +0 -1
- package/dist/project-schema/v3.8.0.js +0 -5
- package/dist/project-schema/v3.9.0.d.ts +0 -1179
- package/dist/project-schema/v3.9.0.d.ts.map +0 -1
- package/dist/project-schema/v3.9.0.js +0 -5
- package/dist/project-schema/v4.0.0.d.ts +0 -1329
- package/dist/project-schema/v4.0.0.d.ts.map +0 -1
- package/dist/project-schema/v4.0.0.js +0 -5
- package/dist/refs.d.ts +0 -228
- package/dist/refs.d.ts.map +0 -1
- package/dist/refs.js +0 -754
- package/dist/relationships.d.ts +0 -37
- package/dist/relationships.d.ts.map +0 -1
- package/dist/relationships.js +0 -243
- package/dist/scalars.d.ts +0 -3
- package/dist/scalars.d.ts.map +0 -1
- package/dist/scalars.js +0 -11
- package/dist/schema-transform.d.ts +0 -4
- package/dist/schema-transform.d.ts.map +0 -1
- package/dist/schema-transform.js +0 -47
- package/dist/schema-util.d.ts +0 -220
- package/dist/schema-util.d.ts.map +0 -1
- package/dist/schema-util.js +0 -1247
- package/dist/schemas/index.d.ts +0 -5
- package/dist/schemas/index.d.ts.map +0 -1
- package/dist/schemas/index.js +0 -96
- package/dist/schemas/index.ts +0 -152
- package/dist/services.d.ts +0 -55
- package/dist/services.d.ts.map +0 -1
- package/dist/services.js +0 -168
- package/dist/taxonomies.d.ts +0 -16
- package/dist/taxonomies.d.ts.map +0 -1
- package/dist/taxonomies.js +0 -41
- package/dist/template-shapes/index.d.ts +0 -8
- package/dist/template-shapes/index.d.ts.map +0 -1
- package/dist/template-shapes/index.js +0 -43
- package/dist/template-shapes/templates.d.ts +0 -42
- package/dist/template-shapes/templates.d.ts.map +0 -1
- package/dist/template-shapes/templates.js +0 -423
- package/dist/template-shapes/types.d.ts +0 -16
- package/dist/template-shapes/types.d.ts.map +0 -1
- package/dist/template-shapes/types.js +0 -13
- package/dist/template-shapes/where.d.ts +0 -38
- package/dist/template-shapes/where.d.ts.map +0 -1
- package/dist/template-shapes/where.js +0 -472
- package/dist/types/index.d.ts +0 -3
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -27
- package/dist/types/types.d.ts +0 -211
- package/dist/types/types.d.ts.map +0 -1
- package/dist/types/types.js +0 -60
- package/dist/types/utils.d.ts +0 -116
- package/dist/types/utils.d.ts.map +0 -1
- package/dist/types/utils.js +0 -364
- package/dist/unions.d.ts +0 -28
- package/dist/unions.d.ts.map +0 -1
- package/dist/unions.js +0 -137
- package/dist/user-schema.d.ts +0 -39
- package/dist/user-schema.d.ts.map +0 -1
- package/dist/user-schema.js +0 -5
- package/dist/util/ai-tools.d.ts +0 -4
- package/dist/util/ai-tools.d.ts.map +0 -1
- package/dist/util/ai-tools.js +0 -15
- package/dist/util/api-indexing.d.ts +0 -10
- package/dist/util/api-indexing.d.ts.map +0 -1
- package/dist/util/api-indexing.js +0 -75
- package/dist/util/detect-cycles.d.ts +0 -8
- package/dist/util/detect-cycles.d.ts.map +0 -1
- package/dist/util/detect-cycles.js +0 -54
- package/dist/util/find-shape-at-path.d.ts +0 -22
- package/dist/util/find-shape-at-path.d.ts.map +0 -1
- package/dist/util/find-shape-at-path.js +0 -61
- package/dist/util/form-config.d.ts +0 -12
- package/dist/util/form-config.d.ts.map +0 -1
- package/dist/util/form-config.js +0 -79
- package/dist/util/get-conflicting-properties.d.ts +0 -7
- package/dist/util/get-conflicting-properties.d.ts.map +0 -1
- package/dist/util/get-conflicting-properties.js +0 -59
- package/dist/util/get-return-shape.d.ts +0 -5
- package/dist/util/get-return-shape.d.ts.map +0 -1
- package/dist/util/get-return-shape.js +0 -38
- package/dist/util/has-arg.d.ts +0 -5
- package/dist/util/has-arg.d.ts.map +0 -1
- package/dist/util/has-arg.js +0 -20
- package/dist/util/index.d.ts +0 -11
- package/dist/util/index.d.ts.map +0 -1
- package/dist/util/index.js +0 -115
- package/dist/util/merge.d.ts +0 -16
- package/dist/util/merge.d.ts.map +0 -1
- package/dist/util/merge.js +0 -307
- package/dist/util/patch-schema.d.ts +0 -9
- package/dist/util/patch-schema.d.ts.map +0 -1
- package/dist/util/patch-schema.js +0 -52
- package/dist/validate.d.ts +0 -71
- package/dist/validate.d.ts.map +0 -1
- package/dist/validate.js +0 -1117
- package/dist/versions.d.ts +0 -5
- package/dist/versions.d.ts.map +0 -1
- package/dist/versions.js +0 -17
- package/dist/workflows.d.ts +0 -15
- package/dist/workflows.d.ts.map +0 -1
- package/dist/workflows.js +0 -81
- package/es/agents.js +0 -51
- package/es/api-version.js +0 -17
- package/es/auth-schemas.js +0 -1
- package/es/builtin-schema.js +0 -671
- package/es/content-schema-transform.js +0 -192
- package/es/create-input-schema.js +0 -67
- package/es/enum.js +0 -9
- package/es/flatten-templates.js +0 -23
- package/es/get-is-leaf.js +0 -52
- package/es/index.js +0 -33
- package/es/interfaces.js +0 -85
- package/es/layers/layers.js +0 -311
- package/es/layers/refs.js +0 -256
- package/es/layers/type-utils.js +0 -138
- package/es/layers/visitor.js +0 -35
- package/es/migration/index.js +0 -120
- package/es/migration/to/utils/v3.34.0-utils.js +0 -0
- package/es/migration/to/v3.0.0.js +0 -256
- package/es/migration/to/v3.1.0.js +0 -200
- package/es/migration/to/v3.10.0.js +0 -84
- package/es/migration/to/v3.11.0.js +0 -90
- package/es/migration/to/v3.12.0.js +0 -10
- package/es/migration/to/v3.12.1.js +0 -10
- package/es/migration/to/v3.12.2.js +0 -10
- package/es/migration/to/v3.12.3.js +0 -76
- package/es/migration/to/v3.13.0.js +0 -19
- package/es/migration/to/v3.14.0.js +0 -10
- package/es/migration/to/v3.15.0.js +0 -10
- package/es/migration/to/v3.16.0.js +0 -10
- package/es/migration/to/v3.17.0.js +0 -27
- package/es/migration/to/v3.17.1.js +0 -10
- package/es/migration/to/v3.18.0.js +0 -64
- package/es/migration/to/v3.18.1.js +0 -15
- package/es/migration/to/v3.18.2.js +0 -22
- package/es/migration/to/v3.19.0.js +0 -10
- package/es/migration/to/v3.2.0.js +0 -10
- package/es/migration/to/v3.20.0.js +0 -25
- package/es/migration/to/v3.21.0.js +0 -10
- package/es/migration/to/v3.22.0.js +0 -31
- package/es/migration/to/v3.23.0.js +0 -10
- package/es/migration/to/v3.24.0.js +0 -16
- package/es/migration/to/v3.25.0.js +0 -14
- package/es/migration/to/v3.26.0.js +0 -10
- package/es/migration/to/v3.27.0.js +0 -10
- package/es/migration/to/v3.28.0.js +0 -10
- package/es/migration/to/v3.29.0.js +0 -10
- package/es/migration/to/v3.3.0.js +0 -16
- package/es/migration/to/v3.30.0.js +0 -10
- package/es/migration/to/v3.31.0.js +0 -35
- package/es/migration/to/v3.32.0.js +0 -91
- package/es/migration/to/v3.33.0.js +0 -10
- package/es/migration/to/v3.34.0.js +0 -142
- package/es/migration/to/v3.35.0.js +0 -10
- package/es/migration/to/v3.36.0.js +0 -22
- package/es/migration/to/v3.37.0.js +0 -10
- package/es/migration/to/v3.38.0.js +0 -10
- package/es/migration/to/v3.39.0.js +0 -48
- package/es/migration/to/v3.4.0.js +0 -10
- package/es/migration/to/v3.40.0.js +0 -26
- package/es/migration/to/v3.41.0.js +0 -10
- package/es/migration/to/v3.42.0.js +0 -10
- package/es/migration/to/v3.43.0.js +0 -10
- package/es/migration/to/v3.44.0.js +0 -10
- package/es/migration/to/v3.45.0.js +0 -10
- package/es/migration/to/v3.46.0.js +0 -31
- package/es/migration/to/v3.47.0.js +0 -10
- package/es/migration/to/v3.48.0.js +0 -10
- package/es/migration/to/v3.49.0.js +0 -10
- package/es/migration/to/v3.5.0.js +0 -10
- package/es/migration/to/v3.5.1.js +0 -10
- package/es/migration/to/v3.50.0.js +0 -10
- package/es/migration/to/v3.6.0.js +0 -10
- package/es/migration/to/v3.7.0.js +0 -10
- package/es/migration/to/v3.8.0.js +0 -10
- package/es/migration/to/v3.9.0.js +0 -77
- package/es/migration/types.js +0 -1
- package/es/migration/utils.js +0 -6
- package/es/mocks.js +0 -62
- package/es/models/project-schema.js +0 -90
- package/es/models/query.js +0 -28
- package/es/models/service.js +0 -18
- package/es/models/shape.js +0 -79
- package/es/patterns.js +0 -1
- package/es/project-schema/index.js +0 -138
- package/es/project-schema/latest.js +0 -1
- package/es/project-schema/migrate.js +0 -195
- package/es/project-schema/v1.0.0.js +0 -1
- package/es/project-schema/v3.0.0.js +0 -1
- package/es/project-schema/v3.1.0.js +0 -1
- package/es/project-schema/v3.10.0.js +0 -1
- package/es/project-schema/v3.11.0.js +0 -1
- package/es/project-schema/v3.12.0.js +0 -1
- package/es/project-schema/v3.12.1.js +0 -1
- package/es/project-schema/v3.12.2.js +0 -1
- package/es/project-schema/v3.12.3.js +0 -1
- package/es/project-schema/v3.13.0.js +0 -1
- package/es/project-schema/v3.13.1.js +0 -1
- package/es/project-schema/v3.14.0.js +0 -1
- package/es/project-schema/v3.15.0.js +0 -1
- package/es/project-schema/v3.16.0.js +0 -1
- package/es/project-schema/v3.17.0.js +0 -1
- package/es/project-schema/v3.17.1.js +0 -1
- package/es/project-schema/v3.18.0.js +0 -1
- package/es/project-schema/v3.18.1.js +0 -1
- package/es/project-schema/v3.18.2.js +0 -1
- package/es/project-schema/v3.19.0.js +0 -1
- package/es/project-schema/v3.2.0.js +0 -1
- package/es/project-schema/v3.20.0.js +0 -1
- package/es/project-schema/v3.21.0.js +0 -1
- package/es/project-schema/v3.22.0.js +0 -1
- package/es/project-schema/v3.23.0.js +0 -1
- package/es/project-schema/v3.24.0.js +0 -1
- package/es/project-schema/v3.25.0.js +0 -1
- package/es/project-schema/v3.26.0.js +0 -1
- package/es/project-schema/v3.27.0.js +0 -1
- package/es/project-schema/v3.28.0.js +0 -1
- package/es/project-schema/v3.29.0.js +0 -1
- package/es/project-schema/v3.3.0.js +0 -1
- package/es/project-schema/v3.30.0.js +0 -1
- package/es/project-schema/v3.31.0.js +0 -1
- package/es/project-schema/v3.32.0.js +0 -1
- package/es/project-schema/v3.33.0.js +0 -1
- package/es/project-schema/v3.34.0.js +0 -1
- package/es/project-schema/v3.35.0.js +0 -1
- package/es/project-schema/v3.36.0.js +0 -1
- package/es/project-schema/v3.37.0.js +0 -1
- package/es/project-schema/v3.38.0.js +0 -1
- package/es/project-schema/v3.39.0.js +0 -1
- package/es/project-schema/v3.4.0.js +0 -1
- package/es/project-schema/v3.40.0.js +0 -1
- package/es/project-schema/v3.41.0.js +0 -1
- package/es/project-schema/v3.42.0.js +0 -1
- package/es/project-schema/v3.43.0.js +0 -1
- package/es/project-schema/v3.44.0.js +0 -1
- package/es/project-schema/v3.45.0.js +0 -1
- package/es/project-schema/v3.46.0.js +0 -1
- package/es/project-schema/v3.47.0.js +0 -1
- package/es/project-schema/v3.48.0.js +0 -1
- package/es/project-schema/v3.49.0.js +0 -1
- package/es/project-schema/v3.5.0.js +0 -1
- package/es/project-schema/v3.5.1.js +0 -1
- package/es/project-schema/v3.50.0.js +0 -1
- package/es/project-schema/v3.6.0.js +0 -1
- package/es/project-schema/v3.7.0.js +0 -1
- package/es/project-schema/v3.8.0.js +0 -1
- package/es/project-schema/v3.9.0.js +0 -1
- package/es/project-schema/v4.0.0.js +0 -1
- package/es/refs.js +0 -690
- package/es/relationships.js +0 -229
- package/es/scalars.js +0 -4
- package/es/schema-transform.js +0 -40
- package/es/schema-util.js +0 -1166
- package/es/schemas/index.js +0 -78
- package/es/schemas/index.ts +0 -152
- package/es/services.js +0 -154
- package/es/taxonomies.js +0 -34
- package/es/template-shapes/index.js +0 -36
- package/es/template-shapes/templates.js +0 -406
- package/es/template-shapes/types.js +0 -7
- package/es/template-shapes/where.js +0 -459
- package/es/types/index.js +0 -2
- package/es/types/types.js +0 -62
- package/es/types/utils.js +0 -298
- package/es/unions.js +0 -123
- package/es/user-schema.js +0 -1
- package/es/util/ai-tools.js +0 -8
- package/es/util/api-indexing.js +0 -66
- package/es/util/detect-cycles.js +0 -48
- package/es/util/find-shape-at-path.js +0 -55
- package/es/util/form-config.js +0 -73
- package/es/util/get-conflicting-properties.js +0 -54
- package/es/util/get-return-shape.js +0 -31
- package/es/util/has-arg.js +0 -13
- package/es/util/index.js +0 -10
- package/es/util/merge.js +0 -293
- package/es/util/patch-schema.js +0 -44
- package/es/validate.js +0 -1102
- package/es/versions.js +0 -4
- package/es/workflows.js +0 -68
- /package/dist/{schemas → cjs/src/schemas}/auth-schemas.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/experimental.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/latest.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/meta-schema-v1.0.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/meta-schema-v3.0.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/meta-schema-v3.1.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/meta-schema-v3.2.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/meta-schema-v3.3.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/meta-schema-v3.4.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/meta-schema-v3.5.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/meta-schema-v3.5.1.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/meta-schema-v3.6.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/meta-schema-v3.7.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/meta-schema-v3.8.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/meta-schema-v3.9.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v1.0.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.0.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.1.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.10.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.11.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.12.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.12.1.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.12.2.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.12.3.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.13.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.14.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.15.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.16.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.17.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.17.1.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.18.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.18.1.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.18.2.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.19.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.2.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.20.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.21.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.22.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.23.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.24.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.25.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.26.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.27.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.28.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.29.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.3.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.30.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.31.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.32.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.33.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.34.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.35.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.36.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.37.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.38.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.39.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.4.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.40.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.41.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.42.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.43.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.44.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.45.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.46.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.47.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.48.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.49.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.5.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.5.1.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.50.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.6.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.7.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.8.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v3.9.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema/v4.0.0.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/project-schema.json +0 -0
- /package/dist/{schemas → cjs/src/schemas}/user-schema.json +0 -0
- /package/{es → dist/esm/src}/schemas/auth-schemas.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/experimental.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/latest.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/meta-schema-v1.0.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/meta-schema-v3.0.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/meta-schema-v3.1.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/meta-schema-v3.2.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/meta-schema-v3.3.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/meta-schema-v3.4.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/meta-schema-v3.5.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/meta-schema-v3.5.1.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/meta-schema-v3.6.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/meta-schema-v3.7.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/meta-schema-v3.8.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/meta-schema-v3.9.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v1.0.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.0.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.1.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.10.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.11.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.12.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.12.1.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.12.2.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.12.3.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.13.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.14.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.15.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.16.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.17.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.17.1.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.18.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.18.1.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.18.2.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.19.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.2.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.20.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.21.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.22.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.23.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.24.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.25.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.26.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.27.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.28.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.29.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.3.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.30.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.31.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.32.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.33.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.34.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.35.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.36.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.37.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.38.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.39.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.4.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.40.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.41.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.42.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.43.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.44.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.45.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.46.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.47.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.48.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.49.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.5.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.5.1.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.50.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.6.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.7.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.8.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v3.9.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema/v4.0.0.json +0 -0
- /package/{es → dist/esm/src}/schemas/project-schema.json +0 -0
- /package/{es → dist/esm/src}/schemas/user-schema.json +0 -0
|
@@ -1,2033 +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 `ProjectSchemaJSON`'s JSON-Schema
|
|
8
|
-
* via the `definition` "args".
|
|
9
|
-
*/
|
|
10
|
-
export type Args = string | ObjectSchema;
|
|
11
|
-
/**
|
|
12
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
13
|
-
* via the `definition` "objectSchema".
|
|
14
|
-
*/
|
|
15
|
-
export type ObjectSchema = PropertySchema & {
|
|
16
|
-
type: 'object';
|
|
17
|
-
properties: {
|
|
18
|
-
[k: string]: PropertySchema;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
23
|
-
* via the `definition` "nonNegativeInteger".
|
|
24
|
-
*/
|
|
25
|
-
export type NonNegativeInteger = number;
|
|
26
|
-
/**
|
|
27
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
28
|
-
* via the `definition` "nonNegativeIntegerDefault0".
|
|
29
|
-
*/
|
|
30
|
-
export type NonNegativeIntegerDefault0 = NonNegativeInteger;
|
|
31
|
-
/**
|
|
32
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
33
|
-
* via the `definition` "stringArray".
|
|
34
|
-
*/
|
|
35
|
-
export type StringArray = string[];
|
|
36
|
-
/**
|
|
37
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
38
|
-
* via the `definition` "simpleTypes".
|
|
39
|
-
*/
|
|
40
|
-
export type SimpleTypes = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
|
|
41
|
-
/**
|
|
42
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
43
|
-
* via the `definition` "schemaArray".
|
|
44
|
-
*/
|
|
45
|
-
export type SchemaArray = PropertySchema[];
|
|
46
|
-
/**
|
|
47
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
48
|
-
* via the `definition` "ref".
|
|
49
|
-
*/
|
|
50
|
-
export type Ref = string;
|
|
51
|
-
/**
|
|
52
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
53
|
-
* via the `definition` "objectOrRefArray".
|
|
54
|
-
*/
|
|
55
|
-
export type ObjectOrRefArray = (RefSchema | RefSchemaLegacy | ObjectSchema)[];
|
|
56
|
-
/**
|
|
57
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
58
|
-
* via the `definition` "fieldMapping".
|
|
59
|
-
*/
|
|
60
|
-
export type FieldMapping = MappingString | MappingString[];
|
|
61
|
-
/**
|
|
62
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
63
|
-
* via the `definition` "mappingString".
|
|
64
|
-
*/
|
|
65
|
-
export type MappingString = string;
|
|
66
|
-
/**
|
|
67
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
68
|
-
* via the `definition` "resolver".
|
|
69
|
-
*/
|
|
70
|
-
export type Resolver = BasicResolver | ComposeResolver;
|
|
71
|
-
/**
|
|
72
|
-
* A single resolver, can be composed with the ComposeResolver.
|
|
73
|
-
*
|
|
74
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
75
|
-
* via the `definition` "basicResolver".
|
|
76
|
-
*/
|
|
77
|
-
export type BasicResolver = UtilResolver | DelegateResolver | TakeshapeResolver | ShapedbResolver | ShapedbResolverShapeNameNotRequired | GraphqlResolver | RestResolver | AwsLambdaResolver | SalsifyResolver | SyndigoResolver | FunctionResolver | AIGenerateTextResolver | AIEmbeddingResolver | AIParseFileResolver | AIRunAgentResolver | AIInspectAgentResolver;
|
|
78
|
-
/**
|
|
79
|
-
* Name of the resolver function.
|
|
80
|
-
*/
|
|
81
|
-
export type UtilResolverName = 'util:noop' | 'util:wrap';
|
|
82
|
-
/**
|
|
83
|
-
* An object describing an operation to generate a parameter.
|
|
84
|
-
*
|
|
85
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
86
|
-
* via the `definition` "parameterOp".
|
|
87
|
-
*/
|
|
88
|
-
export type ParameterOp = ParameterOpNested | ParameterOpValue | ParameterOpMapping | ParameterOpOp;
|
|
89
|
-
/**
|
|
90
|
-
* A tuple with a string directive name, and options to pass to the directive
|
|
91
|
-
*
|
|
92
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
93
|
-
* via the `definition` "directiveConfigItem".
|
|
94
|
-
*/
|
|
95
|
-
export type DirectiveConfigItem = [DirectiveName, DirectiveOptions];
|
|
96
|
-
export type DirectiveName = string;
|
|
97
|
-
/**
|
|
98
|
-
* An array of individual directive config items to process in order
|
|
99
|
-
*
|
|
100
|
-
* This interface was referenced by `DirectiveMappingMap`'s JSON-Schema definition
|
|
101
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
102
|
-
*
|
|
103
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
104
|
-
* via the `definition` "directiveConfig".
|
|
105
|
-
*/
|
|
106
|
-
export type DirectiveConfig = DirectiveConfigItem[];
|
|
107
|
-
/**
|
|
108
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
109
|
-
* via the `definition` "parameterOpList".
|
|
110
|
-
*/
|
|
111
|
-
export type ParameterOpList = ParameterOp[];
|
|
112
|
-
/**
|
|
113
|
-
* Maps a query's input args to the input expected by the service's endpoint.
|
|
114
|
-
*
|
|
115
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
116
|
-
* via the `definition` "argsMapping".
|
|
117
|
-
*/
|
|
118
|
-
export type ArgsMapping = DirectiveMappingMap | DirectiveConfig;
|
|
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 `ProjectSchemaJSON`'s JSON-Schema
|
|
123
|
-
* via the `definition` "resultsMapping".
|
|
124
|
-
*/
|
|
125
|
-
export type ResultsMapping = DirectiveMappingMap | DirectiveConfig;
|
|
126
|
-
/**
|
|
127
|
-
* Name of the resolver function.
|
|
128
|
-
*/
|
|
129
|
-
export type DelegateResolverName = 'delegate';
|
|
130
|
-
/**
|
|
131
|
-
* Name of the resolver function.
|
|
132
|
-
*/
|
|
133
|
-
export type TakeshapeResolverName = 'takeshape:getUser' | 'takeshape:search' | 'takeshape:vectorSearch' | 'takeshape:queryApiIndex';
|
|
134
|
-
/**
|
|
135
|
-
* Name of the resolver function.
|
|
136
|
-
*/
|
|
137
|
-
export type ShapedbResolverName = 'shapedb:get' | 'shapedb:create' | 'shapedb:update' | 'shapedb:delete' | 'shapedb:duplicate' | 'shapedb:find';
|
|
138
|
-
/**
|
|
139
|
-
* Name of the resolver function.
|
|
140
|
-
*/
|
|
141
|
-
export type ShapedbResolverShapeNameNotRequiredName = 'shapedb:list' | 'shapedb:taxonomySuggest' | 'shapedb:getRelated';
|
|
142
|
-
/**
|
|
143
|
-
* Name of the resolver function.
|
|
144
|
-
*/
|
|
145
|
-
export type GraphqlResolverName = 'graphql:query' | 'graphql:mutation' | 'shopify:bulkQuery';
|
|
146
|
-
/**
|
|
147
|
-
* Name of the resolver function.
|
|
148
|
-
*/
|
|
149
|
-
export type RestResolverName = '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 `ProjectSchemaJSON`'s JSON-Schema
|
|
154
|
-
* via the `definition` "directiveMappingArrayItem".
|
|
155
|
-
*/
|
|
156
|
-
export type DirectiveMappingArrayItem = [string, DirectiveConfig];
|
|
157
|
-
/**
|
|
158
|
-
* An array of key / value or directive config tuples
|
|
159
|
-
*/
|
|
160
|
-
export type SearchParamsMapping = DirectiveMappingArrayItem[];
|
|
161
|
-
/**
|
|
162
|
-
* Name of the resolver function.
|
|
163
|
-
*/
|
|
164
|
-
export type AwsLambdaResolverName = 'awsLambda:invoke';
|
|
165
|
-
/**
|
|
166
|
-
* Name of the resolver function.
|
|
167
|
-
*/
|
|
168
|
-
export type SalsifyResolverName = 'salsify:listChannelProducts';
|
|
169
|
-
/**
|
|
170
|
-
* Name of the resolver function.
|
|
171
|
-
*/
|
|
172
|
-
export type SyndigoResolverName = 'syndigo:searchProducts';
|
|
173
|
-
/**
|
|
174
|
-
* Name of the resolver function.
|
|
175
|
-
*/
|
|
176
|
-
export type FunctionResolverName = 'function:run';
|
|
177
|
-
export type FunctionResolverJavascript = string;
|
|
178
|
-
/**
|
|
179
|
-
* Name of the resolver function.
|
|
180
|
-
*/
|
|
181
|
-
export type AIResolverName = 'ai:generateText' | 'ai:chat';
|
|
182
|
-
export type History = boolean;
|
|
183
|
-
/**
|
|
184
|
-
* Maximum number of tokens to generate.
|
|
185
|
-
*/
|
|
186
|
-
export type MaximumTokens = number;
|
|
187
|
-
/**
|
|
188
|
-
* 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
|
|
189
|
-
*/
|
|
190
|
-
export type Temperature = number;
|
|
191
|
-
/**
|
|
192
|
-
* 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.
|
|
193
|
-
*/
|
|
194
|
-
export type TopP = number;
|
|
195
|
-
/**
|
|
196
|
-
* 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.
|
|
197
|
-
*/
|
|
198
|
-
export type TopK = number;
|
|
199
|
-
/**
|
|
200
|
-
* 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.
|
|
201
|
-
*/
|
|
202
|
-
export type PresencePenaltySetting = number;
|
|
203
|
-
/**
|
|
204
|
-
* 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.
|
|
205
|
-
*/
|
|
206
|
-
export type FrequencyPenaltySetting = number;
|
|
207
|
-
/**
|
|
208
|
-
* If set, the model will stop generating text when one of the stop sequences is generated.
|
|
209
|
-
*/
|
|
210
|
-
export type StopSequences = string[];
|
|
211
|
-
/**
|
|
212
|
-
* The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
|
|
213
|
-
*/
|
|
214
|
-
export type Seed = number;
|
|
215
|
-
/**
|
|
216
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
217
|
-
* via the `definition` "aiGuardrail".
|
|
218
|
-
*/
|
|
219
|
-
export type AIGuardrail = AISimilarityGuardrail;
|
|
220
|
-
/**
|
|
221
|
-
* Name of the resolver function.
|
|
222
|
-
*/
|
|
223
|
-
export type AIResolverName1 = 'ai:createEmbedding';
|
|
224
|
-
/**
|
|
225
|
-
* Name of the resolver function.
|
|
226
|
-
*/
|
|
227
|
-
export type AIResolverName2 = 'ai:parseFile';
|
|
228
|
-
/**
|
|
229
|
-
* Name of the resolver function.
|
|
230
|
-
*/
|
|
231
|
-
export type AIResolverName3 = 'ai:runAgent';
|
|
232
|
-
/**
|
|
233
|
-
* Name of the resolver function.
|
|
234
|
-
*/
|
|
235
|
-
export type AIResolverName4 = 'ai:inspectAgentSession';
|
|
236
|
-
/**
|
|
237
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
238
|
-
* via the `definition` "dependencies".
|
|
239
|
-
*/
|
|
240
|
-
export type Dependencies = string;
|
|
241
|
-
/**
|
|
242
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
243
|
-
* via the `definition` "returnShape".
|
|
244
|
-
*/
|
|
245
|
-
export type ReturnShape = string | ReturnShapeArraySchema;
|
|
246
|
-
/**
|
|
247
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
248
|
-
* via the `definition` "returnShapeArraySchema".
|
|
249
|
-
*/
|
|
250
|
-
export type ReturnShapeArraySchema = PropertySchema & {
|
|
251
|
-
type: 'array';
|
|
252
|
-
items: RefSchema | {
|
|
253
|
-
type: 'boolean' | 'integer' | 'number' | 'string' | 'object';
|
|
254
|
-
[k: string]: any;
|
|
255
|
-
};
|
|
256
|
-
};
|
|
257
|
-
export type ModelType = 'single' | 'multiple' | 'taxonomy';
|
|
258
|
-
/**
|
|
259
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
260
|
-
* via the `definition` "paginationConfig".
|
|
261
|
-
*/
|
|
262
|
-
export type PaginationConfig = PaginationCursorConfig | PaginationPageConfig | PaginationOffsetConfig;
|
|
263
|
-
/**
|
|
264
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
265
|
-
* via the `definition` "cacheTriggerConfig".
|
|
266
|
-
*/
|
|
267
|
-
export type CacheTriggerConfig = CacheScheduleTriggerConfig | CacheWebhookTriggerConfig;
|
|
268
|
-
/**
|
|
269
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
270
|
-
* via the `definition` "shapeSchema".
|
|
271
|
-
*/
|
|
272
|
-
export type ShapeSchema = ShapeSchemaAllOf | ShapeSchemaExtends | ShapeSchemaOneOf | ShapeSchemaEnum | ObjectSchema | ShapeSchemaAny;
|
|
273
|
-
export type AgentAPI = AgentAPIChat | AgentAPIGenerate;
|
|
274
|
-
/**
|
|
275
|
-
* These steps are evaluated in order until a destination is found.
|
|
276
|
-
*/
|
|
277
|
-
export type AgentStateTransition = AgentTransitionStep[];
|
|
278
|
-
export type AgentVariableStep = AgentVariableStepGraphQLArg | AgentVariableStepStateOutput | AgentVariableStepPreviousStateOutput | AgentVariableStepStaticValue;
|
|
279
|
-
export type AgentVariableStepCondition = AgentVariableStepConditionNone | AgentVariableStepConditionSourceState;
|
|
280
|
-
export type Variables = AgentVariable[];
|
|
281
|
-
export type AgentExecution = AgentExecutionGraphQL | AgentExecutionGenerate | AgentExecutionChat;
|
|
282
|
-
export type AgentAIStateInput = AgentAIStateInputArgument | AgentAIStateInputTemplate;
|
|
283
|
-
export type AgentGuardrail = AgentSimilarityGuardrail;
|
|
284
|
-
export type History1 = boolean;
|
|
285
|
-
/**
|
|
286
|
-
* Maximum number of tokens to generate.
|
|
287
|
-
*/
|
|
288
|
-
export type MaximumTokens1 = number;
|
|
289
|
-
/**
|
|
290
|
-
* 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
|
|
291
|
-
*/
|
|
292
|
-
export type Temperature1 = number;
|
|
293
|
-
/**
|
|
294
|
-
* 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.
|
|
295
|
-
*/
|
|
296
|
-
export type TopP1 = number;
|
|
297
|
-
/**
|
|
298
|
-
* 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.
|
|
299
|
-
*/
|
|
300
|
-
export type TopK1 = number;
|
|
301
|
-
/**
|
|
302
|
-
* 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.
|
|
303
|
-
*/
|
|
304
|
-
export type PresencePenaltySetting1 = number;
|
|
305
|
-
/**
|
|
306
|
-
* 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.
|
|
307
|
-
*/
|
|
308
|
-
export type FrequencyPenaltySetting1 = number;
|
|
309
|
-
/**
|
|
310
|
-
* If set, the model will stop generating text when one of the stop sequences is generated.
|
|
311
|
-
*/
|
|
312
|
-
export type StopSequences1 = string[];
|
|
313
|
-
/**
|
|
314
|
-
* The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
|
|
315
|
-
*/
|
|
316
|
-
export type Seed1 = number;
|
|
317
|
-
/**
|
|
318
|
-
* Human-readable id for use in the UI
|
|
319
|
-
*/
|
|
320
|
-
export type WorkflowName = string;
|
|
321
|
-
/**
|
|
322
|
-
* machine-readable slug
|
|
323
|
-
*/
|
|
324
|
-
export type Name = string;
|
|
325
|
-
/**
|
|
326
|
-
* Human-readable id for use in the UI
|
|
327
|
-
*/
|
|
328
|
-
export type Title = string;
|
|
329
|
-
export type Description = string;
|
|
330
|
-
/**
|
|
331
|
-
* Hex color code
|
|
332
|
-
*/
|
|
333
|
-
export type Color = string;
|
|
334
|
-
/**
|
|
335
|
-
* Value to indicate whether items in the state should be returned in list queries
|
|
336
|
-
*/
|
|
337
|
-
export type Live = boolean;
|
|
338
|
-
/**
|
|
339
|
-
* machine-readable id
|
|
340
|
-
*/
|
|
341
|
-
export type Key = string;
|
|
342
|
-
export type Steps = WorkflowStep[];
|
|
343
|
-
/**
|
|
344
|
-
* The general type of this service, specifying how and where it will be utilized.
|
|
345
|
-
*
|
|
346
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
347
|
-
* via the `definition` "serviceType".
|
|
348
|
-
*/
|
|
349
|
-
export type ServiceType = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
|
|
350
|
-
/**
|
|
351
|
-
* The name of a health check to run
|
|
352
|
-
*/
|
|
353
|
-
export type CheckName = 'graphqlIntrospection' | 'ping' | 'none';
|
|
354
|
-
/**
|
|
355
|
-
* The endpoint to use when checking the service health.
|
|
356
|
-
*/
|
|
357
|
-
export type Endpoint = string;
|
|
358
|
-
/**
|
|
359
|
-
* A custom method to use for the health check request.
|
|
360
|
-
*/
|
|
361
|
-
export type RequestMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
362
|
-
/**
|
|
363
|
-
* A custom body to send along with the ping request.
|
|
364
|
-
*/
|
|
365
|
-
export type RequestBody = string;
|
|
366
|
-
/**
|
|
367
|
-
* A custom body to send along with the ping request.
|
|
368
|
-
*/
|
|
369
|
-
export type RequestBodyFormat = 'string' | 'form' | 'json' | 'form-data';
|
|
370
|
-
/**
|
|
371
|
-
* The amount of time to wait when receiving a response from the health check, in seconds.
|
|
372
|
-
*/
|
|
373
|
-
export type RequestTimeout = number;
|
|
374
|
-
/**
|
|
375
|
-
* The response status code that qualifies as healthy.
|
|
376
|
-
*/
|
|
377
|
-
export type HealthyResponseStatusCode = number;
|
|
378
|
-
/**
|
|
379
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
380
|
-
* via the `definition` "serviceHealthCheckTrigger".
|
|
381
|
-
*/
|
|
382
|
-
export type ServiceHealthCheckTrigger = 'manual' | 'schedule';
|
|
383
|
-
/**
|
|
384
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
385
|
-
* via the `definition` "allOfSchema".
|
|
386
|
-
*/
|
|
387
|
-
export type AllOfSchema = PropertySchema & {
|
|
388
|
-
allOf: ObjectOrRefArray;
|
|
389
|
-
};
|
|
390
|
-
/**
|
|
391
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
392
|
-
* via the `definition` "extendsSchema".
|
|
393
|
-
*/
|
|
394
|
-
export type ExtendsSchema = PropertySchema & {
|
|
395
|
-
extends: ObjectOrRefArray;
|
|
396
|
-
};
|
|
397
|
-
/**
|
|
398
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
399
|
-
* via the `definition` "oneOfSchema".
|
|
400
|
-
*/
|
|
401
|
-
export type OneOfSchema = PropertySchema & {
|
|
402
|
-
oneOf: ObjectOrRefArray;
|
|
403
|
-
};
|
|
404
|
-
/**
|
|
405
|
-
* Options to be passed to the serialization routine.
|
|
406
|
-
*
|
|
407
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
408
|
-
* via the `definition` "parameterSerializeOptions".
|
|
409
|
-
*
|
|
410
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
411
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
412
|
-
*/
|
|
413
|
-
export type ParameterSerializeOptions = ParameterSerializeStyleOptions | ParameterSerializeContentOptions;
|
|
414
|
-
/**
|
|
415
|
-
* An array of key / value or directive config tuples
|
|
416
|
-
*
|
|
417
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
418
|
-
* via the `definition` "directiveMappingArray".
|
|
419
|
-
*/
|
|
420
|
-
export type DirectiveMappingArray = DirectiveMappingArrayItem[];
|
|
421
|
-
/**
|
|
422
|
-
* A resolver which references a specific service
|
|
423
|
-
*
|
|
424
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
425
|
-
* via the `definition` "serviceResolver".
|
|
426
|
-
*/
|
|
427
|
-
export type ServiceResolver = TakeshapeResolver | ShapedbResolverShapeNameNotRequired | ShapedbResolver | GraphqlResolver | RestResolver | AwsLambdaResolver;
|
|
428
|
-
/**
|
|
429
|
-
* An array of key / value or directive config tuples
|
|
430
|
-
*
|
|
431
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
432
|
-
* via the `definition` "searchParamsMapping".
|
|
433
|
-
*/
|
|
434
|
-
export type SearchParamsMapping1 = DirectiveMappingArrayItem[];
|
|
435
|
-
/**
|
|
436
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
437
|
-
* via the `definition` "shapeWithObjectSchema".
|
|
438
|
-
*/
|
|
439
|
-
export type ShapeWithObjectSchema = ShapeJSON & {
|
|
440
|
-
schema: ObjectSchema;
|
|
441
|
-
};
|
|
442
|
-
/**
|
|
443
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
444
|
-
* via the `definition` "serviceAuthentication".
|
|
445
|
-
*/
|
|
446
|
-
export type ServiceAuthentication = OAuth2Authentication | OAuth2BearerAuthentication | BearerAuthentication | BasicAuthentication | SearchParamsAuthentication | AWSAuthentication | GoogleAuthentication | CustomAuthentication;
|
|
447
|
-
/**
|
|
448
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
449
|
-
* via the `definition` "anyServiceConfig".
|
|
450
|
-
*/
|
|
451
|
-
export type AnyServiceConfig = ServiceConfigJSON | ServiceConfig;
|
|
452
|
-
export interface ProjectSchemaJSON {
|
|
453
|
-
$schema?: string;
|
|
454
|
-
/**
|
|
455
|
-
* The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
|
|
456
|
-
*/
|
|
457
|
-
apiVersion: string;
|
|
458
|
-
/**
|
|
459
|
-
* The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
|
|
460
|
-
*/
|
|
461
|
-
schemaVersion: '3.50.0';
|
|
462
|
-
/**
|
|
463
|
-
* The ID of the TakeShape project this schema belongs to.
|
|
464
|
-
*/
|
|
465
|
-
projectId: string;
|
|
466
|
-
/**
|
|
467
|
-
* The ID of the TakeShape user who created the schema.
|
|
468
|
-
*/
|
|
469
|
-
author?: string;
|
|
470
|
-
deactivated?: number;
|
|
471
|
-
/**
|
|
472
|
-
* The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
|
|
473
|
-
*/
|
|
474
|
-
defaultLocale: string;
|
|
475
|
-
locales: string[];
|
|
476
|
-
queries: QueryMap;
|
|
477
|
-
mutations: QueryMap;
|
|
478
|
-
shapes: ShapeMap;
|
|
479
|
-
'ai-experimental'?: AIExperimental;
|
|
480
|
-
forms?: FormMap;
|
|
481
|
-
workflows: WorkflowMap;
|
|
482
|
-
services?: ServiceMapJSON;
|
|
483
|
-
}
|
|
484
|
-
/**
|
|
485
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
486
|
-
* via the `definition` "queryMap".
|
|
487
|
-
*/
|
|
488
|
-
export interface QueryMap {
|
|
489
|
-
[k: string]: QueryJSON;
|
|
490
|
-
}
|
|
491
|
-
/**
|
|
492
|
-
* This interface was referenced by `QueryMap`'s JSON-Schema definition
|
|
493
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
494
|
-
*
|
|
495
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
496
|
-
* via the `definition` "query".
|
|
497
|
-
*/
|
|
498
|
-
export interface QueryJSON {
|
|
499
|
-
args?: Args;
|
|
500
|
-
resolver: Resolver;
|
|
501
|
-
shape: ReturnShape;
|
|
502
|
-
/**
|
|
503
|
-
* Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
|
|
504
|
-
*/
|
|
505
|
-
description?: string;
|
|
506
|
-
}
|
|
507
|
-
/**
|
|
508
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
509
|
-
* via the `definition` "propertySchema".
|
|
510
|
-
*/
|
|
511
|
-
export interface PropertySchema {
|
|
512
|
-
$ref?: string;
|
|
513
|
-
title?: string;
|
|
514
|
-
description?: string;
|
|
515
|
-
default?: any;
|
|
516
|
-
readOnly?: boolean;
|
|
517
|
-
multipleOf?: number;
|
|
518
|
-
maximum?: number;
|
|
519
|
-
exclusiveMaximum?: number;
|
|
520
|
-
minimum?: number;
|
|
521
|
-
exclusiveMinimum?: number;
|
|
522
|
-
maxLength?: NonNegativeInteger;
|
|
523
|
-
minLength?: NonNegativeIntegerDefault0;
|
|
524
|
-
pattern?: string;
|
|
525
|
-
additionalItems?: PropertySchema;
|
|
526
|
-
items?: PropertySchema;
|
|
527
|
-
maxItems?: NonNegativeInteger;
|
|
528
|
-
minItems?: NonNegativeIntegerDefault0;
|
|
529
|
-
uniqueItems?: boolean;
|
|
530
|
-
contains?: PropertySchema;
|
|
531
|
-
maxProperties?: NonNegativeInteger;
|
|
532
|
-
minProperties?: NonNegativeIntegerDefault0;
|
|
533
|
-
required?: StringArray;
|
|
534
|
-
additionalProperties?: PropertySchema | false;
|
|
535
|
-
definitions?: {
|
|
536
|
-
[k: string]: PropertySchema;
|
|
537
|
-
};
|
|
538
|
-
properties?: {
|
|
539
|
-
[k: string]: PropertySchema;
|
|
540
|
-
};
|
|
541
|
-
const?: any;
|
|
542
|
-
enum?: any[];
|
|
543
|
-
type?: SimpleTypes | SimpleTypes[];
|
|
544
|
-
format?: string;
|
|
545
|
-
contentMediaType?: string;
|
|
546
|
-
contentEncoding?: string;
|
|
547
|
-
allOf?: SchemaArray;
|
|
548
|
-
discriminator?: {
|
|
549
|
-
propertyName?: string;
|
|
550
|
-
[k: string]: any;
|
|
551
|
-
};
|
|
552
|
-
oneOf?: SchemaArray;
|
|
553
|
-
extends?: ObjectOrRefArray;
|
|
554
|
-
'@backreference'?: BackReference;
|
|
555
|
-
'@input'?: PropertySchema;
|
|
556
|
-
'@output'?: PropertySchema;
|
|
557
|
-
'@syncLocaleStructure'?: boolean;
|
|
558
|
-
'@sensitive'?: boolean;
|
|
559
|
-
'@draftjs'?: boolean;
|
|
560
|
-
'@l10n'?: boolean;
|
|
561
|
-
'@key'?: string;
|
|
562
|
-
'@workflow'?: string;
|
|
563
|
-
'@mapping'?: FieldMapping;
|
|
564
|
-
'@tag'?: string;
|
|
565
|
-
'@tags'?: string[];
|
|
566
|
-
'@deprecationReason'?: string;
|
|
567
|
-
'@args'?: Args;
|
|
568
|
-
'@resolver'?: Resolver;
|
|
569
|
-
'@dependencies'?: Dependencies;
|
|
570
|
-
'@ref'?: Ref;
|
|
571
|
-
'@derivedFrom'?: string;
|
|
572
|
-
'@indexed'?: Indexed;
|
|
573
|
-
'@graphql'?: GraphQLConfig;
|
|
574
|
-
}
|
|
575
|
-
/**
|
|
576
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
577
|
-
* via the `definition` "refSchema".
|
|
578
|
-
*/
|
|
579
|
-
export interface RefSchema {
|
|
580
|
-
'@ref': Ref;
|
|
581
|
-
[k: string]: any;
|
|
582
|
-
}
|
|
583
|
-
/**
|
|
584
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
585
|
-
* via the `definition` "refSchemaLegacy".
|
|
586
|
-
*/
|
|
587
|
-
export interface RefSchemaLegacy {
|
|
588
|
-
$ref: Ref;
|
|
589
|
-
[k: string]: any;
|
|
590
|
-
}
|
|
591
|
-
/**
|
|
592
|
-
* A configuration object for a reverse reference in a relationship.
|
|
593
|
-
*
|
|
594
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
595
|
-
* via the `definition` "backreference".
|
|
596
|
-
*/
|
|
597
|
-
export interface BackReference {
|
|
598
|
-
enabled: boolean;
|
|
599
|
-
name?: string;
|
|
600
|
-
}
|
|
601
|
-
/**
|
|
602
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
603
|
-
* via the `definition` "utilResolver".
|
|
604
|
-
*/
|
|
605
|
-
export interface UtilResolver {
|
|
606
|
-
if?: string;
|
|
607
|
-
id?: string;
|
|
608
|
-
name: UtilResolverName;
|
|
609
|
-
options?: UtilResolverOptions;
|
|
610
|
-
/**
|
|
611
|
-
* Optional value to return from the noop resolver.
|
|
612
|
-
*/
|
|
613
|
-
value?: number | string | boolean | {
|
|
614
|
-
[k: string]: any;
|
|
615
|
-
} | any[] | null;
|
|
616
|
-
args?: ParameterConfigForJson;
|
|
617
|
-
results?: ParameterConfigForJson;
|
|
618
|
-
argsMapping?: ArgsMapping;
|
|
619
|
-
resultsMapping?: ResultsMapping;
|
|
620
|
-
}
|
|
621
|
-
export interface UtilResolverOptions {
|
|
622
|
-
[k: string]: any;
|
|
623
|
-
}
|
|
624
|
-
/**
|
|
625
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
626
|
-
* via the `definition` "parameterConfigForJson".
|
|
627
|
-
*/
|
|
628
|
-
export interface ParameterConfigForJson {
|
|
629
|
-
ops: ParameterOpList;
|
|
630
|
-
}
|
|
631
|
-
/**
|
|
632
|
-
* An object describing an operation to generate a parameter, using a nested OpList.
|
|
633
|
-
*
|
|
634
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
635
|
-
* via the `definition` "parameterOpNested".
|
|
636
|
-
*/
|
|
637
|
-
export interface ParameterOpNested {
|
|
638
|
-
/**
|
|
639
|
-
* A path to the parameter for this operation.
|
|
640
|
-
*/
|
|
641
|
-
path: string;
|
|
642
|
-
/**
|
|
643
|
-
* A mode for this parameter's operation.
|
|
644
|
-
*/
|
|
645
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
646
|
-
ops: ParameterOpList;
|
|
647
|
-
}
|
|
648
|
-
/**
|
|
649
|
-
* An object describing an operation to generate a parameter using a value.
|
|
650
|
-
*
|
|
651
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
652
|
-
* via the `definition` "parameterOpValue".
|
|
653
|
-
*/
|
|
654
|
-
export interface ParameterOpValue {
|
|
655
|
-
/**
|
|
656
|
-
* A path to the parameter for this operation.
|
|
657
|
-
*/
|
|
658
|
-
path: string;
|
|
659
|
-
/**
|
|
660
|
-
* A mode for this parameter's operation.
|
|
661
|
-
*/
|
|
662
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
663
|
-
/**
|
|
664
|
-
* A value to set directly at this path.
|
|
665
|
-
*/
|
|
666
|
-
value: number | string | boolean | {
|
|
667
|
-
[k: string]: any;
|
|
668
|
-
} | any[] | null;
|
|
669
|
-
}
|
|
670
|
-
/**
|
|
671
|
-
* An object describing an operation to generate a parameter using a mapping.
|
|
672
|
-
*
|
|
673
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
674
|
-
* via the `definition` "parameterOpMapping".
|
|
675
|
-
*/
|
|
676
|
-
export interface ParameterOpMapping {
|
|
677
|
-
/**
|
|
678
|
-
* A path to the parameter for this operation.
|
|
679
|
-
*/
|
|
680
|
-
path: string;
|
|
681
|
-
/**
|
|
682
|
-
* A mode for this parameter's operation.
|
|
683
|
-
*/
|
|
684
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
685
|
-
/**
|
|
686
|
-
* Either a valid JSONPath or a directive pipeline to evaluate against the query context.
|
|
687
|
-
*/
|
|
688
|
-
mapping: string | DirectiveConfig;
|
|
689
|
-
}
|
|
690
|
-
export interface DirectiveOptions {
|
|
691
|
-
[k: string]: any;
|
|
692
|
-
}
|
|
693
|
-
/**
|
|
694
|
-
* An object describing an operation to generate a parameter using a mapping.
|
|
695
|
-
*
|
|
696
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
697
|
-
* via the `definition` "parameterOpOp".
|
|
698
|
-
*/
|
|
699
|
-
export interface ParameterOpOp {
|
|
700
|
-
/**
|
|
701
|
-
* A path to the parameter for this operation.
|
|
702
|
-
*/
|
|
703
|
-
path: string;
|
|
704
|
-
/**
|
|
705
|
-
* A mode for this parameter's operation.
|
|
706
|
-
*/
|
|
707
|
-
op: 'set' | 'concat' | 'extend' | 'remove';
|
|
708
|
-
}
|
|
709
|
-
/**
|
|
710
|
-
* An map of object keys / key paths to directive configs
|
|
711
|
-
*
|
|
712
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
713
|
-
* via the `definition` "directiveMappingMap".
|
|
714
|
-
*/
|
|
715
|
-
export interface DirectiveMappingMap {
|
|
716
|
-
[k: string]: DirectiveConfig;
|
|
717
|
-
}
|
|
718
|
-
/**
|
|
719
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
720
|
-
* via the `definition` "delegateResolver".
|
|
721
|
-
*/
|
|
722
|
-
export interface DelegateResolver {
|
|
723
|
-
if?: string;
|
|
724
|
-
id?: string;
|
|
725
|
-
name: DelegateResolverName;
|
|
726
|
-
options?: DelegateResolverOptions;
|
|
727
|
-
argsMapping?: ArgsMapping;
|
|
728
|
-
resultsMapping?: ResultsMapping;
|
|
729
|
-
/**
|
|
730
|
-
* A ref to a query/mutation/property to delegate to.
|
|
731
|
-
*/
|
|
732
|
-
to: string;
|
|
733
|
-
args?: ParameterConfigForJson;
|
|
734
|
-
results?: ParameterConfigForJson;
|
|
735
|
-
}
|
|
736
|
-
export interface DelegateResolverOptions {
|
|
737
|
-
[k: string]: any;
|
|
738
|
-
}
|
|
739
|
-
/**
|
|
740
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
741
|
-
* via the `definition` "takeshapeResolver".
|
|
742
|
-
*/
|
|
743
|
-
export interface TakeshapeResolver {
|
|
744
|
-
if?: string;
|
|
745
|
-
id?: string;
|
|
746
|
-
name: TakeshapeResolverName;
|
|
747
|
-
/**
|
|
748
|
-
* Internal service identifier.
|
|
749
|
-
*/
|
|
750
|
-
service: 'takeshape';
|
|
751
|
-
options?: TakeshapeResolverOptions;
|
|
752
|
-
/**
|
|
753
|
-
* An optional Shape name for the resolver.
|
|
754
|
-
*/
|
|
755
|
-
shapeName?: string;
|
|
756
|
-
args?: ParameterConfigForJson;
|
|
757
|
-
results?: ParameterConfigForJson;
|
|
758
|
-
argsMapping?: ArgsMapping;
|
|
759
|
-
resultsMapping?: ResultsMapping;
|
|
760
|
-
}
|
|
761
|
-
export interface TakeshapeResolverOptions {
|
|
762
|
-
[k: string]: any;
|
|
763
|
-
}
|
|
764
|
-
/**
|
|
765
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
766
|
-
* via the `definition` "shapedbResolver".
|
|
767
|
-
*/
|
|
768
|
-
export interface ShapedbResolver {
|
|
769
|
-
if?: string;
|
|
770
|
-
id?: string;
|
|
771
|
-
name: ShapedbResolverName;
|
|
772
|
-
/**
|
|
773
|
-
* Internal service identifier.
|
|
774
|
-
*/
|
|
775
|
-
service: 'shapedb';
|
|
776
|
-
options?: ShapedbResolverOptions;
|
|
777
|
-
argsMapping?: ArgsMapping;
|
|
778
|
-
resultsMapping?: ResultsMapping;
|
|
779
|
-
/**
|
|
780
|
-
* A Shape name for the resolver to use.
|
|
781
|
-
*/
|
|
782
|
-
shapeName: string;
|
|
783
|
-
args?: ParameterConfigForJson;
|
|
784
|
-
results?: ParameterConfigForJson;
|
|
785
|
-
}
|
|
786
|
-
export interface ShapedbResolverOptions {
|
|
787
|
-
[k: string]: any;
|
|
788
|
-
}
|
|
789
|
-
/**
|
|
790
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
791
|
-
* via the `definition` "shapedbResolverShapeNameNotRequired".
|
|
792
|
-
*/
|
|
793
|
-
export interface ShapedbResolverShapeNameNotRequired {
|
|
794
|
-
if?: string;
|
|
795
|
-
id?: string;
|
|
796
|
-
name: ShapedbResolverShapeNameNotRequiredName;
|
|
797
|
-
/**
|
|
798
|
-
* Internal service identifier.
|
|
799
|
-
*/
|
|
800
|
-
service: 'shapedb';
|
|
801
|
-
options?: ShapedbResolverShapeNameNotRequiredOptions;
|
|
802
|
-
/**
|
|
803
|
-
* An optional Shape name for the resolver.
|
|
804
|
-
*/
|
|
805
|
-
shapeName?: string;
|
|
806
|
-
args?: ParameterConfigForJson;
|
|
807
|
-
results?: ParameterConfigForJson;
|
|
808
|
-
argsMapping?: ArgsMapping;
|
|
809
|
-
resultsMapping?: ResultsMapping;
|
|
810
|
-
}
|
|
811
|
-
export interface ShapedbResolverShapeNameNotRequiredOptions {
|
|
812
|
-
[k: string]: any;
|
|
813
|
-
}
|
|
814
|
-
/**
|
|
815
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
816
|
-
* via the `definition` "graphqlResolver".
|
|
817
|
-
*/
|
|
818
|
-
export interface GraphqlResolver {
|
|
819
|
-
if?: string;
|
|
820
|
-
id?: string;
|
|
821
|
-
name: GraphqlResolverName;
|
|
822
|
-
/**
|
|
823
|
-
* Configuration for a service to use with this resolver.
|
|
824
|
-
*/
|
|
825
|
-
service: string;
|
|
826
|
-
argsMapping?: ArgsMapping;
|
|
827
|
-
resultsMapping?: ResultsMapping;
|
|
828
|
-
options?: GraphqlResolverOptions;
|
|
829
|
-
/**
|
|
830
|
-
* A fieldname to use in queries.
|
|
831
|
-
*/
|
|
832
|
-
fieldName: string;
|
|
833
|
-
headers?: ParameterConfigForHeaders;
|
|
834
|
-
searchParams?: ParameterConfigForSearchParams;
|
|
835
|
-
args?: ParameterConfigForJson;
|
|
836
|
-
results?: ParameterConfigForJson;
|
|
837
|
-
}
|
|
838
|
-
export interface GraphqlResolverOptions {
|
|
839
|
-
selectionSet?: string;
|
|
840
|
-
unboxParentSelectionSet?: boolean;
|
|
841
|
-
ignoreErrors?: boolean;
|
|
842
|
-
skipWhenMissingArgs?: boolean;
|
|
843
|
-
ttl?: number;
|
|
844
|
-
timeout?: number;
|
|
845
|
-
allowStream?: boolean;
|
|
846
|
-
retry?: number | {
|
|
847
|
-
[k: string]: any;
|
|
848
|
-
};
|
|
849
|
-
[k: string]: any;
|
|
850
|
-
}
|
|
851
|
-
/**
|
|
852
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
853
|
-
* via the `definition` "parameterConfigForHeaders".
|
|
854
|
-
*/
|
|
855
|
-
export interface ParameterConfigForHeaders {
|
|
856
|
-
ops: ParameterOpList;
|
|
857
|
-
serialize?: ParameterSerializeConfigForHeaders;
|
|
858
|
-
}
|
|
859
|
-
/**
|
|
860
|
-
* Top-level paths to use headers serialization options for.
|
|
861
|
-
*
|
|
862
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
863
|
-
* via the `definition` "parameterSerializeConfigForHeaders".
|
|
864
|
-
*/
|
|
865
|
-
export interface ParameterSerializeConfigForHeaders {
|
|
866
|
-
defaults?: ParameterSerializeStyleOptionsForHeaders | ParameterSerializeContentOptions;
|
|
867
|
-
paths?: {
|
|
868
|
-
/**
|
|
869
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
870
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
871
|
-
*/
|
|
872
|
-
[k: string]: ParameterSerializeStyleOptionsForHeaders | ParameterSerializeContentOptions;
|
|
873
|
-
};
|
|
874
|
-
}
|
|
875
|
-
/**
|
|
876
|
-
* Options to be passed to the serialization routine.
|
|
877
|
-
*
|
|
878
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
879
|
-
* via the `definition` "parameterSerializeStyleOptionsForHeaders".
|
|
880
|
-
*/
|
|
881
|
-
export interface ParameterSerializeStyleOptionsForHeaders {
|
|
882
|
-
style: 'simple' | 'none';
|
|
883
|
-
explode?: boolean;
|
|
884
|
-
}
|
|
885
|
-
/**
|
|
886
|
-
* Options to be passed to the serialization routine.
|
|
887
|
-
*
|
|
888
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
889
|
-
* via the `definition` "parameterSerializeContentOptions".
|
|
890
|
-
*/
|
|
891
|
-
export interface ParameterSerializeContentOptions {
|
|
892
|
-
contentType: string;
|
|
893
|
-
/**
|
|
894
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
895
|
-
*/
|
|
896
|
-
allowReserved?: boolean;
|
|
897
|
-
skipEncoding?: boolean;
|
|
898
|
-
/**
|
|
899
|
-
* Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
|
|
900
|
-
*/
|
|
901
|
-
options?: {
|
|
902
|
-
[k: string]: any;
|
|
903
|
-
};
|
|
904
|
-
}
|
|
905
|
-
/**
|
|
906
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
907
|
-
* via the `definition` "parameterConfigForSearchParams".
|
|
908
|
-
*/
|
|
909
|
-
export interface ParameterConfigForSearchParams {
|
|
910
|
-
ops: ParameterOpList;
|
|
911
|
-
serialize?: ParameterSerializeConfigForSearchParams;
|
|
912
|
-
}
|
|
913
|
-
/**
|
|
914
|
-
* Top-level paths to use search params serialization options for.
|
|
915
|
-
*
|
|
916
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
917
|
-
* via the `definition` "parameterSerializeConfigForSearchParams".
|
|
918
|
-
*/
|
|
919
|
-
export interface ParameterSerializeConfigForSearchParams {
|
|
920
|
-
defaults?: ParameterSerializeStyleOptionsForSearchParams | ParameterSerializeContentOptions;
|
|
921
|
-
paths?: {
|
|
922
|
-
/**
|
|
923
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
924
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
925
|
-
*/
|
|
926
|
-
[k: string]: ParameterSerializeStyleOptionsForSearchParams | ParameterSerializeContentOptions;
|
|
927
|
-
};
|
|
928
|
-
}
|
|
929
|
-
/**
|
|
930
|
-
* Options to be passed to the serialization routine.
|
|
931
|
-
*
|
|
932
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
933
|
-
* via the `definition` "parameterSerializeStyleOptionsForSearchParams".
|
|
934
|
-
*/
|
|
935
|
-
export interface ParameterSerializeStyleOptionsForSearchParams {
|
|
936
|
-
style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
|
|
937
|
-
explode?: boolean;
|
|
938
|
-
allowEmptyValue?: boolean;
|
|
939
|
-
/**
|
|
940
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
941
|
-
*/
|
|
942
|
-
allowReserved?: boolean;
|
|
943
|
-
skipEncoding?: boolean;
|
|
944
|
-
}
|
|
945
|
-
/**
|
|
946
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
947
|
-
* via the `definition` "restResolver".
|
|
948
|
-
*/
|
|
949
|
-
export interface RestResolver {
|
|
950
|
-
if?: string;
|
|
951
|
-
id?: string;
|
|
952
|
-
name: RestResolverName;
|
|
953
|
-
/**
|
|
954
|
-
* Configuration for a service to use with this resolver.
|
|
955
|
-
*/
|
|
956
|
-
service: string;
|
|
957
|
-
argsMapping?: ArgsMapping;
|
|
958
|
-
searchParamsMapping?: SearchParamsMapping;
|
|
959
|
-
resultsMapping?: ResultsMapping;
|
|
960
|
-
options?: RestResolverOptions;
|
|
961
|
-
body?: ParameterConfigForBody;
|
|
962
|
-
form?: ParameterConfigForSearchParams;
|
|
963
|
-
headers?: ParameterConfigForHeaders;
|
|
964
|
-
json?: ParameterConfigForJson;
|
|
965
|
-
/**
|
|
966
|
-
* Mapping and serialization configuration for the path, or a simple string.
|
|
967
|
-
*/
|
|
968
|
-
path: ParameterConfigForPathParams | string;
|
|
969
|
-
searchParams?: ParameterConfigForSearchParams;
|
|
970
|
-
args?: ParameterConfigForJson;
|
|
971
|
-
results?: ParameterConfigForJson;
|
|
972
|
-
}
|
|
973
|
-
export interface RestResolverOptions {
|
|
974
|
-
trailingSlash?: boolean;
|
|
975
|
-
allowStream?: boolean;
|
|
976
|
-
ttl?: number;
|
|
977
|
-
timeout?: number;
|
|
978
|
-
retry?: number | {
|
|
979
|
-
[k: string]: any;
|
|
980
|
-
};
|
|
981
|
-
[k: string]: any;
|
|
982
|
-
}
|
|
983
|
-
/**
|
|
984
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
985
|
-
* via the `definition` "parameterConfigForBody".
|
|
986
|
-
*/
|
|
987
|
-
export interface ParameterConfigForBody {
|
|
988
|
-
ops: ParameterOpList;
|
|
989
|
-
serialize?: ParameterSerializeConfigForBody;
|
|
990
|
-
}
|
|
991
|
-
/**
|
|
992
|
-
* Top-level paths to use serialization options for.
|
|
993
|
-
*
|
|
994
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
995
|
-
* via the `definition` "parameterSerializeConfigForBody".
|
|
996
|
-
*/
|
|
997
|
-
export interface ParameterSerializeConfigForBody {
|
|
998
|
-
content?: ParameterSerializeContentOptions;
|
|
999
|
-
}
|
|
1000
|
-
/**
|
|
1001
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1002
|
-
* via the `definition` "parameterConfigForPathParams".
|
|
1003
|
-
*/
|
|
1004
|
-
export interface ParameterConfigForPathParams {
|
|
1005
|
-
ops: ParameterOpList;
|
|
1006
|
-
serialize: ParameterSerializeConfigForPathParams;
|
|
1007
|
-
}
|
|
1008
|
-
/**
|
|
1009
|
-
* Top-level paths to use path params serialization options for.
|
|
1010
|
-
*
|
|
1011
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1012
|
-
* via the `definition` "parameterSerializeConfigForPathParams".
|
|
1013
|
-
*/
|
|
1014
|
-
export interface ParameterSerializeConfigForPathParams {
|
|
1015
|
-
/**
|
|
1016
|
-
* For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
|
|
1017
|
-
*/
|
|
1018
|
-
template: string;
|
|
1019
|
-
defaults?: ParameterSerializeStyleOptionsForPathParams | ParameterSerializeContentOptions;
|
|
1020
|
-
paths?: {
|
|
1021
|
-
/**
|
|
1022
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1023
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
1024
|
-
*/
|
|
1025
|
-
[k: string]: ParameterSerializeStyleOptionsForPathParams | ParameterSerializeContentOptions;
|
|
1026
|
-
};
|
|
1027
|
-
}
|
|
1028
|
-
/**
|
|
1029
|
-
* Options to be passed to the serialization routine.
|
|
1030
|
-
*
|
|
1031
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1032
|
-
* via the `definition` "parameterSerializeStyleOptionsForPathParams".
|
|
1033
|
-
*/
|
|
1034
|
-
export interface ParameterSerializeStyleOptionsForPathParams {
|
|
1035
|
-
style: 'simple' | 'label' | 'matrix' | 'none';
|
|
1036
|
-
explode?: boolean;
|
|
1037
|
-
allowEmptyValue?: boolean;
|
|
1038
|
-
/**
|
|
1039
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
1040
|
-
*/
|
|
1041
|
-
allowReserved?: boolean;
|
|
1042
|
-
skipEncoding?: boolean;
|
|
1043
|
-
}
|
|
1044
|
-
/**
|
|
1045
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1046
|
-
* via the `definition` "awsLambdaResolver".
|
|
1047
|
-
*/
|
|
1048
|
-
export interface AwsLambdaResolver {
|
|
1049
|
-
if?: string;
|
|
1050
|
-
id?: string;
|
|
1051
|
-
name: AwsLambdaResolverName;
|
|
1052
|
-
/**
|
|
1053
|
-
* Configuration for a service to use with this resolver.
|
|
1054
|
-
*/
|
|
1055
|
-
service: string;
|
|
1056
|
-
options?: AwsLambdaResolverOptions;
|
|
1057
|
-
payload?: ParameterConfigForJson;
|
|
1058
|
-
/**
|
|
1059
|
-
* Mapping configuration for the FunctionName.
|
|
1060
|
-
*/
|
|
1061
|
-
functionName: string | ParameterConfigForAwsLambda;
|
|
1062
|
-
clientContext?: ParameterConfigForJson;
|
|
1063
|
-
args?: ParameterConfigForJson;
|
|
1064
|
-
results?: ParameterConfigForJson;
|
|
1065
|
-
argsMapping?: ArgsMapping;
|
|
1066
|
-
searchParamsMapping?: SearchParamsMapping;
|
|
1067
|
-
resultsMapping?: ResultsMapping;
|
|
1068
|
-
}
|
|
1069
|
-
export interface AwsLambdaResolverOptions {
|
|
1070
|
-
[k: string]: any;
|
|
1071
|
-
}
|
|
1072
|
-
/**
|
|
1073
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1074
|
-
* via the `definition` "parameterConfigForAwsLambda".
|
|
1075
|
-
*/
|
|
1076
|
-
export interface ParameterConfigForAwsLambda {
|
|
1077
|
-
ops: ParameterOpList;
|
|
1078
|
-
serialize: ParameterSerializeConfigForPathParams;
|
|
1079
|
-
}
|
|
1080
|
-
/**
|
|
1081
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1082
|
-
* via the `definition` "salsifyResolver".
|
|
1083
|
-
*/
|
|
1084
|
-
export interface SalsifyResolver {
|
|
1085
|
-
if?: string;
|
|
1086
|
-
id?: string;
|
|
1087
|
-
name: SalsifyResolverName;
|
|
1088
|
-
/**
|
|
1089
|
-
* Configuration for a service to use with this resolver.
|
|
1090
|
-
*/
|
|
1091
|
-
service: string;
|
|
1092
|
-
options?: SalsifyResolverOptions;
|
|
1093
|
-
args?: ParameterConfigForJson;
|
|
1094
|
-
results?: ParameterConfigForJson;
|
|
1095
|
-
argsMapping?: ArgsMapping;
|
|
1096
|
-
resultsMapping?: ResultsMapping;
|
|
1097
|
-
}
|
|
1098
|
-
export interface SalsifyResolverOptions {
|
|
1099
|
-
[k: string]: any;
|
|
1100
|
-
}
|
|
1101
|
-
/**
|
|
1102
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1103
|
-
* via the `definition` "syndigoResolver".
|
|
1104
|
-
*/
|
|
1105
|
-
export interface SyndigoResolver {
|
|
1106
|
-
if?: string;
|
|
1107
|
-
id?: string;
|
|
1108
|
-
name: SyndigoResolverName;
|
|
1109
|
-
/**
|
|
1110
|
-
* Configuration for a service to use with this resolver.
|
|
1111
|
-
*/
|
|
1112
|
-
service: string;
|
|
1113
|
-
options?: SyndigoResolverOptions;
|
|
1114
|
-
args?: ParameterConfigForJson;
|
|
1115
|
-
results?: ParameterConfigForJson;
|
|
1116
|
-
argsMapping?: ArgsMapping;
|
|
1117
|
-
resultsMapping?: ResultsMapping;
|
|
1118
|
-
}
|
|
1119
|
-
export interface SyndigoResolverOptions {
|
|
1120
|
-
[k: string]: any;
|
|
1121
|
-
}
|
|
1122
|
-
/**
|
|
1123
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1124
|
-
* via the `definition` "functionResolver".
|
|
1125
|
-
*/
|
|
1126
|
-
export interface FunctionResolver {
|
|
1127
|
-
if?: string;
|
|
1128
|
-
id?: string;
|
|
1129
|
-
name: FunctionResolverName;
|
|
1130
|
-
options?: FunctionResolverOptions;
|
|
1131
|
-
args?: ParameterConfigForJson;
|
|
1132
|
-
results?: ParameterConfigForJson;
|
|
1133
|
-
argsMapping?: ArgsMapping;
|
|
1134
|
-
resultsMapping?: ResultsMapping;
|
|
1135
|
-
javascript?: FunctionResolverJavascript;
|
|
1136
|
-
}
|
|
1137
|
-
export interface FunctionResolverOptions {
|
|
1138
|
-
[k: string]: any;
|
|
1139
|
-
}
|
|
1140
|
-
/**
|
|
1141
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1142
|
-
* via the `definition` "aiGenerateTextResolver".
|
|
1143
|
-
*/
|
|
1144
|
-
export interface AIGenerateTextResolver {
|
|
1145
|
-
if?: string;
|
|
1146
|
-
id?: string;
|
|
1147
|
-
name: AIResolverName;
|
|
1148
|
-
/**
|
|
1149
|
-
* Configuration for a service to use with this resolver.
|
|
1150
|
-
*/
|
|
1151
|
-
service: string;
|
|
1152
|
-
options?: AIGenerateTextResolverOptions;
|
|
1153
|
-
systemPrompt: string;
|
|
1154
|
-
inputTemplate?: string;
|
|
1155
|
-
model: string;
|
|
1156
|
-
tools?: (string | AIToolConfig)[];
|
|
1157
|
-
guardrails?: AIGuardrail[];
|
|
1158
|
-
context?: ParameterConfigForJson;
|
|
1159
|
-
results?: ParameterConfigForJson;
|
|
1160
|
-
}
|
|
1161
|
-
/**
|
|
1162
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1163
|
-
* via the `definition` "aiGenerateTextResolverOptions".
|
|
1164
|
-
*/
|
|
1165
|
-
export interface AIGenerateTextResolverOptions {
|
|
1166
|
-
history?: History;
|
|
1167
|
-
maxTokens?: MaximumTokens;
|
|
1168
|
-
temperature?: Temperature;
|
|
1169
|
-
topP?: TopP;
|
|
1170
|
-
topK?: TopK;
|
|
1171
|
-
presencePenalty?: PresencePenaltySetting;
|
|
1172
|
-
frequencyPenalty?: FrequencyPenaltySetting;
|
|
1173
|
-
stopSequences?: StopSequences;
|
|
1174
|
-
seed?: Seed;
|
|
1175
|
-
/**
|
|
1176
|
-
* Maximum number of retries. Set to 0 to disable retries. Defaults to 2
|
|
1177
|
-
*/
|
|
1178
|
-
maxRetries?: number;
|
|
1179
|
-
/**
|
|
1180
|
-
* The tool choice strategy. Default: 'auto'
|
|
1181
|
-
*/
|
|
1182
|
-
toolChoice?: (('auto' | 'none' | 'required') | string) & string;
|
|
1183
|
-
/**
|
|
1184
|
-
* Maximal number of automatic roundtrips for tool calls.
|
|
1185
|
-
*/
|
|
1186
|
-
maxToolRoundtrips?: number;
|
|
1187
|
-
[k: string]: any;
|
|
1188
|
-
}
|
|
1189
|
-
/**
|
|
1190
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1191
|
-
* via the `definition` "aiToolConfig".
|
|
1192
|
-
*/
|
|
1193
|
-
export interface AIToolConfig {
|
|
1194
|
-
ref: string;
|
|
1195
|
-
selectionSet?: string;
|
|
1196
|
-
}
|
|
1197
|
-
/**
|
|
1198
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1199
|
-
* via the `definition` "aiSimilarityGuardrail".
|
|
1200
|
-
*/
|
|
1201
|
-
export interface AISimilarityGuardrail {
|
|
1202
|
-
name: 'similarity';
|
|
1203
|
-
shape: string;
|
|
1204
|
-
defaultResponse: string;
|
|
1205
|
-
threshold?: number;
|
|
1206
|
-
}
|
|
1207
|
-
/**
|
|
1208
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1209
|
-
* via the `definition` "aiEmbeddingResolver".
|
|
1210
|
-
*/
|
|
1211
|
-
export interface AIEmbeddingResolver {
|
|
1212
|
-
if?: string;
|
|
1213
|
-
id?: string;
|
|
1214
|
-
name: AIResolverName1;
|
|
1215
|
-
/**
|
|
1216
|
-
* Configuration for a service to use with this resolver.
|
|
1217
|
-
*/
|
|
1218
|
-
service: string;
|
|
1219
|
-
options?: AIEmbeddingResolverOptions;
|
|
1220
|
-
model: string;
|
|
1221
|
-
args?: ParameterConfigForJson;
|
|
1222
|
-
results?: ParameterConfigForJson;
|
|
1223
|
-
}
|
|
1224
|
-
/**
|
|
1225
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1226
|
-
* via the `definition` "aiEmbeddingResolverOptions".
|
|
1227
|
-
*/
|
|
1228
|
-
export interface AIEmbeddingResolverOptions {
|
|
1229
|
-
useDependencies?: boolean;
|
|
1230
|
-
[k: string]: any;
|
|
1231
|
-
}
|
|
1232
|
-
/**
|
|
1233
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1234
|
-
* via the `definition` "aiParseFileResolver".
|
|
1235
|
-
*/
|
|
1236
|
-
export interface AIParseFileResolver {
|
|
1237
|
-
if?: string;
|
|
1238
|
-
id?: string;
|
|
1239
|
-
name: AIResolverName2;
|
|
1240
|
-
/**
|
|
1241
|
-
* Configuration for a service to use with this resolver.
|
|
1242
|
-
*/
|
|
1243
|
-
service: string;
|
|
1244
|
-
options?: AIEmbeddingResolverOptions;
|
|
1245
|
-
args?: ParameterConfigForJson;
|
|
1246
|
-
results?: ParameterConfigForJson;
|
|
1247
|
-
}
|
|
1248
|
-
export interface AIRunAgentResolver {
|
|
1249
|
-
id?: string;
|
|
1250
|
-
name: AIResolverName3;
|
|
1251
|
-
agentName: string;
|
|
1252
|
-
}
|
|
1253
|
-
export interface AIInspectAgentResolver {
|
|
1254
|
-
id?: string;
|
|
1255
|
-
name: AIResolverName4;
|
|
1256
|
-
agentName: string;
|
|
1257
|
-
}
|
|
1258
|
-
/**
|
|
1259
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1260
|
-
* via the `definition` "composeResolver".
|
|
1261
|
-
*/
|
|
1262
|
-
export interface ComposeResolver {
|
|
1263
|
-
compose: BasicResolver[];
|
|
1264
|
-
resultsMapping?: DirectiveMappingMap | DirectiveConfig;
|
|
1265
|
-
results?: ParameterConfigForJson;
|
|
1266
|
-
}
|
|
1267
|
-
/**
|
|
1268
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1269
|
-
* via the `definition` "indexed".
|
|
1270
|
-
*/
|
|
1271
|
-
export interface Indexed {
|
|
1272
|
-
nested?: boolean;
|
|
1273
|
-
}
|
|
1274
|
-
/**
|
|
1275
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1276
|
-
* via the `definition` "graphql".
|
|
1277
|
-
*/
|
|
1278
|
-
export interface GraphQLConfig {
|
|
1279
|
-
json?: boolean;
|
|
1280
|
-
}
|
|
1281
|
-
/**
|
|
1282
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1283
|
-
* via the `definition` "shapeMap".
|
|
1284
|
-
*/
|
|
1285
|
-
export interface ShapeMap {
|
|
1286
|
-
[k: string]: ShapeJSON;
|
|
1287
|
-
}
|
|
1288
|
-
/**
|
|
1289
|
-
* A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
|
|
1290
|
-
*
|
|
1291
|
-
* This interface was referenced by `ShapeMap`'s JSON-Schema definition
|
|
1292
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1293
|
-
*
|
|
1294
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1295
|
-
* via the `definition` "shape".
|
|
1296
|
-
*/
|
|
1297
|
-
export interface ShapeJSON {
|
|
1298
|
-
/**
|
|
1299
|
-
* 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
|
|
1300
|
-
*/
|
|
1301
|
-
name: string;
|
|
1302
|
-
/**
|
|
1303
|
-
* 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.
|
|
1304
|
-
*/
|
|
1305
|
-
id: string;
|
|
1306
|
-
/**
|
|
1307
|
-
* The human-readable name for a Shape for use in a UI.
|
|
1308
|
-
*/
|
|
1309
|
-
title: string;
|
|
1310
|
-
description?: string;
|
|
1311
|
-
type?: 'interface' | 'input' | 'output';
|
|
1312
|
-
interfaces?: string[];
|
|
1313
|
-
/**
|
|
1314
|
-
* Specifying a model type allows Shape data to be stored in TakeShape's built-in database
|
|
1315
|
-
*/
|
|
1316
|
-
model?: {
|
|
1317
|
-
type: ModelType;
|
|
1318
|
-
};
|
|
1319
|
-
workflow?: string;
|
|
1320
|
-
loaders?: ShapeLoaders;
|
|
1321
|
-
joins?: ShapeJoins;
|
|
1322
|
-
cache?: ShapeCacheConfig;
|
|
1323
|
-
schema: ShapeSchema;
|
|
1324
|
-
}
|
|
1325
|
-
/**
|
|
1326
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1327
|
-
* via the `definition` "shapeLoaders".
|
|
1328
|
-
*/
|
|
1329
|
-
export interface ShapeLoaders {
|
|
1330
|
-
list: StoredListQueryLoaderConfig | StoredListQueryLoaderConfig[];
|
|
1331
|
-
get?: GetQueryLoaderConfig;
|
|
1332
|
-
}
|
|
1333
|
-
/**
|
|
1334
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1335
|
-
* via the `definition` "storedListQueryLoaderConfig".
|
|
1336
|
-
*/
|
|
1337
|
-
export interface StoredListQueryLoaderConfig {
|
|
1338
|
-
query: string;
|
|
1339
|
-
args?: {
|
|
1340
|
-
[k: string]: any;
|
|
1341
|
-
} | {
|
|
1342
|
-
[k: string]: any;
|
|
1343
|
-
}[];
|
|
1344
|
-
pagination?: PaginationConfig;
|
|
1345
|
-
}
|
|
1346
|
-
/**
|
|
1347
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1348
|
-
* via the `definition` "paginationCursorConfig".
|
|
1349
|
-
*/
|
|
1350
|
-
export interface PaginationCursorConfig {
|
|
1351
|
-
type: 'cursor';
|
|
1352
|
-
cursorArg: string;
|
|
1353
|
-
cursorPath: string;
|
|
1354
|
-
pageSize?: number;
|
|
1355
|
-
pageSizeArg: string;
|
|
1356
|
-
hasMorePath: string;
|
|
1357
|
-
itemsPath: string;
|
|
1358
|
-
}
|
|
1359
|
-
/**
|
|
1360
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1361
|
-
* via the `definition` "paginationPageConfig".
|
|
1362
|
-
*/
|
|
1363
|
-
export interface PaginationPageConfig {
|
|
1364
|
-
type: 'page';
|
|
1365
|
-
pageArg: string;
|
|
1366
|
-
pageSize?: number;
|
|
1367
|
-
pageSizeArg?: string;
|
|
1368
|
-
itemsPath: string;
|
|
1369
|
-
pageTotalPath: string;
|
|
1370
|
-
}
|
|
1371
|
-
/**
|
|
1372
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1373
|
-
* via the `definition` "paginationOffsetConfig".
|
|
1374
|
-
*/
|
|
1375
|
-
export interface PaginationOffsetConfig {
|
|
1376
|
-
type: 'offset';
|
|
1377
|
-
offsetArg: string;
|
|
1378
|
-
pageSize?: number;
|
|
1379
|
-
pageSizeArg?: string;
|
|
1380
|
-
itemsPath: string;
|
|
1381
|
-
itemTotalPath: string;
|
|
1382
|
-
}
|
|
1383
|
-
/**
|
|
1384
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1385
|
-
* via the `definition` "getQueryLoaderConfig".
|
|
1386
|
-
*/
|
|
1387
|
-
export interface GetQueryLoaderConfig {
|
|
1388
|
-
query: string;
|
|
1389
|
-
args?: {
|
|
1390
|
-
[k: string]: any;
|
|
1391
|
-
};
|
|
1392
|
-
idArg?: string;
|
|
1393
|
-
}
|
|
1394
|
-
/**
|
|
1395
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1396
|
-
* via the `definition` "shapeJoins".
|
|
1397
|
-
*/
|
|
1398
|
-
export interface ShapeJoins {
|
|
1399
|
-
[k: string]: ShapeJoin;
|
|
1400
|
-
}
|
|
1401
|
-
/**
|
|
1402
|
-
* This interface was referenced by `ShapeJoins`'s JSON-Schema definition
|
|
1403
|
-
* via the `patternProperty` "[:0-9A-Za-z_-]+".
|
|
1404
|
-
*
|
|
1405
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1406
|
-
* via the `definition` "shapeJoin".
|
|
1407
|
-
*/
|
|
1408
|
-
export interface ShapeJoin {
|
|
1409
|
-
resolver: DelegateResolver | ShapedbResolver;
|
|
1410
|
-
dependencies?: string;
|
|
1411
|
-
}
|
|
1412
|
-
/**
|
|
1413
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1414
|
-
* via the `definition` "shapeCacheConfig".
|
|
1415
|
-
*/
|
|
1416
|
-
export interface ShapeCacheConfig {
|
|
1417
|
-
enabled: boolean;
|
|
1418
|
-
idField?: string;
|
|
1419
|
-
searchSummaryField?: string;
|
|
1420
|
-
fragment?: CachedFragmentConfig;
|
|
1421
|
-
triggers?: CacheTriggerConfig[];
|
|
1422
|
-
/**
|
|
1423
|
-
* Number of seconds this Shape should be cached. Default 0.
|
|
1424
|
-
*/
|
|
1425
|
-
maxAge?: number;
|
|
1426
|
-
}
|
|
1427
|
-
/**
|
|
1428
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1429
|
-
* via the `definition` "cachedFragmentConfig".
|
|
1430
|
-
*/
|
|
1431
|
-
export interface CachedFragmentConfig {
|
|
1432
|
-
ignoreFields?: string[];
|
|
1433
|
-
maxDepth?: number;
|
|
1434
|
-
selectionSet?: string;
|
|
1435
|
-
includeDeprecated?: boolean;
|
|
1436
|
-
}
|
|
1437
|
-
/**
|
|
1438
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1439
|
-
* via the `definition` "cacheScheduleTriggerConfig".
|
|
1440
|
-
*/
|
|
1441
|
-
export interface CacheScheduleTriggerConfig {
|
|
1442
|
-
type: 'schedule';
|
|
1443
|
-
loader: 'get' | 'list';
|
|
1444
|
-
interval: number;
|
|
1445
|
-
}
|
|
1446
|
-
/**
|
|
1447
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1448
|
-
* via the `definition` "cacheWebhookTriggerConfig".
|
|
1449
|
-
*/
|
|
1450
|
-
export interface CacheWebhookTriggerConfig {
|
|
1451
|
-
type: 'webhook';
|
|
1452
|
-
loader: 'get' | 'list';
|
|
1453
|
-
service: string;
|
|
1454
|
-
events: string[];
|
|
1455
|
-
}
|
|
1456
|
-
/**
|
|
1457
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1458
|
-
* via the `definition` "shapeSchemaAllOf".
|
|
1459
|
-
*/
|
|
1460
|
-
export interface ShapeSchemaAllOf {
|
|
1461
|
-
allOf: ObjectOrRefArray;
|
|
1462
|
-
}
|
|
1463
|
-
/**
|
|
1464
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1465
|
-
* via the `definition` "shapeSchemaExtends".
|
|
1466
|
-
*/
|
|
1467
|
-
export interface ShapeSchemaExtends {
|
|
1468
|
-
extends: ObjectOrRefArray;
|
|
1469
|
-
}
|
|
1470
|
-
/**
|
|
1471
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1472
|
-
* via the `definition` "shapeSchemaOneOf".
|
|
1473
|
-
*/
|
|
1474
|
-
export interface ShapeSchemaOneOf {
|
|
1475
|
-
oneOf: ObjectOrRefArray;
|
|
1476
|
-
}
|
|
1477
|
-
/**
|
|
1478
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1479
|
-
* via the `definition` "shapeSchemaEnum".
|
|
1480
|
-
*/
|
|
1481
|
-
export interface ShapeSchemaEnum {
|
|
1482
|
-
enum: any[];
|
|
1483
|
-
}
|
|
1484
|
-
/**
|
|
1485
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1486
|
-
* via the `definition` "shapeSchemaAny".
|
|
1487
|
-
*/
|
|
1488
|
-
export interface ShapeSchemaAny {
|
|
1489
|
-
}
|
|
1490
|
-
export interface AIExperimental {
|
|
1491
|
-
agents?: AgentMap;
|
|
1492
|
-
}
|
|
1493
|
-
export interface AgentMap {
|
|
1494
|
-
[k: string]: AgentJSON;
|
|
1495
|
-
}
|
|
1496
|
-
/**
|
|
1497
|
-
* An Agent is a configuration for an AI service such as a chat bot or a search engine.
|
|
1498
|
-
*
|
|
1499
|
-
* This interface was referenced by `AgentMap`'s JSON-Schema definition
|
|
1500
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1501
|
-
*/
|
|
1502
|
-
export interface AgentJSON {
|
|
1503
|
-
description?: string;
|
|
1504
|
-
systemPrompt?: string;
|
|
1505
|
-
api: AgentAPI;
|
|
1506
|
-
start: AgentStart;
|
|
1507
|
-
states: AgentStates;
|
|
1508
|
-
}
|
|
1509
|
-
export interface AgentAPIChat {
|
|
1510
|
-
type: 'chat';
|
|
1511
|
-
arguments?: AgentAPIArgument[];
|
|
1512
|
-
}
|
|
1513
|
-
export interface AgentAPIArgument {
|
|
1514
|
-
argName: string;
|
|
1515
|
-
argType: 'boolean' | 'integer' | 'number' | 'string' | 'sessionId';
|
|
1516
|
-
required?: boolean;
|
|
1517
|
-
}
|
|
1518
|
-
export interface AgentAPIGenerate {
|
|
1519
|
-
type: 'generate';
|
|
1520
|
-
arguments?: AgentAPIArgument[];
|
|
1521
|
-
}
|
|
1522
|
-
/**
|
|
1523
|
-
* Configuration for the start of an agent's execution
|
|
1524
|
-
*/
|
|
1525
|
-
export interface AgentStart {
|
|
1526
|
-
transition: AgentStateTransition;
|
|
1527
|
-
}
|
|
1528
|
-
export interface AgentTransitionStep {
|
|
1529
|
-
destination: string;
|
|
1530
|
-
suspend?: boolean;
|
|
1531
|
-
condition: AgentTransitionStepConditionNone | AgentTransitionStepConditionArtifact | AgentTransitionStepConditionStateOutput | AgentTransitionStepConditionStringContains | AgentTransitionStepConditionArgument;
|
|
1532
|
-
limit?: number;
|
|
1533
|
-
}
|
|
1534
|
-
export interface AgentTransitionStepConditionNone {
|
|
1535
|
-
type: 'none';
|
|
1536
|
-
}
|
|
1537
|
-
export interface AgentTransitionStepConditionArtifact {
|
|
1538
|
-
type: 'artifact';
|
|
1539
|
-
path?: string;
|
|
1540
|
-
negated?: boolean;
|
|
1541
|
-
}
|
|
1542
|
-
export interface AgentTransitionStepConditionStateOutput {
|
|
1543
|
-
type: 'stateOutput';
|
|
1544
|
-
stateId: string;
|
|
1545
|
-
path?: string;
|
|
1546
|
-
negated?: boolean;
|
|
1547
|
-
}
|
|
1548
|
-
export interface AgentTransitionStepConditionStringContains {
|
|
1549
|
-
type: 'stringContains';
|
|
1550
|
-
path?: string;
|
|
1551
|
-
string: string;
|
|
1552
|
-
negated?: boolean;
|
|
1553
|
-
}
|
|
1554
|
-
export interface AgentTransitionStepConditionArgument {
|
|
1555
|
-
type: 'argument';
|
|
1556
|
-
argument: string;
|
|
1557
|
-
negated?: boolean;
|
|
1558
|
-
}
|
|
1559
|
-
/**
|
|
1560
|
-
* States that are traversed during the execution of an agent.
|
|
1561
|
-
*/
|
|
1562
|
-
export interface AgentStates {
|
|
1563
|
-
[k: string]: AgentState;
|
|
1564
|
-
}
|
|
1565
|
-
/**
|
|
1566
|
-
* One step of an agent's execution.
|
|
1567
|
-
*
|
|
1568
|
-
* This interface was referenced by `AgentStates`'s JSON-Schema definition
|
|
1569
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1570
|
-
*/
|
|
1571
|
-
export interface AgentState {
|
|
1572
|
-
name: string;
|
|
1573
|
-
variables?: Variables;
|
|
1574
|
-
execution: AgentExecution;
|
|
1575
|
-
transition?: AgentStateTransition;
|
|
1576
|
-
}
|
|
1577
|
-
export interface AgentVariable {
|
|
1578
|
-
name: string;
|
|
1579
|
-
/**
|
|
1580
|
-
* These are evaluated in order until a value is found.
|
|
1581
|
-
*/
|
|
1582
|
-
steps: AgentVariableStep[];
|
|
1583
|
-
}
|
|
1584
|
-
/**
|
|
1585
|
-
* An Agent Variable that defines a GraphQL argument and makes its value available to templates.
|
|
1586
|
-
*/
|
|
1587
|
-
export interface AgentVariableStepGraphQLArg {
|
|
1588
|
-
type: 'graphqlArg';
|
|
1589
|
-
argName: string;
|
|
1590
|
-
}
|
|
1591
|
-
/**
|
|
1592
|
-
* An Agent Variable that provides the output of any previous state's execution.
|
|
1593
|
-
*/
|
|
1594
|
-
export interface AgentVariableStepStateOutput {
|
|
1595
|
-
type: 'stateOutput';
|
|
1596
|
-
stateId: string;
|
|
1597
|
-
path?: string;
|
|
1598
|
-
}
|
|
1599
|
-
/**
|
|
1600
|
-
* An Agent Variable that provides the output of the previous state's execution.
|
|
1601
|
-
*/
|
|
1602
|
-
export interface AgentVariableStepPreviousStateOutput {
|
|
1603
|
-
type: 'previousStateOutput';
|
|
1604
|
-
path?: string;
|
|
1605
|
-
}
|
|
1606
|
-
/**
|
|
1607
|
-
* An Agent Variable that has a static value.
|
|
1608
|
-
*/
|
|
1609
|
-
export interface AgentVariableStepStaticValue {
|
|
1610
|
-
type: 'staticValue';
|
|
1611
|
-
condition?: AgentVariableStepCondition;
|
|
1612
|
-
value: string;
|
|
1613
|
-
}
|
|
1614
|
-
export interface AgentVariableStepConditionNone {
|
|
1615
|
-
type: 'none';
|
|
1616
|
-
}
|
|
1617
|
-
export interface AgentVariableStepConditionSourceState {
|
|
1618
|
-
type: 'sourceState';
|
|
1619
|
-
stateId: string;
|
|
1620
|
-
negated?: boolean;
|
|
1621
|
-
}
|
|
1622
|
-
export interface AgentExecutionGraphQL {
|
|
1623
|
-
type: 'graphql';
|
|
1624
|
-
query: string;
|
|
1625
|
-
path?: string;
|
|
1626
|
-
}
|
|
1627
|
-
export interface AgentExecutionGenerate {
|
|
1628
|
-
type: 'generate';
|
|
1629
|
-
service: string;
|
|
1630
|
-
model: string;
|
|
1631
|
-
systemPrompt?: string;
|
|
1632
|
-
input: AgentAIStateInput;
|
|
1633
|
-
outputShape?: string;
|
|
1634
|
-
tools?: AgentToolConfig[];
|
|
1635
|
-
guardrails?: AgentGuardrail[];
|
|
1636
|
-
options?: AgentGenerateOptions;
|
|
1637
|
-
}
|
|
1638
|
-
export interface AgentAIStateInputArgument {
|
|
1639
|
-
type: 'arg';
|
|
1640
|
-
}
|
|
1641
|
-
export interface AgentAIStateInputTemplate {
|
|
1642
|
-
type: 'template';
|
|
1643
|
-
inputTemplate: string;
|
|
1644
|
-
}
|
|
1645
|
-
export interface AgentToolConfig {
|
|
1646
|
-
ref: string;
|
|
1647
|
-
selectionSet?: string;
|
|
1648
|
-
}
|
|
1649
|
-
export interface AgentSimilarityGuardrail {
|
|
1650
|
-
name: 'similarity';
|
|
1651
|
-
shape: string;
|
|
1652
|
-
defaultResponse: string;
|
|
1653
|
-
threshold?: number;
|
|
1654
|
-
}
|
|
1655
|
-
export interface AgentGenerateOptions {
|
|
1656
|
-
history?: History1;
|
|
1657
|
-
maxTokens?: MaximumTokens1;
|
|
1658
|
-
temperature?: Temperature1;
|
|
1659
|
-
topP?: TopP1;
|
|
1660
|
-
topK?: TopK1;
|
|
1661
|
-
presencePenalty?: PresencePenaltySetting1;
|
|
1662
|
-
frequencyPenalty?: FrequencyPenaltySetting1;
|
|
1663
|
-
stopSequences?: StopSequences1;
|
|
1664
|
-
seed?: Seed1;
|
|
1665
|
-
/**
|
|
1666
|
-
* Maximum number of retries. Set to 0 to disable retries. Defaults to 2
|
|
1667
|
-
*/
|
|
1668
|
-
maxRetries?: number;
|
|
1669
|
-
/**
|
|
1670
|
-
* The tool choice strategy. Default: 'auto'
|
|
1671
|
-
*/
|
|
1672
|
-
toolChoice?: (('auto' | 'none' | 'required') | string) & string;
|
|
1673
|
-
/**
|
|
1674
|
-
* Maximal number of automatic roundtrips for tool calls.
|
|
1675
|
-
*/
|
|
1676
|
-
maxToolRoundtrips?: number;
|
|
1677
|
-
}
|
|
1678
|
-
export interface AgentExecutionChat {
|
|
1679
|
-
type: 'chat';
|
|
1680
|
-
service: string;
|
|
1681
|
-
model: string;
|
|
1682
|
-
systemPrompt?: string;
|
|
1683
|
-
input: AgentAIStateInput;
|
|
1684
|
-
artifact?: string;
|
|
1685
|
-
tools?: AgentToolConfig[];
|
|
1686
|
-
guardrails?: AgentGuardrail[];
|
|
1687
|
-
options?: AgentGenerateOptions;
|
|
1688
|
-
}
|
|
1689
|
-
/**
|
|
1690
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1691
|
-
* via the `definition` "formMap".
|
|
1692
|
-
*/
|
|
1693
|
-
export interface FormMap {
|
|
1694
|
-
[k: string]: FormsConfig;
|
|
1695
|
-
}
|
|
1696
|
-
/**
|
|
1697
|
-
* This interface was referenced by `FormMap`'s JSON-Schema definition
|
|
1698
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1699
|
-
*
|
|
1700
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1701
|
-
* via the `definition` "formsConfig".
|
|
1702
|
-
*/
|
|
1703
|
-
export interface FormsConfig {
|
|
1704
|
-
default: FormConfig;
|
|
1705
|
-
[k: string]: FormConfig;
|
|
1706
|
-
}
|
|
1707
|
-
/**
|
|
1708
|
-
* This interface was referenced by `FormsConfig`'s JSON-Schema definition
|
|
1709
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1710
|
-
*
|
|
1711
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1712
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1713
|
-
*
|
|
1714
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1715
|
-
* via the `definition` "formConfig".
|
|
1716
|
-
*/
|
|
1717
|
-
export interface FormConfig {
|
|
1718
|
-
[k: string]: any;
|
|
1719
|
-
}
|
|
1720
|
-
/**
|
|
1721
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1722
|
-
* via the `definition` "workflowMap".
|
|
1723
|
-
*/
|
|
1724
|
-
export interface WorkflowMap {
|
|
1725
|
-
[k: string]: Workflow;
|
|
1726
|
-
}
|
|
1727
|
-
/**
|
|
1728
|
-
* This interface was referenced by `WorkflowMap`'s JSON-Schema definition
|
|
1729
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1730
|
-
*
|
|
1731
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1732
|
-
* via the `definition` "workflow".
|
|
1733
|
-
*/
|
|
1734
|
-
export interface Workflow {
|
|
1735
|
-
/**
|
|
1736
|
-
* machine-readable id
|
|
1737
|
-
*/
|
|
1738
|
-
name: string;
|
|
1739
|
-
title: WorkflowName;
|
|
1740
|
-
steps: Steps;
|
|
1741
|
-
[k: string]: any;
|
|
1742
|
-
}
|
|
1743
|
-
/**
|
|
1744
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1745
|
-
* via the `definition` "workflowStep".
|
|
1746
|
-
*/
|
|
1747
|
-
export interface WorkflowStep {
|
|
1748
|
-
name: Name;
|
|
1749
|
-
title: Title;
|
|
1750
|
-
description?: Description;
|
|
1751
|
-
color: Color;
|
|
1752
|
-
live: Live;
|
|
1753
|
-
key: Key;
|
|
1754
|
-
}
|
|
1755
|
-
/**
|
|
1756
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1757
|
-
* via the `definition` "storedServiceMap".
|
|
1758
|
-
*/
|
|
1759
|
-
export interface ServiceMapJSON {
|
|
1760
|
-
[k: string]: ServiceConfigJSON;
|
|
1761
|
-
}
|
|
1762
|
-
/**
|
|
1763
|
-
* This interface was referenced by `ServiceMapJSON`'s JSON-Schema definition
|
|
1764
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1765
|
-
*
|
|
1766
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1767
|
-
* via the `definition` "storedServiceConfig".
|
|
1768
|
-
*/
|
|
1769
|
-
export interface ServiceConfigJSON {
|
|
1770
|
-
/**
|
|
1771
|
-
* Machine-readable identifier, should typically be the same as the property name on the services object.
|
|
1772
|
-
*/
|
|
1773
|
-
id: string;
|
|
1774
|
-
/**
|
|
1775
|
-
* Human-readable name for this service.
|
|
1776
|
-
*/
|
|
1777
|
-
title: string;
|
|
1778
|
-
/**
|
|
1779
|
-
* The service provider id.
|
|
1780
|
-
*/
|
|
1781
|
-
provider: string;
|
|
1782
|
-
/**
|
|
1783
|
-
* A namespace to use for the imported types tied to this service.
|
|
1784
|
-
*/
|
|
1785
|
-
namespace?: string;
|
|
1786
|
-
serviceType: ServiceType;
|
|
1787
|
-
authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
|
|
1788
|
-
authentication?: string;
|
|
1789
|
-
healthCheck?: ServiceHealthCheck;
|
|
1790
|
-
webhookId?: string;
|
|
1791
|
-
/**
|
|
1792
|
-
* Configuration options passed to and handled by the provider.
|
|
1793
|
-
*/
|
|
1794
|
-
options?: {
|
|
1795
|
-
[k: string]: any;
|
|
1796
|
-
};
|
|
1797
|
-
}
|
|
1798
|
-
/**
|
|
1799
|
-
* Configuration for ping health checks.
|
|
1800
|
-
*
|
|
1801
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1802
|
-
* via the `definition` "serviceHealthCheck".
|
|
1803
|
-
*/
|
|
1804
|
-
export interface ServiceHealthCheck {
|
|
1805
|
-
checkName: CheckName;
|
|
1806
|
-
endpoint?: Endpoint;
|
|
1807
|
-
requestMethod?: RequestMethod;
|
|
1808
|
-
requestHeaders?: RequestHeaders;
|
|
1809
|
-
requestSearchParams?: RequestSearchParams;
|
|
1810
|
-
requestBody?: RequestBody;
|
|
1811
|
-
requestBodyFormat?: RequestBodyFormat;
|
|
1812
|
-
requestTimeout?: RequestTimeout;
|
|
1813
|
-
healthyResponseStatusCode?: HealthyResponseStatusCode;
|
|
1814
|
-
triggers?: ServiceHealthCheckTrigger[];
|
|
1815
|
-
}
|
|
1816
|
-
/**
|
|
1817
|
-
* Any custom headers to set with the health check request.
|
|
1818
|
-
*/
|
|
1819
|
-
export interface RequestHeaders {
|
|
1820
|
-
[k: string]: any;
|
|
1821
|
-
}
|
|
1822
|
-
/**
|
|
1823
|
-
* Any custom search params to set with the health check request.
|
|
1824
|
-
*/
|
|
1825
|
-
export interface RequestSearchParams {
|
|
1826
|
-
[k: string]: any;
|
|
1827
|
-
}
|
|
1828
|
-
/**
|
|
1829
|
-
* All possible options for the more specific ParameterSerializeStyleOptions types.
|
|
1830
|
-
*
|
|
1831
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1832
|
-
* via the `definition` "parameterSerializeStyleOptions".
|
|
1833
|
-
*/
|
|
1834
|
-
export interface ParameterSerializeStyleOptions {
|
|
1835
|
-
style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
|
|
1836
|
-
explode?: boolean;
|
|
1837
|
-
allowEmptyValue?: boolean;
|
|
1838
|
-
/**
|
|
1839
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
1840
|
-
*/
|
|
1841
|
-
allowReserved?: boolean;
|
|
1842
|
-
skipEncoding?: boolean;
|
|
1843
|
-
}
|
|
1844
|
-
/**
|
|
1845
|
-
* All possible options for the more specific ParameterSerializeConfig types.
|
|
1846
|
-
*
|
|
1847
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1848
|
-
* via the `definition` "parameterSerializeConfig".
|
|
1849
|
-
*/
|
|
1850
|
-
export interface ParameterSerializeConfig {
|
|
1851
|
-
content?: ParameterSerializeContentOptions;
|
|
1852
|
-
defaults?: ParameterSerializeOptions;
|
|
1853
|
-
paths?: {
|
|
1854
|
-
[k: string]: ParameterSerializeOptions;
|
|
1855
|
-
};
|
|
1856
|
-
}
|
|
1857
|
-
/**
|
|
1858
|
-
* All possible options for the more specific ParameterConfig types.
|
|
1859
|
-
*
|
|
1860
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1861
|
-
* via the `definition` "parameterConfig".
|
|
1862
|
-
*/
|
|
1863
|
-
export interface ParameterConfig {
|
|
1864
|
-
ops: ParameterOpList;
|
|
1865
|
-
serialize?: ParameterSerializeConfig;
|
|
1866
|
-
}
|
|
1867
|
-
/**
|
|
1868
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1869
|
-
* via the `definition` "aiParseFileResolverOptions".
|
|
1870
|
-
*/
|
|
1871
|
-
export interface AIParseFileResolverOptions {
|
|
1872
|
-
[k: string]: any;
|
|
1873
|
-
}
|
|
1874
|
-
/**
|
|
1875
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1876
|
-
* via the `definition` "listQueryLoaderConfig".
|
|
1877
|
-
*/
|
|
1878
|
-
export interface ListQueryLoaderConfig {
|
|
1879
|
-
query: string;
|
|
1880
|
-
args?: {
|
|
1881
|
-
[k: string]: any;
|
|
1882
|
-
};
|
|
1883
|
-
pagination?: PaginationConfig;
|
|
1884
|
-
}
|
|
1885
|
-
/**
|
|
1886
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1887
|
-
* via the `definition` "formScalarConfig".
|
|
1888
|
-
*/
|
|
1889
|
-
export interface FormScalarConfig {
|
|
1890
|
-
widget: string;
|
|
1891
|
-
}
|
|
1892
|
-
/**
|
|
1893
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1894
|
-
* via the `definition` "formObjectConfig".
|
|
1895
|
-
*/
|
|
1896
|
-
export interface FormObjectConfig {
|
|
1897
|
-
widget?: string;
|
|
1898
|
-
order?: string[];
|
|
1899
|
-
properties?: {
|
|
1900
|
-
[k: string]: FormConfig;
|
|
1901
|
-
};
|
|
1902
|
-
}
|
|
1903
|
-
/**
|
|
1904
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1905
|
-
* via the `definition` "formArrayConfig".
|
|
1906
|
-
*/
|
|
1907
|
-
export interface FormArrayConfig {
|
|
1908
|
-
widget: string;
|
|
1909
|
-
items: FormConfig;
|
|
1910
|
-
}
|
|
1911
|
-
/**
|
|
1912
|
-
* For use with a custom auth handler on a service provider.
|
|
1913
|
-
*
|
|
1914
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1915
|
-
* via the `definition` "customAuthentication".
|
|
1916
|
-
*/
|
|
1917
|
-
export interface CustomAuthentication {
|
|
1918
|
-
type: 'custom';
|
|
1919
|
-
[k: string]: any;
|
|
1920
|
-
}
|
|
1921
|
-
/**
|
|
1922
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1923
|
-
* via the `definition` "searchParamsAuthentication".
|
|
1924
|
-
*/
|
|
1925
|
-
export interface SearchParamsAuthentication {
|
|
1926
|
-
type: 'searchParams';
|
|
1927
|
-
params: {
|
|
1928
|
-
name: string;
|
|
1929
|
-
value: string;
|
|
1930
|
-
}[];
|
|
1931
|
-
}
|
|
1932
|
-
/**
|
|
1933
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1934
|
-
* via the `definition` "bearerAuthentication".
|
|
1935
|
-
*/
|
|
1936
|
-
export interface BearerAuthentication {
|
|
1937
|
-
type: 'bearer';
|
|
1938
|
-
token: string;
|
|
1939
|
-
prefix?: string;
|
|
1940
|
-
header?: string;
|
|
1941
|
-
}
|
|
1942
|
-
/**
|
|
1943
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1944
|
-
* via the `definition` "oauth2BearerAuthentication".
|
|
1945
|
-
*/
|
|
1946
|
-
export interface OAuth2BearerAuthentication {
|
|
1947
|
-
type: 'oauth2Bearer';
|
|
1948
|
-
token: string;
|
|
1949
|
-
prefix?: string;
|
|
1950
|
-
header?: string;
|
|
1951
|
-
scope?: string;
|
|
1952
|
-
expiresAt?: string;
|
|
1953
|
-
}
|
|
1954
|
-
/**
|
|
1955
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1956
|
-
* via the `definition` "basicAuthentication".
|
|
1957
|
-
*/
|
|
1958
|
-
export interface BasicAuthentication {
|
|
1959
|
-
type: 'basic';
|
|
1960
|
-
username: string;
|
|
1961
|
-
password: string;
|
|
1962
|
-
useIso8859?: boolean;
|
|
1963
|
-
}
|
|
1964
|
-
/**
|
|
1965
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1966
|
-
* via the `definition` "oauth2Authentication".
|
|
1967
|
-
*/
|
|
1968
|
-
export interface OAuth2Authentication {
|
|
1969
|
-
type: 'oauth2';
|
|
1970
|
-
grantType: 'authorizationCode' | 'clientCredentials';
|
|
1971
|
-
authorizationUrl?: string;
|
|
1972
|
-
accessTokenUrl?: string;
|
|
1973
|
-
clientId: string;
|
|
1974
|
-
clientSecret?: string;
|
|
1975
|
-
scope?: string;
|
|
1976
|
-
usePkce?: boolean;
|
|
1977
|
-
redirectUrl?: string;
|
|
1978
|
-
headerPrefix?: string;
|
|
1979
|
-
audience?: string;
|
|
1980
|
-
resource?: string;
|
|
1981
|
-
}
|
|
1982
|
-
/**
|
|
1983
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1984
|
-
* via the `definition` "awsAuthentication".
|
|
1985
|
-
*/
|
|
1986
|
-
export interface AWSAuthentication {
|
|
1987
|
-
type: 'aws';
|
|
1988
|
-
awsAccessKeyId: string;
|
|
1989
|
-
awsSecretAccessKey: string;
|
|
1990
|
-
}
|
|
1991
|
-
/**
|
|
1992
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
1993
|
-
* via the `definition` "googleAuthentication".
|
|
1994
|
-
*/
|
|
1995
|
-
export interface GoogleAuthentication {
|
|
1996
|
-
type: 'google';
|
|
1997
|
-
clientEmail: string;
|
|
1998
|
-
privateKey: string;
|
|
1999
|
-
}
|
|
2000
|
-
/**
|
|
2001
|
-
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
2002
|
-
* via the `definition` "serviceConfig".
|
|
2003
|
-
*/
|
|
2004
|
-
export interface ServiceConfig {
|
|
2005
|
-
/**
|
|
2006
|
-
* Machine-readable identifier, should typically be the same as the property name on the services object.
|
|
2007
|
-
*/
|
|
2008
|
-
id: string;
|
|
2009
|
-
/**
|
|
2010
|
-
* Human-readable name for this service.
|
|
2011
|
-
*/
|
|
2012
|
-
title: string;
|
|
2013
|
-
/**
|
|
2014
|
-
* The service provider id.
|
|
2015
|
-
*/
|
|
2016
|
-
provider: string;
|
|
2017
|
-
/**
|
|
2018
|
-
* A namespace to use for the imported types tied to this service.
|
|
2019
|
-
*/
|
|
2020
|
-
namespace?: string;
|
|
2021
|
-
serviceType: ServiceType;
|
|
2022
|
-
authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
|
|
2023
|
-
authentication?: ServiceAuthentication;
|
|
2024
|
-
healthCheck?: ServiceHealthCheck;
|
|
2025
|
-
webhookId?: string;
|
|
2026
|
-
/**
|
|
2027
|
-
* Configuration options passed to and handled by the provider.
|
|
2028
|
-
*/
|
|
2029
|
-
options?: {
|
|
2030
|
-
[k: string]: any;
|
|
2031
|
-
};
|
|
2032
|
-
}
|
|
2033
|
-
//# sourceMappingURL=latest.d.ts.map
|