@takeshape/schema 11.45.5 → 11.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/agents.js +6 -6
- package/dist/cjs/src/api-version.js +1 -1
- package/dist/cjs/src/content-schema-transform.js +12 -12
- package/dist/cjs/src/create-input-schema.js +1 -1
- package/dist/cjs/src/enum.js +1 -1
- package/dist/cjs/src/flatten-templates.js +4 -4
- package/dist/cjs/src/get-is-leaf.js +1 -1
- package/dist/cjs/src/interfaces.js +11 -9
- package/dist/cjs/src/layers/layers.js +11 -5
- package/dist/cjs/src/layers/refs.js +3 -3
- package/dist/cjs/src/layers/type-utils.js +1 -1
- package/dist/cjs/src/migration/index.js +3 -1
- package/dist/cjs/src/migration/to/v3.0.0.js +20 -8
- package/dist/cjs/src/migration/to/v3.1.0.js +6 -4
- package/dist/cjs/src/migration/to/v3.10.0.js +1 -1
- package/dist/cjs/src/migration/to/v3.13.0.js +1 -1
- package/dist/cjs/src/migration/to/v3.17.0.js +1 -1
- package/dist/cjs/src/migration/to/v3.18.0.js +4 -4
- package/dist/cjs/src/migration/to/v3.18.1.js +1 -1
- package/dist/cjs/src/migration/to/v3.18.2.js +1 -1
- package/dist/cjs/src/migration/to/v3.20.0.js +5 -2
- package/dist/cjs/src/migration/to/v3.22.0.js +1 -1
- package/dist/cjs/src/migration/to/v3.31.0.js +2 -2
- package/dist/cjs/src/migration/to/v3.32.0.js +3 -1
- package/dist/cjs/src/migration/to/v3.34.0.js +6 -9
- package/dist/cjs/src/migration/to/v3.36.0.js +1 -1
- package/dist/cjs/src/migration/to/v3.39.0.js +8 -8
- package/dist/cjs/src/migration/to/v3.40.0.js +1 -1
- package/dist/cjs/src/migration/to/v3.46.0.js +1 -1
- package/dist/cjs/src/migration/to/v3.51.0.js +12 -0
- package/dist/cjs/src/migration/to/v3.9.0.js +3 -3
- package/dist/cjs/src/models/project-schema.js +4 -4
- package/dist/cjs/src/models/shape.js +2 -2
- package/dist/cjs/src/project-schema/index.js +4 -2
- package/dist/cjs/src/project-schema/migrate.js +3 -1
- package/dist/cjs/src/project-schema/v3.51.0.js +8 -0
- package/dist/cjs/src/refs.js +28 -18
- package/dist/cjs/src/relationships.js +25 -20
- package/dist/cjs/src/runtime-schema.js +16 -9
- package/dist/cjs/src/schema-transform.js +3 -3
- package/dist/cjs/src/schema-util.js +38 -30
- package/dist/cjs/src/schemas/auth-schemas.json +18 -78
- package/dist/cjs/src/schemas/index.js +18 -16
- package/dist/cjs/src/schemas/project-schema/experimental.json +7 -20
- package/dist/cjs/src/schemas/project-schema/latest.json +166 -566
- package/dist/cjs/src/schemas/project-schema/meta-schema-v1.0.0.json +3 -17
- package/dist/cjs/src/schemas/project-schema/meta-schema-v3.0.0.json +4 -4
- package/dist/cjs/src/schemas/project-schema/meta-schema-v3.1.0.json +4 -4
- package/dist/cjs/src/schemas/project-schema/meta-schema-v3.2.0.json +5 -5
- package/dist/cjs/src/schemas/project-schema/meta-schema-v3.3.0.json +5 -5
- package/dist/cjs/src/schemas/project-schema/meta-schema-v3.4.0.json +11 -43
- package/dist/cjs/src/schemas/project-schema/meta-schema-v3.5.0.json +7 -7
- package/dist/cjs/src/schemas/project-schema/meta-schema-v3.5.1.json +8 -11
- package/dist/cjs/src/schemas/project-schema/meta-schema-v3.6.0.json +8 -11
- package/dist/cjs/src/schemas/project-schema/meta-schema-v3.7.0.json +11 -9
- package/dist/cjs/src/schemas/project-schema/meta-schema-v3.8.0.json +11 -9
- package/dist/cjs/src/schemas/project-schema/meta-schema-v3.9.0.json +24 -22
- package/dist/cjs/src/schemas/project-schema/v1.0.0.json +3 -3
- package/dist/cjs/src/schemas/project-schema/v3.0.0.json +1 -1
- package/dist/cjs/src/schemas/project-schema/v3.1.0.json +2 -2
- package/dist/cjs/src/schemas/project-schema/v3.10.0.json +32 -30
- package/dist/cjs/src/schemas/project-schema/v3.11.0.json +32 -30
- package/dist/cjs/src/schemas/project-schema/v3.12.0.json +33 -36
- package/dist/cjs/src/schemas/project-schema/v3.12.1.json +33 -36
- package/dist/cjs/src/schemas/project-schema/v3.12.2.json +2122 -2125
- package/dist/cjs/src/schemas/project-schema/v3.12.3.json +2175 -2178
- package/dist/cjs/src/schemas/project-schema/v3.13.0.json +32 -30
- package/dist/cjs/src/schemas/project-schema/v3.14.0.json +32 -30
- package/dist/cjs/src/schemas/project-schema/v3.15.0.json +40 -38
- package/dist/cjs/src/schemas/project-schema/v3.16.0.json +40 -38
- package/dist/cjs/src/schemas/project-schema/v3.17.0.json +47 -39
- package/dist/cjs/src/schemas/project-schema/v3.17.1.json +2204 -2196
- package/dist/cjs/src/schemas/project-schema/v3.18.0.json +40 -38
- package/dist/cjs/src/schemas/project-schema/v3.18.1.json +40 -38
- package/dist/cjs/src/schemas/project-schema/v3.18.2.json +40 -38
- package/dist/cjs/src/schemas/project-schema/v3.19.0.json +40 -38
- package/dist/cjs/src/schemas/project-schema/v3.2.0.json +1 -1
- package/dist/cjs/src/schemas/project-schema/v3.20.0.json +40 -38
- package/dist/cjs/src/schemas/project-schema/v3.21.0.json +41 -39
- package/dist/cjs/src/schemas/project-schema/v3.22.0.json +41 -39
- package/dist/cjs/src/schemas/project-schema/v3.23.0.json +43 -43
- package/dist/cjs/src/schemas/project-schema/v3.24.0.json +105 -458
- package/dist/cjs/src/schemas/project-schema/v3.25.0.json +105 -458
- package/dist/cjs/src/schemas/project-schema/v3.26.0.json +107 -466
- package/dist/cjs/src/schemas/project-schema/v3.27.0.json +107 -466
- package/dist/cjs/src/schemas/project-schema/v3.28.0.json +112 -471
- package/dist/cjs/src/schemas/project-schema/v3.29.0.json +112 -471
- package/dist/cjs/src/schemas/project-schema/v3.3.0.json +1 -1
- package/dist/cjs/src/schemas/project-schema/v3.30.0.json +112 -472
- package/dist/cjs/src/schemas/project-schema/v3.31.0.json +112 -486
- package/dist/cjs/src/schemas/project-schema/v3.32.0.json +113 -488
- package/dist/cjs/src/schemas/project-schema/v3.33.0.json +113 -488
- package/dist/cjs/src/schemas/project-schema/v3.34.0.json +113 -488
- package/dist/cjs/src/schemas/project-schema/v3.35.0.json +114 -491
- package/dist/cjs/src/schemas/project-schema/v3.36.0.json +114 -491
- package/dist/cjs/src/schemas/project-schema/v3.37.0.json +118 -511
- package/dist/cjs/src/schemas/project-schema/v3.38.0.json +118 -511
- package/dist/cjs/src/schemas/project-schema/v3.39.0.json +118 -511
- package/dist/cjs/src/schemas/project-schema/v3.4.0.json +1 -1
- package/dist/cjs/src/schemas/project-schema/v3.40.0.json +118 -512
- package/dist/cjs/src/schemas/project-schema/v3.41.0.json +118 -512
- package/dist/cjs/src/schemas/project-schema/v3.42.0.json +118 -512
- package/dist/cjs/src/schemas/project-schema/v3.43.0.json +118 -512
- package/dist/cjs/src/schemas/project-schema/v3.44.0.json +125 -540
- package/dist/cjs/src/schemas/project-schema/v3.45.0.json +128 -554
- package/dist/cjs/src/schemas/project-schema/v3.46.0.json +129 -560
- package/dist/cjs/src/schemas/project-schema/v3.47.0.json +131 -568
- package/dist/cjs/src/schemas/project-schema/v3.48.0.json +132 -572
- package/dist/cjs/src/schemas/project-schema/v3.49.0.json +132 -558
- package/dist/cjs/src/schemas/project-schema/v3.5.0.json +1 -1
- package/dist/cjs/src/schemas/project-schema/v3.5.1.json +1 -1
- package/dist/cjs/src/schemas/project-schema/v3.50.0.json +165 -565
- package/dist/cjs/src/schemas/project-schema/v3.51.0.json +3320 -0
- package/dist/cjs/src/schemas/project-schema/v3.6.0.json +1 -1
- package/dist/cjs/src/schemas/project-schema/v3.7.0.json +1 -1
- package/dist/cjs/src/schemas/project-schema/v3.8.0.json +1 -1
- package/dist/cjs/src/schemas/project-schema/v3.9.0.json +1 -1
- package/dist/cjs/src/schemas/project-schema/v4.0.0.json +31 -29
- package/dist/cjs/src/schemas/project-schema.json +3 -0
- package/dist/cjs/src/schemas/user-schema.json +2 -9
- package/dist/cjs/src/service-dependencies.js +15 -9
- package/dist/cjs/src/services/services.js +12 -11
- package/dist/cjs/src/services/util.js +4 -4
- package/dist/cjs/src/template-shapes/templates.js +18 -12
- package/dist/cjs/src/template-shapes/where.js +23 -14
- package/dist/cjs/src/types/utils.js +3 -3
- package/dist/cjs/src/unions.js +6 -8
- package/dist/cjs/src/util/api-indexing.js +4 -4
- package/dist/cjs/src/util/detect-cycles.js +2 -2
- package/dist/cjs/src/util/find-shape-at-path.js +1 -1
- package/dist/cjs/src/util/form-config.js +0 -1
- package/dist/cjs/src/util/get-conflicting-properties.js +1 -1
- package/dist/cjs/src/util/merge.js +22 -13
- package/dist/cjs/src/util/patch-schema.js +2 -2
- package/dist/cjs/src/util/shapes.js +2 -2
- package/dist/cjs/src/validate.js +64 -47
- package/dist/cjs/src/workflows.js +4 -4
- package/dist/esm/src/agents.js +6 -6
- package/dist/esm/src/api-version.js +1 -1
- package/dist/esm/src/content-schema-transform.js +12 -12
- package/dist/esm/src/create-input-schema.js +1 -1
- package/dist/esm/src/enum.js +1 -1
- package/dist/esm/src/flatten-templates.js +4 -4
- package/dist/esm/src/get-is-leaf.js +1 -1
- package/dist/esm/src/interfaces.js +12 -10
- package/dist/esm/src/layers/layers.js +12 -6
- package/dist/esm/src/layers/refs.js +3 -3
- package/dist/esm/src/layers/type-utils.js +1 -1
- package/dist/esm/src/migration/index.js +3 -1
- package/dist/esm/src/migration/to/v3.0.0.js +20 -8
- package/dist/esm/src/migration/to/v3.1.0.js +6 -4
- package/dist/esm/src/migration/to/v3.10.0.js +1 -1
- package/dist/esm/src/migration/to/v3.13.0.js +1 -1
- package/dist/esm/src/migration/to/v3.17.0.js +1 -1
- package/dist/esm/src/migration/to/v3.18.0.js +4 -4
- package/dist/esm/src/migration/to/v3.18.1.js +1 -1
- package/dist/esm/src/migration/to/v3.18.2.js +1 -1
- package/dist/esm/src/migration/to/v3.20.0.js +5 -2
- package/dist/esm/src/migration/to/v3.22.0.js +1 -1
- package/dist/esm/src/migration/to/v3.31.0.js +2 -2
- package/dist/esm/src/migration/to/v3.32.0.js +3 -1
- package/dist/esm/src/migration/to/v3.34.0.js +6 -9
- package/dist/esm/src/migration/to/v3.36.0.js +1 -1
- package/dist/esm/src/migration/to/v3.39.0.js +8 -8
- package/dist/esm/src/migration/to/v3.40.0.js +1 -1
- package/dist/esm/src/migration/to/v3.46.0.js +1 -1
- package/dist/esm/src/migration/to/v3.51.0.js +10 -0
- package/dist/esm/src/migration/to/v3.9.0.js +3 -3
- package/dist/esm/src/mocks.js +1 -1
- package/dist/esm/src/models/project-schema.js +4 -4
- package/dist/esm/src/models/shape.js +2 -2
- package/dist/esm/src/project-schema/index.js +3 -1
- package/dist/esm/src/project-schema/migrate.js +4 -2
- package/dist/esm/src/project-schema/v3.51.0.js +7 -0
- package/dist/esm/src/refs.js +29 -19
- package/dist/esm/src/relationships.js +26 -21
- package/dist/esm/src/runtime-schema.js +16 -9
- package/dist/esm/src/schema-transform.js +3 -3
- package/dist/esm/src/schema-util.js +40 -32
- package/dist/esm/src/schemas/auth-schemas.json +18 -78
- package/dist/esm/src/schemas/index.js +15 -13
- package/dist/esm/src/schemas/project-schema/experimental.json +7 -20
- package/dist/esm/src/schemas/project-schema/latest.json +166 -566
- package/dist/esm/src/schemas/project-schema/meta-schema-v1.0.0.json +3 -17
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.0.0.json +4 -4
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.1.0.json +4 -4
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.2.0.json +5 -5
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.3.0.json +5 -5
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.4.0.json +11 -43
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.0.json +7 -7
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.1.json +8 -11
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.6.0.json +8 -11
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.7.0.json +11 -9
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.8.0.json +11 -9
- package/dist/esm/src/schemas/project-schema/meta-schema-v3.9.0.json +24 -22
- package/dist/esm/src/schemas/project-schema/v1.0.0.json +3 -3
- package/dist/esm/src/schemas/project-schema/v3.0.0.json +1 -1
- package/dist/esm/src/schemas/project-schema/v3.1.0.json +2 -2
- package/dist/esm/src/schemas/project-schema/v3.10.0.json +32 -30
- package/dist/esm/src/schemas/project-schema/v3.11.0.json +32 -30
- package/dist/esm/src/schemas/project-schema/v3.12.0.json +33 -36
- package/dist/esm/src/schemas/project-schema/v3.12.1.json +33 -36
- package/dist/esm/src/schemas/project-schema/v3.12.2.json +2122 -2125
- package/dist/esm/src/schemas/project-schema/v3.12.3.json +2175 -2178
- package/dist/esm/src/schemas/project-schema/v3.13.0.json +32 -30
- package/dist/esm/src/schemas/project-schema/v3.14.0.json +32 -30
- package/dist/esm/src/schemas/project-schema/v3.15.0.json +40 -38
- package/dist/esm/src/schemas/project-schema/v3.16.0.json +40 -38
- package/dist/esm/src/schemas/project-schema/v3.17.0.json +47 -39
- package/dist/esm/src/schemas/project-schema/v3.17.1.json +2204 -2196
- package/dist/esm/src/schemas/project-schema/v3.18.0.json +40 -38
- package/dist/esm/src/schemas/project-schema/v3.18.1.json +40 -38
- package/dist/esm/src/schemas/project-schema/v3.18.2.json +40 -38
- package/dist/esm/src/schemas/project-schema/v3.19.0.json +40 -38
- package/dist/esm/src/schemas/project-schema/v3.2.0.json +1 -1
- package/dist/esm/src/schemas/project-schema/v3.20.0.json +40 -38
- package/dist/esm/src/schemas/project-schema/v3.21.0.json +41 -39
- package/dist/esm/src/schemas/project-schema/v3.22.0.json +41 -39
- package/dist/esm/src/schemas/project-schema/v3.23.0.json +43 -43
- package/dist/esm/src/schemas/project-schema/v3.24.0.json +105 -458
- package/dist/esm/src/schemas/project-schema/v3.25.0.json +105 -458
- package/dist/esm/src/schemas/project-schema/v3.26.0.json +107 -466
- package/dist/esm/src/schemas/project-schema/v3.27.0.json +107 -466
- package/dist/esm/src/schemas/project-schema/v3.28.0.json +112 -471
- package/dist/esm/src/schemas/project-schema/v3.29.0.json +112 -471
- package/dist/esm/src/schemas/project-schema/v3.3.0.json +1 -1
- package/dist/esm/src/schemas/project-schema/v3.30.0.json +112 -472
- package/dist/esm/src/schemas/project-schema/v3.31.0.json +112 -486
- package/dist/esm/src/schemas/project-schema/v3.32.0.json +113 -488
- package/dist/esm/src/schemas/project-schema/v3.33.0.json +113 -488
- package/dist/esm/src/schemas/project-schema/v3.34.0.json +113 -488
- package/dist/esm/src/schemas/project-schema/v3.35.0.json +114 -491
- package/dist/esm/src/schemas/project-schema/v3.36.0.json +114 -491
- package/dist/esm/src/schemas/project-schema/v3.37.0.json +118 -511
- package/dist/esm/src/schemas/project-schema/v3.38.0.json +118 -511
- package/dist/esm/src/schemas/project-schema/v3.39.0.json +118 -511
- package/dist/esm/src/schemas/project-schema/v3.4.0.json +1 -1
- package/dist/esm/src/schemas/project-schema/v3.40.0.json +118 -512
- package/dist/esm/src/schemas/project-schema/v3.41.0.json +118 -512
- package/dist/esm/src/schemas/project-schema/v3.42.0.json +118 -512
- package/dist/esm/src/schemas/project-schema/v3.43.0.json +118 -512
- package/dist/esm/src/schemas/project-schema/v3.44.0.json +125 -540
- package/dist/esm/src/schemas/project-schema/v3.45.0.json +128 -554
- package/dist/esm/src/schemas/project-schema/v3.46.0.json +129 -560
- package/dist/esm/src/schemas/project-schema/v3.47.0.json +131 -568
- package/dist/esm/src/schemas/project-schema/v3.48.0.json +132 -572
- package/dist/esm/src/schemas/project-schema/v3.49.0.json +132 -558
- package/dist/esm/src/schemas/project-schema/v3.5.0.json +1 -1
- package/dist/esm/src/schemas/project-schema/v3.5.1.json +1 -1
- package/dist/esm/src/schemas/project-schema/v3.50.0.json +165 -565
- package/dist/esm/src/schemas/project-schema/v3.51.0.json +3320 -0
- package/dist/esm/src/schemas/project-schema/v3.6.0.json +1 -1
- package/dist/esm/src/schemas/project-schema/v3.7.0.json +1 -1
- package/dist/esm/src/schemas/project-schema/v3.8.0.json +1 -1
- package/dist/esm/src/schemas/project-schema/v3.9.0.json +1 -1
- package/dist/esm/src/schemas/project-schema/v4.0.0.json +31 -29
- package/dist/esm/src/schemas/project-schema.json +3 -0
- package/dist/esm/src/schemas/user-schema.json +2 -9
- package/dist/esm/src/service-dependencies.js +17 -11
- package/dist/esm/src/services/services.js +12 -11
- package/dist/esm/src/services/util.js +4 -4
- package/dist/esm/src/template-shapes/templates.js +18 -12
- package/dist/esm/src/template-shapes/where.js +24 -15
- package/dist/esm/src/types/utils.js +3 -3
- package/dist/esm/src/unions.js +6 -8
- package/dist/esm/src/util/api-indexing.js +4 -4
- package/dist/esm/src/util/detect-cycles.js +2 -2
- package/dist/esm/src/util/find-shape-at-path.js +1 -1
- package/dist/esm/src/util/form-config.js +0 -1
- package/dist/esm/src/util/get-conflicting-properties.js +1 -1
- package/dist/esm/src/util/merge.js +23 -14
- package/dist/esm/src/util/patch-schema.js +2 -2
- package/dist/esm/src/util/shapes.js +2 -2
- package/dist/esm/src/validate.js +64 -47
- package/dist/esm/src/workflows.js +4 -4
- package/dist/types/src/agents.d.ts +1 -1
- package/dist/types/src/builtin-schema.d.ts +2 -2
- package/dist/types/src/content-schema-transform.d.ts +1 -1
- package/dist/types/src/create-input-schema.d.ts +1 -1
- package/dist/types/src/enum.d.ts +1 -1
- package/dist/types/src/flatten-templates.d.ts +1 -1
- package/dist/types/src/layers/layers.d.ts +1 -1
- package/dist/types/src/layers/refs.d.ts +1 -1
- package/dist/types/src/layers/type-utils.d.ts +1 -1
- package/dist/types/src/layers/visitor.d.ts +2 -2
- package/dist/types/src/migration/index.d.ts +1 -0
- package/dist/types/src/migration/to/v3.17.1.d.ts +1 -1
- package/dist/types/src/migration/to/v3.19.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.21.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.22.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.23.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.24.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.25.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.26.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.27.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.28.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.29.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.30.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.31.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.32.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.33.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.34.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.35.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.36.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.37.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.38.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.39.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.40.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.41.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.42.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.43.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.44.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.45.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.46.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.47.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.48.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.49.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.50.0.d.ts +1 -1
- package/dist/types/src/migration/to/v3.51.0.d.ts +4 -0
- package/dist/types/src/migration/types.d.ts +1 -1
- package/dist/types/src/mocks.d.ts +1 -1
- package/dist/types/src/models/project-schema.d.ts +3 -3
- package/dist/types/src/models/query.d.ts +2 -2
- package/dist/types/src/models/service.d.ts +2 -2
- package/dist/types/src/models/shape.d.ts +2 -2
- package/dist/types/src/project-schema/index.d.ts +4 -1
- package/dist/types/src/project-schema/latest.d.ts +28 -10
- package/dist/types/src/project-schema/v3.50.0.d.ts +27 -9
- package/dist/types/src/project-schema/v3.51.0.d.ts +2189 -0
- package/dist/types/src/refs.d.ts +1 -1
- package/dist/types/src/relationships.d.ts +2 -2
- package/dist/types/src/runtime-schema.d.ts +1 -1
- package/dist/types/src/schema-transform.d.ts +1 -1
- package/dist/types/src/schema-util.d.ts +2 -2
- package/dist/types/src/schemas/index.d.ts +2 -2
- package/dist/types/src/service-dependencies.d.ts +2 -2
- package/dist/types/src/services/services.d.ts +3 -3
- package/dist/types/src/services/util.d.ts +2 -2
- package/dist/types/src/template-shapes/index.d.ts +2 -2
- package/dist/types/src/template-shapes/names.d.ts +1 -1
- package/dist/types/src/template-shapes/types.d.ts +2 -2
- package/dist/types/src/template-shapes/where.d.ts +1 -1
- package/dist/types/src/types/transforms.d.ts +1 -1
- package/dist/types/src/types/types.d.ts +4 -4
- package/dist/types/src/types/utils.d.ts +2 -2
- package/dist/types/src/unions.d.ts +2 -2
- package/dist/types/src/util/ai-tools.d.ts +1 -1
- package/dist/types/src/util/api-indexing.d.ts +1 -1
- package/dist/types/src/util/detect-cycles.d.ts +1 -1
- package/dist/types/src/util/find-shape-at-path.d.ts +1 -1
- package/dist/types/src/util/form-config.d.ts +1 -1
- package/dist/types/src/util/get-conflicting-properties.d.ts +1 -1
- package/dist/types/src/util/get-return-shape.d.ts +1 -1
- package/dist/types/src/util/has-arg.d.ts +2 -2
- package/dist/types/src/util/merge.d.ts +1 -1
- package/dist/types/src/util/patch-schema.d.ts +2 -2
- package/dist/types/src/util/shapes.d.ts +1 -1
- package/dist/types/src/validate.d.ts +4 -4
- package/dist/types/src/workflows.d.ts +1 -1
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/examples/latest/agent-schema.json +5 -13
- package/examples/latest/all-fields-shapes-inline.json +19 -53
- package/examples/latest/all-fields-shapes.json +27 -77
- package/examples/latest/betzino.json +903 -3140
- package/examples/latest/blog-schema.json +9 -29
- package/examples/latest/brewery-schema.json +8 -26
- package/examples/latest/clear-cache-schema.json +4 -8
- package/examples/latest/complex-project-schema.json +99 -360
- package/examples/latest/complex-schema.json +487 -1754
- package/examples/latest/edit-schema.json +5 -12
- package/examples/latest/fabric-ecommerce.json +188 -839
- package/examples/latest/frank-and-fred-schema.json +489 -1756
- package/examples/latest/klirr-schema.json +683 -2412
- package/examples/latest/layers/rick-and-morty-layer.json +12 -33
- package/examples/latest/layers/shopify-layer-2023-01.json +2207 -8638
- package/examples/latest/layers/shopify-storefront-2023-04.json +403 -1713
- package/examples/latest/layers/wordpress-2024-01.json +689 -2744
- package/examples/latest/massive-schema.json +132 -585
- package/examples/latest/mill-components-schema.json +30 -126
- package/examples/latest/nested-shape-arrays.json +8 -20
- package/examples/latest/one-earth.json +237 -1114
- package/examples/latest/pet-oneof-array.json +8 -23
- package/examples/latest/post-schema.json +7 -21
- package/examples/latest/pruned-shopify-product-schema.json +186 -831
- package/examples/latest/rag-example.json +6 -16
- package/examples/latest/real-world-schema.json +15 -57
- package/examples/latest/recursive-repeater-schema.json +5 -12
- package/examples/latest/recursive-schema.json +5 -12
- package/examples/latest/rick-and-morty-ast.json +46 -175
- package/examples/latest/rick-and-morty-graphql.json +26 -101
- package/examples/latest/rick-and-morty-rest.json +4 -8
- package/examples/latest/rick-and-morty-with-indexing.json +6 -14
- package/examples/latest/schema-where-filter.json +12 -41
- package/examples/latest/schema-with-repeater-draftjs.json +4 -9
- package/examples/latest/schema-with-rick-and-morty.json +3 -5
- package/examples/latest/shape-books-v3_2_0.json +18 -72
- package/examples/latest/shape-books.json +18 -72
- package/examples/latest/shape-editor-schema-edited.json +24 -70
- package/examples/latest/shape-editor-schema-initial.json +11 -29
- package/examples/latest/shapedb-crud-every-prop-type.json +9 -23
- package/examples/latest/shopify-lookbook.json +6 -20
- package/examples/latest/shopify-product-2022-07.json +727 -3218
- package/examples/latest/shopify-product-2023-04.json +1013 -4497
- package/examples/latest/shopify-store-with-widget.json +214 -943
- package/examples/latest/stripe-product-runtime-schema.json +82 -278
- package/examples/latest/stripe-starter-resolved.json +477 -1954
- package/examples/latest/user-schema-no-required.json +4 -14
- package/examples/latest/user-schema-with-defaults.json +6 -28
- package/examples/latest/valvoline-ai-demo.json +18 -70
- package/examples/latest/vector-search-schema.json +9 -25
- package/examples/source/agent-schema.json +29 -16
- package/examples/source/all-fields-shapes-inline.json +21 -30
- package/examples/source/all-fields-shapes.json +26 -76
- package/examples/source/betzino.json +1501 -4960
- package/examples/source/blog-schema.json +1 -1
- package/examples/source/brewery-schema.json +1 -1
- package/examples/source/clear-cache-schema.json +4 -4
- package/examples/source/complex-project-schema.json +196 -688
- package/examples/source/edit-schema.json +3 -3
- package/examples/source/fabric-ecommerce.json +186 -837
- package/examples/source/frank-and-fred-schema.json +1136 -3929
- package/examples/source/layers/rick-and-morty-layer.json +10 -31
- package/examples/source/layers/shopify-layer-2023-01.json +2205 -8636
- package/examples/source/layers/shopify-storefront-2023-04.json +401 -1711
- package/examples/source/layers/wordpress-2024-01.json +689 -2743
- package/examples/source/massive-schema.json +386 -1455
- package/examples/source/nested-shape-arrays.json +12 -12
- package/examples/source/pet-oneof-array.json +31 -29
- package/examples/source/post-schema.json +1 -1
- package/examples/source/pruned-shopify-product-schema.json +184 -829
- package/examples/source/rag-example.json +5 -15
- package/examples/source/real-world-schema.json +32 -119
- package/examples/source/recursive-repeater-schema.json +3 -8
- package/examples/source/recursive-schema.json +1 -1
- package/examples/source/rick-and-morty-ast.json +66 -251
- package/examples/source/rick-and-morty-graphql.json +41 -162
- package/examples/source/rick-and-morty-rest.json +24 -6
- package/examples/source/rick-and-morty-with-indexing.json +25 -25
- package/examples/source/schema-where-filter.json +29 -50
- package/examples/source/schema-with-repeater-draftjs.json +9 -31
- package/examples/source/schema-with-rick-and-morty.json +4 -4
- package/examples/source/shape-books.json +49 -181
- package/examples/source/shape-editor-schema-edited.json +22 -68
- package/examples/source/shape-editor-schema-initial.json +9 -27
- package/examples/source/shapedb-crud-every-prop-type.json +20 -29
- package/examples/source/shopify-product-2022-07.json +736 -3261
- package/examples/source/shopify-product-2023-04.json +1022 -4540
- package/examples/source/shopify-store-with-widget.json +212 -941
- package/examples/source/stripe-product-runtime-schema.json +91 -321
- package/examples/source/stripe-starter-resolved.json +475 -1952
- package/examples/source/user-schema-with-defaults.json +1 -9
- package/examples/source/valvoline-ai-demo.json +175 -219
- package/examples/source/vector-search-schema.json +37 -38
- package/examples/v4_0_0/rick-and-morty-notes/flattened-schema.json +15 -49
- package/examples/v4_0_0/rick-and-morty-notes/layers/character-notes.json +8 -8
- package/examples/v4_0_0/rick-and-morty-notes/layers/takeshape-builtins.json +1 -3
- package/examples/v4_0_0/rick-and-morty-notes/layers/takeshape-static-sites.json +19 -79
- package/examples/v4_0_0/rick-and-morty-notes/schema.json +8 -5
- package/examples/v4_0_0/shopify-lookbook/flattened-schema.json +190 -851
- package/examples/v4_0_0/shopify-lookbook/layers/andrews-store.json +1103 -4431
- package/examples/v4_0_0/shopify-lookbook/layers/lookbook.json +64 -56
- package/examples/v4_0_0/shopify-lookbook/layers/takeshape-assets.json +1 -4
- package/examples/v4_0_0/shopify-lookbook/layers/takeshape-builtins.json +1 -3
- package/examples/v4_0_0/shopify-lookbook/schema.json +3 -10
- package/package.json +12 -9
|
@@ -31,9 +31,7 @@
|
|
|
31
31
|
"widget": "singleLineText"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"order": [
|
|
35
|
-
"title"
|
|
36
|
-
]
|
|
34
|
+
"order": ["title"]
|
|
37
35
|
}
|
|
38
36
|
}
|
|
39
37
|
},
|
|
@@ -48,9 +46,7 @@
|
|
|
48
46
|
"minLength": 1
|
|
49
47
|
}
|
|
50
48
|
},
|
|
51
|
-
"required": [
|
|
52
|
-
"name"
|
|
53
|
-
]
|
|
49
|
+
"required": ["name"]
|
|
54
50
|
},
|
|
55
51
|
"single": false,
|
|
56
52
|
"name": "tag",
|
|
@@ -63,9 +59,7 @@
|
|
|
63
59
|
"widget": "singleLineText"
|
|
64
60
|
}
|
|
65
61
|
},
|
|
66
|
-
"order": [
|
|
67
|
-
"name"
|
|
68
|
-
]
|
|
62
|
+
"order": ["name"]
|
|
69
63
|
}
|
|
70
64
|
}
|
|
71
65
|
},
|
|
@@ -81,9 +75,7 @@
|
|
|
81
75
|
},
|
|
82
76
|
"featureImage": {
|
|
83
77
|
"relationship": {
|
|
84
|
-
"contentTypeIds": [
|
|
85
|
-
"ASSET"
|
|
86
|
-
]
|
|
78
|
+
"contentTypeIds": ["ASSET"]
|
|
87
79
|
},
|
|
88
80
|
"title": "Feature Image",
|
|
89
81
|
"type": "object",
|
|
@@ -91,9 +83,7 @@
|
|
|
91
83
|
"properties": {
|
|
92
84
|
"contentTypeId": {
|
|
93
85
|
"type": "string",
|
|
94
|
-
"enum": [
|
|
95
|
-
"ASSET"
|
|
96
|
-
],
|
|
86
|
+
"enum": ["ASSET"],
|
|
97
87
|
"minLength": 1
|
|
98
88
|
},
|
|
99
89
|
"id": {
|
|
@@ -101,10 +91,7 @@
|
|
|
101
91
|
"minLength": 1
|
|
102
92
|
}
|
|
103
93
|
},
|
|
104
|
-
"required": [
|
|
105
|
-
"contentTypeId",
|
|
106
|
-
"id"
|
|
107
|
-
]
|
|
94
|
+
"required": ["contentTypeId", "id"]
|
|
108
95
|
},
|
|
109
96
|
"title": {
|
|
110
97
|
"title": "Title",
|
|
@@ -115,9 +102,7 @@
|
|
|
115
102
|
"author": {
|
|
116
103
|
"relationship": {
|
|
117
104
|
"type": "single",
|
|
118
|
-
"contentTypeIds": [
|
|
119
|
-
"SJDIicDUZ"
|
|
120
|
-
]
|
|
105
|
+
"contentTypeIds": ["SJDIicDUZ"]
|
|
121
106
|
},
|
|
122
107
|
"title": "Author",
|
|
123
108
|
"type": "object",
|
|
@@ -125,9 +110,7 @@
|
|
|
125
110
|
"properties": {
|
|
126
111
|
"contentTypeId": {
|
|
127
112
|
"type": "string",
|
|
128
|
-
"enum": [
|
|
129
|
-
"SJDIicDUZ"
|
|
130
|
-
],
|
|
113
|
+
"enum": ["SJDIicDUZ"],
|
|
131
114
|
"minLength": 1
|
|
132
115
|
},
|
|
133
116
|
"id": {
|
|
@@ -135,10 +118,7 @@
|
|
|
135
118
|
"minLength": 1
|
|
136
119
|
}
|
|
137
120
|
},
|
|
138
|
-
"required": [
|
|
139
|
-
"contentTypeId",
|
|
140
|
-
"id"
|
|
141
|
-
]
|
|
121
|
+
"required": ["contentTypeId", "id"]
|
|
142
122
|
},
|
|
143
123
|
"deck": {
|
|
144
124
|
"title": "Deck",
|
|
@@ -149,9 +129,7 @@
|
|
|
149
129
|
"tags": {
|
|
150
130
|
"relationship": {
|
|
151
131
|
"type": "multiple",
|
|
152
|
-
"contentTypeIds": [
|
|
153
|
-
"rJBYXVyuQ"
|
|
154
|
-
]
|
|
132
|
+
"contentTypeIds": ["rJBYXVyuQ"]
|
|
155
133
|
},
|
|
156
134
|
"title": "Tags",
|
|
157
135
|
"type": "array",
|
|
@@ -160,9 +138,7 @@
|
|
|
160
138
|
"properties": {
|
|
161
139
|
"contentTypeId": {
|
|
162
140
|
"type": "string",
|
|
163
|
-
"enum": [
|
|
164
|
-
"rJBYXVyuQ"
|
|
165
|
-
],
|
|
141
|
+
"enum": ["rJBYXVyuQ"],
|
|
166
142
|
"minLength": 1
|
|
167
143
|
},
|
|
168
144
|
"id": {
|
|
@@ -170,18 +146,12 @@
|
|
|
170
146
|
"minLength": 1
|
|
171
147
|
}
|
|
172
148
|
},
|
|
173
|
-
"required": [
|
|
174
|
-
"contentTypeId",
|
|
175
|
-
"id"
|
|
176
|
-
]
|
|
149
|
+
"required": ["contentTypeId", "id"]
|
|
177
150
|
},
|
|
178
151
|
"key": "Hkb57EkOQ"
|
|
179
152
|
}
|
|
180
153
|
},
|
|
181
|
-
"required": [
|
|
182
|
-
"title",
|
|
183
|
-
"featureImage"
|
|
184
|
-
]
|
|
154
|
+
"required": ["title", "featureImage"]
|
|
185
155
|
},
|
|
186
156
|
"single": false,
|
|
187
157
|
"name": "post",
|
|
@@ -209,14 +179,7 @@
|
|
|
209
179
|
"widget": "relationship"
|
|
210
180
|
}
|
|
211
181
|
},
|
|
212
|
-
"order": [
|
|
213
|
-
"title",
|
|
214
|
-
"deck",
|
|
215
|
-
"tags",
|
|
216
|
-
"author",
|
|
217
|
-
"featureImage",
|
|
218
|
-
"body"
|
|
219
|
-
]
|
|
182
|
+
"order": ["title", "deck", "tags", "author", "featureImage", "body"]
|
|
220
183
|
}
|
|
221
184
|
}
|
|
222
185
|
},
|
|
@@ -232,9 +195,7 @@
|
|
|
232
195
|
},
|
|
233
196
|
"photo": {
|
|
234
197
|
"relationship": {
|
|
235
|
-
"contentTypeIds": [
|
|
236
|
-
"ASSET"
|
|
237
|
-
]
|
|
198
|
+
"contentTypeIds": ["ASSET"]
|
|
238
199
|
},
|
|
239
200
|
"title": "Photo",
|
|
240
201
|
"type": "object",
|
|
@@ -242,9 +203,7 @@
|
|
|
242
203
|
"properties": {
|
|
243
204
|
"contentTypeId": {
|
|
244
205
|
"type": "string",
|
|
245
|
-
"enum": [
|
|
246
|
-
"ASSET"
|
|
247
|
-
],
|
|
206
|
+
"enum": ["ASSET"],
|
|
248
207
|
"minLength": 1
|
|
249
208
|
},
|
|
250
209
|
"id": {
|
|
@@ -252,10 +211,7 @@
|
|
|
252
211
|
"minLength": 1
|
|
253
212
|
}
|
|
254
213
|
},
|
|
255
|
-
"required": [
|
|
256
|
-
"contentTypeId",
|
|
257
|
-
"id"
|
|
258
|
-
]
|
|
214
|
+
"required": ["contentTypeId", "id"]
|
|
259
215
|
},
|
|
260
216
|
"biography": {
|
|
261
217
|
"draftjs": true,
|
|
@@ -264,11 +220,7 @@
|
|
|
264
220
|
"key": "S1tvt0Hq-"
|
|
265
221
|
}
|
|
266
222
|
},
|
|
267
|
-
"required": [
|
|
268
|
-
"name",
|
|
269
|
-
"photo",
|
|
270
|
-
"biography"
|
|
271
|
-
]
|
|
223
|
+
"required": ["name", "photo", "biography"]
|
|
272
224
|
},
|
|
273
225
|
"single": false,
|
|
274
226
|
"name": "author",
|
|
@@ -287,11 +239,7 @@
|
|
|
287
239
|
"widget": "wysiwygText"
|
|
288
240
|
}
|
|
289
241
|
},
|
|
290
|
-
"order": [
|
|
291
|
-
"name",
|
|
292
|
-
"photo",
|
|
293
|
-
"biography"
|
|
294
|
-
]
|
|
242
|
+
"order": ["name", "photo", "biography"]
|
|
295
243
|
}
|
|
296
244
|
}
|
|
297
245
|
},
|
|
@@ -308,9 +256,7 @@
|
|
|
308
256
|
"featuredBook": {
|
|
309
257
|
"relationship": {
|
|
310
258
|
"type": "single",
|
|
311
|
-
"contentTypeIds": [
|
|
312
|
-
"r166qcP8Z"
|
|
313
|
-
]
|
|
259
|
+
"contentTypeIds": ["r166qcP8Z"]
|
|
314
260
|
},
|
|
315
261
|
"title": "Featured Book",
|
|
316
262
|
"type": "object",
|
|
@@ -318,9 +264,7 @@
|
|
|
318
264
|
"properties": {
|
|
319
265
|
"contentTypeId": {
|
|
320
266
|
"type": "string",
|
|
321
|
-
"enum": [
|
|
322
|
-
"r166qcP8Z"
|
|
323
|
-
],
|
|
267
|
+
"enum": ["r166qcP8Z"],
|
|
324
268
|
"minLength": 1
|
|
325
269
|
},
|
|
326
270
|
"id": {
|
|
@@ -328,10 +272,7 @@
|
|
|
328
272
|
"minLength": 1
|
|
329
273
|
}
|
|
330
274
|
},
|
|
331
|
-
"required": [
|
|
332
|
-
"contentTypeId",
|
|
333
|
-
"id"
|
|
334
|
-
]
|
|
275
|
+
"required": ["contentTypeId", "id"]
|
|
335
276
|
},
|
|
336
277
|
"hero": {
|
|
337
278
|
"mutable": true,
|
|
@@ -341,9 +282,7 @@
|
|
|
341
282
|
"properties": {
|
|
342
283
|
"image": {
|
|
343
284
|
"relationship": {
|
|
344
|
-
"contentTypeIds": [
|
|
345
|
-
"ASSET"
|
|
346
|
-
]
|
|
285
|
+
"contentTypeIds": ["ASSET"]
|
|
347
286
|
},
|
|
348
287
|
"title": "Image",
|
|
349
288
|
"type": "object",
|
|
@@ -351,9 +290,7 @@
|
|
|
351
290
|
"properties": {
|
|
352
291
|
"contentTypeId": {
|
|
353
292
|
"type": "string",
|
|
354
|
-
"enum": [
|
|
355
|
-
"ASSET"
|
|
356
|
-
],
|
|
293
|
+
"enum": ["ASSET"],
|
|
357
294
|
"minLength": 1
|
|
358
295
|
},
|
|
359
296
|
"id": {
|
|
@@ -361,18 +298,13 @@
|
|
|
361
298
|
"minLength": 1
|
|
362
299
|
}
|
|
363
300
|
},
|
|
364
|
-
"required": [
|
|
365
|
-
"contentTypeId",
|
|
366
|
-
"id"
|
|
367
|
-
]
|
|
301
|
+
"required": ["contentTypeId", "id"]
|
|
368
302
|
},
|
|
369
303
|
"featuredPost": {
|
|
370
304
|
"relationship": {
|
|
371
305
|
"type": "single",
|
|
372
306
|
"relatedName": "heroFeaturedPost",
|
|
373
|
-
"contentTypeIds": [
|
|
374
|
-
"rJoobhv8W"
|
|
375
|
-
]
|
|
307
|
+
"contentTypeIds": ["rJoobhv8W"]
|
|
376
308
|
},
|
|
377
309
|
"title": "Featured Post",
|
|
378
310
|
"type": "object",
|
|
@@ -380,9 +312,7 @@
|
|
|
380
312
|
"properties": {
|
|
381
313
|
"contentTypeId": {
|
|
382
314
|
"type": "string",
|
|
383
|
-
"enum": [
|
|
384
|
-
"rJoobhv8W"
|
|
385
|
-
],
|
|
315
|
+
"enum": ["rJoobhv8W"],
|
|
386
316
|
"minLength": 1
|
|
387
317
|
},
|
|
388
318
|
"id": {
|
|
@@ -390,10 +320,7 @@
|
|
|
390
320
|
"minLength": 1
|
|
391
321
|
}
|
|
392
322
|
},
|
|
393
|
-
"required": [
|
|
394
|
-
"contentTypeId",
|
|
395
|
-
"id"
|
|
396
|
-
]
|
|
323
|
+
"required": ["contentTypeId", "id"]
|
|
397
324
|
}
|
|
398
325
|
}
|
|
399
326
|
}
|
|
@@ -421,17 +348,10 @@
|
|
|
421
348
|
}
|
|
422
349
|
},
|
|
423
350
|
"widget": "object",
|
|
424
|
-
"order": [
|
|
425
|
-
"image",
|
|
426
|
-
"featuredPost"
|
|
427
|
-
]
|
|
351
|
+
"order": ["image", "featuredPost"]
|
|
428
352
|
}
|
|
429
353
|
},
|
|
430
|
-
"order": [
|
|
431
|
-
"title",
|
|
432
|
-
"hero",
|
|
433
|
-
"featuredBook"
|
|
434
|
-
]
|
|
354
|
+
"order": ["title", "hero", "featuredBook"]
|
|
435
355
|
}
|
|
436
356
|
}
|
|
437
357
|
},
|
|
@@ -458,9 +378,7 @@
|
|
|
458
378
|
"widget": "singleLineText"
|
|
459
379
|
}
|
|
460
380
|
},
|
|
461
|
-
"order": [
|
|
462
|
-
"siteTitle"
|
|
463
|
-
]
|
|
381
|
+
"order": ["siteTitle"]
|
|
464
382
|
}
|
|
465
383
|
}
|
|
466
384
|
},
|
|
@@ -499,10 +417,7 @@
|
|
|
499
417
|
"uploadStatus": {
|
|
500
418
|
"title": "Upload status",
|
|
501
419
|
"type": "string",
|
|
502
|
-
"enum": [
|
|
503
|
-
"PENDING",
|
|
504
|
-
"COMPLETE"
|
|
505
|
-
],
|
|
420
|
+
"enum": ["PENDING", "COMPLETE"],
|
|
506
421
|
"key": "ByeAYXdG9",
|
|
507
422
|
"builtIn": true
|
|
508
423
|
},
|
|
@@ -522,18 +437,14 @@
|
|
|
522
437
|
"title": "Author Tag",
|
|
523
438
|
"relationship": {
|
|
524
439
|
"type": "single",
|
|
525
|
-
"contentTypeIds": [
|
|
526
|
-
"SJDIicDUZ"
|
|
527
|
-
]
|
|
440
|
+
"contentTypeIds": ["SJDIicDUZ"]
|
|
528
441
|
},
|
|
529
442
|
"type": "object",
|
|
530
443
|
"key": "SyQiZrgdX",
|
|
531
444
|
"properties": {
|
|
532
445
|
"contentTypeId": {
|
|
533
446
|
"type": "string",
|
|
534
|
-
"enum": [
|
|
535
|
-
"SJDIicDUZ"
|
|
536
|
-
],
|
|
447
|
+
"enum": ["SJDIicDUZ"],
|
|
537
448
|
"minLength": 1
|
|
538
449
|
},
|
|
539
450
|
"id": {
|
|
@@ -541,10 +452,7 @@
|
|
|
541
452
|
"minLength": 1
|
|
542
453
|
}
|
|
543
454
|
},
|
|
544
|
-
"required": [
|
|
545
|
-
"contentTypeId",
|
|
546
|
-
"id"
|
|
547
|
-
]
|
|
455
|
+
"required": ["contentTypeId", "id"]
|
|
548
456
|
},
|
|
549
457
|
"credit": {
|
|
550
458
|
"draftjs": true,
|
|
@@ -554,10 +462,7 @@
|
|
|
554
462
|
"builtIn": true
|
|
555
463
|
}
|
|
556
464
|
},
|
|
557
|
-
"required": [
|
|
558
|
-
"filename",
|
|
559
|
-
"path"
|
|
560
|
-
]
|
|
465
|
+
"required": ["filename", "path"]
|
|
561
466
|
},
|
|
562
467
|
"name": "asset",
|
|
563
468
|
"description": "The built-in TakeShape asset model",
|
|
@@ -625,79 +530,58 @@
|
|
|
625
530
|
"relationship": {
|
|
626
531
|
"type": "single",
|
|
627
532
|
"relatedName": "authored",
|
|
628
|
-
"contentTypeIds": [
|
|
629
|
-
"SJDIicDUZ"
|
|
630
|
-
]
|
|
533
|
+
"contentTypeIds": ["SJDIicDUZ"]
|
|
631
534
|
},
|
|
632
535
|
"type": "object",
|
|
633
536
|
"key": "BJ7Xn5vLW",
|
|
634
537
|
"properties": {
|
|
635
538
|
"contentTypeId": {
|
|
636
539
|
"type": "string",
|
|
637
|
-
"enum": [
|
|
638
|
-
"SJDIicDUZ"
|
|
639
|
-
]
|
|
540
|
+
"enum": ["SJDIicDUZ"]
|
|
640
541
|
},
|
|
641
542
|
"id": {
|
|
642
543
|
"type": "string"
|
|
643
544
|
}
|
|
644
545
|
},
|
|
645
|
-
"required": [
|
|
646
|
-
"contentTypeId",
|
|
647
|
-
"id"
|
|
648
|
-
]
|
|
546
|
+
"required": ["contentTypeId", "id"]
|
|
649
547
|
},
|
|
650
548
|
"coverImage": {
|
|
651
549
|
"title": "Cover Image",
|
|
652
550
|
"relationship": {
|
|
653
|
-
"contentTypeIds": [
|
|
654
|
-
"ASSET"
|
|
655
|
-
]
|
|
551
|
+
"contentTypeIds": ["ASSET"]
|
|
656
552
|
},
|
|
657
553
|
"type": "object",
|
|
658
554
|
"key": "SymsKiD8W",
|
|
659
555
|
"properties": {
|
|
660
556
|
"contentTypeId": {
|
|
661
557
|
"type": "string",
|
|
662
|
-
"enum": [
|
|
663
|
-
"ASSET"
|
|
664
|
-
]
|
|
558
|
+
"enum": ["ASSET"]
|
|
665
559
|
},
|
|
666
560
|
"id": {
|
|
667
561
|
"type": "string"
|
|
668
562
|
}
|
|
669
563
|
},
|
|
670
|
-
"required": [
|
|
671
|
-
"contentTypeId",
|
|
672
|
-
"id"
|
|
673
|
-
]
|
|
564
|
+
"required": ["contentTypeId", "id"]
|
|
674
565
|
},
|
|
675
566
|
"genre": {
|
|
676
567
|
"title": "Genre",
|
|
677
568
|
"relationship": {
|
|
678
569
|
"type": "single",
|
|
679
570
|
"relatedName": "books",
|
|
680
|
-
"contentTypeIds": [
|
|
681
|
-
"rJ9bZzk-m"
|
|
682
|
-
]
|
|
571
|
+
"contentTypeIds": ["rJ9bZzk-m"]
|
|
683
572
|
},
|
|
684
573
|
"type": "object",
|
|
685
574
|
"key": "B1E4ZMkW7",
|
|
686
575
|
"properties": {
|
|
687
576
|
"contentTypeId": {
|
|
688
577
|
"type": "string",
|
|
689
|
-
"enum": [
|
|
690
|
-
"rJ9bZzk-m"
|
|
691
|
-
]
|
|
578
|
+
"enum": ["rJ9bZzk-m"]
|
|
692
579
|
},
|
|
693
580
|
"id": {
|
|
694
581
|
"type": "string"
|
|
695
582
|
}
|
|
696
583
|
},
|
|
697
|
-
"required": [
|
|
698
|
-
"contentTypeId",
|
|
699
|
-
"id"
|
|
700
|
-
]
|
|
584
|
+
"required": ["contentTypeId", "id"]
|
|
701
585
|
},
|
|
702
586
|
"publishDate": {
|
|
703
587
|
"format": "date-time",
|
|
@@ -721,15 +605,11 @@
|
|
|
721
605
|
"oneOf": [
|
|
722
606
|
{
|
|
723
607
|
"title": "Hardcover",
|
|
724
|
-
"enum": [
|
|
725
|
-
"hardcover"
|
|
726
|
-
]
|
|
608
|
+
"enum": ["hardcover"]
|
|
727
609
|
},
|
|
728
610
|
{
|
|
729
611
|
"title": "Paperback",
|
|
730
|
-
"enum": [
|
|
731
|
-
"paperback"
|
|
732
|
-
]
|
|
612
|
+
"enum": ["paperback"]
|
|
733
613
|
}
|
|
734
614
|
],
|
|
735
615
|
"title": "Type",
|
|
@@ -743,10 +623,7 @@
|
|
|
743
623
|
"key": "BJ4ZHov8-"
|
|
744
624
|
}
|
|
745
625
|
},
|
|
746
|
-
"required": [
|
|
747
|
-
"title",
|
|
748
|
-
"author"
|
|
749
|
-
]
|
|
626
|
+
"required": ["title", "author"]
|
|
750
627
|
},
|
|
751
628
|
"single": false,
|
|
752
629
|
"name": "book",
|
|
@@ -780,16 +657,7 @@
|
|
|
780
657
|
"widget": "wysiwygText"
|
|
781
658
|
}
|
|
782
659
|
},
|
|
783
|
-
"order": [
|
|
784
|
-
"title",
|
|
785
|
-
"genre",
|
|
786
|
-
"publishDate",
|
|
787
|
-
"coverImage",
|
|
788
|
-
"author",
|
|
789
|
-
"totalPages",
|
|
790
|
-
"type",
|
|
791
|
-
"body"
|
|
792
|
-
]
|
|
660
|
+
"order": ["title", "genre", "publishDate", "coverImage", "author", "totalPages", "type", "body"]
|
|
793
661
|
}
|
|
794
662
|
}
|
|
795
663
|
}
|