@takeshape/schema 9.46.0 → 9.48.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/content-schema-transform.d.ts +6 -6
- package/dist/content-schema-transform.d.ts.map +1 -1
- package/dist/create-input-schema.d.ts +2 -2
- package/dist/create-input-schema.d.ts.map +1 -1
- package/dist/flatten-templates.d.ts +2 -2
- package/dist/flatten-templates.d.ts.map +1 -1
- package/dist/get-is-leaf.d.ts +2 -2
- package/dist/get-is-leaf.d.ts.map +1 -1
- package/dist/interfaces.d.ts +6 -6
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/layers/layers.d.ts +3 -3
- package/dist/layers/layers.d.ts.map +1 -1
- package/dist/layers/refs.d.ts +4 -4
- package/dist/layers/refs.d.ts.map +1 -1
- package/dist/migration/index.d.ts +43 -41
- package/dist/migration/index.d.ts.map +1 -1
- package/dist/migration/index.js +7 -1
- package/dist/migration/to/utils/v3.34.0-utils.d.ts +1 -0
- package/dist/migration/to/utils/v3.34.0-utils.d.ts.map +1 -0
- package/dist/migration/to/utils/v3.34.0-utils.js +1 -0
- package/dist/migration/to/v3.0.0.d.ts +2 -2
- package/dist/migration/to/v3.0.0.d.ts.map +1 -1
- package/dist/migration/to/v3.1.0.d.ts +2 -2
- package/dist/migration/to/v3.1.0.d.ts.map +1 -1
- package/dist/migration/to/v3.10.0.d.ts +2 -2
- package/dist/migration/to/v3.10.0.d.ts.map +1 -1
- package/dist/migration/to/v3.11.0.d.ts +2 -2
- package/dist/migration/to/v3.11.0.d.ts.map +1 -1
- package/dist/migration/to/v3.12.0.d.ts +2 -2
- package/dist/migration/to/v3.12.0.d.ts.map +1 -1
- package/dist/migration/to/v3.12.1.d.ts +2 -2
- package/dist/migration/to/v3.12.1.d.ts.map +1 -1
- package/dist/migration/to/v3.12.2.d.ts +2 -2
- package/dist/migration/to/v3.12.2.d.ts.map +1 -1
- package/dist/migration/to/v3.12.3.d.ts +2 -2
- package/dist/migration/to/v3.12.3.d.ts.map +1 -1
- package/dist/migration/to/v3.13.0.d.ts +2 -2
- package/dist/migration/to/v3.13.0.d.ts.map +1 -1
- package/dist/migration/to/v3.14.0.d.ts +2 -2
- package/dist/migration/to/v3.14.0.d.ts.map +1 -1
- package/dist/migration/to/v3.15.0.d.ts +2 -2
- package/dist/migration/to/v3.15.0.d.ts.map +1 -1
- package/dist/migration/to/v3.16.0.d.ts +2 -2
- package/dist/migration/to/v3.16.0.d.ts.map +1 -1
- package/dist/migration/to/v3.17.0.d.ts +2 -2
- package/dist/migration/to/v3.17.0.d.ts.map +1 -1
- package/dist/migration/to/v3.17.1.d.ts +2 -2
- package/dist/migration/to/v3.17.1.d.ts.map +1 -1
- package/dist/migration/to/v3.18.0.d.ts +2 -2
- package/dist/migration/to/v3.18.0.d.ts.map +1 -1
- package/dist/migration/to/v3.18.1.d.ts +2 -2
- package/dist/migration/to/v3.18.1.d.ts.map +1 -1
- package/dist/migration/to/v3.18.2.d.ts +2 -2
- package/dist/migration/to/v3.18.2.d.ts.map +1 -1
- package/dist/migration/to/v3.19.0.d.ts +2 -2
- package/dist/migration/to/v3.19.0.d.ts.map +1 -1
- package/dist/migration/to/v3.2.0.d.ts +2 -2
- package/dist/migration/to/v3.2.0.d.ts.map +1 -1
- package/dist/migration/to/v3.20.0.d.ts +2 -2
- package/dist/migration/to/v3.20.0.d.ts.map +1 -1
- package/dist/migration/to/v3.21.0.d.ts +2 -2
- package/dist/migration/to/v3.21.0.d.ts.map +1 -1
- package/dist/migration/to/v3.22.0.d.ts +2 -2
- package/dist/migration/to/v3.22.0.d.ts.map +1 -1
- package/dist/migration/to/v3.23.0.d.ts +2 -2
- package/dist/migration/to/v3.23.0.d.ts.map +1 -1
- package/dist/migration/to/v3.24.0.d.ts +2 -2
- package/dist/migration/to/v3.24.0.d.ts.map +1 -1
- package/dist/migration/to/v3.25.0.d.ts +2 -2
- package/dist/migration/to/v3.25.0.d.ts.map +1 -1
- package/dist/migration/to/v3.26.0.d.ts +2 -2
- package/dist/migration/to/v3.26.0.d.ts.map +1 -1
- package/dist/migration/to/v3.27.0.d.ts +2 -2
- package/dist/migration/to/v3.27.0.d.ts.map +1 -1
- package/dist/migration/to/v3.28.0.d.ts +2 -2
- package/dist/migration/to/v3.28.0.d.ts.map +1 -1
- package/dist/migration/to/v3.29.0.d.ts +2 -2
- package/dist/migration/to/v3.29.0.d.ts.map +1 -1
- package/dist/migration/to/v3.3.0.d.ts +2 -2
- package/dist/migration/to/v3.3.0.d.ts.map +1 -1
- package/dist/migration/to/v3.30.0.d.ts +2 -2
- package/dist/migration/to/v3.30.0.d.ts.map +1 -1
- package/dist/migration/to/v3.31.0.d.ts +2 -2
- package/dist/migration/to/v3.31.0.d.ts.map +1 -1
- package/dist/migration/to/v3.32.0.d.ts +2 -2
- package/dist/migration/to/v3.32.0.d.ts.map +1 -1
- package/dist/migration/to/v3.33.0.d.ts +2 -2
- package/dist/migration/to/v3.33.0.d.ts.map +1 -1
- package/dist/migration/to/v3.34.0.d.ts +7 -0
- package/dist/migration/to/v3.34.0.d.ts.map +1 -0
- package/dist/migration/to/v3.34.0.js +183 -0
- package/dist/migration/to/v3.35.0.d.ts +5 -0
- package/dist/migration/to/v3.35.0.d.ts.map +1 -0
- package/dist/migration/to/v3.35.0.js +18 -0
- package/dist/migration/to/v3.4.0.d.ts +2 -2
- package/dist/migration/to/v3.4.0.d.ts.map +1 -1
- package/dist/migration/to/v3.5.0.d.ts +2 -2
- package/dist/migration/to/v3.5.0.d.ts.map +1 -1
- package/dist/migration/to/v3.5.1.d.ts +2 -2
- package/dist/migration/to/v3.5.1.d.ts.map +1 -1
- package/dist/migration/to/v3.6.0.d.ts +2 -2
- package/dist/migration/to/v3.6.0.d.ts.map +1 -1
- package/dist/migration/to/v3.7.0.d.ts +2 -2
- package/dist/migration/to/v3.7.0.d.ts.map +1 -1
- package/dist/migration/to/v3.8.0.d.ts +2 -2
- package/dist/migration/to/v3.8.0.d.ts.map +1 -1
- package/dist/migration/to/v3.9.0.d.ts +2 -2
- package/dist/migration/to/v3.9.0.d.ts.map +1 -1
- package/dist/migration/types.d.ts +6 -6
- package/dist/migration/types.d.ts.map +1 -1
- package/dist/mocks.d.ts +5 -5
- package/dist/mocks.d.ts.map +1 -1
- package/dist/models/project-schema.d.ts +36 -0
- package/dist/models/project-schema.d.ts.map +1 -0
- package/dist/models/project-schema.js +132 -0
- package/dist/models/query.d.ts +18 -0
- package/dist/models/query.d.ts.map +1 -0
- package/dist/models/query.js +44 -0
- package/dist/models/service.d.ts +13 -0
- package/dist/models/service.d.ts.map +1 -0
- package/dist/models/service.js +34 -0
- package/dist/models/shape.d.ts +42 -0
- package/dist/models/shape.d.ts.map +1 -0
- package/dist/models/shape.js +116 -0
- package/dist/project-schema/index.d.ts +95 -89
- package/dist/project-schema/index.d.ts.map +1 -1
- package/dist/project-schema/index.js +168 -134
- package/dist/project-schema/latest.d.ts +145 -126
- package/dist/project-schema/latest.d.ts.map +1 -1
- package/dist/project-schema/migrate.d.ts +3 -3
- package/dist/project-schema/migrate.d.ts.map +1 -1
- package/dist/project-schema/migrate.js +52 -44
- package/dist/project-schema/v1.0.0.d.ts +13 -13
- package/dist/project-schema/v1.0.0.d.ts.map +1 -1
- package/dist/project-schema/v3.0.0.d.ts +23 -23
- package/dist/project-schema/v3.0.0.d.ts.map +1 -1
- package/dist/project-schema/v3.1.0.d.ts +35 -35
- package/dist/project-schema/v3.1.0.d.ts.map +1 -1
- package/dist/project-schema/v3.10.0.d.ts +104 -104
- package/dist/project-schema/v3.10.0.d.ts.map +1 -1
- package/dist/project-schema/v3.11.0.d.ts +104 -104
- package/dist/project-schema/v3.11.0.d.ts.map +1 -1
- package/dist/project-schema/v3.12.0.d.ts +104 -104
- package/dist/project-schema/v3.12.0.d.ts.map +1 -1
- package/dist/project-schema/v3.12.1.d.ts +110 -110
- package/dist/project-schema/v3.12.1.d.ts.map +1 -1
- package/dist/project-schema/v3.12.2.d.ts +111 -111
- package/dist/project-schema/v3.12.2.d.ts.map +1 -1
- package/dist/project-schema/v3.12.3.d.ts +114 -114
- package/dist/project-schema/v3.12.3.d.ts.map +1 -1
- package/dist/project-schema/v3.13.0.d.ts +115 -115
- package/dist/project-schema/v3.13.0.d.ts.map +1 -1
- package/dist/project-schema/v3.14.0.d.ts +116 -116
- package/dist/project-schema/v3.14.0.d.ts.map +1 -1
- package/dist/project-schema/v3.15.0.d.ts +119 -119
- package/dist/project-schema/v3.15.0.d.ts.map +1 -1
- package/dist/project-schema/v3.16.0.d.ts +119 -119
- package/dist/project-schema/v3.16.0.d.ts.map +1 -1
- package/dist/project-schema/v3.17.0.d.ts +119 -119
- package/dist/project-schema/v3.17.0.d.ts.map +1 -1
- package/dist/project-schema/v3.17.1.d.ts +119 -119
- package/dist/project-schema/v3.17.1.d.ts.map +1 -1
- package/dist/project-schema/v3.18.0.d.ts +117 -117
- package/dist/project-schema/v3.18.0.d.ts.map +1 -1
- package/dist/project-schema/v3.18.1.d.ts +117 -117
- package/dist/project-schema/v3.18.1.d.ts.map +1 -1
- package/dist/project-schema/v3.18.2.d.ts +117 -117
- package/dist/project-schema/v3.18.2.d.ts.map +1 -1
- package/dist/project-schema/v3.19.0.d.ts +117 -117
- package/dist/project-schema/v3.19.0.d.ts.map +1 -1
- package/dist/project-schema/v3.2.0.d.ts +36 -36
- package/dist/project-schema/v3.2.0.d.ts.map +1 -1
- package/dist/project-schema/v3.20.0.d.ts +117 -117
- package/dist/project-schema/v3.20.0.d.ts.map +1 -1
- package/dist/project-schema/v3.21.0.d.ts +117 -117
- package/dist/project-schema/v3.21.0.d.ts.map +1 -1
- package/dist/project-schema/v3.22.0.d.ts +118 -118
- package/dist/project-schema/v3.22.0.d.ts.map +1 -1
- package/dist/project-schema/v3.23.0.d.ts +120 -120
- package/dist/project-schema/v3.23.0.d.ts.map +1 -1
- package/dist/project-schema/v3.24.0.d.ts +120 -120
- package/dist/project-schema/v3.24.0.d.ts.map +1 -1
- package/dist/project-schema/v3.25.0.d.ts +120 -120
- package/dist/project-schema/v3.25.0.d.ts.map +1 -1
- package/dist/project-schema/v3.26.0.d.ts +121 -121
- package/dist/project-schema/v3.26.0.d.ts.map +1 -1
- package/dist/project-schema/v3.27.0.d.ts +122 -122
- package/dist/project-schema/v3.27.0.d.ts.map +1 -1
- package/dist/project-schema/v3.28.0.d.ts +123 -123
- package/dist/project-schema/v3.28.0.d.ts.map +1 -1
- package/dist/project-schema/v3.29.0.d.ts +124 -124
- package/dist/project-schema/v3.29.0.d.ts.map +1 -1
- package/dist/project-schema/v3.3.0.d.ts +36 -36
- package/dist/project-schema/v3.3.0.d.ts.map +1 -1
- package/dist/project-schema/v3.30.0.d.ts +123 -123
- package/dist/project-schema/v3.30.0.d.ts.map +1 -1
- package/dist/project-schema/v3.31.0.d.ts +125 -125
- package/dist/project-schema/v3.31.0.d.ts.map +1 -1
- package/dist/project-schema/v3.32.0.d.ts +124 -124
- package/dist/project-schema/v3.32.0.d.ts.map +1 -1
- package/dist/project-schema/v3.33.0.d.ts +125 -125
- package/dist/project-schema/v3.33.0.d.ts.map +1 -1
- package/dist/project-schema/v3.34.0.d.ts +1446 -0
- package/dist/project-schema/v3.34.0.d.ts.map +1 -0
- package/dist/project-schema/v3.34.0.js +5 -0
- package/dist/project-schema/v3.35.0.d.ts +1465 -0
- package/dist/project-schema/v3.35.0.d.ts.map +1 -0
- package/dist/project-schema/v3.35.0.js +5 -0
- package/dist/project-schema/v3.4.0.d.ts +36 -36
- package/dist/project-schema/v3.4.0.d.ts.map +1 -1
- package/dist/project-schema/v3.5.0.d.ts +36 -36
- package/dist/project-schema/v3.5.0.d.ts.map +1 -1
- package/dist/project-schema/v3.5.1.d.ts +36 -36
- package/dist/project-schema/v3.5.1.d.ts.map +1 -1
- package/dist/project-schema/v3.6.0.d.ts +37 -37
- package/dist/project-schema/v3.6.0.d.ts.map +1 -1
- package/dist/project-schema/v3.7.0.d.ts +37 -37
- package/dist/project-schema/v3.7.0.d.ts.map +1 -1
- package/dist/project-schema/v3.8.0.d.ts +39 -39
- package/dist/project-schema/v3.8.0.d.ts.map +1 -1
- package/dist/project-schema/v3.9.0.d.ts +39 -39
- package/dist/project-schema/v3.9.0.d.ts.map +1 -1
- package/dist/project-schema/v4.0.0.d.ts +113 -113
- package/dist/project-schema/v4.0.0.d.ts.map +1 -1
- package/dist/refs.d.ts +16 -13
- package/dist/refs.d.ts.map +1 -1
- package/dist/refs.js +21 -0
- package/dist/relationships.d.ts +5 -5
- package/dist/relationships.d.ts.map +1 -1
- package/dist/schema-util.d.ts +46 -40
- package/dist/schema-util.d.ts.map +1 -1
- package/dist/schema-util.js +34 -29
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +8 -4
- package/dist/schemas/index.ts +6 -2
- package/dist/schemas/project-schema/latest.json +43 -8
- package/dist/schemas/project-schema/meta-schema-v3.0.0.json +1 -1
- package/dist/schemas/project-schema/meta-schema-v3.1.0.json +1 -1
- package/dist/schemas/project-schema/meta-schema-v3.2.0.json +1 -1
- package/dist/schemas/project-schema/meta-schema-v3.3.0.json +1 -1
- package/dist/schemas/project-schema/meta-schema-v3.4.0.json +1 -1
- package/dist/schemas/project-schema/meta-schema-v3.5.0.json +1 -1
- package/dist/schemas/project-schema/meta-schema-v3.5.1.json +1 -1
- package/dist/schemas/project-schema/meta-schema-v3.6.0.json +1 -1
- package/dist/schemas/project-schema/meta-schema-v3.7.0.json +1 -1
- package/dist/schemas/project-schema/meta-schema-v3.8.0.json +1 -1
- package/dist/schemas/project-schema/meta-schema-v3.9.0.json +1 -1
- package/dist/schemas/project-schema/v1.0.0.json +1 -1
- package/dist/schemas/project-schema/v3.0.0.json +2 -2
- package/dist/schemas/project-schema/v3.1.0.json +4 -4
- package/dist/schemas/project-schema/v3.10.0.json +5 -5
- package/dist/schemas/project-schema/v3.11.0.json +5 -5
- package/dist/schemas/project-schema/v3.12.0.json +5 -5
- package/dist/schemas/project-schema/v3.12.1.json +5 -5
- package/dist/schemas/project-schema/v3.12.2.json +5 -5
- package/dist/schemas/project-schema/v3.12.3.json +5 -5
- package/dist/schemas/project-schema/v3.13.0.json +5 -5
- package/dist/schemas/project-schema/v3.14.0.json +5 -5
- package/dist/schemas/project-schema/v3.15.0.json +5 -5
- package/dist/schemas/project-schema/v3.16.0.json +5 -5
- package/dist/schemas/project-schema/v3.17.0.json +5 -5
- package/dist/schemas/project-schema/v3.17.1.json +5 -5
- package/dist/schemas/project-schema/v3.18.0.json +5 -5
- package/dist/schemas/project-schema/v3.18.1.json +5 -5
- package/dist/schemas/project-schema/v3.18.2.json +5 -5
- package/dist/schemas/project-schema/v3.19.0.json +5 -5
- package/dist/schemas/project-schema/v3.2.0.json +4 -4
- package/dist/schemas/project-schema/v3.20.0.json +5 -5
- package/dist/schemas/project-schema/v3.21.0.json +5 -5
- package/dist/schemas/project-schema/v3.22.0.json +5 -5
- package/dist/schemas/project-schema/v3.23.0.json +5 -5
- package/dist/schemas/project-schema/v3.24.0.json +5 -5
- package/dist/schemas/project-schema/v3.25.0.json +5 -5
- package/dist/schemas/project-schema/v3.26.0.json +6 -6
- package/dist/schemas/project-schema/v3.27.0.json +6 -6
- package/dist/schemas/project-schema/v3.28.0.json +5 -5
- package/dist/schemas/project-schema/v3.29.0.json +5 -5
- package/dist/schemas/project-schema/v3.3.0.json +4 -4
- package/dist/schemas/project-schema/v3.30.0.json +5 -5
- package/dist/schemas/project-schema/v3.31.0.json +6 -6
- package/dist/schemas/project-schema/v3.32.0.json +6 -6
- package/dist/schemas/project-schema/v3.33.0.json +6 -6
- package/dist/schemas/project-schema/v3.34.0.json +3088 -0
- package/dist/schemas/project-schema/v3.35.0.json +3123 -0
- package/dist/schemas/project-schema/v3.4.0.json +4 -4
- package/dist/schemas/project-schema/v3.5.0.json +4 -4
- package/dist/schemas/project-schema/v3.5.1.json +4 -4
- package/dist/schemas/project-schema/v3.6.0.json +4 -4
- package/dist/schemas/project-schema/v3.7.0.json +4 -4
- package/dist/schemas/project-schema/v3.8.0.json +4 -4
- package/dist/schemas/project-schema/v3.9.0.json +4 -4
- package/dist/schemas/project-schema/v4.0.0.json +5 -5
- package/dist/schemas/project-schema.json +6 -0
- package/dist/services.d.ts +12 -12
- package/dist/services.d.ts.map +1 -1
- package/dist/services.js +3 -3
- package/dist/taxonomies.d.ts +4 -4
- package/dist/taxonomies.d.ts.map +1 -1
- package/dist/template-shapes/index.d.ts +2 -2
- package/dist/template-shapes/index.d.ts.map +1 -1
- package/dist/template-shapes/templates.d.ts +21 -21
- package/dist/template-shapes/templates.d.ts.map +1 -1
- package/dist/template-shapes/types.d.ts +3 -3
- package/dist/template-shapes/types.d.ts.map +1 -1
- package/dist/template-shapes/where.d.ts +6 -6
- package/dist/template-shapes/where.d.ts.map +1 -1
- package/dist/types/types.d.ts +10 -9
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils.d.ts +5 -4
- package/dist/types/utils.d.ts.map +1 -1
- package/dist/types/utils.js +5 -0
- package/dist/unions.d.ts +8 -8
- package/dist/unions.d.ts.map +1 -1
- package/dist/util/api-indexing.d.ts +4 -4
- package/dist/util/api-indexing.d.ts.map +1 -1
- package/dist/util/detect-cycles.d.ts +3 -3
- package/dist/util/detect-cycles.d.ts.map +1 -1
- package/dist/util/find-shape-at-path.d.ts +3 -3
- package/dist/util/find-shape-at-path.d.ts.map +1 -1
- package/dist/util/form-config.d.ts +3 -3
- package/dist/util/form-config.d.ts.map +1 -1
- package/dist/util/get-conflicting-properties.d.ts +2 -2
- package/dist/util/get-conflicting-properties.d.ts.map +1 -1
- package/dist/util/get-return-shape.d.ts +4 -2
- package/dist/util/get-return-shape.d.ts.map +1 -1
- package/dist/util/get-return-shape.js +5 -0
- package/dist/util/has-arg.d.ts +2 -2
- package/dist/util/has-arg.d.ts.map +1 -1
- package/dist/util/merge.d.ts +3 -3
- package/dist/util/merge.d.ts.map +1 -1
- package/dist/util/patch-schema.d.ts +2 -2
- package/dist/util/patch-schema.d.ts.map +1 -1
- package/dist/validate.d.ts +3 -3
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +84 -5
- package/dist/workflows.d.ts +3 -3
- package/dist/workflows.d.ts.map +1 -1
- package/es/migration/index.js +5 -1
- package/es/migration/to/utils/v3.34.0-utils.js +0 -0
- package/es/migration/to/v3.34.0.js +161 -0
- package/es/migration/to/v3.35.0.js +10 -0
- package/es/models/project-schema.js +116 -0
- package/es/models/query.js +35 -0
- package/es/models/service.js +25 -0
- package/es/models/shape.js +105 -0
- package/es/project-schema/index.js +48 -44
- package/es/project-schema/migrate.js +53 -45
- package/es/project-schema/v3.34.0.js +1 -0
- package/es/project-schema/v3.35.0.js +1 -0
- package/es/refs.js +15 -0
- package/es/schema-util.js +32 -29
- package/es/schemas/index.js +5 -3
- package/es/schemas/index.ts +6 -2
- package/es/schemas/project-schema/latest.json +43 -8
- package/es/schemas/project-schema/meta-schema-v3.0.0.json +1 -1
- package/es/schemas/project-schema/meta-schema-v3.1.0.json +1 -1
- package/es/schemas/project-schema/meta-schema-v3.2.0.json +1 -1
- package/es/schemas/project-schema/meta-schema-v3.3.0.json +1 -1
- package/es/schemas/project-schema/meta-schema-v3.4.0.json +1 -1
- package/es/schemas/project-schema/meta-schema-v3.5.0.json +1 -1
- package/es/schemas/project-schema/meta-schema-v3.5.1.json +1 -1
- package/es/schemas/project-schema/meta-schema-v3.6.0.json +1 -1
- package/es/schemas/project-schema/meta-schema-v3.7.0.json +1 -1
- package/es/schemas/project-schema/meta-schema-v3.8.0.json +1 -1
- package/es/schemas/project-schema/meta-schema-v3.9.0.json +1 -1
- package/es/schemas/project-schema/v1.0.0.json +1 -1
- package/es/schemas/project-schema/v3.0.0.json +2 -2
- package/es/schemas/project-schema/v3.1.0.json +4 -4
- package/es/schemas/project-schema/v3.10.0.json +5 -5
- package/es/schemas/project-schema/v3.11.0.json +5 -5
- package/es/schemas/project-schema/v3.12.0.json +5 -5
- package/es/schemas/project-schema/v3.12.1.json +5 -5
- package/es/schemas/project-schema/v3.12.2.json +5 -5
- package/es/schemas/project-schema/v3.12.3.json +5 -5
- package/es/schemas/project-schema/v3.13.0.json +5 -5
- package/es/schemas/project-schema/v3.14.0.json +5 -5
- package/es/schemas/project-schema/v3.15.0.json +5 -5
- package/es/schemas/project-schema/v3.16.0.json +5 -5
- package/es/schemas/project-schema/v3.17.0.json +5 -5
- package/es/schemas/project-schema/v3.17.1.json +5 -5
- package/es/schemas/project-schema/v3.18.0.json +5 -5
- package/es/schemas/project-schema/v3.18.1.json +5 -5
- package/es/schemas/project-schema/v3.18.2.json +5 -5
- package/es/schemas/project-schema/v3.19.0.json +5 -5
- package/es/schemas/project-schema/v3.2.0.json +4 -4
- package/es/schemas/project-schema/v3.20.0.json +5 -5
- package/es/schemas/project-schema/v3.21.0.json +5 -5
- package/es/schemas/project-schema/v3.22.0.json +5 -5
- package/es/schemas/project-schema/v3.23.0.json +5 -5
- package/es/schemas/project-schema/v3.24.0.json +5 -5
- package/es/schemas/project-schema/v3.25.0.json +5 -5
- package/es/schemas/project-schema/v3.26.0.json +6 -6
- package/es/schemas/project-schema/v3.27.0.json +6 -6
- package/es/schemas/project-schema/v3.28.0.json +5 -5
- package/es/schemas/project-schema/v3.29.0.json +5 -5
- package/es/schemas/project-schema/v3.3.0.json +4 -4
- package/es/schemas/project-schema/v3.30.0.json +5 -5
- package/es/schemas/project-schema/v3.31.0.json +6 -6
- package/es/schemas/project-schema/v3.32.0.json +6 -6
- package/es/schemas/project-schema/v3.33.0.json +6 -6
- package/es/schemas/project-schema/v3.34.0.json +3088 -0
- package/es/schemas/project-schema/v3.35.0.json +3123 -0
- package/es/schemas/project-schema/v3.4.0.json +4 -4
- package/es/schemas/project-schema/v3.5.0.json +4 -4
- package/es/schemas/project-schema/v3.5.1.json +4 -4
- package/es/schemas/project-schema/v3.6.0.json +4 -4
- package/es/schemas/project-schema/v3.7.0.json +4 -4
- package/es/schemas/project-schema/v3.8.0.json +4 -4
- package/es/schemas/project-schema/v3.9.0.json +4 -4
- package/es/schemas/project-schema/v4.0.0.json +5 -5
- package/es/schemas/project-schema.json +6 -0
- package/es/services.js +3 -3
- package/es/types/utils.js +3 -0
- package/es/util/get-return-shape.js +3 -0
- package/es/validate.js +85 -6
- package/examples/latest/betzino.json +2012 -1756
- package/examples/latest/blog-schema.json +1 -1
- package/examples/latest/brewery-schema.json +31 -26
- package/examples/latest/complex-project-schema.json +645 -480
- package/examples/latest/complex-schema.json +866 -671
- package/examples/latest/fabric-ecommerce.json +7 -38
- package/examples/latest/frank-and-fred-schema.json +866 -671
- package/examples/latest/klirr-schema.json +1641 -1264
- package/examples/latest/massive-schema.json +897 -681
- package/examples/latest/mill-components-schema.json +1 -1
- package/examples/latest/one-earth.json +3012 -2462
- package/examples/latest/pet-oneof-array.json +1 -1
- package/examples/latest/post-schema.json +1 -1
- package/examples/latest/pruned-shopify-product-schema.json +1 -1
- package/examples/latest/real-world-schema.json +19 -14
- package/examples/latest/recursive-repeater-schema.json +1 -1
- package/examples/latest/recursive-schema.json +1 -1
- package/examples/latest/rick-and-morty-ast.json +39 -226
- package/examples/latest/rick-and-morty-graphql.json +35 -222
- package/examples/latest/rick-and-morty-rest.json +1 -1
- package/examples/latest/schema-with-repeater-draftjs.json +1 -1
- package/examples/latest/shape-books-v3_2_0.json +19 -14
- package/examples/latest/shape-books.json +19 -14
- package/examples/latest/shape-editor-schema-edited.json +1 -1
- package/examples/latest/shape-editor-schema-initial.json +2 -2
- package/examples/latest/shopify-lookbook.json +9 -39
- package/examples/latest/shopify-product-2022-07.json +21 -213
- package/examples/latest/shopify-product-2023-04.json +21 -213
- package/examples/latest/shopify-store-with-widget.json +97 -360
- package/examples/latest/stripe-product-runtime-schema.json +21 -213
- package/examples/latest/stripe-starter-resolved.json +21 -213
- package/examples/latest/user-schema-no-required.json +1 -1
- package/examples/latest/user-schema-with-defaults.json +1 -1
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProjectSchemaJSONV3_17_1, ProjectSchemaJSONV3_18_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_17_1, ProjectSchemaJSONV3_18_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.18.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.18.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.18.0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"v3.18.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.18.0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EAGzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAM9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAiEhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProjectSchemaJSONV3_18_0, ProjectSchemaJSONV3_18_1 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_18_0, ProjectSchemaJSONV3_18_1>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.18.1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.18.1.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.18.1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"v3.18.1.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.18.1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EAGzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAM9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAUhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProjectSchemaJSONV3_18_1, ProjectSchemaJSONV3_18_2 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_18_1, ProjectSchemaJSONV3_18_2>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.18.2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.18.2.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.18.2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.18.2.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.18.2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AAC7F,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAiB9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAKhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectSchemaJSONV3_18_2, ProjectSchemaJSONV3_19_0 } from '../..';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_18_2, ProjectSchemaJSONV3_19_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.19.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.19.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.19.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.19.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.19.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,OAAO,CAAC;AACzE,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAQhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProjectSchemaJSONV3_1_0, ProjectSchemaJSONV3_2_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_1_0, ProjectSchemaJSONV3_2_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.2.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.2.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.2.0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.2.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.2.0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,uBAAuB,EAAE,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAC3F,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,uBAAuB,EAAE,uBAAuB,CAQ9E,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProjectSchemaJSONV3_19_0, ProjectSchemaJSONV3_20_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_19_0, ProjectSchemaJSONV3_20_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.20.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.20.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.20.0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.20.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.20.0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AAC7F,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAmB9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAKhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectSchemaJSONV3_20_0, ProjectSchemaJSONV3_21_0 } from '../..';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_20_0, ProjectSchemaJSONV3_21_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.21.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.21.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.21.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.21.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.21.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,OAAO,CAAC;AACzE,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAQhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectSchemaJSONV3_21_0, ProjectSchemaJSONV3_22_0 } from '../..';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_21_0, ProjectSchemaJSONV3_22_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.22.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.22.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.22.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,
|
|
1
|
+
{"version":3,"file":"v3.22.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.22.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,OAAO,CAAC;AACpG,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAI9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAwBhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectSchemaJSONV3_22_0, ProjectSchemaJSONV3_23_0 } from '../..';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_22_0, ProjectSchemaJSONV3_23_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.23.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.23.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.23.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.23.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.23.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,OAAO,CAAC;AACzE,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAQhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectSchemaJSONV3_23_0, ProjectSchemaJSONV3_24_0 } from '../..';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_23_0, ProjectSchemaJSONV3_24_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.24.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.24.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.24.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.24.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.24.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,OAAO,CAAC;AACzE,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAUhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectSchemaJSONV3_24_0, ProjectSchemaJSONV3_25_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_24_0, ProjectSchemaJSONV3_25_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.25.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.25.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.25.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.25.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.25.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAUhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectSchemaJSONV3_25_0, ProjectSchemaJSONV3_26_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_25_0, ProjectSchemaJSONV3_26_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.26.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.26.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.26.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.26.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.26.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAQhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectSchemaJSONV3_26_0, ProjectSchemaJSONV3_27_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_26_0, ProjectSchemaJSONV3_27_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.27.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.27.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.27.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.27.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.27.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAQhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectSchemaJSONV3_27_0, ProjectSchemaJSONV3_28_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_27_0, ProjectSchemaJSONV3_28_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.28.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.28.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.28.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.28.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.28.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAQhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectSchemaJSONV3_28_0, ProjectSchemaJSONV3_29_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_28_0, ProjectSchemaJSONV3_29_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.29.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.29.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.29.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.29.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.29.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAQhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProjectSchemaJSONV3_2_0, ProjectSchemaJSONV3_3_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_2_0, ProjectSchemaJSONV3_3_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.3.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.3.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.3.0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.3.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.3.0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,uBAAuB,EAAE,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAC3F,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,uBAAuB,EAAE,uBAAuB,CAY9E,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectSchemaJSONV3_29_0, ProjectSchemaJSONV3_30_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_29_0, ProjectSchemaJSONV3_30_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.30.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.30.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.30.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.30.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.30.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAQhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectSchemaJSONV3_30_0, ProjectSchemaJSONV3_31_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_30_0, ProjectSchemaJSONV3_31_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.31.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.31.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.31.0.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.31.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.31.0.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAW9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAwBhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectSchemaJSONV3_31_0, ProjectSchemaJSONV3_32_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_31_0, ProjectSchemaJSONV3_32_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.32.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.32.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.32.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,
|
|
1
|
+
{"version":3,"file":"v3.32.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.32.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,wBAAwB,EACxB,wBAAwB,EAKzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAoC9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAgChF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectSchemaJSONV3_32_0, ProjectSchemaJSONV3_33_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_32_0, ProjectSchemaJSONV3_33_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.33.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.33.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.33.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.33.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.33.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAQhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FormMapV3_33_0, ProjectSchemaJSONV3_33_0, ProjectSchemaJSONV3_34_0 } from '../../project-schema';
|
|
2
|
+
import type { MigrateFunction } from '../types';
|
|
3
|
+
export declare function normalizeForms(projectSchema: ProjectSchemaJSONV3_33_0): FormMapV3_33_0;
|
|
4
|
+
export declare function migrateInterfaceShapes(projectSchema: ProjectSchemaJSONV3_33_0): ProjectSchemaJSONV3_33_0;
|
|
5
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_33_0, ProjectSchemaJSONV3_34_0>;
|
|
6
|
+
export default migrate;
|
|
7
|
+
//# sourceMappingURL=v3.34.0.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v3.34.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.34.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAsB9C,wBAAgB,cAAc,CAAC,aAAa,EAAE,wBAAwB,GAAG,cAAc,CAiDtF;AAED,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,wBAAwB,GAAG,wBAAwB,CAoDxG;AAED,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAwBhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
exports.migrateInterfaceShapes = migrateInterfaceShapes;
|
|
8
|
+
exports.normalizeForms = normalizeForms;
|
|
9
|
+
|
|
10
|
+
var _util = require("@takeshape/util");
|
|
11
|
+
|
|
12
|
+
var _schemaUtil = require("../../schema-util");
|
|
13
|
+
|
|
14
|
+
var _refs = require("../../refs");
|
|
15
|
+
|
|
16
|
+
var _upperFirst = _interopRequireDefault(require("lodash/upperFirst"));
|
|
17
|
+
|
|
18
|
+
var _set = _interopRequireDefault(require("lodash/fp/set"));
|
|
19
|
+
|
|
20
|
+
var _unset = _interopRequireDefault(require("lodash/fp/unset"));
|
|
21
|
+
|
|
22
|
+
var _services = require("../../services");
|
|
23
|
+
|
|
24
|
+
var _schemas = require("../../schemas");
|
|
25
|
+
|
|
26
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
|
+
|
|
28
|
+
// Inline utilities for posterity
|
|
29
|
+
function refItemToShapeName(refItem) {
|
|
30
|
+
const {
|
|
31
|
+
serviceNamespace,
|
|
32
|
+
typeName
|
|
33
|
+
} = refItem;
|
|
34
|
+
return serviceNamespace ? `${serviceNamespace}_${typeName}` : typeName;
|
|
35
|
+
} // Map of form studio widgets and their replacements in the shape editor
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
const widgetMigrations = {
|
|
39
|
+
object: 'shapeObject',
|
|
40
|
+
repeater: 'shapeArray'
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
function normalizeForms(projectSchema) {
|
|
44
|
+
const normalizedForms = {};
|
|
45
|
+
const {
|
|
46
|
+
forms = {}
|
|
47
|
+
} = projectSchema;
|
|
48
|
+
|
|
49
|
+
const storeSourceForm = (shapeName, formConfig, propName) => {
|
|
50
|
+
if (!normalizedForms[shapeName]) {
|
|
51
|
+
normalizedForms[shapeName] = {
|
|
52
|
+
default: (0, _util.deepClone)(formConfig)
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
const propConfig = normalizedForms[shapeName].default.properties[propName];
|
|
57
|
+
delete propConfig.properties;
|
|
58
|
+
delete propConfig.order;
|
|
59
|
+
propConfig.widget = widgetMigrations[propConfig.widget] ?? propConfig.widget;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
const normalizeNested = (shapeName, formConfig) => {
|
|
63
|
+
const shape = projectSchema.shapes[shapeName];
|
|
64
|
+
|
|
65
|
+
if (!shape || !formConfig.properties) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const propertyAccessor = (0, _schemaUtil.createSchemaPropertyAccessor)(projectSchema, shape);
|
|
70
|
+
|
|
71
|
+
for (const propName of Object.keys(formConfig.properties)) {
|
|
72
|
+
const propConfig = formConfig.properties[propName];
|
|
73
|
+
const propSchema = propertyAccessor.getValue(propName);
|
|
74
|
+
|
|
75
|
+
if (propSchema) {
|
|
76
|
+
const ref = (0, _refs.getRefOrItemsRef)(projectSchema, propSchema);
|
|
77
|
+
|
|
78
|
+
if (ref && propConfig.properties && propConfig.widget !== 'shopify') {
|
|
79
|
+
const nestedShapeName = refItemToShapeName(ref);
|
|
80
|
+
normalizedForms[nestedShapeName] = {
|
|
81
|
+
default: (0, _util.deepClone)(propConfig)
|
|
82
|
+
};
|
|
83
|
+
storeSourceForm(shapeName, formConfig, propName);
|
|
84
|
+
normalizeNested(nestedShapeName, propConfig);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
if (forms) {
|
|
91
|
+
for (const shapeName of Object.keys(forms)) {
|
|
92
|
+
normalizeNested(shapeName, forms[shapeName].default); // copy forms with no changes
|
|
93
|
+
|
|
94
|
+
if (!normalizedForms[shapeName]) {
|
|
95
|
+
normalizedForms[shapeName] = forms[shapeName];
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
return normalizedForms;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function migrateInterfaceShapes(projectSchema) {
|
|
104
|
+
let updatedProjectSchema = projectSchema;
|
|
105
|
+
|
|
106
|
+
for (const shape of Object.values(projectSchema.shapes)) {
|
|
107
|
+
if (!shape.model) {
|
|
108
|
+
continue;
|
|
109
|
+
} // Set the schema version to the current to appease type check this line will eventually break as the schema diverges
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
const serviceObjectFields = (0, _services.getServiceObjectFields)({ ...projectSchema,
|
|
113
|
+
schemaVersion: _schemas.CURRENT_SCHEMA_VERSION
|
|
114
|
+
}, shape, 'shopify');
|
|
115
|
+
|
|
116
|
+
for (const field of serviceObjectFields) {
|
|
117
|
+
const {
|
|
118
|
+
fieldName,
|
|
119
|
+
service
|
|
120
|
+
} = field;
|
|
121
|
+
const {
|
|
122
|
+
serviceObjectType
|
|
123
|
+
} = field.generators[_schemaUtil.SERVICE_OBJECT_PATTERN_NAME];
|
|
124
|
+
const serviceShapeName = (0, _upperFirst.default)(serviceObjectType);
|
|
125
|
+
const interfaceShapeName = `${serviceShapeName}Interface`;
|
|
126
|
+
updatedProjectSchema = (0, _unset.default)(['shapes', interfaceShapeName], updatedProjectSchema);
|
|
127
|
+
|
|
128
|
+
if ('type' in shape.schema && shape.schema.type === 'object') {
|
|
129
|
+
const prop = shape.schema.properties[fieldName];
|
|
130
|
+
|
|
131
|
+
if (prop) {
|
|
132
|
+
updatedProjectSchema = (0, _set.default)(['shapes', shape.name, 'schema', 'properties', fieldName, '@input'], {
|
|
133
|
+
'@ref': `${service}:${serviceShapeName}Input`
|
|
134
|
+
}, updatedProjectSchema);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
for (const [mutationName, mutation] of Object.entries(projectSchema.mutations)) {
|
|
139
|
+
if (!mutation || typeof mutation.args !== 'string') {
|
|
140
|
+
continue;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
for (const template of ['CreateArgs', 'UpdateArgs']) {
|
|
144
|
+
if (mutation.args === `${template}<${interfaceShapeName}>`) {
|
|
145
|
+
updatedProjectSchema = (0, _set.default)(['mutations', mutationName], { ...mutation,
|
|
146
|
+
args: `${template}<${serviceShapeName}>`
|
|
147
|
+
}, updatedProjectSchema);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
return updatedProjectSchema;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
const migrate = async (_, projectSchema) => {
|
|
158
|
+
let normalized = projectSchema;
|
|
159
|
+
|
|
160
|
+
try {
|
|
161
|
+
normalized = { ...projectSchema,
|
|
162
|
+
forms: normalizeForms(projectSchema)
|
|
163
|
+
};
|
|
164
|
+
} catch (e) {
|
|
165
|
+
// TODO remove console.log when a formal warning mechanism is added https://app.shortcut.com/takeshape/story/11533/return-warnings-from-schema-migration
|
|
166
|
+
// eslint-disable-next-line no-console
|
|
167
|
+
console.log(`v3.34.0 migration warning: Failed to normalize forms`, e.message);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
try {
|
|
171
|
+
normalized = migrateInterfaceShapes(normalized);
|
|
172
|
+
} catch (e) {
|
|
173
|
+
// eslint-disable-next-line no-console
|
|
174
|
+
console.log(`v3.34.0 migration warning: Failed to migrate interface shapes`, e.message);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
return { ...normalized,
|
|
178
|
+
schemaVersion: '3.34.0'
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
var _default = migrate;
|
|
183
|
+
exports.default = _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ProjectSchemaJSONV3_34_0, ProjectSchemaJSONV3_35_0 } from '../../project-schema';
|
|
2
|
+
import type { MigrateFunction } from '../types';
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_34_0, ProjectSchemaJSONV3_35_0>;
|
|
4
|
+
export default migrate;
|
|
5
|
+
//# sourceMappingURL=v3.35.0.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v3.35.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.35.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,wBAAwB,EAAE,wBAAwB,CAQhF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
const migrate = async (_, projectSchema) => {
|
|
9
|
+
/**
|
|
10
|
+
* No migration needed all changes are backwards compatible.
|
|
11
|
+
*/
|
|
12
|
+
return { ...projectSchema,
|
|
13
|
+
schemaVersion: '3.35.0'
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
var _default = migrate;
|
|
18
|
+
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProjectSchemaJSONV3_3_0, ProjectSchemaJSONV3_4_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_3_0, ProjectSchemaJSONV3_4_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.4.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.4.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.4.0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.4.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.4.0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,uBAAuB,EAAE,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAC3F,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,uBAAuB,EAAE,uBAAuB,CAQ9E,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProjectSchemaJSONV3_4_0, ProjectSchemaJSONV3_5_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_4_0, ProjectSchemaJSONV3_5_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.5.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.5.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.5.0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.5.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.5.0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,uBAAuB,EAAE,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAC3F,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,uBAAuB,EAAE,uBAAuB,CAQ9E,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProjectSchemaJSONV3_5_0, ProjectSchemaJSONV3_5_1 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_5_0, ProjectSchemaJSONV3_5_1>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.5.1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.5.1.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.5.1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.5.1.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.5.1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,uBAAuB,EAAE,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAC3F,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,uBAAuB,EAAE,uBAAuB,CAQ9E,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProjectSchemaJSONV3_5_1, ProjectSchemaJSONV3_6_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_5_1, ProjectSchemaJSONV3_6_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.6.0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v3.6.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.6.0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"v3.6.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.6.0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,uBAAuB,EAAE,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAC3F,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,uBAAuB,EAAE,uBAAuB,CAQ9E,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProjectSchemaJSONV3_6_0, ProjectSchemaJSONV3_7_0 } from '../../project-schema';
|
|
2
2
|
import type { MigrateFunction } from '../types';
|
|
3
|
-
declare const migrate: MigrateFunction<
|
|
3
|
+
declare const migrate: MigrateFunction<ProjectSchemaJSONV3_6_0, ProjectSchemaJSONV3_7_0>;
|
|
4
4
|
export default migrate;
|
|
5
5
|
//# sourceMappingURL=v3.7.0.d.ts.map
|