@takeshape/schema 11.52.0 → 11.56.1
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/__tests__/_examples.test.js +77 -0
- package/dist/__tests__/agents.test.js +163 -0
- package/dist/__tests__/api-version.test.js +24 -0
- package/dist/__tests__/builtin-schema.test.js +18 -0
- package/dist/__tests__/content-schema-transform.test.d.ts +1 -0
- package/dist/__tests__/content-schema-transform.test.js +522 -0
- package/dist/__tests__/create-input-schema.test.d.ts +1 -0
- package/dist/__tests__/create-input-schema.test.js +184 -0
- package/dist/__tests__/enum.test.d.ts +1 -0
- package/dist/__tests__/enum.test.js +36 -0
- package/dist/__tests__/flatten-templates.test.d.ts +1 -0
- package/dist/__tests__/flatten-templates.test.js +40 -0
- package/dist/__tests__/get-is-leaf.test.d.ts +1 -0
- package/dist/__tests__/get-is-leaf.test.js +50 -0
- package/dist/__tests__/interfaces.test.d.ts +1 -0
- package/dist/__tests__/interfaces.test.js +219 -0
- package/dist/__tests__/migration.test.d.ts +1 -0
- package/dist/__tests__/migration.test.js +34 -0
- package/dist/__tests__/mocks.test.d.ts +1 -0
- package/dist/__tests__/mocks.test.js +24 -0
- package/dist/__tests__/refs.test.d.ts +1 -0
- package/dist/__tests__/refs.test.js +752 -0
- package/dist/__tests__/relationships.test.d.ts +1 -0
- package/dist/__tests__/relationships.test.js +638 -0
- package/dist/__tests__/schema-transform.test.d.ts +1 -0
- package/dist/__tests__/schema-transform.test.js +205 -0
- package/dist/__tests__/schema-util.test.d.ts +1 -0
- package/dist/__tests__/schema-util.test.js +1731 -0
- package/dist/__tests__/service-dependencies.test.d.ts +1 -0
- package/dist/__tests__/service-dependencies.test.js +360 -0
- package/dist/__tests__/unions.test.d.ts +1 -0
- package/dist/__tests__/unions.test.js +44 -0
- package/dist/__tests__/validate.test.d.ts +1 -0
- package/dist/__tests__/validate.test.js +1926 -0
- package/dist/__tests__/workflows.test.d.ts +3 -0
- package/dist/__tests__/workflows.test.js +149 -0
- package/dist/agents.d.ts +14 -0
- package/dist/auth-schemas.d.ts +125 -0
- package/dist/builtin-schema.d.ts +8 -0
- package/dist/content-schema-transform.d.ts +35 -0
- package/dist/content-schema-transform.js +162 -0
- package/dist/create-input-schema.d.ts +9 -0
- package/dist/enum.d.ts +2 -0
- package/dist/flatten-templates.d.ts +2 -0
- package/dist/flatten-templates.js +20 -0
- package/dist/get-is-leaf.d.ts +3 -0
- package/dist/get-is-leaf.js +56 -0
- package/dist/index.d.ts +48 -0
- package/dist/index.js +46 -0
- package/dist/interfaces.d.ts +12 -0
- package/dist/interfaces.js +85 -0
- package/dist/layers/__tests__/layers.test.d.ts +1 -0
- package/dist/layers/__tests__/layers.test.js +38 -0
- package/dist/layers/layers.d.ts +26 -0
- package/dist/layers/layers.js +301 -0
- package/dist/layers/refs.d.ts +102 -0
- package/dist/layers/refs.js +220 -0
- package/dist/layers/type-utils.d.ts +59 -0
- package/dist/layers/type-utils.js +118 -0
- package/dist/layers/visitor.d.ts +5 -0
- package/dist/layers/visitor.js +38 -0
- package/dist/migration/index.d.ts +64 -0
- package/dist/migration/index.js +122 -0
- package/dist/migration/to/__tests__/v3.10.0.test.d.ts +1 -0
- package/dist/migration/to/__tests__/v3.10.0.test.js +90 -0
- package/dist/migration/to/__tests__/v3.12.3.test.d.ts +1 -0
- package/dist/migration/to/__tests__/v3.12.3.test.js +103 -0
- package/dist/migration/to/__tests__/v3.17.test.d.ts +1 -0
- package/dist/migration/to/__tests__/v3.17.test.js +71 -0
- package/dist/migration/to/__tests__/v3.34.0.test.d.ts +1 -0
- package/dist/migration/to/__tests__/v3.34.0.test.js +240 -0
- package/dist/migration/to/__tests__/v3.39.0.test.d.ts +1 -0
- package/dist/migration/to/__tests__/v3.39.0.test.js +116 -0
- package/dist/migration/to/__tests__/v3.46.0.test.d.ts +1 -0
- package/dist/migration/to/__tests__/v3.46.0.test.js +59 -0
- package/dist/migration/to/v3.0.0.d.ts +4 -0
- package/dist/migration/to/v3.0.0.js +212 -0
- package/dist/migration/to/v3.1.0.d.ts +4 -0
- package/dist/migration/to/v3.1.0.js +194 -0
- package/dist/migration/to/v3.10.0.d.ts +4 -0
- package/dist/migration/to/v3.11.0.d.ts +4 -0
- package/dist/migration/to/v3.12.0.d.ts +4 -0
- package/dist/migration/to/v3.12.1.d.ts +4 -0
- package/dist/migration/to/v3.12.2.d.ts +4 -0
- package/dist/migration/to/v3.12.3.d.ts +4 -0
- package/dist/migration/to/v3.13.0.d.ts +4 -0
- package/dist/migration/to/v3.14.0.d.ts +4 -0
- package/dist/migration/to/v3.15.0.d.ts +4 -0
- package/dist/migration/to/v3.16.0.d.ts +4 -0
- package/dist/migration/to/v3.17.0.d.ts +4 -0
- package/dist/migration/to/v3.17.1.d.ts +4 -0
- package/dist/migration/to/v3.18.0.d.ts +4 -0
- package/dist/migration/to/v3.18.1.d.ts +4 -0
- package/dist/migration/to/v3.18.2.d.ts +4 -0
- package/dist/migration/to/v3.19.0.d.ts +4 -0
- package/dist/migration/to/v3.2.0.d.ts +4 -0
- package/dist/migration/to/v3.20.0.d.ts +4 -0
- package/dist/migration/to/v3.21.0.d.ts +4 -0
- package/dist/migration/to/v3.22.0.d.ts +4 -0
- package/dist/migration/to/v3.23.0.d.ts +4 -0
- package/dist/migration/to/v3.24.0.d.ts +4 -0
- package/dist/migration/to/v3.25.0.d.ts +4 -0
- package/dist/migration/to/v3.26.0.d.ts +4 -0
- package/dist/migration/to/v3.27.0.d.ts +4 -0
- package/dist/migration/to/v3.28.0.d.ts +4 -0
- package/dist/migration/to/v3.29.0.d.ts +4 -0
- package/dist/migration/to/v3.3.0.d.ts +4 -0
- package/dist/migration/to/v3.30.0.d.ts +4 -0
- package/dist/migration/to/v3.31.0.d.ts +4 -0
- package/dist/migration/to/v3.32.0.d.ts +4 -0
- package/dist/migration/to/v3.32.0.js +59 -0
- package/dist/migration/to/v3.33.0.d.ts +4 -0
- package/dist/migration/to/v3.34.0.d.ts +6 -0
- package/dist/migration/to/v3.34.0.js +116 -0
- package/dist/migration/to/v3.35.0.d.ts +4 -0
- package/dist/migration/to/v3.36.0.d.ts +4 -0
- package/dist/migration/to/v3.37.0.d.ts +4 -0
- package/dist/migration/to/v3.38.0.d.ts +4 -0
- package/dist/migration/to/v3.39.0.d.ts +4 -0
- package/dist/migration/to/v3.39.0.js +45 -0
- package/dist/migration/to/v3.4.0.d.ts +4 -0
- package/dist/migration/to/v3.40.0.d.ts +4 -0
- package/dist/migration/to/v3.41.0.d.ts +4 -0
- package/dist/migration/to/v3.42.0.d.ts +4 -0
- package/dist/migration/to/v3.43.0.d.ts +4 -0
- package/dist/migration/to/v3.44.0.d.ts +4 -0
- package/dist/migration/to/v3.45.0.d.ts +4 -0
- package/dist/migration/to/v3.46.0.d.ts +4 -0
- package/dist/migration/to/v3.47.0.d.ts +4 -0
- package/dist/migration/to/v3.48.0.d.ts +4 -0
- package/dist/migration/to/v3.49.0.d.ts +4 -0
- package/dist/migration/to/v3.5.0.d.ts +4 -0
- package/dist/migration/to/v3.5.1.d.ts +4 -0
- package/dist/migration/to/v3.50.0.d.ts +4 -0
- package/dist/migration/to/v3.51.0.d.ts +4 -0
- package/dist/migration/to/v3.6.0.d.ts +4 -0
- package/dist/migration/to/v3.7.0.d.ts +4 -0
- package/dist/migration/to/v3.8.0.d.ts +4 -0
- package/dist/migration/to/v3.9.0.d.ts +4 -0
- package/dist/migration/types.d.ts +19 -0
- package/dist/migration/types.js +1 -0
- package/dist/mocks.d.ts +13 -0
- package/dist/mocks.js +58 -0
- package/dist/models/__tests__/project-schema.test.d.ts +1 -0
- package/dist/models/__tests__/project-schema.test.js +67 -0
- package/dist/models/__tests__/query.test.d.ts +1 -0
- package/dist/models/__tests__/query.test.js +27 -0
- package/dist/models/__tests__/service.test.d.ts +1 -0
- package/dist/models/__tests__/service.test.js +17 -0
- package/dist/models/__tests__/shape.test.d.ts +1 -0
- package/dist/models/__tests__/shape.test.js +61 -0
- package/dist/models/project-schema.d.ts +35 -0
- package/dist/models/project-schema.js +92 -0
- package/dist/models/query.d.ts +17 -0
- package/dist/models/service.d.ts +12 -0
- package/dist/models/shape.d.ts +41 -0
- package/dist/models/shape.js +85 -0
- package/dist/patterns.js +1 -0
- package/dist/project-schema/index.d.ts +187 -0
- package/dist/project-schema/index.js +75 -0
- package/dist/project-schema/latest.d.ts +2222 -0
- package/dist/project-schema/migrate.d.ts +4 -0
- package/dist/project-schema/migrate.js +194 -0
- package/dist/project-schema/v3.48.0.d.ts +2161 -0
- package/dist/project-schema/v3.49.0.d.ts +2170 -0
- package/dist/project-schema/v3.50.0.d.ts +2222 -0
- package/dist/project-schema/v3.51.0.d.ts +2222 -0
- package/dist/refs.d.ts +226 -0
- package/dist/refs.js +608 -0
- package/dist/relationships.d.ts +40 -0
- package/dist/relationships.js +311 -0
- package/dist/runtime-schema.d.ts +5 -0
- package/dist/runtime-schema.js +80 -0
- package/dist/schema-transform.d.ts +19 -0
- package/dist/schema-transform.js +74 -0
- package/dist/schema-util.d.ts +210 -0
- package/dist/schema-util.js +1077 -0
- package/dist/schemas/auth-schemas.json +365 -0
- package/dist/schemas/index.js +154 -0
- package/dist/schemas/project-schema/experimental.json +1104 -0
- package/dist/service-dependencies.d.ts +13 -0
- package/dist/service-dependencies.js +165 -0
- package/dist/services/__tests__/services.test.d.ts +1 -0
- package/dist/services/__tests__/services.test.js +113 -0
- package/dist/services/services.d.ts +31 -0
- package/dist/services/services.js +145 -0
- package/dist/services/types.js +1 -0
- package/dist/services/util.d.ts +16 -0
- package/dist/taxonomies.d.ts +15 -0
- package/dist/taxonomies.js +24 -0
- package/dist/template-shapes/__tests__/index.test.d.ts +1 -0
- package/dist/template-shapes/__tests__/index.test.js +40 -0
- package/dist/template-shapes/__tests__/names.test.d.ts +1 -0
- package/dist/template-shapes/__tests__/names.test.js +19 -0
- package/dist/template-shapes/__tests__/templates.test.d.ts +1 -0
- package/dist/template-shapes/__tests__/templates.test.js +80 -0
- package/dist/template-shapes/__tests__/where.test.d.ts +1 -0
- package/dist/template-shapes/__tests__/where.test.js +218 -0
- package/dist/template-shapes/index.d.ts +7 -0
- package/dist/template-shapes/names.d.ts +10 -0
- package/dist/template-shapes/templates.d.ts +32 -0
- package/dist/template-shapes/templates.js +319 -0
- package/dist/template-shapes/types.d.ts +15 -0
- package/dist/template-shapes/where.d.ts +37 -0
- package/dist/template-shapes/where.js +402 -0
- package/dist/types/__tests__/utils.test.d.ts +1 -0
- package/dist/types/__tests__/utils.test.js +159 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +2 -0
- package/dist/types/transforms.d.ts +13 -0
- package/dist/types/transforms.js +1 -0
- package/dist/types/types.d.ts +211 -0
- package/dist/types/utils.d.ts +117 -0
- package/dist/types/utils.js +279 -0
- package/dist/unions.d.ts +14 -0
- package/dist/unions.js +77 -0
- package/dist/util/__tests__/api-indexing.test.d.ts +1 -0
- package/dist/util/__tests__/api-indexing.test.js +129 -0
- package/dist/util/__tests__/detect-cycles.test.d.ts +1 -0
- package/dist/util/__tests__/detect-cycles.test.js +193 -0
- package/dist/util/__tests__/find-shape-at-path.test.d.ts +1 -0
- package/dist/util/__tests__/find-shape-at-path.test.js +41 -0
- package/dist/util/__tests__/form-config.test.d.ts +1 -0
- package/dist/util/__tests__/form-config.test.js +196 -0
- package/dist/util/__tests__/get-return-shape.test.d.ts +1 -0
- package/dist/util/__tests__/get-return-shape.test.js +27 -0
- package/dist/util/__tests__/has-args.test.d.ts +1 -0
- package/dist/util/__tests__/has-args.test.js +46 -0
- package/dist/util/__tests__/merge.test.d.ts +1 -0
- package/dist/util/__tests__/merge.test.js +1074 -0
- package/dist/util/__tests__/patch-schema.test.d.ts +1 -0
- package/dist/util/__tests__/patch-schema.test.js +82 -0
- package/dist/util/__tests__/shapes.test.d.ts +1 -0
- package/dist/util/__tests__/shapes.test.js +30 -0
- package/dist/util/ai-tools.d.ts +3 -0
- package/dist/util/api-indexing.d.ts +9 -0
- package/dist/util/api-indexing.js +57 -0
- package/dist/util/detect-cycles.d.ts +7 -0
- package/dist/util/detect-cycles.js +45 -0
- package/dist/util/find-shape-at-path.d.ts +21 -0
- package/dist/util/form-config.d.ts +11 -0
- package/dist/util/form-config.js +62 -0
- package/dist/util/get-conflicting-properties.d.ts +6 -0
- package/dist/util/get-conflicting-properties.js +55 -0
- package/dist/util/get-return-shape.d.ts +4 -0
- package/dist/util/get-return-shape.js +30 -0
- package/dist/util/has-arg.d.ts +4 -0
- package/dist/util/has-arg.js +13 -0
- package/dist/util/merge.d.ts +15 -0
- package/dist/util/merge.js +256 -0
- package/dist/util/patch-schema.d.ts +8 -0
- package/dist/util/shapes.d.ts +5 -0
- package/dist/validate/errors.d.ts +3 -0
- package/dist/validate/errors.js +20 -0
- package/dist/validate/validate.d.ts +73 -0
- package/dist/validate/validate.js +1107 -0
- package/dist/versions.d.ts +4 -0
- package/dist/versions.js +4 -0
- package/dist/workflows.d.ts +14 -0
- package/dist/workflows.js +66 -0
- package/examples/latest/agent-schema.json +12 -4
- package/examples/latest/all-fields-shapes-inline.json +52 -18
- package/examples/latest/all-fields-shapes.json +76 -26
- package/examples/latest/betzino.json +3139 -902
- package/examples/latest/blog-schema.json +28 -8
- package/examples/latest/brewery-schema.json +25 -7
- package/examples/latest/clear-cache-schema.json +7 -3
- package/examples/latest/complex-project-schema.json +359 -98
- package/examples/latest/complex-schema.json +1754 -487
- package/examples/latest/edit-schema.json +11 -4
- package/examples/latest/fabric-ecommerce.json +838 -187
- package/examples/latest/frank-and-fred-schema.json +1753 -486
- package/examples/latest/klirr-schema.json +2411 -682
- package/examples/latest/layers/rick-and-morty-layer.json +32 -11
- package/examples/latest/layers/shopify-layer-2023-01.json +8637 -2206
- package/examples/latest/layers/shopify-storefront-2023-04.json +1714 -404
- package/examples/latest/layers/wordpress-2024-01.json +2746 -691
- package/examples/latest/massive-schema.json +584 -131
- package/examples/latest/mill-components-schema.json +125 -29
- package/examples/latest/nested-shape-arrays.json +19 -7
- package/examples/latest/one-earth.json +1113 -236
- package/examples/latest/pet-oneof-array.json +22 -7
- package/examples/latest/post-schema.json +20 -6
- package/examples/latest/pruned-shopify-product-schema.json +830 -185
- package/examples/latest/rag-example.json +15 -5
- package/examples/latest/real-world-schema.json +56 -14
- package/examples/latest/recursive-repeater-schema.json +11 -4
- package/examples/latest/recursive-schema.json +11 -4
- package/examples/latest/rick-and-morty-ast.json +174 -45
- package/examples/latest/rick-and-morty-graphql.json +100 -25
- package/examples/latest/rick-and-morty-rest.json +7 -3
- package/examples/latest/rick-and-morty-with-indexing.json +13 -5
- package/examples/latest/schema-where-filter.json +40 -11
- package/examples/latest/schema-with-repeater-draftjs.json +8 -3
- package/examples/latest/schema-with-rick-and-morty.json +4 -2
- package/examples/latest/shape-books-v3_2_0.json +71 -17
- package/examples/latest/shape-books.json +71 -17
- package/examples/latest/shape-editor-schema-edited.json +69 -23
- package/examples/latest/shape-editor-schema-initial.json +28 -10
- package/examples/latest/shapedb-crud-every-prop-type.json +22 -8
- package/examples/latest/shopify-lookbook.json +19 -5
- package/examples/latest/shopify-product-2022-07.json +3217 -726
- package/examples/latest/shopify-product-2023-04.json +4496 -1012
- package/examples/latest/shopify-store-with-widget.json +942 -213
- package/examples/latest/stripe-product-runtime-schema.json +277 -81
- package/examples/latest/stripe-starter-resolved.json +1953 -476
- package/examples/latest/user-schema-no-required.json +13 -3
- package/examples/latest/user-schema-with-defaults.json +27 -5
- package/examples/latest/valvoline-ai-demo.json +69 -17
- package/examples/latest/vector-search-schema.json +24 -8
- package/package.json +24 -26
- package/dist/cjs/package.json +0 -1
- package/dist/cjs/src/agents.js +0 -147
- package/dist/cjs/src/api-version.js +0 -24
- package/dist/cjs/src/auth-schemas.js +0 -8
- package/dist/cjs/src/builtin-schema.js +0 -616
- package/dist/cjs/src/constants.js +0 -4
- package/dist/cjs/src/content-schema-transform.js +0 -175
- package/dist/cjs/src/create-input-schema.js +0 -66
- package/dist/cjs/src/enum.js +0 -12
- package/dist/cjs/src/flatten-templates.js +0 -26
- package/dist/cjs/src/get-is-leaf.js +0 -59
- package/dist/cjs/src/index.js +0 -62
- package/dist/cjs/src/interfaces.js +0 -98
- package/dist/cjs/src/layers/layers.js +0 -313
- package/dist/cjs/src/layers/refs.js +0 -243
- package/dist/cjs/src/layers/type-utils.js +0 -145
- package/dist/cjs/src/layers/visitor.js +0 -42
- package/dist/cjs/src/migration/index.js +0 -142
- package/dist/cjs/src/migration/to/v3.0.0.js +0 -217
- package/dist/cjs/src/migration/to/v3.1.0.js +0 -199
- package/dist/cjs/src/migration/to/v3.10.0.js +0 -72
- package/dist/cjs/src/migration/to/v3.11.0.js +0 -90
- package/dist/cjs/src/migration/to/v3.12.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.12.1.js +0 -12
- package/dist/cjs/src/migration/to/v3.12.2.js +0 -12
- package/dist/cjs/src/migration/to/v3.12.3.js +0 -92
- package/dist/cjs/src/migration/to/v3.13.0.js +0 -22
- package/dist/cjs/src/migration/to/v3.14.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.15.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.16.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.17.0.js +0 -27
- package/dist/cjs/src/migration/to/v3.17.1.js +0 -12
- package/dist/cjs/src/migration/to/v3.18.0.js +0 -69
- package/dist/cjs/src/migration/to/v3.18.1.js +0 -20
- package/dist/cjs/src/migration/to/v3.18.2.js +0 -24
- package/dist/cjs/src/migration/to/v3.19.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.2.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.20.0.js +0 -29
- package/dist/cjs/src/migration/to/v3.21.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.22.0.js +0 -30
- package/dist/cjs/src/migration/to/v3.23.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.24.0.js +0 -13
- package/dist/cjs/src/migration/to/v3.25.0.js +0 -13
- package/dist/cjs/src/migration/to/v3.26.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.27.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.28.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.29.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.3.0.js +0 -15
- package/dist/cjs/src/migration/to/v3.30.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.31.0.js +0 -43
- package/dist/cjs/src/migration/to/v3.32.0.js +0 -61
- package/dist/cjs/src/migration/to/v3.33.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.34.0.js +0 -123
- package/dist/cjs/src/migration/to/v3.35.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.36.0.js +0 -27
- package/dist/cjs/src/migration/to/v3.37.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.38.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.39.0.js +0 -47
- package/dist/cjs/src/migration/to/v3.4.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.40.0.js +0 -31
- package/dist/cjs/src/migration/to/v3.41.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.42.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.43.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.44.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.45.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.46.0.js +0 -37
- package/dist/cjs/src/migration/to/v3.47.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.48.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.49.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.5.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.5.1.js +0 -12
- package/dist/cjs/src/migration/to/v3.50.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.51.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.6.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.7.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.8.0.js +0 -12
- package/dist/cjs/src/migration/to/v3.9.0.js +0 -84
- package/dist/cjs/src/migration/types.js +0 -2
- package/dist/cjs/src/migration/utils.js +0 -10
- package/dist/cjs/src/mocks.js +0 -65
- package/dist/cjs/src/models/project-schema.js +0 -99
- package/dist/cjs/src/models/query.js +0 -35
- package/dist/cjs/src/models/service.js +0 -24
- package/dist/cjs/src/models/shape.js +0 -89
- package/dist/cjs/src/patterns.js +0 -2
- package/dist/cjs/src/project-schema/index.js +0 -156
- package/dist/cjs/src/project-schema/latest.js +0 -8
- package/dist/cjs/src/project-schema/migrate.js +0 -198
- package/dist/cjs/src/project-schema/v1.0.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.0.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.1.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.10.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.11.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.12.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.12.1.js +0 -8
- package/dist/cjs/src/project-schema/v3.12.2.js +0 -8
- package/dist/cjs/src/project-schema/v3.12.3.js +0 -8
- package/dist/cjs/src/project-schema/v3.13.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.13.1.js +0 -8
- package/dist/cjs/src/project-schema/v3.14.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.15.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.16.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.17.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.17.1.js +0 -8
- package/dist/cjs/src/project-schema/v3.18.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.18.1.js +0 -8
- package/dist/cjs/src/project-schema/v3.18.2.js +0 -8
- package/dist/cjs/src/project-schema/v3.19.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.2.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.20.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.21.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.22.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.23.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.24.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.25.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.26.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.27.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.28.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.29.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.3.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.30.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.31.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.32.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.33.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.34.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.35.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.36.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.37.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.38.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.39.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.4.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.40.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.41.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.42.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.43.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.44.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.45.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.46.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.47.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.48.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.49.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.5.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.5.1.js +0 -8
- package/dist/cjs/src/project-schema/v3.50.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.51.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.6.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.7.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.8.0.js +0 -8
- package/dist/cjs/src/project-schema/v3.9.0.js +0 -8
- package/dist/cjs/src/project-schema/v4.0.0.js +0 -8
- package/dist/cjs/src/refs.js +0 -671
- package/dist/cjs/src/relationships.js +0 -326
- package/dist/cjs/src/runtime-schema.js +0 -88
- package/dist/cjs/src/scalars.js +0 -8
- package/dist/cjs/src/schema-transform.js +0 -83
- package/dist/cjs/src/schema-util.js +0 -1140
- package/dist/cjs/src/schemas/auth-schemas.json +0 -313
- package/dist/cjs/src/schemas/index.js +0 -162
- package/dist/cjs/src/schemas/project-schema/experimental.json +0 -1101
- package/dist/cjs/src/schemas/user-schema.json +0 -51
- package/dist/cjs/src/service-dependencies.js +0 -172
- package/dist/cjs/src/services/services.js +0 -156
- package/dist/cjs/src/services/types.js +0 -2
- package/dist/cjs/src/services/util.js +0 -45
- package/dist/cjs/src/taxonomies.js +0 -28
- package/dist/cjs/src/template-shapes/index.js +0 -37
- package/dist/cjs/src/template-shapes/names.js +0 -26
- package/dist/cjs/src/template-shapes/templates.js +0 -331
- package/dist/cjs/src/template-shapes/types.js +0 -10
- package/dist/cjs/src/template-shapes/where.js +0 -414
- package/dist/cjs/src/types/index.js +0 -19
- package/dist/cjs/src/types/transforms.js +0 -2
- package/dist/cjs/src/types/types.js +0 -21
- package/dist/cjs/src/types/utils.js +0 -344
- package/dist/cjs/src/unions.js +0 -88
- package/dist/cjs/src/user-schema.js +0 -8
- package/dist/cjs/src/util/ai-tools.js +0 -10
- package/dist/cjs/src/util/api-indexing.js +0 -62
- package/dist/cjs/src/util/detect-cycles.js +0 -48
- package/dist/cjs/src/util/find-shape-at-path.js +0 -57
- package/dist/cjs/src/util/form-config.js +0 -66
- package/dist/cjs/src/util/get-conflicting-properties.js +0 -58
- package/dist/cjs/src/util/get-return-shape.js +0 -34
- package/dist/cjs/src/util/has-arg.js +0 -17
- package/dist/cjs/src/util/merge.js +0 -269
- package/dist/cjs/src/util/patch-schema.js +0 -55
- package/dist/cjs/src/util/shapes.js +0 -31
- package/dist/cjs/src/validate.js +0 -1140
- package/dist/cjs/src/versions.js +0 -8
- package/dist/cjs/src/workflows.js +0 -76
- package/dist/cjs/tsconfig.cjs.tsbuildinfo +0 -1
- package/dist/esm/package.json +0 -1
- package/dist/esm/src/content-schema-transform.js +0 -162
- package/dist/esm/src/flatten-templates.js +0 -20
- package/dist/esm/src/get-is-leaf.js +0 -56
- package/dist/esm/src/index.js +0 -46
- package/dist/esm/src/interfaces.js +0 -85
- package/dist/esm/src/layers/layers.js +0 -301
- package/dist/esm/src/layers/refs.js +0 -220
- package/dist/esm/src/layers/type-utils.js +0 -118
- package/dist/esm/src/layers/visitor.js +0 -38
- package/dist/esm/src/migration/index.js +0 -122
- package/dist/esm/src/migration/to/v3.0.0.js +0 -212
- package/dist/esm/src/migration/to/v3.1.0.js +0 -194
- package/dist/esm/src/migration/to/v3.32.0.js +0 -59
- package/dist/esm/src/migration/to/v3.34.0.js +0 -116
- package/dist/esm/src/migration/to/v3.39.0.js +0 -45
- package/dist/esm/src/mocks.js +0 -58
- package/dist/esm/src/models/project-schema.js +0 -92
- package/dist/esm/src/models/shape.js +0 -85
- package/dist/esm/src/project-schema/index.js +0 -138
- package/dist/esm/src/project-schema/migrate.js +0 -194
- package/dist/esm/src/refs.js +0 -608
- package/dist/esm/src/relationships.js +0 -311
- package/dist/esm/src/runtime-schema.js +0 -80
- package/dist/esm/src/schema-transform.js +0 -74
- package/dist/esm/src/schema-util.js +0 -1077
- package/dist/esm/src/schemas/auth-schemas.json +0 -313
- package/dist/esm/src/schemas/index.js +0 -154
- package/dist/esm/src/schemas/project-schema/experimental.json +0 -1101
- package/dist/esm/src/schemas/project-schema/latest.json +0 -3320
- package/dist/esm/src/schemas/project-schema/meta-schema-v1.0.0.json +0 -193
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.0.0.json +0 -608
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.1.0.json +0 -608
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.2.0.json +0 -612
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.3.0.json +0 -612
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.4.0.json +0 -637
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.0.json +0 -626
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.1.json +0 -626
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.6.0.json +0 -629
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.7.0.json +0 -1137
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.8.0.json +0 -1137
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.9.0.json +0 -1477
- package/dist/esm/src/schemas/project-schema/v1.0.0.json +0 -321
- package/dist/esm/src/schemas/project-schema/v3.0.0.json +0 -414
- package/dist/esm/src/schemas/project-schema/v3.1.0.json +0 -572
- package/dist/esm/src/schemas/project-schema/v3.10.0.json +0 -2097
- package/dist/esm/src/schemas/project-schema/v3.11.0.json +0 -2141
- package/dist/esm/src/schemas/project-schema/v3.12.0.json +0 -2144
- package/dist/esm/src/schemas/project-schema/v3.12.1.json +0 -2282
- package/dist/esm/src/schemas/project-schema/v3.12.2.json +0 -2304
- package/dist/esm/src/schemas/project-schema/v3.12.3.json +0 -2357
- package/dist/esm/src/schemas/project-schema/v3.13.0.json +0 -2377
- package/dist/esm/src/schemas/project-schema/v3.14.0.json +0 -2385
- package/dist/esm/src/schemas/project-schema/v3.15.0.json +0 -2365
- package/dist/esm/src/schemas/project-schema/v3.16.0.json +0 -2373
- package/dist/esm/src/schemas/project-schema/v3.17.0.json +0 -2378
- package/dist/esm/src/schemas/project-schema/v3.17.1.json +0 -2380
- package/dist/esm/src/schemas/project-schema/v3.18.0.json +0 -2356
- package/dist/esm/src/schemas/project-schema/v3.18.1.json +0 -2357
- package/dist/esm/src/schemas/project-schema/v3.18.2.json +0 -2357
- package/dist/esm/src/schemas/project-schema/v3.19.0.json +0 -2369
- package/dist/esm/src/schemas/project-schema/v3.2.0.json +0 -580
- package/dist/esm/src/schemas/project-schema/v3.20.0.json +0 -2369
- package/dist/esm/src/schemas/project-schema/v3.21.0.json +0 -2376
- package/dist/esm/src/schemas/project-schema/v3.22.0.json +0 -2381
- package/dist/esm/src/schemas/project-schema/v3.23.0.json +0 -2456
- package/dist/esm/src/schemas/project-schema/v3.24.0.json +0 -2556
- package/dist/esm/src/schemas/project-schema/v3.25.0.json +0 -2552
- package/dist/esm/src/schemas/project-schema/v3.26.0.json +0 -2599
- package/dist/esm/src/schemas/project-schema/v3.27.0.json +0 -2611
- package/dist/esm/src/schemas/project-schema/v3.28.0.json +0 -2656
- package/dist/esm/src/schemas/project-schema/v3.29.0.json +0 -2670
- package/dist/esm/src/schemas/project-schema/v3.3.0.json +0 -581
- package/dist/esm/src/schemas/project-schema/v3.30.0.json +0 -2656
- package/dist/esm/src/schemas/project-schema/v3.31.0.json +0 -2714
- package/dist/esm/src/schemas/project-schema/v3.32.0.json +0 -2708
- package/dist/esm/src/schemas/project-schema/v3.33.0.json +0 -2715
- package/dist/esm/src/schemas/project-schema/v3.34.0.json +0 -2715
- package/dist/esm/src/schemas/project-schema/v3.35.0.json +0 -2748
- package/dist/esm/src/schemas/project-schema/v3.36.0.json +0 -2756
- package/dist/esm/src/schemas/project-schema/v3.37.0.json +0 -2821
- package/dist/esm/src/schemas/project-schema/v3.38.0.json +0 -2819
- package/dist/esm/src/schemas/project-schema/v3.39.0.json +0 -2827
- package/dist/esm/src/schemas/project-schema/v3.4.0.json +0 -571
- package/dist/esm/src/schemas/project-schema/v3.40.0.json +0 -2830
- package/dist/esm/src/schemas/project-schema/v3.41.0.json +0 -2830
- package/dist/esm/src/schemas/project-schema/v3.42.0.json +0 -2835
- package/dist/esm/src/schemas/project-schema/v3.43.0.json +0 -2841
- package/dist/esm/src/schemas/project-schema/v3.44.0.json +0 -3013
- package/dist/esm/src/schemas/project-schema/v3.45.0.json +0 -3064
- package/dist/esm/src/schemas/project-schema/v3.46.0.json +0 -3136
- package/dist/esm/src/schemas/project-schema/v3.47.0.json +0 -3189
- package/dist/esm/src/schemas/project-schema/v3.48.0.json +0 -3196
- package/dist/esm/src/schemas/project-schema/v3.49.0.json +0 -3239
- package/dist/esm/src/schemas/project-schema/v3.5.0.json +0 -571
- package/dist/esm/src/schemas/project-schema/v3.5.1.json +0 -571
- package/dist/esm/src/schemas/project-schema/v3.50.0.json +0 -3320
- package/dist/esm/src/schemas/project-schema/v3.51.0.json +0 -3320
- package/dist/esm/src/schemas/project-schema/v3.6.0.json +0 -587
- package/dist/esm/src/schemas/project-schema/v3.7.0.json +0 -587
- package/dist/esm/src/schemas/project-schema/v3.8.0.json +0 -604
- package/dist/esm/src/schemas/project-schema/v3.9.0.json +0 -604
- package/dist/esm/src/schemas/project-schema/v4.0.0.json +0 -2316
- package/dist/esm/src/schemas/project-schema.json +0 -190
- package/dist/esm/src/schemas/user-schema.json +0 -51
- package/dist/esm/src/service-dependencies.js +0 -165
- package/dist/esm/src/services/services.js +0 -145
- package/dist/esm/src/taxonomies.js +0 -24
- package/dist/esm/src/template-shapes/templates.js +0 -319
- package/dist/esm/src/template-shapes/where.js +0 -402
- package/dist/esm/src/types/index.js +0 -3
- package/dist/esm/src/types/utils.js +0 -279
- package/dist/esm/src/unions.js +0 -77
- package/dist/esm/src/user-schema.js +0 -7
- package/dist/esm/src/util/api-indexing.js +0 -57
- package/dist/esm/src/util/detect-cycles.js +0 -45
- package/dist/esm/src/util/form-config.js +0 -62
- package/dist/esm/src/util/get-conflicting-properties.js +0 -55
- package/dist/esm/src/util/get-return-shape.js +0 -30
- package/dist/esm/src/util/has-arg.js +0 -13
- package/dist/esm/src/util/merge.js +0 -256
- package/dist/esm/src/validate.js +0 -1126
- package/dist/esm/src/versions.js +0 -4
- package/dist/esm/src/workflows.js +0 -66
- package/dist/esm/tsconfig.esm.tsbuildinfo +0 -1
- package/dist/types/src/agents.d.ts +0 -14
- package/dist/types/src/auth-schemas.d.ts +0 -104
- package/dist/types/src/builtin-schema.d.ts +0 -8
- package/dist/types/src/content-schema-transform.d.ts +0 -35
- package/dist/types/src/create-input-schema.d.ts +0 -9
- package/dist/types/src/enum.d.ts +0 -2
- package/dist/types/src/flatten-templates.d.ts +0 -2
- package/dist/types/src/get-is-leaf.d.ts +0 -3
- package/dist/types/src/index.d.ts +0 -48
- package/dist/types/src/interfaces.d.ts +0 -12
- package/dist/types/src/layers/layers.d.ts +0 -26
- package/dist/types/src/layers/refs.d.ts +0 -102
- package/dist/types/src/layers/type-utils.d.ts +0 -59
- package/dist/types/src/layers/visitor.d.ts +0 -5
- package/dist/types/src/migration/index.d.ts +0 -64
- package/dist/types/src/migration/to/v3.0.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.1.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.10.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.11.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.12.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.12.1.d.ts +0 -4
- package/dist/types/src/migration/to/v3.12.2.d.ts +0 -4
- package/dist/types/src/migration/to/v3.12.3.d.ts +0 -4
- package/dist/types/src/migration/to/v3.13.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.14.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.15.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.16.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.17.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.17.1.d.ts +0 -4
- package/dist/types/src/migration/to/v3.18.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.18.1.d.ts +0 -4
- package/dist/types/src/migration/to/v3.18.2.d.ts +0 -4
- package/dist/types/src/migration/to/v3.19.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.2.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.20.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.21.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.22.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.23.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.24.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.25.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.26.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.27.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.28.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.29.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.3.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.30.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.31.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.32.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.33.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.34.0.d.ts +0 -6
- package/dist/types/src/migration/to/v3.35.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.36.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.37.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.38.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.39.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.4.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.40.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.41.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.42.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.43.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.44.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.45.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.46.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.47.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.48.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.49.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.5.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.5.1.d.ts +0 -4
- package/dist/types/src/migration/to/v3.50.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.51.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.6.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.7.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.8.0.d.ts +0 -4
- package/dist/types/src/migration/to/v3.9.0.d.ts +0 -4
- package/dist/types/src/migration/types.d.ts +0 -19
- package/dist/types/src/mocks.d.ts +0 -13
- package/dist/types/src/models/project-schema.d.ts +0 -35
- package/dist/types/src/models/query.d.ts +0 -17
- package/dist/types/src/models/service.d.ts +0 -12
- package/dist/types/src/models/shape.d.ts +0 -41
- package/dist/types/src/project-schema/index.d.ts +0 -187
- package/dist/types/src/project-schema/latest.d.ts +0 -2221
- package/dist/types/src/project-schema/migrate.d.ts +0 -4
- package/dist/types/src/project-schema/v3.48.0.d.ts +0 -2160
- package/dist/types/src/project-schema/v3.49.0.d.ts +0 -2169
- package/dist/types/src/project-schema/v3.50.0.d.ts +0 -2221
- package/dist/types/src/project-schema/v3.51.0.d.ts +0 -2221
- package/dist/types/src/refs.d.ts +0 -226
- package/dist/types/src/relationships.d.ts +0 -40
- package/dist/types/src/runtime-schema.d.ts +0 -5
- package/dist/types/src/schema-transform.d.ts +0 -19
- package/dist/types/src/schema-util.d.ts +0 -210
- package/dist/types/src/service-dependencies.d.ts +0 -13
- package/dist/types/src/services/services.d.ts +0 -31
- package/dist/types/src/services/util.d.ts +0 -16
- package/dist/types/src/taxonomies.d.ts +0 -15
- package/dist/types/src/template-shapes/index.d.ts +0 -7
- package/dist/types/src/template-shapes/names.d.ts +0 -10
- package/dist/types/src/template-shapes/templates.d.ts +0 -32
- package/dist/types/src/template-shapes/types.d.ts +0 -15
- package/dist/types/src/template-shapes/where.d.ts +0 -37
- package/dist/types/src/types/index.d.ts +0 -3
- package/dist/types/src/types/transforms.d.ts +0 -13
- package/dist/types/src/types/types.d.ts +0 -211
- package/dist/types/src/types/utils.d.ts +0 -117
- package/dist/types/src/unions.d.ts +0 -14
- package/dist/types/src/user-schema.d.ts +0 -38
- package/dist/types/src/util/ai-tools.d.ts +0 -3
- package/dist/types/src/util/api-indexing.d.ts +0 -9
- package/dist/types/src/util/detect-cycles.d.ts +0 -7
- package/dist/types/src/util/find-shape-at-path.d.ts +0 -21
- package/dist/types/src/util/form-config.d.ts +0 -11
- package/dist/types/src/util/get-conflicting-properties.d.ts +0 -6
- package/dist/types/src/util/get-return-shape.d.ts +0 -4
- package/dist/types/src/util/has-arg.d.ts +0 -4
- package/dist/types/src/util/merge.d.ts +0 -15
- package/dist/types/src/util/patch-schema.d.ts +0 -8
- package/dist/types/src/util/shapes.d.ts +0 -5
- package/dist/types/src/validate.d.ts +0 -75
- package/dist/types/src/versions.d.ts +0 -4
- package/dist/types/src/workflows.d.ts +0 -14
- package/dist/types/tsconfig.types.tsbuildinfo +0 -1
- /package/dist/{esm/src/migration/types.js → __tests__/_examples.test.d.ts} +0 -0
- /package/dist/{esm/src/patterns.js → __tests__/agents.test.d.ts} +0 -0
- /package/dist/{esm/src/services/types.js → __tests__/api-version.test.d.ts} +0 -0
- /package/dist/{esm/src/types/transforms.js → __tests__/builtin-schema.test.d.ts} +0 -0
- /package/dist/{esm/src/agents.js → agents.js} +0 -0
- /package/dist/{types/src/api-version.d.ts → api-version.d.ts} +0 -0
- /package/dist/{esm/src/api-version.js → api-version.js} +0 -0
- /package/dist/{esm/src/auth-schemas.js → auth-schemas.js} +0 -0
- /package/dist/{esm/src/builtin-schema.js → builtin-schema.js} +0 -0
- /package/dist/{types/src/constants.d.ts → constants.d.ts} +0 -0
- /package/dist/{esm/src/constants.js → constants.js} +0 -0
- /package/dist/{esm/src/create-input-schema.js → create-input-schema.js} +0 -0
- /package/dist/{esm/src/enum.js → enum.js} +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.10.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.11.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.12.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.12.1.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.12.2.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.12.3.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.13.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.14.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.15.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.16.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.17.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.17.1.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.18.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.18.1.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.18.2.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.19.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.2.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.20.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.21.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.22.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.23.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.24.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.25.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.26.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.27.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.28.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.29.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.3.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.30.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.31.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.33.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.35.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.36.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.37.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.38.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.4.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.40.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.41.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.42.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.43.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.44.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.45.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.46.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.47.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.48.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.49.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.5.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.5.1.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.50.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.51.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.6.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.7.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.8.0.js +0 -0
- /package/dist/{esm/src/migration → migration}/to/v3.9.0.js +0 -0
- /package/dist/{types/src/migration → migration}/utils.d.ts +0 -0
- /package/dist/{esm/src/migration → migration}/utils.js +0 -0
- /package/dist/{esm/src/models → models}/query.js +0 -0
- /package/dist/{esm/src/models → models}/service.js +0 -0
- /package/dist/{types/src/patterns.d.ts → patterns.d.ts} +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/latest.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v1.0.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v1.0.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.0.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.0.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.1.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.1.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.10.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.10.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.11.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.11.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.12.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.12.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.12.1.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.12.1.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.12.2.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.12.2.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.12.3.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.12.3.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.13.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.13.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.13.1.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.13.1.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.14.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.14.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.15.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.15.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.16.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.16.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.17.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.17.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.17.1.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.17.1.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.18.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.18.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.18.1.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.18.1.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.18.2.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.18.2.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.19.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.19.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.2.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.2.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.20.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.20.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.21.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.21.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.22.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.22.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.23.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.23.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.24.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.24.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.25.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.25.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.26.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.26.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.27.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.27.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.28.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.28.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.29.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.29.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.3.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.3.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.30.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.30.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.31.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.31.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.32.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.32.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.33.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.33.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.34.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.34.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.35.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.35.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.36.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.36.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.37.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.37.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.38.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.38.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.39.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.39.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.4.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.4.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.40.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.40.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.41.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.41.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.42.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.42.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.43.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.43.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.44.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.44.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.45.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.45.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.46.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.46.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.47.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.47.0.js +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.48.0.js +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.49.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.5.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.5.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.5.1.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.5.1.js +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.50.0.js +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.51.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.6.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.6.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.7.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.7.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.8.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.8.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.9.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.9.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v4.0.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v4.0.0.js +0 -0
- /package/dist/{types/src/scalars.d.ts → scalars.d.ts} +0 -0
- /package/dist/{esm/src/scalars.js → scalars.js} +0 -0
- /package/dist/{types/src/schemas → schemas}/index.d.ts +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/latest.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v1.0.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.0.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.1.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.2.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.3.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.4.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.5.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.5.1.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.6.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.7.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.8.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.9.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v1.0.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.0.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.1.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.10.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.11.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.1.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.2.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.3.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.13.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.14.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.15.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.16.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.17.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.17.1.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.1.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.2.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.19.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.2.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.20.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.21.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.22.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.23.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.24.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.25.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.26.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.27.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.28.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.29.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.3.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.30.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.31.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.32.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.33.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.34.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.35.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.36.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.37.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.38.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.39.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.4.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.40.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.41.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.42.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.43.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.44.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.45.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.46.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.47.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.48.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.49.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.5.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.5.1.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.50.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.51.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.6.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.7.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.8.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.9.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema/v4.0.0.json +0 -0
- /package/dist/{cjs/src/schemas → schemas}/project-schema.json +0 -0
- /package/dist/{types/src/services → services}/types.d.ts +0 -0
- /package/dist/{esm/src/services → services}/util.js +0 -0
- /package/dist/{esm/src/template-shapes → template-shapes}/index.js +0 -0
- /package/dist/{esm/src/template-shapes → template-shapes}/names.js +0 -0
- /package/dist/{esm/src/template-shapes → template-shapes}/types.js +0 -0
- /package/dist/{esm/src/types → types}/types.js +0 -0
- /package/dist/{esm/src/util → util}/ai-tools.js +0 -0
- /package/dist/{esm/src/util → util}/find-shape-at-path.js +0 -0
- /package/dist/{esm/src/util → util}/patch-schema.js +0 -0
- /package/dist/{esm/src/util → util}/shapes.js +0 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import shopifySchemaJson from '@/examples/latest/shopify-store-with-widget.json';
|
|
2
|
+
import { describe, expect, test } from 'vitest';
|
|
3
|
+
import { ProjectSchema } from "../project-schema.js";
|
|
4
|
+
import { ShapeModel } from "../shape.js";
|
|
5
|
+
const projectSchema = shopifySchemaJson;
|
|
6
|
+
const projectSchemaModel = new ProjectSchema(projectSchema);
|
|
7
|
+
describe('ShapeModel', () => {
|
|
8
|
+
const shapeRef = 'local:Asset';
|
|
9
|
+
const shapeRefItem = {
|
|
10
|
+
isForeign: false,
|
|
11
|
+
serviceKey: 'local',
|
|
12
|
+
typeName: 'Asset',
|
|
13
|
+
isValidService: true
|
|
14
|
+
};
|
|
15
|
+
const rawShape = projectSchema.shapes.Asset;
|
|
16
|
+
const shapeModel = new ShapeModel(projectSchemaModel, shapeRef);
|
|
17
|
+
test('created using ref string', () => {
|
|
18
|
+
expect(shapeModel instanceof ShapeModel).toEqual(true);
|
|
19
|
+
});
|
|
20
|
+
test('invalid ref string', () => {
|
|
21
|
+
expect(() => new ShapeModel(projectSchemaModel, 'local:Bogus')).toThrowError('Error creating shape model: local:Bogus is not in project schema');
|
|
22
|
+
});
|
|
23
|
+
test('created using ref item', () => {
|
|
24
|
+
const shapeModelCreatedUsingRefItem = new ShapeModel(projectSchemaModel, {
|
|
25
|
+
isForeign: false,
|
|
26
|
+
serviceKey: 'local',
|
|
27
|
+
typeName: 'Asset',
|
|
28
|
+
isValidService: true
|
|
29
|
+
});
|
|
30
|
+
expect(shapeModelCreatedUsingRefItem instanceof ShapeModel).toEqual(true);
|
|
31
|
+
});
|
|
32
|
+
test('invalid ref item', () => {
|
|
33
|
+
expect(() => new ShapeModel(projectSchemaModel, {
|
|
34
|
+
isForeign: false,
|
|
35
|
+
serviceKey: 'local',
|
|
36
|
+
typeName: 'Bogus',
|
|
37
|
+
isValidService: true
|
|
38
|
+
})).toThrowError('Error creating shape model: ref item argument could not be resolved to a shape');
|
|
39
|
+
});
|
|
40
|
+
test('basic accessors', () => {
|
|
41
|
+
expect(shapeModel.json).toEqual(rawShape);
|
|
42
|
+
expect(shapeModel.id).toEqual(rawShape.id);
|
|
43
|
+
expect(shapeModel.name).toEqual(rawShape.name);
|
|
44
|
+
expect(shapeModel.title).toEqual(rawShape.title);
|
|
45
|
+
expect(shapeModel.description).toEqual(rawShape.description);
|
|
46
|
+
expect(shapeModel.schema).toEqual(rawShape.schema);
|
|
47
|
+
expect(shapeModel.schemaPropertyList.getValues().length).toEqual(21);
|
|
48
|
+
expect(shapeModel.schemaPropertyAccessor.getValue('uploadStatus').title).toEqual('Upload status');
|
|
49
|
+
expect(shapeModel.refString).toEqual(shapeRef);
|
|
50
|
+
expect(shapeModel.refItem).toEqual(shapeRefItem);
|
|
51
|
+
expect(shapeModel.serviceId).toEqual('local');
|
|
52
|
+
expect(shapeModel.modelType).toEqual('multiple');
|
|
53
|
+
expect(shapeModel.interfaces).toEqual(undefined);
|
|
54
|
+
});
|
|
55
|
+
test('informational', () => {
|
|
56
|
+
expect(shapeModel.isModel).toEqual(true);
|
|
57
|
+
expect(shapeModel.isCached).toEqual(false);
|
|
58
|
+
expect(shapeModel.isAsset).toEqual(true);
|
|
59
|
+
expect(shapeModel.isInterfaceShape).toEqual(false);
|
|
60
|
+
});
|
|
61
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ProjectSchemaJSON, ShapeJSON } from '../project-schema/index.ts';
|
|
2
|
+
import { type RefItem, type RefItemWithPath } from '../refs.ts';
|
|
3
|
+
import type { SchemaWithRef } from '../types/index.ts';
|
|
4
|
+
import { QueryModel } from './query.ts';
|
|
5
|
+
import { ServiceConfig } from './service.ts';
|
|
6
|
+
import { ShapeModel } from './shape.ts';
|
|
7
|
+
/**
|
|
8
|
+
* Model object representing a ProjectSchema.
|
|
9
|
+
* Intended to help make it easier to find the right utils
|
|
10
|
+
* and avoid direct schema json access where a util would be preferred.
|
|
11
|
+
*/
|
|
12
|
+
export declare class ProjectSchema {
|
|
13
|
+
private readonly _projectSchemaJSON;
|
|
14
|
+
private readonly _cache;
|
|
15
|
+
constructor(unfilteredProjectSchema: ProjectSchemaJSON);
|
|
16
|
+
get json(): ProjectSchemaJSON;
|
|
17
|
+
get projectId(): string;
|
|
18
|
+
get $schema(): string | undefined;
|
|
19
|
+
get author(): string | undefined;
|
|
20
|
+
getShapeByName(shapeName: string): ShapeModel | undefined;
|
|
21
|
+
getShapeById(shapeId: string): ShapeModel | undefined;
|
|
22
|
+
getShapeByRef(shapeRef: string): ShapeModel;
|
|
23
|
+
get shapes(): ShapeJSON[];
|
|
24
|
+
get refs(): RefItemWithPath[];
|
|
25
|
+
getQueryByName(queryName: string): QueryModel;
|
|
26
|
+
get queries(): QueryModel[];
|
|
27
|
+
getMutationByName(mutationName: string): QueryModel;
|
|
28
|
+
get mutations(): QueryModel[];
|
|
29
|
+
getServiceById(serviceId: string): ServiceConfig;
|
|
30
|
+
atRefToRefItem(atRef: string, template?: string): RefItem;
|
|
31
|
+
refItemToShape(refItem: RefItem): ShapeModel;
|
|
32
|
+
getRef(refSchema: SchemaWithRef): import("@takeshape/util").Maybe<RefItem>;
|
|
33
|
+
normalizeRefExpression(refExpression: string): string;
|
|
34
|
+
refExpressionToRefItem(refExpression: string): RefItem;
|
|
35
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import omit from 'lodash/omit.js';
|
|
2
|
+
import { atRefToRefItem, getRef, normalizeRefExpression, refExpressionToRefItem, shapeToRefItem } from "../refs.js";
|
|
3
|
+
import { getAllRefs } from "../schema-util.js";
|
|
4
|
+
import { getShape, getShapeById } from "../util/shapes.js";
|
|
5
|
+
import { QueryModel } from "./query.js";
|
|
6
|
+
import { ServiceConfig } from "./service.js";
|
|
7
|
+
import { ShapeModel } from "./shape.js";
|
|
8
|
+
/**
|
|
9
|
+
* Model object representing a ProjectSchema.
|
|
10
|
+
* Intended to help make it easier to find the right utils
|
|
11
|
+
* and avoid direct schema json access where a util would be preferred.
|
|
12
|
+
*/
|
|
13
|
+
export class ProjectSchema {
|
|
14
|
+
_projectSchemaJSON;
|
|
15
|
+
_cache = {};
|
|
16
|
+
constructor(unfilteredProjectSchema) {
|
|
17
|
+
// You can pass a ProjectSchemaCompat in here, but we remove its values so they don't get passed through to getJSON.
|
|
18
|
+
// If you need to use this metadata it should be stored separately.
|
|
19
|
+
this._projectSchemaJSON = omit(unfilteredProjectSchema, ['created', 'updated', 'version']);
|
|
20
|
+
}
|
|
21
|
+
get json() {
|
|
22
|
+
return this._projectSchemaJSON;
|
|
23
|
+
}
|
|
24
|
+
get projectId() {
|
|
25
|
+
return this.json.projectId;
|
|
26
|
+
}
|
|
27
|
+
get $schema() {
|
|
28
|
+
return this.json.$schema;
|
|
29
|
+
}
|
|
30
|
+
get author() {
|
|
31
|
+
return this.json.author;
|
|
32
|
+
}
|
|
33
|
+
getShapeByName(shapeName) {
|
|
34
|
+
const shapeJSON = getShape(this.json, shapeName);
|
|
35
|
+
if (!shapeJSON) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
const shapeRefItem = shapeToRefItem(this.json, shapeJSON);
|
|
39
|
+
return new ShapeModel(this, shapeRefItem);
|
|
40
|
+
}
|
|
41
|
+
getShapeById(shapeId) {
|
|
42
|
+
const shapeJSON = getShapeById(this.json, shapeId);
|
|
43
|
+
if (!shapeJSON) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
const shapeRefItem = shapeToRefItem(this.json, shapeJSON);
|
|
47
|
+
return new ShapeModel(this, shapeRefItem);
|
|
48
|
+
}
|
|
49
|
+
getShapeByRef(shapeRef) {
|
|
50
|
+
return new ShapeModel(this, shapeRef);
|
|
51
|
+
}
|
|
52
|
+
get shapes() {
|
|
53
|
+
this._cache.shapes ??= Object.keys(this.json.shapes).map((name) => new ShapeModel(this, normalizeRefExpression(this.json, name)));
|
|
54
|
+
return this._cache.shapes;
|
|
55
|
+
}
|
|
56
|
+
get refs() {
|
|
57
|
+
this._cache.refs ??= getAllRefs(this.json);
|
|
58
|
+
return this._cache.refs;
|
|
59
|
+
}
|
|
60
|
+
getQueryByName(queryName) {
|
|
61
|
+
return new QueryModel(this, 'query', queryName);
|
|
62
|
+
}
|
|
63
|
+
get queries() {
|
|
64
|
+
this._cache.queries ??= Object.keys(this.json.queries).map((name) => new QueryModel(this, 'query', name));
|
|
65
|
+
return this._cache.queries;
|
|
66
|
+
}
|
|
67
|
+
getMutationByName(mutationName) {
|
|
68
|
+
return new QueryModel(this, 'mutation', mutationName);
|
|
69
|
+
}
|
|
70
|
+
get mutations() {
|
|
71
|
+
this._cache.mutations = Object.keys(this.json.mutations).map((name) => new QueryModel(this, 'mutation', name));
|
|
72
|
+
return this._cache.mutations;
|
|
73
|
+
}
|
|
74
|
+
getServiceById(serviceId) {
|
|
75
|
+
return new ServiceConfig(this, serviceId);
|
|
76
|
+
}
|
|
77
|
+
atRefToRefItem(atRef, template) {
|
|
78
|
+
return atRefToRefItem(this.json, atRef, template);
|
|
79
|
+
}
|
|
80
|
+
refItemToShape(refItem) {
|
|
81
|
+
return new ShapeModel(this, refItem);
|
|
82
|
+
}
|
|
83
|
+
getRef(refSchema) {
|
|
84
|
+
return getRef(this.json, refSchema);
|
|
85
|
+
}
|
|
86
|
+
normalizeRefExpression(refExpression) {
|
|
87
|
+
return normalizeRefExpression(this.json, refExpression);
|
|
88
|
+
}
|
|
89
|
+
refExpressionToRefItem(refExpression) {
|
|
90
|
+
return refExpressionToRefItem(this.json, refExpression);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { QueryJSON } from '../project-schema/index.ts';
|
|
2
|
+
import type { ProjectSchema } from './project-schema.ts';
|
|
3
|
+
/**
|
|
4
|
+
* Create a model object representing a query or mutation.
|
|
5
|
+
*/
|
|
6
|
+
export declare class QueryModel {
|
|
7
|
+
private readonly _queryType;
|
|
8
|
+
private readonly _queryName;
|
|
9
|
+
private readonly _rawQuery;
|
|
10
|
+
constructor(projectSchemaModel: ProjectSchema, _queryType: 'query' | 'mutation', _queryName: string);
|
|
11
|
+
get queryType(): "query" | "mutation";
|
|
12
|
+
get name(): string;
|
|
13
|
+
get json(): QueryJSON;
|
|
14
|
+
get description(): string | undefined;
|
|
15
|
+
get resolver(): import("../project-schema/latest.ts").Resolver;
|
|
16
|
+
get returnShape(): import("../project-schema/latest.ts").ReturnShape;
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ServiceConfigJSON } from '../project-schema/index.ts';
|
|
2
|
+
import type { ProjectSchema } from './project-schema.ts';
|
|
3
|
+
/**
|
|
4
|
+
* Create a model object representing a service configuration.
|
|
5
|
+
*/
|
|
6
|
+
export declare class ServiceConfig {
|
|
7
|
+
private readonly _serviceId;
|
|
8
|
+
private readonly _storedServiceConfig;
|
|
9
|
+
constructor(projectSchemaModel: ProjectSchema, _serviceId: string);
|
|
10
|
+
get id(): string;
|
|
11
|
+
get json(): ServiceConfigJSON;
|
|
12
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { ShapeJSON } from '../project-schema/index.ts';
|
|
2
|
+
import { type RefItem } from '../refs.ts';
|
|
3
|
+
import type { ProjectSchema } from './project-schema.ts';
|
|
4
|
+
/**
|
|
5
|
+
* Create a shape model from either a ref item or a ref string such as `rick:Character`
|
|
6
|
+
*/
|
|
7
|
+
export declare class ShapeModel {
|
|
8
|
+
private readonly _projectSchemaModel;
|
|
9
|
+
private readonly _rawShape;
|
|
10
|
+
private readonly _shapeRefItem;
|
|
11
|
+
private readonly _shapeAtRef;
|
|
12
|
+
constructor(_projectSchemaModel: ProjectSchema, refArg: RefItem | string);
|
|
13
|
+
get json(): ShapeJSON;
|
|
14
|
+
get id(): string;
|
|
15
|
+
get name(): string;
|
|
16
|
+
get title(): string;
|
|
17
|
+
get description(): string | undefined;
|
|
18
|
+
get schema(): import("../project-schema/latest.ts").ShapeSchema;
|
|
19
|
+
get schemaPropertyList(): {
|
|
20
|
+
_propertyIterator: Map<string, import("../project-schema/latest.ts").PropertySchema>;
|
|
21
|
+
orderBy: (iteratees?: ((n: import("../types/types.ts").SchemaPropertyNode) => string)[], orders?: ("asc" | "desc")[]) => /*elided*/ any;
|
|
22
|
+
sortWith: (comparator?: (a: import("../types/types.ts").SchemaPropertyNode, b: import("../types/types.ts").SchemaPropertyNode) => number) => /*elided*/ any;
|
|
23
|
+
sortByNamesWithList: (comparatorArray?: string[]) => /*elided*/ any;
|
|
24
|
+
filterBy: (predicate: (n: import("../types/types.ts").SchemaPropertyNode) => boolean) => /*elided*/ any;
|
|
25
|
+
forEach: (iteratee: (n: import("../types/types.ts").SchemaPropertyNode) => void) => /*elided*/ any;
|
|
26
|
+
getNodes: () => import("../types/types.ts").SchemaPropertyNode[];
|
|
27
|
+
getObject: () => Record<string, import("../project-schema/latest.ts").PropertySchema>;
|
|
28
|
+
getNames: () => import("../types/types.ts").SchemaPropertyName[];
|
|
29
|
+
getValues: () => import("../project-schema/latest.ts").PropertySchema[];
|
|
30
|
+
};
|
|
31
|
+
get schemaPropertyAccessor(): import("../schema-util.ts").SchemaPropertyAccessor;
|
|
32
|
+
get refString(): string;
|
|
33
|
+
get refItem(): RefItem;
|
|
34
|
+
get serviceId(): string;
|
|
35
|
+
get modelType(): import("../project-schema/latest.ts").ModelType | undefined;
|
|
36
|
+
get interfaces(): string[] | undefined;
|
|
37
|
+
get isModel(): boolean;
|
|
38
|
+
get isCached(): boolean;
|
|
39
|
+
get isAsset(): boolean;
|
|
40
|
+
get isInterfaceShape(): boolean;
|
|
41
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { isInterfaceShape } from "../interfaces.js";
|
|
2
|
+
import { refItemToShape } from "../refs.js";
|
|
3
|
+
import { createSchemaPropertyAccessor, createSchemaPropertyList, getShapeByRef } from "../schema-util.js";
|
|
4
|
+
import { isCachedShape, isModelShape } from "../types/index.js";
|
|
5
|
+
/**
|
|
6
|
+
* Create a shape model from either a ref item or a ref string such as `rick:Character`
|
|
7
|
+
*/
|
|
8
|
+
export class ShapeModel {
|
|
9
|
+
_projectSchemaModel;
|
|
10
|
+
_rawShape;
|
|
11
|
+
_shapeRefItem;
|
|
12
|
+
_shapeAtRef;
|
|
13
|
+
constructor(_projectSchemaModel, refArg) {
|
|
14
|
+
this._projectSchemaModel = _projectSchemaModel;
|
|
15
|
+
if (typeof refArg === 'string') {
|
|
16
|
+
const rawShape = getShapeByRef(_projectSchemaModel.json, refArg);
|
|
17
|
+
if (!rawShape) {
|
|
18
|
+
throw new Error(`Error creating shape model: ${refArg} is not in project schema`);
|
|
19
|
+
}
|
|
20
|
+
this._rawShape = rawShape;
|
|
21
|
+
this._shapeRefItem = _projectSchemaModel.atRefToRefItem(refArg);
|
|
22
|
+
this._shapeAtRef = refArg;
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
const rawShape = refItemToShape(_projectSchemaModel.json, refArg);
|
|
26
|
+
if (!rawShape) {
|
|
27
|
+
throw new Error('Error creating shape model: ref item argument could not be resolved to a shape');
|
|
28
|
+
}
|
|
29
|
+
this._rawShape = rawShape;
|
|
30
|
+
this._shapeRefItem = refArg;
|
|
31
|
+
this._shapeAtRef = `${refArg.serviceKey}:${refArg.typeName}`;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
get json() {
|
|
35
|
+
return this._rawShape;
|
|
36
|
+
}
|
|
37
|
+
get id() {
|
|
38
|
+
return this._rawShape.id;
|
|
39
|
+
}
|
|
40
|
+
get name() {
|
|
41
|
+
return this._rawShape.name;
|
|
42
|
+
}
|
|
43
|
+
get title() {
|
|
44
|
+
return this._rawShape.title;
|
|
45
|
+
}
|
|
46
|
+
get description() {
|
|
47
|
+
return this._rawShape.description;
|
|
48
|
+
}
|
|
49
|
+
get schema() {
|
|
50
|
+
return this._rawShape.schema;
|
|
51
|
+
}
|
|
52
|
+
get schemaPropertyList() {
|
|
53
|
+
return createSchemaPropertyList(this._projectSchemaModel.json, this._rawShape);
|
|
54
|
+
}
|
|
55
|
+
get schemaPropertyAccessor() {
|
|
56
|
+
return createSchemaPropertyAccessor(this._projectSchemaModel.json, this._rawShape);
|
|
57
|
+
}
|
|
58
|
+
get refString() {
|
|
59
|
+
return this._shapeAtRef;
|
|
60
|
+
}
|
|
61
|
+
get refItem() {
|
|
62
|
+
return this._shapeRefItem;
|
|
63
|
+
}
|
|
64
|
+
get serviceId() {
|
|
65
|
+
return this._shapeRefItem.serviceKey;
|
|
66
|
+
}
|
|
67
|
+
get modelType() {
|
|
68
|
+
return this._rawShape.model?.type;
|
|
69
|
+
}
|
|
70
|
+
get interfaces() {
|
|
71
|
+
return this._rawShape.interfaces;
|
|
72
|
+
}
|
|
73
|
+
get isModel() {
|
|
74
|
+
return isModelShape(this._rawShape);
|
|
75
|
+
}
|
|
76
|
+
get isCached() {
|
|
77
|
+
return isCachedShape(this._rawShape);
|
|
78
|
+
}
|
|
79
|
+
get isAsset() {
|
|
80
|
+
return this._rawShape.id === 'ASSET';
|
|
81
|
+
}
|
|
82
|
+
get isInterfaceShape() {
|
|
83
|
+
return isInterfaceShape(this._rawShape);
|
|
84
|
+
}
|
|
85
|
+
}
|
package/dist/patterns.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
export type * from './latest.ts';
|
|
2
|
+
export type * from './v1.0.0.ts';
|
|
3
|
+
export type * from './v3.0.0.ts';
|
|
4
|
+
export type * from './v3.1.0.ts';
|
|
5
|
+
export type * from './v3.2.0.ts';
|
|
6
|
+
export type * from './v3.3.0.ts';
|
|
7
|
+
export type * from './v3.4.0.ts';
|
|
8
|
+
export type * from './v3.5.0.ts';
|
|
9
|
+
export type * from './v3.5.1.ts';
|
|
10
|
+
export type * from './v3.6.0.ts';
|
|
11
|
+
export type * from './v3.7.0.ts';
|
|
12
|
+
export type * from './v3.8.0.ts';
|
|
13
|
+
export type * from './v3.9.0.ts';
|
|
14
|
+
export type * from './v3.10.0.ts';
|
|
15
|
+
export type * from './v3.11.0.ts';
|
|
16
|
+
export type * from './v3.12.0.ts';
|
|
17
|
+
export type * from './v3.12.1.ts';
|
|
18
|
+
export type * from './v3.12.2.ts';
|
|
19
|
+
export type * from './v3.12.3.ts';
|
|
20
|
+
export type * from './v3.13.0.ts';
|
|
21
|
+
export type * from './v3.14.0.ts';
|
|
22
|
+
export type * from './v3.15.0.ts';
|
|
23
|
+
export type * from './v3.16.0.ts';
|
|
24
|
+
export type * from './v3.17.0.ts';
|
|
25
|
+
export type * from './v3.17.1.ts';
|
|
26
|
+
export type * from './v3.18.0.ts';
|
|
27
|
+
export type * from './v3.18.1.ts';
|
|
28
|
+
export type * from './v3.18.2.ts';
|
|
29
|
+
export type * from './v3.19.0.ts';
|
|
30
|
+
export type * from './v3.20.0.ts';
|
|
31
|
+
export type * from './v3.21.0.ts';
|
|
32
|
+
export type * from './v3.22.0.ts';
|
|
33
|
+
export type * from './v3.23.0.ts';
|
|
34
|
+
export type * from './v3.24.0.ts';
|
|
35
|
+
export type * from './v3.25.0.ts';
|
|
36
|
+
export type * from './v3.26.0.ts';
|
|
37
|
+
export type * from './v3.27.0.ts';
|
|
38
|
+
export type * from './v3.28.0.ts';
|
|
39
|
+
export type * from './v3.29.0.ts';
|
|
40
|
+
export type * from './v3.30.0.ts';
|
|
41
|
+
export type * from './v3.31.0.ts';
|
|
42
|
+
export type * from './v3.32.0.ts';
|
|
43
|
+
export type * from './v3.33.0.ts';
|
|
44
|
+
export type * from './v3.34.0.ts';
|
|
45
|
+
export type * from './v3.35.0.ts';
|
|
46
|
+
export type * from './v3.36.0.ts';
|
|
47
|
+
export type * from './v3.37.0.ts';
|
|
48
|
+
export type * from './v3.38.0.ts';
|
|
49
|
+
export type * from './v3.39.0.ts';
|
|
50
|
+
export type * from './v3.40.0.ts';
|
|
51
|
+
export type * from './v3.41.0.ts';
|
|
52
|
+
export type * from './v3.42.0.ts';
|
|
53
|
+
export type * from './v3.43.0.ts';
|
|
54
|
+
export type * from './v3.44.0.ts';
|
|
55
|
+
export type * from './v3.45.0.ts';
|
|
56
|
+
export type * from './v3.46.0.ts';
|
|
57
|
+
export type * from './v3.47.0.ts';
|
|
58
|
+
export type * from './v3.48.0.ts';
|
|
59
|
+
export type * from './v3.49.0.ts';
|
|
60
|
+
export type * from './v3.50.0.ts';
|
|
61
|
+
export type * from './v3.51.0.ts';
|
|
62
|
+
export type * from './v4.0.0.ts';
|
|
63
|
+
import { ProjectSchemaJSONV1_0_0 } from './v1.0.0.ts';
|
|
64
|
+
import { ProjectSchemaJSONV3_0_0 } from './v3.0.0.ts';
|
|
65
|
+
import { ProjectSchemaJSONV3_1_0 } from './v3.1.0.ts';
|
|
66
|
+
import { ProjectSchemaJSONV3_2_0 } from './v3.2.0.ts';
|
|
67
|
+
import { ProjectSchemaJSONV3_3_0 } from './v3.3.0.ts';
|
|
68
|
+
import { ProjectSchemaJSONV3_4_0 } from './v3.4.0.ts';
|
|
69
|
+
import { ProjectSchemaJSONV3_5_0 } from './v3.5.0.ts';
|
|
70
|
+
import { ProjectSchemaJSONV3_5_1 } from './v3.5.1.ts';
|
|
71
|
+
import { ProjectSchemaJSONV3_6_0 } from './v3.6.0.ts';
|
|
72
|
+
import { ProjectSchemaJSONV3_7_0 } from './v3.7.0.ts';
|
|
73
|
+
import { ProjectSchemaJSONV3_8_0 } from './v3.8.0.ts';
|
|
74
|
+
import { ProjectSchemaJSONV3_9_0 } from './v3.9.0.ts';
|
|
75
|
+
import { ProjectSchemaJSONV3_10_0 } from './v3.10.0.ts';
|
|
76
|
+
import { ProjectSchemaJSONV3_11_0 } from './v3.11.0.ts';
|
|
77
|
+
import { ProjectSchemaJSONV3_12_0 } from './v3.12.0.ts';
|
|
78
|
+
import { ProjectSchemaJSONV3_12_1 } from './v3.12.1.ts';
|
|
79
|
+
import { ProjectSchemaJSONV3_12_2 } from './v3.12.2.ts';
|
|
80
|
+
import { ProjectSchemaJSONV3_12_3 } from './v3.12.3.ts';
|
|
81
|
+
import { ProjectSchemaJSONV3_13_0 } from './v3.13.0.ts';
|
|
82
|
+
import { ProjectSchemaJSONV3_14_0 } from './v3.14.0.ts';
|
|
83
|
+
import { ProjectSchemaJSONV3_15_0 } from './v3.15.0.ts';
|
|
84
|
+
import { ProjectSchemaJSONV3_16_0 } from './v3.16.0.ts';
|
|
85
|
+
import { ProjectSchemaJSONV3_17_0 } from './v3.17.0.ts';
|
|
86
|
+
import { ProjectSchemaJSONV3_17_1 } from './v3.17.1.ts';
|
|
87
|
+
import { ProjectSchemaJSONV3_18_0 } from './v3.18.0.ts';
|
|
88
|
+
import { ProjectSchemaJSONV3_18_1 } from './v3.18.1.ts';
|
|
89
|
+
import { ProjectSchemaJSONV3_18_2 } from './v3.18.2.ts';
|
|
90
|
+
import { ProjectSchemaJSONV3_19_0 } from './v3.19.0.ts';
|
|
91
|
+
import { ProjectSchemaJSONV3_20_0 } from './v3.20.0.ts';
|
|
92
|
+
import { ProjectSchemaJSONV3_21_0 } from './v3.21.0.ts';
|
|
93
|
+
import { ProjectSchemaJSONV3_22_0 } from './v3.22.0.ts';
|
|
94
|
+
import { ProjectSchemaJSONV3_23_0 } from './v3.23.0.ts';
|
|
95
|
+
import { ProjectSchemaJSONV3_24_0 } from './v3.24.0.ts';
|
|
96
|
+
import { ProjectSchemaJSONV3_25_0 } from './v3.25.0.ts';
|
|
97
|
+
import { ProjectSchemaJSONV3_26_0 } from './v3.26.0.ts';
|
|
98
|
+
import { ProjectSchemaJSONV3_27_0 } from './v3.27.0.ts';
|
|
99
|
+
import { ProjectSchemaJSONV3_28_0 } from './v3.28.0.ts';
|
|
100
|
+
import { ProjectSchemaJSONV3_29_0 } from './v3.29.0.ts';
|
|
101
|
+
import { ProjectSchemaJSONV3_30_0 } from './v3.30.0.ts';
|
|
102
|
+
import { ProjectSchemaJSONV3_31_0 } from './v3.31.0.ts';
|
|
103
|
+
import { ProjectSchemaJSONV3_32_0 } from './v3.32.0.ts';
|
|
104
|
+
import { ProjectSchemaJSONV3_33_0 } from './v3.33.0.ts';
|
|
105
|
+
import { ProjectSchemaJSONV3_34_0 } from './v3.34.0.ts';
|
|
106
|
+
import { ProjectSchemaJSONV3_35_0 } from './v3.35.0.ts';
|
|
107
|
+
import { ProjectSchemaJSONV3_36_0 } from './v3.36.0.ts';
|
|
108
|
+
import { ProjectSchemaJSONV3_37_0 } from './v3.37.0.ts';
|
|
109
|
+
import { ProjectSchemaJSONV3_38_0 } from './v3.38.0.ts';
|
|
110
|
+
import { ProjectSchemaJSONV3_39_0 } from './v3.39.0.ts';
|
|
111
|
+
import { ProjectSchemaJSONV3_40_0 } from './v3.40.0.ts';
|
|
112
|
+
import { ProjectSchemaJSONV3_41_0 } from './v3.41.0.ts';
|
|
113
|
+
import { ProjectSchemaJSONV3_42_0 } from './v3.42.0.ts';
|
|
114
|
+
import { ProjectSchemaJSONV3_43_0 } from './v3.43.0.ts';
|
|
115
|
+
import { ProjectSchemaJSONV3_44_0 } from './v3.44.0.ts';
|
|
116
|
+
import { ProjectSchemaJSONV3_45_0 } from './v3.45.0.ts';
|
|
117
|
+
import { ProjectSchemaJSONV3_46_0 } from './v3.46.0.ts';
|
|
118
|
+
import { ProjectSchemaJSONV3_47_0 } from './v3.47.0.ts';
|
|
119
|
+
import { ProjectSchemaJSONV3_48_0 } from './v3.48.0.ts';
|
|
120
|
+
import { ProjectSchemaJSONV3_49_0 } from './v3.49.0.ts';
|
|
121
|
+
import { ProjectSchemaJSONV3_50_0 } from './v3.50.0.ts';
|
|
122
|
+
import { ProjectSchemaJSONV3_51_0 } from './v3.51.0.ts';
|
|
123
|
+
import { ProjectSchemaJSONV4_0_0 } from './v4.0.0.ts';
|
|
124
|
+
import { ProjectSchemaJSON } from './latest.ts';
|
|
125
|
+
export type AnyProjectSchemaJSON = ProjectSchemaJSONV1_0_0 | ProjectSchemaJSONV3_0_0 | ProjectSchemaJSONV3_1_0 | ProjectSchemaJSONV3_2_0 | ProjectSchemaJSONV3_3_0 | ProjectSchemaJSONV3_4_0 | ProjectSchemaJSONV3_5_0 | ProjectSchemaJSONV3_5_1 | ProjectSchemaJSONV3_6_0 | ProjectSchemaJSONV3_7_0 | ProjectSchemaJSONV3_8_0 | ProjectSchemaJSONV3_9_0 | ProjectSchemaJSONV3_10_0 | ProjectSchemaJSONV3_11_0 | ProjectSchemaJSONV3_12_0 | ProjectSchemaJSONV3_12_1 | ProjectSchemaJSONV3_12_2 | ProjectSchemaJSONV3_12_3 | ProjectSchemaJSONV3_13_0 | ProjectSchemaJSONV3_14_0 | ProjectSchemaJSONV3_15_0 | ProjectSchemaJSONV3_16_0 | ProjectSchemaJSONV3_17_0 | ProjectSchemaJSONV3_17_1 | ProjectSchemaJSONV3_18_0 | ProjectSchemaJSONV3_18_1 | ProjectSchemaJSONV3_18_2 | ProjectSchemaJSONV3_19_0 | ProjectSchemaJSONV3_20_0 | ProjectSchemaJSONV3_21_0 | ProjectSchemaJSONV3_22_0 | ProjectSchemaJSONV3_23_0 | ProjectSchemaJSONV3_24_0 | ProjectSchemaJSONV3_25_0 | ProjectSchemaJSONV3_26_0 | ProjectSchemaJSONV3_27_0 | ProjectSchemaJSONV3_28_0 | ProjectSchemaJSONV3_29_0 | ProjectSchemaJSONV3_30_0 | ProjectSchemaJSONV3_31_0 | ProjectSchemaJSONV3_32_0 | ProjectSchemaJSONV3_33_0 | ProjectSchemaJSONV3_34_0 | ProjectSchemaJSONV3_35_0 | ProjectSchemaJSONV3_36_0 | ProjectSchemaJSONV3_37_0 | ProjectSchemaJSONV3_38_0 | ProjectSchemaJSONV3_39_0 | ProjectSchemaJSONV3_40_0 | ProjectSchemaJSONV3_41_0 | ProjectSchemaJSONV3_42_0 | ProjectSchemaJSONV3_43_0 | ProjectSchemaJSONV3_44_0 | ProjectSchemaJSONV3_45_0 | ProjectSchemaJSONV3_46_0 | ProjectSchemaJSONV3_47_0 | ProjectSchemaJSONV3_48_0 | ProjectSchemaJSONV3_49_0 | ProjectSchemaJSONV3_50_0 | ProjectSchemaJSONV3_51_0 | ProjectSchemaJSONV4_0_0 | ProjectSchemaJSON;
|
|
126
|
+
export declare const isProjectSchemaJSONV1_0_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV1_0_0;
|
|
127
|
+
export declare const isProjectSchemaJSONV3_0_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_0_0;
|
|
128
|
+
export declare const isProjectSchemaJSONV3_1_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_1_0;
|
|
129
|
+
export declare const isProjectSchemaJSONV3_2_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_2_0;
|
|
130
|
+
export declare const isProjectSchemaJSONV3_3_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_3_0;
|
|
131
|
+
export declare const isProjectSchemaJSONV3_4_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_4_0;
|
|
132
|
+
export declare const isProjectSchemaJSONV3_5_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_5_0;
|
|
133
|
+
export declare const isProjectSchemaJSONV3_5_1: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_5_1;
|
|
134
|
+
export declare const isProjectSchemaJSONV3_6_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_6_0;
|
|
135
|
+
export declare const isProjectSchemaJSONV3_7_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_7_0;
|
|
136
|
+
export declare const isProjectSchemaJSONV3_8_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_8_0;
|
|
137
|
+
export declare const isProjectSchemaJSONV3_9_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_9_0;
|
|
138
|
+
export declare const isProjectSchemaJSONV3_10_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_10_0;
|
|
139
|
+
export declare const isProjectSchemaJSONV3_11_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_11_0;
|
|
140
|
+
export declare const isProjectSchemaJSONV3_12_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_12_0;
|
|
141
|
+
export declare const isProjectSchemaJSONV3_12_1: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_12_1;
|
|
142
|
+
export declare const isProjectSchemaJSONV3_12_2: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_12_2;
|
|
143
|
+
export declare const isProjectSchemaJSONV3_12_3: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_12_3;
|
|
144
|
+
export declare const isProjectSchemaJSONV3_13_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_13_0;
|
|
145
|
+
export declare const isProjectSchemaJSONV3_14_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_14_0;
|
|
146
|
+
export declare const isProjectSchemaJSONV3_15_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_15_0;
|
|
147
|
+
export declare const isProjectSchemaJSONV3_16_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_16_0;
|
|
148
|
+
export declare const isProjectSchemaJSONV3_17_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_17_0;
|
|
149
|
+
export declare const isProjectSchemaJSONV3_17_1: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_17_1;
|
|
150
|
+
export declare const isProjectSchemaJSONV3_18_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_18_0;
|
|
151
|
+
export declare const isProjectSchemaJSONV3_18_1: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_18_1;
|
|
152
|
+
export declare const isProjectSchemaJSONV3_18_2: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_18_2;
|
|
153
|
+
export declare const isProjectSchemaJSONV3_19_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_19_0;
|
|
154
|
+
export declare const isProjectSchemaJSONV3_20_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_20_0;
|
|
155
|
+
export declare const isProjectSchemaJSONV3_21_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_21_0;
|
|
156
|
+
export declare const isProjectSchemaJSONV3_22_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_22_0;
|
|
157
|
+
export declare const isProjectSchemaJSONV3_23_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_23_0;
|
|
158
|
+
export declare const isProjectSchemaJSONV3_24_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_24_0;
|
|
159
|
+
export declare const isProjectSchemaJSONV3_25_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_25_0;
|
|
160
|
+
export declare const isProjectSchemaJSONV3_26_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_26_0;
|
|
161
|
+
export declare const isProjectSchemaJSONV3_27_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_27_0;
|
|
162
|
+
export declare const isProjectSchemaJSONV3_28_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_28_0;
|
|
163
|
+
export declare const isProjectSchemaJSONV3_29_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_29_0;
|
|
164
|
+
export declare const isProjectSchemaJSONV3_30_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_30_0;
|
|
165
|
+
export declare const isProjectSchemaJSONV3_31_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_31_0;
|
|
166
|
+
export declare const isProjectSchemaJSONV3_32_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_32_0;
|
|
167
|
+
export declare const isProjectSchemaJSONV3_33_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_33_0;
|
|
168
|
+
export declare const isProjectSchemaJSONV3_34_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_34_0;
|
|
169
|
+
export declare const isProjectSchemaJSONV3_35_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_35_0;
|
|
170
|
+
export declare const isProjectSchemaJSONV3_36_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_36_0;
|
|
171
|
+
export declare const isProjectSchemaJSONV3_37_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_37_0;
|
|
172
|
+
export declare const isProjectSchemaJSONV3_38_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_38_0;
|
|
173
|
+
export declare const isProjectSchemaJSONV3_39_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_39_0;
|
|
174
|
+
export declare const isProjectSchemaJSONV3_40_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_40_0;
|
|
175
|
+
export declare const isProjectSchemaJSONV3_41_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_41_0;
|
|
176
|
+
export declare const isProjectSchemaJSONV3_42_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_42_0;
|
|
177
|
+
export declare const isProjectSchemaJSONV3_43_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_43_0;
|
|
178
|
+
export declare const isProjectSchemaJSONV3_44_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_44_0;
|
|
179
|
+
export declare const isProjectSchemaJSONV3_45_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_45_0;
|
|
180
|
+
export declare const isProjectSchemaJSONV3_46_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_46_0;
|
|
181
|
+
export declare const isProjectSchemaJSONV3_47_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_47_0;
|
|
182
|
+
export declare const isProjectSchemaJSONV3_48_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_48_0;
|
|
183
|
+
export declare const isProjectSchemaJSONV3_49_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_49_0;
|
|
184
|
+
export declare const isProjectSchemaJSONV3_50_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_50_0;
|
|
185
|
+
export declare const isProjectSchemaJSONV3_51_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_51_0;
|
|
186
|
+
export declare const isLatestProjectSchemaJSON: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSON;
|
|
187
|
+
export declare const isProjectSchemaJSONV4_0_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV4_0_0;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// Schema type utilities
|
|
2
|
+
function createVersionPredicate(expectedVersion) {
|
|
3
|
+
return (projectSchema) => {
|
|
4
|
+
let { schemaVersion } = projectSchema;
|
|
5
|
+
if (!schemaVersion || schemaVersion === '1') {
|
|
6
|
+
schemaVersion = '1.0.0';
|
|
7
|
+
}
|
|
8
|
+
if (schemaVersion === '3') {
|
|
9
|
+
schemaVersion = '3.0.0';
|
|
10
|
+
}
|
|
11
|
+
return Boolean(expectedVersion && schemaVersion && expectedVersion === schemaVersion);
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export const isProjectSchemaJSONV1_0_0 = createVersionPredicate('1.0.0');
|
|
15
|
+
export const isProjectSchemaJSONV3_0_0 = createVersionPredicate('3.0.0');
|
|
16
|
+
export const isProjectSchemaJSONV3_1_0 = createVersionPredicate('3.1.0');
|
|
17
|
+
export const isProjectSchemaJSONV3_2_0 = createVersionPredicate('3.2.0');
|
|
18
|
+
export const isProjectSchemaJSONV3_3_0 = createVersionPredicate('3.3.0');
|
|
19
|
+
export const isProjectSchemaJSONV3_4_0 = createVersionPredicate('3.4.0');
|
|
20
|
+
export const isProjectSchemaJSONV3_5_0 = createVersionPredicate('3.5.0');
|
|
21
|
+
export const isProjectSchemaJSONV3_5_1 = createVersionPredicate('3.5.1');
|
|
22
|
+
export const isProjectSchemaJSONV3_6_0 = createVersionPredicate('3.6.0');
|
|
23
|
+
export const isProjectSchemaJSONV3_7_0 = createVersionPredicate('3.7.0');
|
|
24
|
+
export const isProjectSchemaJSONV3_8_0 = createVersionPredicate('3.8.0');
|
|
25
|
+
export const isProjectSchemaJSONV3_9_0 = createVersionPredicate('3.9.0');
|
|
26
|
+
export const isProjectSchemaJSONV3_10_0 = createVersionPredicate('3.10.0');
|
|
27
|
+
export const isProjectSchemaJSONV3_11_0 = createVersionPredicate('3.11.0');
|
|
28
|
+
export const isProjectSchemaJSONV3_12_0 = createVersionPredicate('3.12.0');
|
|
29
|
+
export const isProjectSchemaJSONV3_12_1 = createVersionPredicate('3.12.1');
|
|
30
|
+
export const isProjectSchemaJSONV3_12_2 = createVersionPredicate('3.12.2');
|
|
31
|
+
export const isProjectSchemaJSONV3_12_3 = createVersionPredicate('3.12.3');
|
|
32
|
+
export const isProjectSchemaJSONV3_13_0 = createVersionPredicate('3.13.0');
|
|
33
|
+
export const isProjectSchemaJSONV3_14_0 = createVersionPredicate('3.14.0');
|
|
34
|
+
export const isProjectSchemaJSONV3_15_0 = createVersionPredicate('3.15.0');
|
|
35
|
+
export const isProjectSchemaJSONV3_16_0 = createVersionPredicate('3.16.0');
|
|
36
|
+
export const isProjectSchemaJSONV3_17_0 = createVersionPredicate('3.17.0');
|
|
37
|
+
export const isProjectSchemaJSONV3_17_1 = createVersionPredicate('3.17.1');
|
|
38
|
+
export const isProjectSchemaJSONV3_18_0 = createVersionPredicate('3.18.0');
|
|
39
|
+
export const isProjectSchemaJSONV3_18_1 = createVersionPredicate('3.18.1');
|
|
40
|
+
export const isProjectSchemaJSONV3_18_2 = createVersionPredicate('3.18.2');
|
|
41
|
+
export const isProjectSchemaJSONV3_19_0 = createVersionPredicate('3.19.0');
|
|
42
|
+
export const isProjectSchemaJSONV3_20_0 = createVersionPredicate('3.20.0');
|
|
43
|
+
export const isProjectSchemaJSONV3_21_0 = createVersionPredicate('3.21.0');
|
|
44
|
+
export const isProjectSchemaJSONV3_22_0 = createVersionPredicate('3.22.0');
|
|
45
|
+
export const isProjectSchemaJSONV3_23_0 = createVersionPredicate('3.23.0');
|
|
46
|
+
export const isProjectSchemaJSONV3_24_0 = createVersionPredicate('3.24.0');
|
|
47
|
+
export const isProjectSchemaJSONV3_25_0 = createVersionPredicate('3.25.0');
|
|
48
|
+
export const isProjectSchemaJSONV3_26_0 = createVersionPredicate('3.26.0');
|
|
49
|
+
export const isProjectSchemaJSONV3_27_0 = createVersionPredicate('3.27.0');
|
|
50
|
+
export const isProjectSchemaJSONV3_28_0 = createVersionPredicate('3.28.0');
|
|
51
|
+
export const isProjectSchemaJSONV3_29_0 = createVersionPredicate('3.29.0');
|
|
52
|
+
export const isProjectSchemaJSONV3_30_0 = createVersionPredicate('3.30.0');
|
|
53
|
+
export const isProjectSchemaJSONV3_31_0 = createVersionPredicate('3.31.0');
|
|
54
|
+
export const isProjectSchemaJSONV3_32_0 = createVersionPredicate('3.32.0');
|
|
55
|
+
export const isProjectSchemaJSONV3_33_0 = createVersionPredicate('3.33.0');
|
|
56
|
+
export const isProjectSchemaJSONV3_34_0 = createVersionPredicate('3.34.0');
|
|
57
|
+
export const isProjectSchemaJSONV3_35_0 = createVersionPredicate('3.35.0');
|
|
58
|
+
export const isProjectSchemaJSONV3_36_0 = createVersionPredicate('3.36.0');
|
|
59
|
+
export const isProjectSchemaJSONV3_37_0 = createVersionPredicate('3.37.0');
|
|
60
|
+
export const isProjectSchemaJSONV3_38_0 = createVersionPredicate('3.38.0');
|
|
61
|
+
export const isProjectSchemaJSONV3_39_0 = createVersionPredicate('3.39.0');
|
|
62
|
+
export const isProjectSchemaJSONV3_40_0 = createVersionPredicate('3.40.0');
|
|
63
|
+
export const isProjectSchemaJSONV3_41_0 = createVersionPredicate('3.41.0');
|
|
64
|
+
export const isProjectSchemaJSONV3_42_0 = createVersionPredicate('3.42.0');
|
|
65
|
+
export const isProjectSchemaJSONV3_43_0 = createVersionPredicate('3.43.0');
|
|
66
|
+
export const isProjectSchemaJSONV3_44_0 = createVersionPredicate('3.44.0');
|
|
67
|
+
export const isProjectSchemaJSONV3_45_0 = createVersionPredicate('3.45.0');
|
|
68
|
+
export const isProjectSchemaJSONV3_46_0 = createVersionPredicate('3.46.0');
|
|
69
|
+
export const isProjectSchemaJSONV3_47_0 = createVersionPredicate('3.47.0');
|
|
70
|
+
export const isProjectSchemaJSONV3_48_0 = createVersionPredicate('3.48.0');
|
|
71
|
+
export const isProjectSchemaJSONV3_49_0 = createVersionPredicate('3.49.0');
|
|
72
|
+
export const isProjectSchemaJSONV3_50_0 = createVersionPredicate('3.50.0');
|
|
73
|
+
export const isProjectSchemaJSONV3_51_0 = createVersionPredicate('3.51.0');
|
|
74
|
+
export const isLatestProjectSchemaJSON = createVersionPredicate('3.51.0');
|
|
75
|
+
export const isProjectSchemaJSONV4_0_0 = createVersionPredicate('4.0.0');
|