@takeshape/schema 11.52.0 → 11.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__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/migrate.d.ts +4 -0
- package/dist/project-schema/migrate.js +194 -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/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 +23 -24
- 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/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/migrate.d.ts +0 -4
- 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/{types/src/project-schema → project-schema}/latest.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/{types/src/project-schema → project-schema}/v3.48.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.48.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.49.0.d.ts +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/{types/src/project-schema → project-schema}/v3.50.0.d.ts +0 -0
- /package/dist/{esm/src/project-schema → project-schema}/v3.50.0.js +0 -0
- /package/dist/{types/src/project-schema → project-schema}/v3.51.0.d.ts +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/experimental.json +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,220 @@
|
|
|
1
|
+
import { mergeWithArrayConcat } from '@takeshape/util';
|
|
2
|
+
import assign from 'lodash/fp/assign.js';
|
|
3
|
+
import omit from 'lodash/fp/omit.js';
|
|
4
|
+
import isEmpty from 'lodash/isEmpty.js';
|
|
5
|
+
import { parseTemplateShape } from "../refs.js";
|
|
6
|
+
import { isAllOfSchema, isOneOfSchema, isRefSchema } from "./type-utils.js";
|
|
7
|
+
/**
|
|
8
|
+
* Safely turn a "template" shape reference (`@args`, `args`, `shape`) into a `RefItem`
|
|
9
|
+
*
|
|
10
|
+
* @param context A partial project schema
|
|
11
|
+
* @param refExpression
|
|
12
|
+
* A ref expression might include "template" name and refer to a local or remote
|
|
13
|
+
* shape, `Foo` or `CreateArgs<Foo>` or `CreateArgs<remote:Foo>`.*
|
|
14
|
+
*/
|
|
15
|
+
export function refExpressionToRefItem(refExpression) {
|
|
16
|
+
const { shapeName, template } = parseTemplateShape(refExpression);
|
|
17
|
+
return atRefToRefItem(shapeName, template);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Sugar for converting a `refExpression` directly into a shape, without the
|
|
21
|
+
* intermediate `refItem`.
|
|
22
|
+
*
|
|
23
|
+
* @param context A partial project schema
|
|
24
|
+
* @param refExpression
|
|
25
|
+
* A ref expression might include "template" name and refer to a local or remote
|
|
26
|
+
* shape, `Foo` or `CreateArgs<Foo>` or `CreateArgs<remote:Foo>`.
|
|
27
|
+
*/
|
|
28
|
+
export function refExpressionToShape(shapes, refExpression) {
|
|
29
|
+
return refItemToShape(shapes, refExpressionToRefItem(refExpression));
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Provided a service name and a referenced type. Supports 2 or 3 part
|
|
33
|
+
* references, e.g., `shopify:my-store:ProductInput` or `my-store:ProductInput`.
|
|
34
|
+
*
|
|
35
|
+
* @returns
|
|
36
|
+
* A 2 member array, where 0 is the service name, 1 is the referenced type.
|
|
37
|
+
*/
|
|
38
|
+
export function splitAtRef(atRef) {
|
|
39
|
+
const refParts = atRef.split(':');
|
|
40
|
+
if (refParts.length === 1) {
|
|
41
|
+
return ['local', atRef];
|
|
42
|
+
}
|
|
43
|
+
if (refParts.length === 2) {
|
|
44
|
+
return [refParts[0], refParts[1]];
|
|
45
|
+
}
|
|
46
|
+
throw new Error(`Invalid ref string ${atRef}`);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Parses and returns a typeName, serviceKey, and potentially a namespace for
|
|
50
|
+
* the type.
|
|
51
|
+
*/
|
|
52
|
+
export function atRefToRefItem(atRef, template) {
|
|
53
|
+
const [serviceKey, typeName] = splitAtRef(atRef);
|
|
54
|
+
return {
|
|
55
|
+
typeName,
|
|
56
|
+
layerId: serviceKey,
|
|
57
|
+
template
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Given a content schema and project schema, finds a `@ref` or `$ref` and
|
|
62
|
+
* returns a `RefItem` suitable for loading a referenced schema...
|
|
63
|
+
*/
|
|
64
|
+
export function getRef(refSchema) {
|
|
65
|
+
if (refSchema['@ref']) {
|
|
66
|
+
// @ref: my-service:ShapeName
|
|
67
|
+
return atRefToRefItem(refSchema['@ref']);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export function getRefWithPath(refSchema, schemaPath = []) {
|
|
71
|
+
const refItem = getRef(refSchema);
|
|
72
|
+
if (refItem) {
|
|
73
|
+
return {
|
|
74
|
+
...refItem,
|
|
75
|
+
path: schemaPath.concat(['@ref'])
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Tests for a `@ref` or `$ref` property directly on the passed schema.
|
|
81
|
+
*
|
|
82
|
+
* @param schema Any schema that might could have a ref property.
|
|
83
|
+
*/
|
|
84
|
+
export function hasRefProperty(schema) {
|
|
85
|
+
return Boolean(schema['@ref'] ?? schema.$ref);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* From a schema with a ref, will return the top-level ref, and potentially
|
|
89
|
+
* a ref item from a nested `items` property.
|
|
90
|
+
*/
|
|
91
|
+
export function getRefOrItemsRef(refSchema, schemaPath = []) {
|
|
92
|
+
const refItem = getRefWithPath(refSchema, schemaPath);
|
|
93
|
+
if (refItem) {
|
|
94
|
+
return refItem;
|
|
95
|
+
}
|
|
96
|
+
if (refSchema.items) {
|
|
97
|
+
return getRefOrItemsRef(refSchema.items, schemaPath.concat(['items']));
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Turns a `RefItem` into an `@ref`.
|
|
102
|
+
*/
|
|
103
|
+
export function refItemToString(refItem) {
|
|
104
|
+
return `${refItem.layerId}:${refItem.typeName}`;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Get a Shape referenced by a `RefItem`.
|
|
108
|
+
*/
|
|
109
|
+
export function refItemToShape(shapes, refItem) {
|
|
110
|
+
return shapes[refItemToString(refItem)];
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Helper fn to omit `ref` props from the target schema, and then extend it with the source schema.
|
|
114
|
+
*/
|
|
115
|
+
export const omitRefAndExtend = (targetSchema, sourceSchema) => assign(omit(['@ref', '$ref'], targetSchema), sourceSchema);
|
|
116
|
+
/**
|
|
117
|
+
* If there is a $ref, this will insert a content schema from the top level
|
|
118
|
+
* in place of the reference.
|
|
119
|
+
*/
|
|
120
|
+
export function followRef(shapes, contentSchema) {
|
|
121
|
+
const refItem = getRef(contentSchema);
|
|
122
|
+
if (refItem) {
|
|
123
|
+
const referencedSchema = refItemToShape(shapes, refItem)?.schema;
|
|
124
|
+
if (referencedSchema) {
|
|
125
|
+
return omitRefAndExtend(contentSchema, referencedSchema);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
return contentSchema;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Returns whether a schema has refs.
|
|
132
|
+
*/
|
|
133
|
+
export function hasRef(contentSchema) {
|
|
134
|
+
if (isRefSchema(contentSchema)) {
|
|
135
|
+
return true;
|
|
136
|
+
}
|
|
137
|
+
if (isAllOfSchema(contentSchema)) {
|
|
138
|
+
return Boolean(contentSchema.allOf.find(hasRef));
|
|
139
|
+
}
|
|
140
|
+
if (isOneOfSchema(contentSchema)) {
|
|
141
|
+
return Boolean(contentSchema.oneOf.find(hasRef));
|
|
142
|
+
}
|
|
143
|
+
return false;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Returns whether a schema has refs which can be followed.
|
|
147
|
+
*/
|
|
148
|
+
export function hasResolvableRef(shapes, contentSchema) {
|
|
149
|
+
if (isRefSchema(contentSchema)) {
|
|
150
|
+
return Boolean(refItemToShape(shapes, getRef(contentSchema)));
|
|
151
|
+
}
|
|
152
|
+
if (isAllOfSchema(contentSchema)) {
|
|
153
|
+
return Boolean(contentSchema.allOf.find((s) => hasResolvableRef(shapes, s)));
|
|
154
|
+
}
|
|
155
|
+
if (isOneOfSchema(contentSchema)) {
|
|
156
|
+
return Boolean(contentSchema.oneOf.find((s) => hasResolvableRef(shapes, s)));
|
|
157
|
+
}
|
|
158
|
+
return false;
|
|
159
|
+
}
|
|
160
|
+
export function getArgsReferenceWithPath(argsSchema, schemaPath = []) {
|
|
161
|
+
const isQuery = 'args' in argsSchema;
|
|
162
|
+
const args = isQuery ? argsSchema.args : argsSchema['@args'];
|
|
163
|
+
const refItem = typeof args === 'string' ? refExpressionToRefItem(args) : undefined;
|
|
164
|
+
if (refItem) {
|
|
165
|
+
return {
|
|
166
|
+
...refItem,
|
|
167
|
+
path: schemaPath.concat([isQuery ? 'args' : '@args'])
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
/*
|
|
172
|
+
* Helper fn to omit `allOf` props from the target schema, and then extend it with the source schema.
|
|
173
|
+
*/
|
|
174
|
+
const omitAllOfAndExtend = (targetSchema, sourceSchema) => assign(omit(['allOf'], targetSchema), sourceSchema);
|
|
175
|
+
export function dereferenceSchema(shapes, shapeOrFieldSchema, schemaPath = []) {
|
|
176
|
+
const resolveAll = (resolveSchema, resolvePath) => {
|
|
177
|
+
try {
|
|
178
|
+
if (isAllOfSchema(resolveSchema)) {
|
|
179
|
+
const allOfSchema = resolveSchema.allOf
|
|
180
|
+
.map((stub, index) => resolveAll(stub, [...resolvePath, 'allOf', index]))
|
|
181
|
+
.reduce((prev, curr) => mergeWithArrayConcat(prev, curr), {});
|
|
182
|
+
return isEmpty(allOfSchema) ? undefined : omitAllOfAndExtend(resolveSchema, allOfSchema);
|
|
183
|
+
}
|
|
184
|
+
if (isRefSchema(resolveSchema)) {
|
|
185
|
+
const refItem = getRefWithPath(resolveSchema);
|
|
186
|
+
if (!refItem) {
|
|
187
|
+
throw new Error('ref could not be parsed');
|
|
188
|
+
}
|
|
189
|
+
const refSchema = refItemToShape(shapes, refItem);
|
|
190
|
+
if (refSchema) {
|
|
191
|
+
return resolveAll(omitRefAndExtend(resolveSchema, refSchema), refItem.path);
|
|
192
|
+
}
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
return resolveSchema;
|
|
196
|
+
}
|
|
197
|
+
catch (err) {
|
|
198
|
+
throw new Error(`error at '${resolvePath.join('.')}', ${err.message}`);
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
return resolveAll(shapeOrFieldSchema, schemaPath) ?? shapeOrFieldSchema;
|
|
202
|
+
}
|
|
203
|
+
export function parseReturnShape(shape) {
|
|
204
|
+
if (typeof shape === 'object') {
|
|
205
|
+
if (isRefSchema(shape.items)) {
|
|
206
|
+
const ref = getRef(shape.items);
|
|
207
|
+
if (!ref) {
|
|
208
|
+
throw new Error(`Could not parse ${JSON.stringify(shape.items)}: invalid ref`);
|
|
209
|
+
}
|
|
210
|
+
return { isArray: true, ref, shapeName: refItemToString(ref) };
|
|
211
|
+
}
|
|
212
|
+
if (typeof shape.items.type !== 'string') {
|
|
213
|
+
throw new Error(`Could not parse ${JSON.stringify(shape.items)}: invalid type`);
|
|
214
|
+
}
|
|
215
|
+
return { isArray: true, shapeName: shape.items.type };
|
|
216
|
+
}
|
|
217
|
+
const ref = refExpressionToRefItem(shape);
|
|
218
|
+
const shapeName = refItemToString(ref);
|
|
219
|
+
return { isArray: false, shapeName, ref, template: ref.template };
|
|
220
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { AllOfSchemaV4_0_0, AwsLambdaResolverV4_0_0, BasicResolverV4_0_0, ComposeResolverV4_0_0, DirectiveConfigV4_0_0, DirectiveMappingArrayV4_0_0, DirectiveMappingMapV4_0_0, GraphqlResolverV4_0_0, ObjectSchemaV4_0_0, OneOfSchemaV4_0_0, ParameterOpMappingV4_0_0, ParameterOpNestedV4_0_0, ParameterOpOpV4_0_0, ParameterOpV4_0_0, ParameterOpValueV4_0_0, ParameterSerializeContentOptionsV4_0_0, ParameterSerializeOptionsV4_0_0, ParameterSerializeStyleOptionsV4_0_0, PropertySchemaV4_0_0, RefSchemaLegacyV4_0_0, RefSchemaV4_0_0, RestResolverV4_0_0, ReturnShapeArraySchemaV4_0_0, TakeshapeResolverV4_0_0, UtilResolverV4_0_0 } from '../project-schema/index.ts';
|
|
2
|
+
/** Resolver Type Utils **/
|
|
3
|
+
/**
|
|
4
|
+
* Only tests that the shape is right, not that the name is correct. That's a job for the validator.
|
|
5
|
+
*/
|
|
6
|
+
export declare function isBasicResolver(resolver: unknown): resolver is BasicResolverV4_0_0;
|
|
7
|
+
export declare function isComposeResolver(resolver: unknown): resolver is ComposeResolverV4_0_0;
|
|
8
|
+
export declare function isTakeshapeResolver(resolver: BasicResolverV4_0_0): resolver is TakeshapeResolverV4_0_0;
|
|
9
|
+
export declare function isGraphqlResolver(resolver: BasicResolverV4_0_0): resolver is GraphqlResolverV4_0_0;
|
|
10
|
+
export declare function isRestResolver(resolver: BasicResolverV4_0_0): resolver is RestResolverV4_0_0;
|
|
11
|
+
export declare function isAwsLambdaResolver(resolver: BasicResolverV4_0_0): resolver is AwsLambdaResolverV4_0_0;
|
|
12
|
+
export declare function isUtilResolver(resolver: BasicResolverV4_0_0): resolver is UtilResolverV4_0_0;
|
|
13
|
+
/** Directive Mapping Utils **/
|
|
14
|
+
/**
|
|
15
|
+
* Determine whether the ambiguous Directive structure is a DirectiveMappingMap
|
|
16
|
+
*/
|
|
17
|
+
export declare function isDirectiveMappingMap(maybeMap: DirectiveMappingMapV4_0_0 | DirectiveMappingArrayV4_0_0 | DirectiveConfigV4_0_0): maybeMap is DirectiveMappingMapV4_0_0;
|
|
18
|
+
/**
|
|
19
|
+
* Determine whether the ambiguous Directive structure is a DirectiveMappingArray
|
|
20
|
+
*/
|
|
21
|
+
export declare function isDirectiveMappingArray(maybeArray: DirectiveMappingMapV4_0_0 | DirectiveMappingArrayV4_0_0 | DirectiveConfigV4_0_0): maybeArray is DirectiveMappingArrayV4_0_0;
|
|
22
|
+
/**
|
|
23
|
+
* Determine whether the ambiguous Directive structure is a DirectiveConfig array
|
|
24
|
+
*/
|
|
25
|
+
export declare function isDirectiveConfig(maybeConfig: DirectiveMappingMapV4_0_0 | DirectiveMappingArrayV4_0_0 | DirectiveConfigV4_0_0): maybeConfig is DirectiveConfigV4_0_0;
|
|
26
|
+
/**
|
|
27
|
+
* Determine whether a ParameterSerializeOption is a content type serializer
|
|
28
|
+
*/
|
|
29
|
+
export declare function isParameterSerializeContentOptions(maybeContent: ParameterSerializeOptionsV4_0_0): maybeContent is ParameterSerializeContentOptionsV4_0_0;
|
|
30
|
+
/**
|
|
31
|
+
* Determine whether an unknown variable is a `ParameterOp`
|
|
32
|
+
*/
|
|
33
|
+
export declare function isParameterOp(maybeOp: unknown): maybeOp is ParameterOpV4_0_0;
|
|
34
|
+
/**
|
|
35
|
+
* Determine whether a `ParameterOp` is a `ParameterOpNested`
|
|
36
|
+
*/
|
|
37
|
+
export declare function isParameterOpNested(maybeOp: ParameterOpV4_0_0): maybeOp is ParameterOpNestedV4_0_0;
|
|
38
|
+
/**
|
|
39
|
+
* Determine whether a `ParameterOp` is a `ParameterOpMapping`
|
|
40
|
+
*/
|
|
41
|
+
export declare function isParameterOpMapping(maybeOp: ParameterOpV4_0_0): maybeOp is ParameterOpMappingV4_0_0;
|
|
42
|
+
/**
|
|
43
|
+
* Determine whether a `ParameterOp` is a `ParameterOpMapping`
|
|
44
|
+
*/
|
|
45
|
+
export declare function isParameterOpValue(maybeOp: ParameterOpV4_0_0): maybeOp is ParameterOpValueV4_0_0;
|
|
46
|
+
/**
|
|
47
|
+
* Determine whether a `ParameterOp` is a `ParameterOpOp`
|
|
48
|
+
*/
|
|
49
|
+
export declare function isParameterOpOp(maybeOp: ParameterOpV4_0_0): maybeOp is ParameterOpOpV4_0_0;
|
|
50
|
+
/**
|
|
51
|
+
* Determine whether a ParameterSerializeOption is a style serializer
|
|
52
|
+
*/
|
|
53
|
+
export declare function isParameterSerializeStyleOptions(maybeStyle: ParameterSerializeOptionsV4_0_0): maybeStyle is ParameterSerializeStyleOptionsV4_0_0;
|
|
54
|
+
/** Typeguards for different types of shape schemas **/
|
|
55
|
+
export declare function isRefSchema(maybeRefSchema: PropertySchemaV4_0_0): maybeRefSchema is RefSchemaV4_0_0 | RefSchemaLegacyV4_0_0;
|
|
56
|
+
export declare function isAllOfSchema(schema: PropertySchemaV4_0_0): schema is AllOfSchemaV4_0_0;
|
|
57
|
+
export declare function isOneOfSchema(schema: PropertySchemaV4_0_0): schema is OneOfSchemaV4_0_0;
|
|
58
|
+
export declare function isArraySchema(schema: PropertySchemaV4_0_0): schema is ReturnShapeArraySchemaV4_0_0;
|
|
59
|
+
export declare function isObjectSchema(schema: PropertySchemaV4_0_0): schema is ObjectSchemaV4_0_0;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { isRecord } from '@takeshape/util';
|
|
2
|
+
import isArray from 'lodash/isArray.js';
|
|
3
|
+
import isPlainObject from 'lodash/isPlainObject.js';
|
|
4
|
+
import isString from 'lodash/isString.js';
|
|
5
|
+
import { latestSchemaJson } from "../schemas/index.js";
|
|
6
|
+
/** Resolver Type Utils **/
|
|
7
|
+
/**
|
|
8
|
+
* Only tests that the shape is right, not that the name is correct. That's a job for the validator.
|
|
9
|
+
*/
|
|
10
|
+
export function isBasicResolver(resolver) {
|
|
11
|
+
return isString(resolver?.name) && isString(resolver.service);
|
|
12
|
+
}
|
|
13
|
+
export function isComposeResolver(resolver) {
|
|
14
|
+
return Boolean(isArray(resolver?.compose) &&
|
|
15
|
+
resolver.compose.length &&
|
|
16
|
+
resolver.compose.every(isBasicResolver));
|
|
17
|
+
}
|
|
18
|
+
const { definitions: { takeshapeResolver, utilResolver, graphqlResolver, restResolver, awsLambdaResolver } } = latestSchemaJson;
|
|
19
|
+
export function isTakeshapeResolver(resolver) {
|
|
20
|
+
return takeshapeResolver.properties.name.enum.includes(resolver.name);
|
|
21
|
+
}
|
|
22
|
+
export function isGraphqlResolver(resolver) {
|
|
23
|
+
return graphqlResolver.properties.name.enum.includes(resolver.name);
|
|
24
|
+
}
|
|
25
|
+
export function isRestResolver(resolver) {
|
|
26
|
+
return restResolver.properties.name.enum.includes(resolver.name);
|
|
27
|
+
}
|
|
28
|
+
export function isAwsLambdaResolver(resolver) {
|
|
29
|
+
return awsLambdaResolver.properties.name.enum.includes(resolver.name);
|
|
30
|
+
}
|
|
31
|
+
export function isUtilResolver(resolver) {
|
|
32
|
+
return utilResolver.properties.name.enum.includes(resolver.name);
|
|
33
|
+
}
|
|
34
|
+
/** Directive Mapping Utils **/
|
|
35
|
+
/**
|
|
36
|
+
* Determine whether the ambiguous Directive structure is a DirectiveMappingMap
|
|
37
|
+
*/
|
|
38
|
+
export function isDirectiveMappingMap(maybeMap) {
|
|
39
|
+
return isPlainObject(maybeMap) && Object.keys(maybeMap).length > 0;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Determine whether the ambiguous Directive structure is a DirectiveMappingArray
|
|
43
|
+
*/
|
|
44
|
+
export function isDirectiveMappingArray(maybeArray) {
|
|
45
|
+
return isArray(maybeArray) && isArray(maybeArray[0]) && isString(maybeArray[0][0]) && isArray(maybeArray[0][1]);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Determine whether the ambiguous Directive structure is a DirectiveConfig array
|
|
49
|
+
*/
|
|
50
|
+
export function isDirectiveConfig(maybeConfig) {
|
|
51
|
+
return isArray(maybeConfig) && isArray(maybeConfig[0]) && isString(maybeConfig[0][0]) && isRecord(maybeConfig[0][1]);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Determine whether a ParameterSerializeOption is a content type serializer
|
|
55
|
+
*/
|
|
56
|
+
export function isParameterSerializeContentOptions(maybeContent) {
|
|
57
|
+
return Boolean('contentType' in maybeContent && maybeContent.contentType);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Determine whether an unknown variable is a `ParameterOp`
|
|
61
|
+
*/
|
|
62
|
+
export function isParameterOp(maybeOp) {
|
|
63
|
+
const op = maybeOp;
|
|
64
|
+
if (!op.path) {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
return isParameterOpNested(op) || isParameterOpMapping(op) || isParameterOpValue(op) || isParameterOpOp(op);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Determine whether a `ParameterOp` is a `ParameterOpNested`
|
|
71
|
+
*/
|
|
72
|
+
export function isParameterOpNested(maybeOp) {
|
|
73
|
+
return Boolean('ops' in maybeOp && maybeOp.ops);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Determine whether a `ParameterOp` is a `ParameterOpMapping`
|
|
77
|
+
*/
|
|
78
|
+
export function isParameterOpMapping(maybeOp) {
|
|
79
|
+
return Boolean('mapping' in maybeOp && maybeOp.mapping);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Determine whether a `ParameterOp` is a `ParameterOpMapping`
|
|
83
|
+
*/
|
|
84
|
+
export function isParameterOpValue(maybeOp) {
|
|
85
|
+
return Boolean('value' in maybeOp && maybeOp.value);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Determine whether a `ParameterOp` is a `ParameterOpOp`
|
|
89
|
+
*/
|
|
90
|
+
export function isParameterOpOp(maybeOp) {
|
|
91
|
+
const op = maybeOp;
|
|
92
|
+
if (!op.op) {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
return !(isParameterOpNested(op) || isParameterOpMapping(op) || isParameterOpValue(op));
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Determine whether a ParameterSerializeOption is a style serializer
|
|
99
|
+
*/
|
|
100
|
+
export function isParameterSerializeStyleOptions(maybeStyle) {
|
|
101
|
+
return Boolean('style' in maybeStyle && maybeStyle.style);
|
|
102
|
+
}
|
|
103
|
+
/** Typeguards for different types of shape schemas **/
|
|
104
|
+
export function isRefSchema(maybeRefSchema) {
|
|
105
|
+
return isString(maybeRefSchema['@ref']) || isString(maybeRefSchema.$ref);
|
|
106
|
+
}
|
|
107
|
+
export function isAllOfSchema(schema) {
|
|
108
|
+
return isArray(schema.allOf);
|
|
109
|
+
}
|
|
110
|
+
export function isOneOfSchema(schema) {
|
|
111
|
+
return isArray(schema.oneOf);
|
|
112
|
+
}
|
|
113
|
+
export function isArraySchema(schema) {
|
|
114
|
+
return schema.type === 'array' && isRecord(schema.items);
|
|
115
|
+
}
|
|
116
|
+
export function isObjectSchema(schema) {
|
|
117
|
+
return schema.type === 'object' && isRecord(schema.properties);
|
|
118
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { PropertySchemaV4_0_0, ShapeMapV4_0_0 } from '../project-schema/index.ts';
|
|
2
|
+
import type { SchemaPath } from '../types/index.ts';
|
|
3
|
+
export type PropertyVisitorCallback = (schema: PropertySchemaV4_0_0, path: SchemaPath) => void;
|
|
4
|
+
export declare function visitSchemaProperties(schema: PropertySchemaV4_0_0, path: Array<string | number>, callback: PropertyVisitorCallback): void;
|
|
5
|
+
export declare function visitShapeProperties(shapes: ShapeMapV4_0_0, callback: PropertyVisitorCallback): void;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { isAllOfSchema, isObjectSchema, isOneOfSchema } from "./type-utils.js";
|
|
2
|
+
export function visitSchemaProperties(schema, path, callback) {
|
|
3
|
+
if (isObjectSchema(schema)) {
|
|
4
|
+
for (const [name, propSchema] of Object.entries(schema.properties)) {
|
|
5
|
+
const newPath = [...path, 'properties', name];
|
|
6
|
+
callback(propSchema, newPath);
|
|
7
|
+
if (isObjectSchema(propSchema) || isAllOfSchema(propSchema) || isOneOfSchema(propSchema)) {
|
|
8
|
+
visitSchemaProperties(propSchema, newPath, callback);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
else if (isAllOfSchema(schema)) {
|
|
13
|
+
for (const [index, propSchema] of Object.entries(schema.allOf)) {
|
|
14
|
+
const newPath = [...path, 'allOf', index];
|
|
15
|
+
callback(propSchema, newPath);
|
|
16
|
+
if (isObjectSchema(propSchema) || isAllOfSchema(propSchema) || isOneOfSchema(propSchema)) {
|
|
17
|
+
visitSchemaProperties(propSchema, newPath, callback);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
else if (isOneOfSchema(schema)) {
|
|
22
|
+
for (const [index, propSchema] of Object.entries(schema.oneOf)) {
|
|
23
|
+
const newPath = [...path, 'oneOf', index];
|
|
24
|
+
callback(propSchema, newPath);
|
|
25
|
+
if (isObjectSchema(propSchema) || isAllOfSchema(propSchema) || isOneOfSchema(propSchema)) {
|
|
26
|
+
visitSchemaProperties(propSchema, newPath, callback);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
callback(schema, path);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export function visitShapeProperties(shapes, callback) {
|
|
35
|
+
for (const [shapeName, shape] of Object.entries(shapes)) {
|
|
36
|
+
visitSchemaProperties(shape.schema, ['shapes', shapeName, 'schema'], callback);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const migrateTo: {
|
|
2
|
+
'v3.0.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV1_0_0, import("../index.ts").ProjectSchemaJSONV3_0_0>;
|
|
3
|
+
'v3.1.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_0_0, import("../index.ts").ProjectSchemaJSONV3_1_0>;
|
|
4
|
+
'v3.2.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_1_0, import("../index.ts").ProjectSchemaJSONV3_2_0>;
|
|
5
|
+
'v3.3.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_2_0, import("../index.ts").ProjectSchemaJSONV3_3_0>;
|
|
6
|
+
'v3.4.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_3_0, import("../index.ts").ProjectSchemaJSONV3_4_0>;
|
|
7
|
+
'v3.5.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_4_0, import("../index.ts").ProjectSchemaJSONV3_5_0>;
|
|
8
|
+
'v3.5.1': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_5_0, import("../index.ts").ProjectSchemaJSONV3_5_1>;
|
|
9
|
+
'v3.6.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_5_1, import("../index.ts").ProjectSchemaJSONV3_6_0>;
|
|
10
|
+
'v3.7.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_6_0, import("../index.ts").ProjectSchemaJSONV3_7_0>;
|
|
11
|
+
'v3.8.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_7_0, import("../index.ts").ProjectSchemaJSONV3_8_0>;
|
|
12
|
+
'v3.9.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_8_0, import("../index.ts").ProjectSchemaJSONV3_9_0>;
|
|
13
|
+
'v3.10.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_9_0, import("../index.ts").ProjectSchemaJSONV3_10_0>;
|
|
14
|
+
'v3.11.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_10_0, import("../index.ts").ProjectSchemaJSONV3_11_0>;
|
|
15
|
+
'v3.12.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_11_0, import("../index.ts").ProjectSchemaJSONV3_12_0>;
|
|
16
|
+
'v3.12.1': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_12_0, import("../index.ts").ProjectSchemaJSONV3_12_1>;
|
|
17
|
+
'v3.12.2': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_12_1, import("../index.ts").ProjectSchemaJSONV3_12_2>;
|
|
18
|
+
'v3.12.3': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_12_2, import("../index.ts").ProjectSchemaJSONV3_12_3>;
|
|
19
|
+
'v3.13.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_12_3, import("../index.ts").ProjectSchemaJSONV3_13_0>;
|
|
20
|
+
'v3.14.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_13_0, import("../index.ts").ProjectSchemaJSONV3_14_0>;
|
|
21
|
+
'v3.15.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_14_0, import("../index.ts").ProjectSchemaJSONV3_15_0>;
|
|
22
|
+
'v3.16.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_15_0, import("../index.ts").ProjectSchemaJSONV3_16_0>;
|
|
23
|
+
'v3.17.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_16_0, import("../index.ts").ProjectSchemaJSONV3_17_0>;
|
|
24
|
+
'v3.17.1': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_17_0, import("../index.ts").ProjectSchemaJSONV3_17_1>;
|
|
25
|
+
'v3.18.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_17_1, import("../index.ts").ProjectSchemaJSONV3_18_0>;
|
|
26
|
+
'v3.18.1': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_18_0, import("../index.ts").ProjectSchemaJSONV3_18_1>;
|
|
27
|
+
'v3.18.2': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_18_1, import("../index.ts").ProjectSchemaJSONV3_18_2>;
|
|
28
|
+
'v3.19.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_18_2, import("../index.ts").ProjectSchemaJSONV3_19_0>;
|
|
29
|
+
'v3.20.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_19_0, import("../index.ts").ProjectSchemaJSONV3_20_0>;
|
|
30
|
+
'v3.21.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_20_0, import("../index.ts").ProjectSchemaJSONV3_21_0>;
|
|
31
|
+
'v3.22.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_21_0, import("../index.ts").ProjectSchemaJSONV3_22_0>;
|
|
32
|
+
'v3.23.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_22_0, import("../index.ts").ProjectSchemaJSONV3_23_0>;
|
|
33
|
+
'v3.24.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_23_0, import("../index.ts").ProjectSchemaJSONV3_24_0>;
|
|
34
|
+
'v3.25.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_24_0, import("../index.ts").ProjectSchemaJSONV3_25_0>;
|
|
35
|
+
'v3.26.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_25_0, import("../index.ts").ProjectSchemaJSONV3_26_0>;
|
|
36
|
+
'v3.27.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_26_0, import("../index.ts").ProjectSchemaJSONV3_27_0>;
|
|
37
|
+
'v3.28.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_27_0, import("../index.ts").ProjectSchemaJSONV3_28_0>;
|
|
38
|
+
'v3.29.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_28_0, import("../index.ts").ProjectSchemaJSONV3_29_0>;
|
|
39
|
+
'v3.30.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_29_0, import("../index.ts").ProjectSchemaJSONV3_30_0>;
|
|
40
|
+
'v3.31.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_30_0, import("../index.ts").ProjectSchemaJSONV3_31_0>;
|
|
41
|
+
'v3.32.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_31_0, import("../index.ts").ProjectSchemaJSONV3_32_0>;
|
|
42
|
+
'v3.33.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_32_0, import("../index.ts").ProjectSchemaJSONV3_33_0>;
|
|
43
|
+
'v3.34.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_33_0, import("../index.ts").ProjectSchemaJSONV3_34_0>;
|
|
44
|
+
'v3.35.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_34_0, import("../index.ts").ProjectSchemaJSONV3_35_0>;
|
|
45
|
+
'v3.36.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_35_0, import("../index.ts").ProjectSchemaJSONV3_36_0>;
|
|
46
|
+
'v3.37.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_36_0, import("../index.ts").ProjectSchemaJSONV3_37_0>;
|
|
47
|
+
'v3.38.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_37_0, import("../index.ts").ProjectSchemaJSONV3_38_0>;
|
|
48
|
+
'v3.39.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_38_0, import("../index.ts").ProjectSchemaJSONV3_39_0>;
|
|
49
|
+
'v3.40.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_39_0, import("../index.ts").ProjectSchemaJSONV3_40_0>;
|
|
50
|
+
'v3.41.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_40_0, import("../index.ts").ProjectSchemaJSONV3_41_0>;
|
|
51
|
+
'v3.42.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_41_0, import("../index.ts").ProjectSchemaJSONV3_42_0>;
|
|
52
|
+
'v3.43.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_42_0, import("../index.ts").ProjectSchemaJSONV3_43_0>;
|
|
53
|
+
'v3.44.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_43_0, import("../index.ts").ProjectSchemaJSONV3_44_0>;
|
|
54
|
+
'v3.45.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_44_0, import("../index.ts").ProjectSchemaJSONV3_45_0>;
|
|
55
|
+
'v3.46.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_45_0, import("../index.ts").ProjectSchemaJSONV3_46_0>;
|
|
56
|
+
'v3.47.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_46_0, import("../index.ts").ProjectSchemaJSONV3_47_0>;
|
|
57
|
+
'v3.48.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_47_0, import("../index.ts").ProjectSchemaJSONV3_48_0>;
|
|
58
|
+
'v3.49.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_48_0, import("../index.ts").ProjectSchemaJSONV3_49_0>;
|
|
59
|
+
'v3.50.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_49_0, import("../index.ts").ProjectSchemaJSONV3_50_0>;
|
|
60
|
+
'v3.51.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_50_0, import("../index.ts").ProjectSchemaJSONV3_51_0>;
|
|
61
|
+
};
|
|
62
|
+
export * from './utils.ts';
|
|
63
|
+
export declare const listTypePrefix = "PaginatedList";
|
|
64
|
+
export type { ProjectSchemaMigrationContext } from './types.ts';
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import migrateToV3_0_0 from "./to/v3.0.0.js";
|
|
2
|
+
import migrateToV3_1_0 from "./to/v3.1.0.js";
|
|
3
|
+
import migrateToV3_2_0 from "./to/v3.2.0.js";
|
|
4
|
+
import migrateToV3_3_0 from "./to/v3.3.0.js";
|
|
5
|
+
import migrateToV3_4_0 from "./to/v3.4.0.js";
|
|
6
|
+
import migrateToV3_5_0 from "./to/v3.5.0.js";
|
|
7
|
+
import migrateToV3_5_1 from "./to/v3.5.1.js";
|
|
8
|
+
import migrateToV3_6_0 from "./to/v3.6.0.js";
|
|
9
|
+
import migrateToV3_7_0 from "./to/v3.7.0.js";
|
|
10
|
+
import migrateToV3_8_0 from "./to/v3.8.0.js";
|
|
11
|
+
import migrateToV3_9_0 from "./to/v3.9.0.js";
|
|
12
|
+
import migrateToV3_10_0 from "./to/v3.10.0.js";
|
|
13
|
+
import migrateToV3_11_0 from "./to/v3.11.0.js";
|
|
14
|
+
import migrateToV3_12_0 from "./to/v3.12.0.js";
|
|
15
|
+
import migrateToV3_12_1 from "./to/v3.12.1.js";
|
|
16
|
+
import migrateToV3_12_2 from "./to/v3.12.2.js";
|
|
17
|
+
import migrateToV3_12_3 from "./to/v3.12.3.js";
|
|
18
|
+
import migrateToV3_13_0 from "./to/v3.13.0.js";
|
|
19
|
+
import migrateToV3_14_0 from "./to/v3.14.0.js";
|
|
20
|
+
import migrateToV3_15_0 from "./to/v3.15.0.js";
|
|
21
|
+
import migrateToV3_16_0 from "./to/v3.16.0.js";
|
|
22
|
+
import migrateToV3_17_0 from "./to/v3.17.0.js";
|
|
23
|
+
import migrateToV3_17_1 from "./to/v3.17.1.js";
|
|
24
|
+
import migrateToV3_18_0 from "./to/v3.18.0.js";
|
|
25
|
+
import migrateToV3_18_1 from "./to/v3.18.1.js";
|
|
26
|
+
import migrateToV3_18_2 from "./to/v3.18.2.js";
|
|
27
|
+
import migrateToV3_19_0 from "./to/v3.19.0.js";
|
|
28
|
+
import migrateToV3_20_0 from "./to/v3.20.0.js";
|
|
29
|
+
import migrateToV3_21_0 from "./to/v3.21.0.js";
|
|
30
|
+
import migrateToV3_22_0 from "./to/v3.22.0.js";
|
|
31
|
+
import migrateToV3_23_0 from "./to/v3.23.0.js";
|
|
32
|
+
import migrateToV3_24_0 from "./to/v3.24.0.js";
|
|
33
|
+
import migrateToV3_25_0 from "./to/v3.25.0.js";
|
|
34
|
+
import migrateToV3_26_0 from "./to/v3.26.0.js";
|
|
35
|
+
import migrateToV3_27_0 from "./to/v3.27.0.js";
|
|
36
|
+
import migrateToV3_28_0 from "./to/v3.28.0.js";
|
|
37
|
+
import migrateToV3_29_0 from "./to/v3.29.0.js";
|
|
38
|
+
import migrateToV3_30_0 from "./to/v3.30.0.js";
|
|
39
|
+
import migrateToV3_31_0 from "./to/v3.31.0.js";
|
|
40
|
+
import migrateToV3_32_0 from "./to/v3.32.0.js";
|
|
41
|
+
import migrateToV3_33_0 from "./to/v3.33.0.js";
|
|
42
|
+
import migrateToV3_34_0 from "./to/v3.34.0.js";
|
|
43
|
+
import migrateToV3_35_0 from "./to/v3.35.0.js";
|
|
44
|
+
import migrateToV3_36_0 from "./to/v3.36.0.js";
|
|
45
|
+
import migrateToV3_37_0 from "./to/v3.37.0.js";
|
|
46
|
+
import migrateToV3_38_0 from "./to/v3.38.0.js";
|
|
47
|
+
import migrateToV3_39_0 from "./to/v3.39.0.js";
|
|
48
|
+
import migrateToV3_40_0 from "./to/v3.40.0.js";
|
|
49
|
+
import migrateToV3_41_0 from "./to/v3.41.0.js";
|
|
50
|
+
import migrateToV3_42_0 from "./to/v3.42.0.js";
|
|
51
|
+
import migrateToV3_43_0 from "./to/v3.43.0.js";
|
|
52
|
+
import migrateToV3_44_0 from "./to/v3.44.0.js";
|
|
53
|
+
import migrateToV3_45_0 from "./to/v3.45.0.js";
|
|
54
|
+
import migrateToV3_46_0 from "./to/v3.46.0.js";
|
|
55
|
+
import migrateToV3_47_0 from "./to/v3.47.0.js";
|
|
56
|
+
import migrateToV3_48_0 from "./to/v3.48.0.js";
|
|
57
|
+
import migrateToV3_49_0 from "./to/v3.49.0.js";
|
|
58
|
+
import migrateToV3_50_0 from "./to/v3.50.0.js";
|
|
59
|
+
import migrateToV3_51_0 from "./to/v3.51.0.js";
|
|
60
|
+
export const migrateTo = {
|
|
61
|
+
'v3.0.0': migrateToV3_0_0,
|
|
62
|
+
'v3.1.0': migrateToV3_1_0,
|
|
63
|
+
'v3.2.0': migrateToV3_2_0,
|
|
64
|
+
'v3.3.0': migrateToV3_3_0,
|
|
65
|
+
'v3.4.0': migrateToV3_4_0,
|
|
66
|
+
'v3.5.0': migrateToV3_5_0,
|
|
67
|
+
'v3.5.1': migrateToV3_5_1,
|
|
68
|
+
'v3.6.0': migrateToV3_6_0,
|
|
69
|
+
'v3.7.0': migrateToV3_7_0,
|
|
70
|
+
'v3.8.0': migrateToV3_8_0,
|
|
71
|
+
'v3.9.0': migrateToV3_9_0,
|
|
72
|
+
'v3.10.0': migrateToV3_10_0,
|
|
73
|
+
'v3.11.0': migrateToV3_11_0,
|
|
74
|
+
'v3.12.0': migrateToV3_12_0,
|
|
75
|
+
'v3.12.1': migrateToV3_12_1,
|
|
76
|
+
'v3.12.2': migrateToV3_12_2,
|
|
77
|
+
'v3.12.3': migrateToV3_12_3,
|
|
78
|
+
'v3.13.0': migrateToV3_13_0,
|
|
79
|
+
'v3.14.0': migrateToV3_14_0,
|
|
80
|
+
'v3.15.0': migrateToV3_15_0,
|
|
81
|
+
'v3.16.0': migrateToV3_16_0,
|
|
82
|
+
'v3.17.0': migrateToV3_17_0,
|
|
83
|
+
'v3.17.1': migrateToV3_17_1,
|
|
84
|
+
'v3.18.0': migrateToV3_18_0,
|
|
85
|
+
'v3.18.1': migrateToV3_18_1,
|
|
86
|
+
'v3.18.2': migrateToV3_18_2,
|
|
87
|
+
'v3.19.0': migrateToV3_19_0,
|
|
88
|
+
'v3.20.0': migrateToV3_20_0,
|
|
89
|
+
'v3.21.0': migrateToV3_21_0,
|
|
90
|
+
'v3.22.0': migrateToV3_22_0,
|
|
91
|
+
'v3.23.0': migrateToV3_23_0,
|
|
92
|
+
'v3.24.0': migrateToV3_24_0,
|
|
93
|
+
'v3.25.0': migrateToV3_25_0,
|
|
94
|
+
'v3.26.0': migrateToV3_26_0,
|
|
95
|
+
'v3.27.0': migrateToV3_27_0,
|
|
96
|
+
'v3.28.0': migrateToV3_28_0,
|
|
97
|
+
'v3.29.0': migrateToV3_29_0,
|
|
98
|
+
'v3.30.0': migrateToV3_30_0,
|
|
99
|
+
'v3.31.0': migrateToV3_31_0,
|
|
100
|
+
'v3.32.0': migrateToV3_32_0,
|
|
101
|
+
'v3.33.0': migrateToV3_33_0,
|
|
102
|
+
'v3.34.0': migrateToV3_34_0,
|
|
103
|
+
'v3.35.0': migrateToV3_35_0,
|
|
104
|
+
'v3.36.0': migrateToV3_36_0,
|
|
105
|
+
'v3.37.0': migrateToV3_37_0,
|
|
106
|
+
'v3.38.0': migrateToV3_38_0,
|
|
107
|
+
'v3.39.0': migrateToV3_39_0,
|
|
108
|
+
'v3.40.0': migrateToV3_40_0,
|
|
109
|
+
'v3.41.0': migrateToV3_41_0,
|
|
110
|
+
'v3.42.0': migrateToV3_42_0,
|
|
111
|
+
'v3.43.0': migrateToV3_43_0,
|
|
112
|
+
'v3.44.0': migrateToV3_44_0,
|
|
113
|
+
'v3.45.0': migrateToV3_45_0,
|
|
114
|
+
'v3.46.0': migrateToV3_46_0,
|
|
115
|
+
'v3.47.0': migrateToV3_47_0,
|
|
116
|
+
'v3.48.0': migrateToV3_48_0,
|
|
117
|
+
'v3.49.0': migrateToV3_49_0,
|
|
118
|
+
'v3.50.0': migrateToV3_50_0,
|
|
119
|
+
'v3.51.0': migrateToV3_51_0
|
|
120
|
+
};
|
|
121
|
+
export * from "./utils.js";
|
|
122
|
+
export const listTypePrefix = 'PaginatedList';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|