@takeshape/schema 11.45.5 → 11.47.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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 +7 -5
- 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 +4 -2
- 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
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"encoding_format": "float"
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
|
-
{"path": "input.input", "mapping": "$args.text"}
|
|
33
|
+
{ "path": "input.input", "mapping": "$args.text" }
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
"results": {
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"service": "takeshape",
|
|
49
49
|
"args": {
|
|
50
50
|
"ops": [
|
|
51
|
-
{"path": "vector.name", "value": "vector"},
|
|
51
|
+
{ "path": "vector.name", "value": "vector" },
|
|
52
52
|
{
|
|
53
53
|
"path": "vector.value",
|
|
54
54
|
"mapping": "$resolvers.createEmbedding.vector"
|
|
55
55
|
},
|
|
56
|
-
{"path": "size", "mapping": "$args.size"}
|
|
56
|
+
{ "path": "size", "mapping": "$args.size" }
|
|
57
57
|
]
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -61,7 +61,10 @@
|
|
|
61
61
|
},
|
|
62
62
|
"args": {
|
|
63
63
|
"type": "object",
|
|
64
|
-
"properties": {
|
|
64
|
+
"properties": {
|
|
65
|
+
"text": { "type": "string" },
|
|
66
|
+
"size": { "type": "integer" }
|
|
67
|
+
},
|
|
65
68
|
"required": ["text"]
|
|
66
69
|
}
|
|
67
70
|
},
|
|
@@ -73,15 +76,12 @@
|
|
|
73
76
|
"name": "delegate",
|
|
74
77
|
"id": "getRelatedBookList",
|
|
75
78
|
"to": "Query.getRelatedBookList",
|
|
76
|
-
"options": {"selectionSet": "{ items {title bodyHtml} }"},
|
|
79
|
+
"options": { "selectionSet": "{ items {title bodyHtml} }" },
|
|
77
80
|
"args": {
|
|
78
|
-
"ops": [
|
|
79
|
-
{"path": "text", "mapping": "$args.text"},
|
|
80
|
-
{"path": "size", "value": 1}
|
|
81
|
-
]
|
|
81
|
+
"ops": [{ "path": "text", "mapping": "$args.text" }, { "path": "size", "value": 1 }]
|
|
82
82
|
},
|
|
83
83
|
"results": {
|
|
84
|
-
"ops": [{"path": "$", "mapping": "$currentResolver.items[0]"}]
|
|
84
|
+
"ops": [{ "path": "$", "mapping": "$currentResolver.items[0]" }]
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
{
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"role": "system",
|
|
102
102
|
"content": "You are a helpful assistant."
|
|
103
103
|
},
|
|
104
|
-
{"role": "user", "content": ""}
|
|
104
|
+
{ "role": "user", "content": "" }
|
|
105
105
|
]
|
|
106
106
|
}
|
|
107
107
|
},
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
},
|
|
142
142
|
"args": {
|
|
143
143
|
"type": "object",
|
|
144
|
-
"properties": {"text": {"type": "string"}},
|
|
144
|
+
"properties": { "text": { "type": "string" } },
|
|
145
145
|
"required": ["text"]
|
|
146
146
|
}
|
|
147
147
|
},
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"args": {
|
|
155
155
|
"type": "object",
|
|
156
156
|
"properties": {
|
|
157
|
-
"terms": {"type": "string"},
|
|
157
|
+
"terms": { "type": "string" },
|
|
158
158
|
"from": {
|
|
159
159
|
"type": "integer",
|
|
160
160
|
"description": "The offset from the first result you want to fetch."
|
|
@@ -169,11 +169,11 @@
|
|
|
169
169
|
},
|
|
170
170
|
"sort": {
|
|
171
171
|
"type": "array",
|
|
172
|
-
"items": {"@ref": "books:TSSearchSortInput"},
|
|
172
|
+
"items": { "@ref": "books:TSSearchSortInput" },
|
|
173
173
|
"description": "An list of fields to sort by."
|
|
174
174
|
},
|
|
175
|
-
"locale": {"type": "string"},
|
|
176
|
-
"enableLocaleFallback": {"type": "boolean", "default": true},
|
|
175
|
+
"locale": { "type": "string" },
|
|
176
|
+
"enableLocaleFallback": { "type": "boolean", "default": true },
|
|
177
177
|
"onlyEnabled": {
|
|
178
178
|
"type": "boolean",
|
|
179
179
|
"description": "Filter out content that is not enabled. Defaults to true.",
|
|
@@ -196,17 +196,17 @@
|
|
|
196
196
|
"service": "openai",
|
|
197
197
|
"path": "/embeddings",
|
|
198
198
|
"body": {
|
|
199
|
-
"ops": [{"path": "$", "mapping": "$args.input"}],
|
|
200
|
-
"serialize": {"content": {"contentType": "application/json"}}
|
|
199
|
+
"ops": [{ "path": "$", "mapping": "$args.input" }],
|
|
200
|
+
"serialize": { "content": { "contentType": "application/json" } }
|
|
201
201
|
},
|
|
202
202
|
"headers": {
|
|
203
|
-
"ops": [{"path": "content-type", "value": "application/json"}]
|
|
203
|
+
"ops": [{ "path": "content-type", "value": "application/json" }]
|
|
204
204
|
}
|
|
205
205
|
},
|
|
206
206
|
"description": "Creates an embedding vector representing the input text.",
|
|
207
207
|
"args": {
|
|
208
208
|
"type": "object",
|
|
209
|
-
"properties": {"input": {"@ref": "openai:CreateEmbeddingInput"}},
|
|
209
|
+
"properties": { "input": { "@ref": "openai:CreateEmbeddingInput" } },
|
|
210
210
|
"required": ["input"]
|
|
211
211
|
}
|
|
212
212
|
},
|
|
@@ -217,17 +217,19 @@
|
|
|
217
217
|
"service": "openai",
|
|
218
218
|
"path": "/chat/completions",
|
|
219
219
|
"body": {
|
|
220
|
-
"ops": [{"path": "$", "mapping": "$args.input"}],
|
|
221
|
-
"serialize": {"content": {"contentType": "application/json"}}
|
|
220
|
+
"ops": [{ "path": "$", "mapping": "$args.input" }],
|
|
221
|
+
"serialize": { "content": { "contentType": "application/json" } }
|
|
222
222
|
},
|
|
223
223
|
"headers": {
|
|
224
|
-
"ops": [{"path": "content-type", "value": "application/json"}]
|
|
224
|
+
"ops": [{ "path": "content-type", "value": "application/json" }]
|
|
225
225
|
}
|
|
226
226
|
},
|
|
227
227
|
"description": "Creates a model response for the given chat conversation.",
|
|
228
228
|
"args": {
|
|
229
229
|
"type": "object",
|
|
230
|
-
"properties": {
|
|
230
|
+
"properties": {
|
|
231
|
+
"input": { "@ref": "openai:CreateChatCompletionInput" }
|
|
232
|
+
},
|
|
231
233
|
"required": ["input"]
|
|
232
234
|
}
|
|
233
235
|
}
|
|
@@ -239,26 +241,26 @@
|
|
|
239
241
|
"title": "Books Book",
|
|
240
242
|
"cache": {
|
|
241
243
|
"enabled": true,
|
|
242
|
-
"triggers": [{"type": "schedule", "loader": "list", "interval": 1440}],
|
|
243
|
-
"fragment": {"maxDepth": 2}
|
|
244
|
+
"triggers": [{ "type": "schedule", "loader": "list", "interval": 1440 }],
|
|
245
|
+
"fragment": { "maxDepth": 2 }
|
|
244
246
|
},
|
|
245
|
-
"loaders": {"list": {"query": "books:Query.getBookList"}},
|
|
247
|
+
"loaders": { "list": { "query": "books:Query.getBookList" } },
|
|
246
248
|
"schema": {
|
|
247
249
|
"extends": [
|
|
248
|
-
{"@ref": "books:Book"},
|
|
250
|
+
{ "@ref": "books:Book" },
|
|
249
251
|
{
|
|
250
252
|
"type": "object",
|
|
251
253
|
"properties": {
|
|
252
254
|
"vector": {
|
|
253
255
|
"type": "array",
|
|
254
|
-
"items": {"type": "number"},
|
|
256
|
+
"items": { "type": "number" },
|
|
255
257
|
"title": "Vector",
|
|
256
258
|
"@tag": "vector",
|
|
257
259
|
"@dependencies": "{title bodyHtml}",
|
|
258
260
|
"@resolver": {
|
|
259
261
|
"name": "delegate",
|
|
260
262
|
"to": "openai:Mutation.createEmbedding",
|
|
261
|
-
"options": {"selectionSet": "{ data { embedding } }"},
|
|
263
|
+
"options": { "selectionSet": "{ data { embedding } }" },
|
|
262
264
|
"args": {
|
|
263
265
|
"ops": [
|
|
264
266
|
{
|
|
@@ -271,11 +273,8 @@
|
|
|
271
273
|
{
|
|
272
274
|
"path": "input.input",
|
|
273
275
|
"mapping": [
|
|
274
|
-
[
|
|
275
|
-
|
|
276
|
-
{"path": ["$source.title", "$source.bodyHtml"]}
|
|
277
|
-
],
|
|
278
|
-
["format", {"template": "%s %s"}]
|
|
276
|
+
["get", { "path": ["$source.title", "$source.bodyHtml"] }],
|
|
277
|
+
["format", { "template": "%s %s" }]
|
|
279
278
|
]
|
|
280
279
|
}
|
|
281
280
|
]
|
|
@@ -301,8 +300,8 @@
|
|
|
301
300
|
"Books_Book": {
|
|
302
301
|
"default": {
|
|
303
302
|
"properties": {
|
|
304
|
-
"content": {"widget": "singleLineText"},
|
|
305
|
-
"vector": {"widget": "singleLineText"}
|
|
303
|
+
"content": { "widget": "singleLineText" },
|
|
304
|
+
"vector": { "widget": "singleLineText" }
|
|
306
305
|
},
|
|
307
306
|
"order": ["content", "vector"]
|
|
308
307
|
}
|
|
@@ -336,7 +335,7 @@
|
|
|
336
335
|
"endpoint": "https://api.takeshape.io/project/18f690a1-3977-4dc9-a888-bee3293b12e2/production/graphql",
|
|
337
336
|
"introspectedAt": "2024-04-16T02:55:23.258Z"
|
|
338
337
|
},
|
|
339
|
-
"healthCheck": {"checkName": "graphqlIntrospection"}
|
|
338
|
+
"healthCheck": { "checkName": "graphqlIntrospection" }
|
|
340
339
|
}
|
|
341
340
|
}
|
|
342
341
|
}
|
|
@@ -7,11 +7,7 @@
|
|
|
7
7
|
"forms": {
|
|
8
8
|
"CharacterNote": {
|
|
9
9
|
"default": {
|
|
10
|
-
"order": [
|
|
11
|
-
"characterId",
|
|
12
|
-
"notes",
|
|
13
|
-
"rating"
|
|
14
|
-
],
|
|
10
|
+
"order": ["characterId", "notes", "rating"],
|
|
15
11
|
"properties": {
|
|
16
12
|
"characterId": {
|
|
17
13
|
"widget": "singleLineText"
|
|
@@ -79,10 +75,7 @@
|
|
|
79
75
|
}
|
|
80
76
|
}
|
|
81
77
|
},
|
|
82
|
-
"locales": [
|
|
83
|
-
"en",
|
|
84
|
-
"es"
|
|
85
|
-
],
|
|
78
|
+
"locales": ["en", "es"],
|
|
86
79
|
"mutations": {
|
|
87
80
|
"createCharacterNote": {
|
|
88
81
|
"args": "CreateArgs<CharacterNote>",
|
|
@@ -175,9 +168,7 @@
|
|
|
175
168
|
"type": "string"
|
|
176
169
|
}
|
|
177
170
|
},
|
|
178
|
-
"required": [
|
|
179
|
-
"id"
|
|
180
|
-
],
|
|
171
|
+
"required": ["id"],
|
|
181
172
|
"type": "object"
|
|
182
173
|
},
|
|
183
174
|
"resolver": {
|
|
@@ -217,9 +208,7 @@
|
|
|
217
208
|
"type": "array"
|
|
218
209
|
}
|
|
219
210
|
},
|
|
220
|
-
"required": [
|
|
221
|
-
"ids"
|
|
222
|
-
],
|
|
211
|
+
"required": ["ids"],
|
|
223
212
|
"type": "object"
|
|
224
213
|
},
|
|
225
214
|
"resolver": {
|
|
@@ -289,9 +278,7 @@
|
|
|
289
278
|
"type": "string"
|
|
290
279
|
}
|
|
291
280
|
},
|
|
292
|
-
"required": [
|
|
293
|
-
"id"
|
|
294
|
-
],
|
|
281
|
+
"required": ["id"],
|
|
295
282
|
"type": "object"
|
|
296
283
|
},
|
|
297
284
|
"resolver": {
|
|
@@ -331,9 +318,7 @@
|
|
|
331
318
|
"type": "array"
|
|
332
319
|
}
|
|
333
320
|
},
|
|
334
|
-
"required": [
|
|
335
|
-
"ids"
|
|
336
|
-
],
|
|
321
|
+
"required": ["ids"],
|
|
337
322
|
"type": "object"
|
|
338
323
|
},
|
|
339
324
|
"resolver": {
|
|
@@ -403,9 +388,7 @@
|
|
|
403
388
|
"type": "string"
|
|
404
389
|
}
|
|
405
390
|
},
|
|
406
|
-
"required": [
|
|
407
|
-
"episode"
|
|
408
|
-
],
|
|
391
|
+
"required": ["episode"],
|
|
409
392
|
"type": "object"
|
|
410
393
|
}
|
|
411
394
|
},
|
|
@@ -459,9 +442,7 @@
|
|
|
459
442
|
"type": "string"
|
|
460
443
|
}
|
|
461
444
|
},
|
|
462
|
-
"required": [
|
|
463
|
-
"characters"
|
|
464
|
-
],
|
|
445
|
+
"required": ["characters"],
|
|
465
446
|
"type": "object"
|
|
466
447
|
}
|
|
467
448
|
},
|
|
@@ -542,9 +523,7 @@
|
|
|
542
523
|
"type": "string"
|
|
543
524
|
}
|
|
544
525
|
},
|
|
545
|
-
"required": [
|
|
546
|
-
"residents"
|
|
547
|
-
],
|
|
526
|
+
"required": ["residents"],
|
|
548
527
|
"type": "object"
|
|
549
528
|
}
|
|
550
529
|
}
|
|
@@ -605,27 +584,19 @@
|
|
|
605
584
|
"@key": "re7ddpIH1",
|
|
606
585
|
"oneOf": [
|
|
607
586
|
{
|
|
608
|
-
"enum": [
|
|
609
|
-
"1"
|
|
610
|
-
],
|
|
587
|
+
"enum": ["1"],
|
|
611
588
|
"title": "One Star"
|
|
612
589
|
},
|
|
613
590
|
{
|
|
614
|
-
"enum": [
|
|
615
|
-
"2"
|
|
616
|
-
],
|
|
591
|
+
"enum": ["2"],
|
|
617
592
|
"title": "Two Stars"
|
|
618
593
|
},
|
|
619
594
|
{
|
|
620
|
-
"enum": [
|
|
621
|
-
"3"
|
|
622
|
-
],
|
|
595
|
+
"enum": ["3"],
|
|
623
596
|
"title": "Three Stars"
|
|
624
597
|
},
|
|
625
598
|
{
|
|
626
|
-
"enum": [
|
|
627
|
-
"4"
|
|
628
|
-
],
|
|
599
|
+
"enum": ["4"],
|
|
629
600
|
"title": "Four Stars"
|
|
630
601
|
}
|
|
631
602
|
],
|
|
@@ -633,9 +604,7 @@
|
|
|
633
604
|
"type": "string"
|
|
634
605
|
}
|
|
635
606
|
},
|
|
636
|
-
"required": [
|
|
637
|
-
"characterId"
|
|
638
|
-
],
|
|
607
|
+
"required": ["characterId"],
|
|
639
608
|
"type": "object"
|
|
640
609
|
},
|
|
641
610
|
"title": "Character Note",
|
|
@@ -703,10 +672,7 @@
|
|
|
703
672
|
"type": "string"
|
|
704
673
|
}
|
|
705
674
|
},
|
|
706
|
-
"required": [
|
|
707
|
-
"filename",
|
|
708
|
-
"path"
|
|
709
|
-
],
|
|
675
|
+
"required": ["filename", "path"],
|
|
710
676
|
"type": "object"
|
|
711
677
|
},
|
|
712
678
|
"title": "Asset"
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"id": "ca14bygA-",
|
|
106
106
|
"title": "Character Note",
|
|
107
107
|
"workflow": "default",
|
|
108
|
-
"model": {"type": "multiple"},
|
|
108
|
+
"model": { "type": "multiple" },
|
|
109
109
|
"schema": {
|
|
110
110
|
"type": "object",
|
|
111
111
|
"properties": {
|
|
@@ -125,10 +125,10 @@
|
|
|
125
125
|
"rating": {
|
|
126
126
|
"type": "string",
|
|
127
127
|
"oneOf": [
|
|
128
|
-
{"enum": ["1"], "title": "One Star"},
|
|
129
|
-
{"enum": ["2"], "title": "Two Stars"},
|
|
130
|
-
{"title": "Three Stars", "enum": ["3"]},
|
|
131
|
-
{"title": "Four Stars", "enum": ["4"]}
|
|
128
|
+
{ "enum": ["1"], "title": "One Star" },
|
|
129
|
+
{ "enum": ["2"], "title": "Two Stars" },
|
|
130
|
+
{ "title": "Three Stars", "enum": ["3"] },
|
|
131
|
+
{ "title": "Four Stars", "enum": ["4"] }
|
|
132
132
|
],
|
|
133
133
|
"title": "Rating",
|
|
134
134
|
"@key": "re7ddpIH1"
|
|
@@ -186,9 +186,9 @@
|
|
|
186
186
|
"CharacterNote": {
|
|
187
187
|
"default": {
|
|
188
188
|
"properties": {
|
|
189
|
-
"characterId": {"widget": "singleLineText"},
|
|
190
|
-
"notes": {"widget": "wysiwygText"},
|
|
191
|
-
"rating": {"widget": "dropdown"}
|
|
189
|
+
"characterId": { "widget": "singleLineText" },
|
|
190
|
+
"notes": { "widget": "wysiwygText" },
|
|
191
|
+
"rating": { "widget": "dropdown" }
|
|
192
192
|
},
|
|
193
193
|
"order": ["characterId", "notes", "rating"]
|
|
194
194
|
}
|
|
@@ -96,39 +96,27 @@
|
|
|
96
96
|
"@l10n": false,
|
|
97
97
|
"oneOf": [
|
|
98
98
|
{
|
|
99
|
-
"enum": [
|
|
100
|
-
"s3"
|
|
101
|
-
],
|
|
99
|
+
"enum": ["s3"],
|
|
102
100
|
"title": "S3"
|
|
103
101
|
},
|
|
104
102
|
{
|
|
105
|
-
"enum": [
|
|
106
|
-
"gcs"
|
|
107
|
-
],
|
|
103
|
+
"enum": ["gcs"],
|
|
108
104
|
"title": "Google Cloud Storage"
|
|
109
105
|
},
|
|
110
106
|
{
|
|
111
|
-
"enum": [
|
|
112
|
-
"ftp"
|
|
113
|
-
],
|
|
107
|
+
"enum": ["ftp"],
|
|
114
108
|
"title": "FTP Client"
|
|
115
109
|
},
|
|
116
110
|
{
|
|
117
|
-
"enum": [
|
|
118
|
-
"azure"
|
|
119
|
-
],
|
|
111
|
+
"enum": ["azure"],
|
|
120
112
|
"title": "Azure Storage Account"
|
|
121
113
|
},
|
|
122
114
|
{
|
|
123
|
-
"enum": [
|
|
124
|
-
"netlify"
|
|
125
|
-
],
|
|
115
|
+
"enum": ["netlify"],
|
|
126
116
|
"title": "Netlify"
|
|
127
117
|
},
|
|
128
118
|
{
|
|
129
|
-
"enum": [
|
|
130
|
-
"vercel"
|
|
131
|
-
],
|
|
119
|
+
"enum": ["vercel"],
|
|
132
120
|
"title": "Vercel"
|
|
133
121
|
}
|
|
134
122
|
],
|
|
@@ -186,11 +174,7 @@
|
|
|
186
174
|
"@key": "S1QA3GYI8"
|
|
187
175
|
}
|
|
188
176
|
},
|
|
189
|
-
"required": [
|
|
190
|
-
"title",
|
|
191
|
-
"provider",
|
|
192
|
-
"destination"
|
|
193
|
-
]
|
|
177
|
+
"required": ["title", "provider", "destination"]
|
|
194
178
|
}
|
|
195
179
|
},
|
|
196
180
|
"TSStaticSiteEnvironmentVariables": {
|
|
@@ -233,14 +217,7 @@
|
|
|
233
217
|
"forms": {
|
|
234
218
|
"TSStaticSite": {
|
|
235
219
|
"default": {
|
|
236
|
-
"order": [
|
|
237
|
-
"title",
|
|
238
|
-
"provider",
|
|
239
|
-
"destination",
|
|
240
|
-
"idKey",
|
|
241
|
-
"secretKey",
|
|
242
|
-
"environmentVariables"
|
|
243
|
-
],
|
|
220
|
+
"order": ["title", "provider", "destination", "idKey", "secretKey", "environmentVariables"],
|
|
244
221
|
"properties": {
|
|
245
222
|
"title": {
|
|
246
223
|
"widget": "singleLineText",
|
|
@@ -268,10 +245,7 @@
|
|
|
268
245
|
},
|
|
269
246
|
"environmentVariables": {
|
|
270
247
|
"widget": "repeater",
|
|
271
|
-
"order": [
|
|
272
|
-
"name",
|
|
273
|
-
"value"
|
|
274
|
-
],
|
|
248
|
+
"order": ["name", "value"],
|
|
275
249
|
"disabled": true,
|
|
276
250
|
"properties": {
|
|
277
251
|
"name": {
|
|
@@ -287,11 +261,7 @@
|
|
|
287
261
|
}
|
|
288
262
|
},
|
|
289
263
|
"generalHeader": {
|
|
290
|
-
"order": [
|
|
291
|
-
"title",
|
|
292
|
-
"provider",
|
|
293
|
-
"baseUrl"
|
|
294
|
-
],
|
|
264
|
+
"order": ["title", "provider", "baseUrl"],
|
|
295
265
|
"properties": {
|
|
296
266
|
"title": {
|
|
297
267
|
"widget": "singleLineText",
|
|
@@ -308,17 +278,11 @@
|
|
|
308
278
|
}
|
|
309
279
|
},
|
|
310
280
|
"generalFooter": {
|
|
311
|
-
"order": [
|
|
312
|
-
"environmentVariables",
|
|
313
|
-
"triggers"
|
|
314
|
-
],
|
|
281
|
+
"order": ["environmentVariables", "triggers"],
|
|
315
282
|
"properties": {
|
|
316
283
|
"environmentVariables": {
|
|
317
284
|
"widget": "repeater",
|
|
318
|
-
"order": [
|
|
319
|
-
"name",
|
|
320
|
-
"value"
|
|
321
|
-
],
|
|
285
|
+
"order": ["name", "value"],
|
|
322
286
|
"disabled": true,
|
|
323
287
|
"properties": {
|
|
324
288
|
"name": {
|
|
@@ -333,10 +297,7 @@
|
|
|
333
297
|
},
|
|
334
298
|
"triggers": {
|
|
335
299
|
"widget": "repeater",
|
|
336
|
-
"order": [
|
|
337
|
-
"contentTypeId",
|
|
338
|
-
"status"
|
|
339
|
-
],
|
|
300
|
+
"order": ["contentTypeId", "status"],
|
|
340
301
|
"disabled": true,
|
|
341
302
|
"preview": "siteTriggerPreview",
|
|
342
303
|
"properties": {
|
|
@@ -353,12 +314,7 @@
|
|
|
353
314
|
}
|
|
354
315
|
},
|
|
355
316
|
"s3": {
|
|
356
|
-
"order": [
|
|
357
|
-
"destination",
|
|
358
|
-
"idKey",
|
|
359
|
-
"secretKey",
|
|
360
|
-
"privateAcl"
|
|
361
|
-
],
|
|
317
|
+
"order": ["destination", "idKey", "secretKey", "privateAcl"],
|
|
362
318
|
"properties": {
|
|
363
319
|
"destination": {
|
|
364
320
|
"widget": "singleLineText",
|
|
@@ -384,12 +340,7 @@
|
|
|
384
340
|
}
|
|
385
341
|
},
|
|
386
342
|
"gcs": {
|
|
387
|
-
"order": [
|
|
388
|
-
"destination",
|
|
389
|
-
"idKey",
|
|
390
|
-
"secretKey",
|
|
391
|
-
"privateAcl"
|
|
392
|
-
],
|
|
343
|
+
"order": ["destination", "idKey", "secretKey", "privateAcl"],
|
|
393
344
|
"properties": {
|
|
394
345
|
"destination": {
|
|
395
346
|
"widget": "singleLineText",
|
|
@@ -415,11 +366,7 @@
|
|
|
415
366
|
}
|
|
416
367
|
},
|
|
417
368
|
"ftp": {
|
|
418
|
-
"order": [
|
|
419
|
-
"destination",
|
|
420
|
-
"idKey",
|
|
421
|
-
"secretKey"
|
|
422
|
-
],
|
|
369
|
+
"order": ["destination", "idKey", "secretKey"],
|
|
423
370
|
"properties": {
|
|
424
371
|
"destination": {
|
|
425
372
|
"widget": "singleLineText",
|
|
@@ -440,10 +387,7 @@
|
|
|
440
387
|
}
|
|
441
388
|
},
|
|
442
389
|
"azure": {
|
|
443
|
-
"order": [
|
|
444
|
-
"destination",
|
|
445
|
-
"secretKey"
|
|
446
|
-
],
|
|
390
|
+
"order": ["destination", "secretKey"],
|
|
447
391
|
"properties": {
|
|
448
392
|
"destination": {
|
|
449
393
|
"widget": "singleLineText",
|
|
@@ -459,9 +403,7 @@
|
|
|
459
403
|
}
|
|
460
404
|
},
|
|
461
405
|
"netlify": {
|
|
462
|
-
"order": [
|
|
463
|
-
"destination"
|
|
464
|
-
],
|
|
406
|
+
"order": ["destination"],
|
|
465
407
|
"properties": {
|
|
466
408
|
"destination": {
|
|
467
409
|
"widget": "publishTargets",
|
|
@@ -472,9 +414,7 @@
|
|
|
472
414
|
}
|
|
473
415
|
},
|
|
474
416
|
"vercel": {
|
|
475
|
-
"order": [
|
|
476
|
-
"destination"
|
|
477
|
-
],
|
|
417
|
+
"order": ["destination"],
|
|
478
418
|
"properties": {
|
|
479
419
|
"destination": {
|
|
480
420
|
"widget": "publishTargets",
|
|
@@ -13,17 +13,20 @@
|
|
|
13
13
|
{
|
|
14
14
|
"id": "character-notes",
|
|
15
15
|
"visibility": ["*"],
|
|
16
|
-
"dependencies": {
|
|
17
|
-
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"rickAndMortyService": "rick-and-morty",
|
|
18
|
+
"rickAndMortyLayer": "rick-and-morty"
|
|
19
|
+
},
|
|
20
|
+
"variables": { "ttl": 100, "ignoreErrors": true },
|
|
18
21
|
"namespace": "Notes"
|
|
19
22
|
},
|
|
20
23
|
{
|
|
21
24
|
"id": "rick-and-morty",
|
|
22
25
|
"visibility": ["queries.character*"],
|
|
23
|
-
"dependencies": {"rickAndMortyService": "rick-and-morty"},
|
|
26
|
+
"dependencies": { "rickAndMortyService": "rick-and-morty" },
|
|
24
27
|
"namespace": "Rm"
|
|
25
28
|
},
|
|
26
|
-
{"id": "takeshape-assets", "visibility": ["*"], "namespace": "TS"},
|
|
29
|
+
{ "id": "takeshape-assets", "visibility": ["*"], "namespace": "TS" },
|
|
27
30
|
"takeshape-static-sites",
|
|
28
31
|
"takeshape-builtins"
|
|
29
32
|
],
|
|
@@ -33,7 +36,7 @@
|
|
|
33
36
|
"title": "Rick and Morty",
|
|
34
37
|
"serviceType": "graphql",
|
|
35
38
|
"authenticationType": "none",
|
|
36
|
-
"options": {"endpoint": "https://rickandmortyapi.com/graphql"}
|
|
39
|
+
"options": { "endpoint": "https://rickandmortyapi.com/graphql" }
|
|
37
40
|
}
|
|
38
41
|
}
|
|
39
42
|
}
|