@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
|
@@ -3,23 +3,13 @@
|
|
|
3
3
|
"apiVersion": "1",
|
|
4
4
|
"author": "<userId>",
|
|
5
5
|
"projectId": "project-id",
|
|
6
|
-
"locales": [
|
|
7
|
-
"en-us"
|
|
8
|
-
],
|
|
6
|
+
"locales": ["en-us"],
|
|
9
7
|
"defaultLocale": "en-us",
|
|
10
8
|
"workflows": {},
|
|
11
9
|
"forms": {
|
|
12
10
|
"User": {
|
|
13
11
|
"default": {
|
|
14
|
-
"order": [
|
|
15
|
-
"firstName",
|
|
16
|
-
"lastName",
|
|
17
|
-
"username",
|
|
18
|
-
"email",
|
|
19
|
-
"password",
|
|
20
|
-
"roles",
|
|
21
|
-
"locations"
|
|
22
|
-
]
|
|
12
|
+
"order": ["firstName", "lastName", "username", "email", "password", "roles", "locations"]
|
|
23
13
|
}
|
|
24
14
|
}
|
|
25
15
|
},
|
|
@@ -165,6 +155,6 @@
|
|
|
165
155
|
}
|
|
166
156
|
}
|
|
167
157
|
},
|
|
168
|
-
"schemaVersion": "3.
|
|
158
|
+
"schemaVersion": "3.51.0",
|
|
169
159
|
"services": {}
|
|
170
|
-
}
|
|
160
|
+
}
|
|
@@ -3,24 +3,13 @@
|
|
|
3
3
|
"apiVersion": "1",
|
|
4
4
|
"author": "<userId>",
|
|
5
5
|
"projectId": "project-id",
|
|
6
|
-
"locales": [
|
|
7
|
-
"en-us"
|
|
8
|
-
],
|
|
6
|
+
"locales": ["en-us"],
|
|
9
7
|
"defaultLocale": "en-us",
|
|
10
8
|
"workflows": {},
|
|
11
9
|
"forms": {
|
|
12
10
|
"User": {
|
|
13
11
|
"default": {
|
|
14
|
-
"order": [
|
|
15
|
-
"firstName",
|
|
16
|
-
"lastName",
|
|
17
|
-
"age",
|
|
18
|
-
"username",
|
|
19
|
-
"email",
|
|
20
|
-
"password",
|
|
21
|
-
"roles",
|
|
22
|
-
"locations"
|
|
23
|
-
]
|
|
12
|
+
"order": ["firstName", "lastName", "age", "username", "email", "password", "roles", "locations"]
|
|
24
13
|
}
|
|
25
14
|
}
|
|
26
15
|
},
|
|
@@ -152,15 +141,7 @@
|
|
|
152
141
|
"@mapping": "shapedb:User.locationsId"
|
|
153
142
|
}
|
|
154
143
|
},
|
|
155
|
-
"required": [
|
|
156
|
-
"firstName",
|
|
157
|
-
"lastName",
|
|
158
|
-
"username",
|
|
159
|
-
"email",
|
|
160
|
-
"password",
|
|
161
|
-
"roles",
|
|
162
|
-
"locations"
|
|
163
|
-
]
|
|
144
|
+
"required": ["firstName", "lastName", "username", "email", "password", "roles", "locations"]
|
|
164
145
|
}
|
|
165
146
|
},
|
|
166
147
|
"UserLocations": {
|
|
@@ -183,13 +164,10 @@
|
|
|
183
164
|
"@mapping": "shapedb:UserLocations.lonId"
|
|
184
165
|
}
|
|
185
166
|
},
|
|
186
|
-
"required": [
|
|
187
|
-
"lat",
|
|
188
|
-
"lon"
|
|
189
|
-
]
|
|
167
|
+
"required": ["lat", "lon"]
|
|
190
168
|
}
|
|
191
169
|
}
|
|
192
170
|
},
|
|
193
|
-
"schemaVersion": "3.
|
|
171
|
+
"schemaVersion": "3.51.0",
|
|
194
172
|
"services": {}
|
|
195
|
-
}
|
|
173
|
+
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"projectId": "add3306a-dd46-470b-b9d3-b5356553a01f",
|
|
3
3
|
"defaultLocale": "en-us",
|
|
4
|
-
"locales": [
|
|
5
|
-
"en-us"
|
|
6
|
-
],
|
|
4
|
+
"locales": ["en-us"],
|
|
7
5
|
"queries": {
|
|
8
6
|
"getIndexedProductList": {
|
|
9
7
|
"shape": "PaginatedList<Salsify_Product>",
|
|
@@ -115,13 +113,7 @@
|
|
|
115
113
|
"description": "A short description of the part you are looking for to be used for semantic search."
|
|
116
114
|
}
|
|
117
115
|
},
|
|
118
|
-
"required": [
|
|
119
|
-
"make",
|
|
120
|
-
"model",
|
|
121
|
-
"year",
|
|
122
|
-
"engine",
|
|
123
|
-
"description"
|
|
124
|
-
]
|
|
116
|
+
"required": ["make", "model", "year", "engine", "description"]
|
|
125
117
|
}
|
|
126
118
|
},
|
|
127
119
|
"getPart": {
|
|
@@ -307,9 +299,7 @@
|
|
|
307
299
|
"description": "A four digit year string"
|
|
308
300
|
}
|
|
309
301
|
},
|
|
310
|
-
"required": [
|
|
311
|
-
"year"
|
|
312
|
-
]
|
|
302
|
+
"required": ["year"]
|
|
313
303
|
},
|
|
314
304
|
"resolver": {
|
|
315
305
|
"service": "parts",
|
|
@@ -428,10 +418,7 @@
|
|
|
428
418
|
"description": "The make id as numerical string"
|
|
429
419
|
}
|
|
430
420
|
},
|
|
431
|
-
"required": [
|
|
432
|
-
"year",
|
|
433
|
-
"make"
|
|
434
|
-
]
|
|
421
|
+
"required": ["year", "make"]
|
|
435
422
|
},
|
|
436
423
|
"resolver": {
|
|
437
424
|
"service": "parts",
|
|
@@ -514,11 +501,7 @@
|
|
|
514
501
|
"description": "The model id a numerical string"
|
|
515
502
|
}
|
|
516
503
|
},
|
|
517
|
-
"required": [
|
|
518
|
-
"year",
|
|
519
|
-
"make",
|
|
520
|
-
"model"
|
|
521
|
-
]
|
|
504
|
+
"required": ["year", "make", "model"]
|
|
522
505
|
},
|
|
523
506
|
"resolver": {
|
|
524
507
|
"service": "parts",
|
|
@@ -623,12 +606,7 @@
|
|
|
623
606
|
"type": "string"
|
|
624
607
|
}
|
|
625
608
|
},
|
|
626
|
-
"required": [
|
|
627
|
-
"engine",
|
|
628
|
-
"year",
|
|
629
|
-
"make",
|
|
630
|
-
"model"
|
|
631
|
-
]
|
|
609
|
+
"required": ["engine", "year", "make", "model"]
|
|
632
610
|
},
|
|
633
611
|
"resolver": {
|
|
634
612
|
"service": "parts",
|
|
@@ -775,9 +753,7 @@
|
|
|
775
753
|
"description": "The ID of the Collection to return."
|
|
776
754
|
}
|
|
777
755
|
},
|
|
778
|
-
"required": [
|
|
779
|
-
"id"
|
|
780
|
-
]
|
|
756
|
+
"required": ["id"]
|
|
781
757
|
},
|
|
782
758
|
"shape": "Shopify_Collection"
|
|
783
759
|
},
|
|
@@ -795,9 +771,7 @@
|
|
|
795
771
|
"description": "The handle of the collection."
|
|
796
772
|
}
|
|
797
773
|
},
|
|
798
|
-
"required": [
|
|
799
|
-
"handle"
|
|
800
|
-
]
|
|
774
|
+
"required": ["handle"]
|
|
801
775
|
},
|
|
802
776
|
"shape": "Shopify_Collection"
|
|
803
777
|
},
|
|
@@ -864,9 +838,7 @@
|
|
|
864
838
|
"description": "The ID of the Product to return."
|
|
865
839
|
}
|
|
866
840
|
},
|
|
867
|
-
"required": [
|
|
868
|
-
"id"
|
|
869
|
-
]
|
|
841
|
+
"required": ["id"]
|
|
870
842
|
},
|
|
871
843
|
"shape": "Shopify_Product"
|
|
872
844
|
},
|
|
@@ -1048,9 +1020,7 @@
|
|
|
1048
1020
|
"type": "string"
|
|
1049
1021
|
}
|
|
1050
1022
|
},
|
|
1051
|
-
"required": [
|
|
1052
|
-
"input"
|
|
1053
|
-
]
|
|
1023
|
+
"required": ["input"]
|
|
1054
1024
|
}
|
|
1055
1025
|
},
|
|
1056
1026
|
"ChatResponse": {
|
|
@@ -1361,9 +1331,7 @@
|
|
|
1361
1331
|
[
|
|
1362
1332
|
"get",
|
|
1363
1333
|
{
|
|
1364
|
-
"path": [
|
|
1365
|
-
"$source.mpn"
|
|
1366
|
-
]
|
|
1334
|
+
"path": ["$source.mpn"]
|
|
1367
1335
|
}
|
|
1368
1336
|
],
|
|
1369
1337
|
[
|
|
@@ -1461,9 +1429,7 @@
|
|
|
1461
1429
|
}
|
|
1462
1430
|
}
|
|
1463
1431
|
},
|
|
1464
|
-
"required": [
|
|
1465
|
-
"prompt"
|
|
1466
|
-
]
|
|
1432
|
+
"required": ["prompt"]
|
|
1467
1433
|
}
|
|
1468
1434
|
}
|
|
1469
1435
|
},
|
|
@@ -1482,11 +1448,7 @@
|
|
|
1482
1448
|
"widget": "singleLineText"
|
|
1483
1449
|
}
|
|
1484
1450
|
},
|
|
1485
|
-
"order": [
|
|
1486
|
-
"id",
|
|
1487
|
-
"data",
|
|
1488
|
-
"normalizedId"
|
|
1489
|
-
]
|
|
1451
|
+
"order": ["id", "data", "normalizedId"]
|
|
1490
1452
|
}
|
|
1491
1453
|
},
|
|
1492
1454
|
"App": {
|
|
@@ -1517,16 +1479,7 @@
|
|
|
1517
1479
|
"widget": "number"
|
|
1518
1480
|
}
|
|
1519
1481
|
},
|
|
1520
|
-
"order": [
|
|
1521
|
-
"engine",
|
|
1522
|
-
"make",
|
|
1523
|
-
"model",
|
|
1524
|
-
"year",
|
|
1525
|
-
"startYear",
|
|
1526
|
-
"endYear",
|
|
1527
|
-
"apptype",
|
|
1528
|
-
"qty"
|
|
1529
|
-
]
|
|
1482
|
+
"order": ["engine", "make", "model", "year", "startYear", "endYear", "apptype", "qty"]
|
|
1530
1483
|
}
|
|
1531
1484
|
},
|
|
1532
1485
|
"MockRelatedProduct": {
|
|
@@ -1536,9 +1489,7 @@
|
|
|
1536
1489
|
"widget": "singleLineText"
|
|
1537
1490
|
}
|
|
1538
1491
|
},
|
|
1539
|
-
"order": [
|
|
1540
|
-
"name"
|
|
1541
|
-
]
|
|
1492
|
+
"order": ["name"]
|
|
1542
1493
|
}
|
|
1543
1494
|
},
|
|
1544
1495
|
"DangerousPrompt": {
|
|
@@ -1549,10 +1500,7 @@
|
|
|
1549
1500
|
},
|
|
1550
1501
|
"promptVector": {}
|
|
1551
1502
|
},
|
|
1552
|
-
"order": [
|
|
1553
|
-
"prompt",
|
|
1554
|
-
"promptVector"
|
|
1555
|
-
]
|
|
1503
|
+
"order": ["prompt", "promptVector"]
|
|
1556
1504
|
}
|
|
1557
1505
|
}
|
|
1558
1506
|
},
|
|
@@ -1630,6 +1578,6 @@
|
|
|
1630
1578
|
}
|
|
1631
1579
|
}
|
|
1632
1580
|
},
|
|
1633
|
-
"schemaVersion": "3.
|
|
1581
|
+
"schemaVersion": "3.51.0",
|
|
1634
1582
|
"apiVersion": "2"
|
|
1635
|
-
}
|
|
1583
|
+
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"projectId": "projectId",
|
|
3
3
|
"defaultLocale": "en-us",
|
|
4
|
-
"locales": [
|
|
5
|
-
"en-us"
|
|
6
|
-
],
|
|
4
|
+
"locales": ["en-us"],
|
|
7
5
|
"queries": {
|
|
8
6
|
"getIndexedBooksBookList": {
|
|
9
7
|
"shape": "books:BookPaginatedList",
|
|
@@ -80,9 +78,7 @@
|
|
|
80
78
|
"type": "integer"
|
|
81
79
|
}
|
|
82
80
|
},
|
|
83
|
-
"required": [
|
|
84
|
-
"text"
|
|
85
|
-
]
|
|
81
|
+
"required": ["text"]
|
|
86
82
|
}
|
|
87
83
|
},
|
|
88
84
|
"chat": {
|
|
@@ -182,9 +178,7 @@
|
|
|
182
178
|
"type": "string"
|
|
183
179
|
}
|
|
184
180
|
},
|
|
185
|
-
"required": [
|
|
186
|
-
"text"
|
|
187
|
-
]
|
|
181
|
+
"required": ["text"]
|
|
188
182
|
}
|
|
189
183
|
},
|
|
190
184
|
"Books_getBookList": {
|
|
@@ -276,9 +270,7 @@
|
|
|
276
270
|
"@ref": "openai:CreateEmbeddingInput"
|
|
277
271
|
}
|
|
278
272
|
},
|
|
279
|
-
"required": [
|
|
280
|
-
"input"
|
|
281
|
-
]
|
|
273
|
+
"required": ["input"]
|
|
282
274
|
}
|
|
283
275
|
},
|
|
284
276
|
"OpenAI_createChatCompletion": {
|
|
@@ -317,9 +309,7 @@
|
|
|
317
309
|
"@ref": "openai:CreateChatCompletionInput"
|
|
318
310
|
}
|
|
319
311
|
},
|
|
320
|
-
"required": [
|
|
321
|
-
"input"
|
|
322
|
-
]
|
|
312
|
+
"required": ["input"]
|
|
323
313
|
}
|
|
324
314
|
}
|
|
325
315
|
},
|
|
@@ -383,10 +373,7 @@
|
|
|
383
373
|
[
|
|
384
374
|
"get",
|
|
385
375
|
{
|
|
386
|
-
"path": [
|
|
387
|
-
"$source.title",
|
|
388
|
-
"$source.bodyHtml"
|
|
389
|
-
]
|
|
376
|
+
"path": ["$source.title", "$source.bodyHtml"]
|
|
390
377
|
}
|
|
391
378
|
],
|
|
392
379
|
[
|
|
@@ -427,14 +414,11 @@
|
|
|
427
414
|
"widget": "singleLineText"
|
|
428
415
|
}
|
|
429
416
|
},
|
|
430
|
-
"order": [
|
|
431
|
-
"content",
|
|
432
|
-
"vector"
|
|
433
|
-
]
|
|
417
|
+
"order": ["content", "vector"]
|
|
434
418
|
}
|
|
435
419
|
}
|
|
436
420
|
},
|
|
437
|
-
"schemaVersion": "3.
|
|
421
|
+
"schemaVersion": "3.51.0",
|
|
438
422
|
"apiVersion": "2",
|
|
439
423
|
"services": {
|
|
440
424
|
"openai": {
|
|
@@ -467,4 +451,4 @@
|
|
|
467
451
|
}
|
|
468
452
|
}
|
|
469
453
|
}
|
|
470
|
-
}
|
|
454
|
+
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"resolver": {
|
|
8
8
|
"name": "delegate",
|
|
9
9
|
"to": "getDogList",
|
|
10
|
-
"options": {"selectionSet": "{items {name}}"}
|
|
10
|
+
"options": { "selectionSet": "{items {name}}" }
|
|
11
11
|
},
|
|
12
12
|
"shape": "JSON"
|
|
13
13
|
},
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"id": "JXJvoPKf-",
|
|
80
80
|
"name": "Dog",
|
|
81
81
|
"title": "Dog",
|
|
82
|
-
"model": {"type": "multiple"},
|
|
82
|
+
"model": { "type": "multiple" },
|
|
83
83
|
"schema": {
|
|
84
84
|
"type": "object",
|
|
85
85
|
"properties": {
|
|
@@ -125,8 +125,8 @@
|
|
|
125
125
|
"Dog": {
|
|
126
126
|
"default": {
|
|
127
127
|
"properties": {
|
|
128
|
-
"name": {"widget": "singleLineText"},
|
|
129
|
-
"color": {"widget": "singleLineText"}
|
|
128
|
+
"name": { "widget": "singleLineText" },
|
|
129
|
+
"color": { "widget": "singleLineText" }
|
|
130
130
|
},
|
|
131
131
|
"order": ["name", "color"]
|
|
132
132
|
}
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
"endpoint": "https://rickandmortyapi.com/graphql",
|
|
162
162
|
"introspectedAt": "2024-10-21T17:07:18.028Z"
|
|
163
163
|
},
|
|
164
|
-
"healthCheck": {"checkName": "graphqlIntrospection"}
|
|
164
|
+
"healthCheck": { "checkName": "graphqlIntrospection" }
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
167
|
"ai-experimental": {
|
|
@@ -195,7 +195,11 @@
|
|
|
195
195
|
{
|
|
196
196
|
"name": "input",
|
|
197
197
|
"steps": [
|
|
198
|
-
{
|
|
198
|
+
{
|
|
199
|
+
"type": "stateOutput",
|
|
200
|
+
"stateId": "ccc",
|
|
201
|
+
"path": "dogName"
|
|
202
|
+
},
|
|
199
203
|
{
|
|
200
204
|
"type": "graphqlArg",
|
|
201
205
|
"argName": "input"
|
|
@@ -208,14 +212,15 @@
|
|
|
208
212
|
"query": "query ($input: String!) {\n getDogList(terms: $input) {\n items {\n name\n color\n }\n }\n}\n",
|
|
209
213
|
"path": "getDogList.items"
|
|
210
214
|
},
|
|
211
|
-
"transition": [
|
|
212
|
-
{"condition": {"type": "none"}, "destination": "ccc"}
|
|
213
|
-
]
|
|
215
|
+
"transition": [{ "condition": { "type": "none" }, "destination": "ccc" }]
|
|
214
216
|
},
|
|
215
217
|
"ccc": {
|
|
216
218
|
"name": "answer",
|
|
217
219
|
"variables": [
|
|
218
|
-
{
|
|
220
|
+
{
|
|
221
|
+
"name": "results",
|
|
222
|
+
"steps": [{ "type": "previousStateOutput" }]
|
|
223
|
+
}
|
|
219
224
|
],
|
|
220
225
|
"execution": {
|
|
221
226
|
"type": "generate",
|
|
@@ -229,15 +234,19 @@
|
|
|
229
234
|
},
|
|
230
235
|
"transition": [
|
|
231
236
|
{
|
|
232
|
-
"condition": {
|
|
237
|
+
"condition": {
|
|
238
|
+
"type": "stateOutput",
|
|
239
|
+
"stateId": "ccc",
|
|
240
|
+
"path": "answered"
|
|
241
|
+
},
|
|
233
242
|
"destination": "ddd"
|
|
234
243
|
},
|
|
235
244
|
{
|
|
236
|
-
"condition": {"type": "none"},
|
|
245
|
+
"condition": { "type": "none" },
|
|
237
246
|
"limit": 3,
|
|
238
247
|
"destination": "bbb"
|
|
239
248
|
},
|
|
240
|
-
{"condition": {"type": "none"}, "destination": "eee"}
|
|
249
|
+
{ "condition": { "type": "none" }, "destination": "eee" }
|
|
241
250
|
]
|
|
242
251
|
},
|
|
243
252
|
"ddd": {
|
|
@@ -245,7 +254,7 @@
|
|
|
245
254
|
"variables": [
|
|
246
255
|
{
|
|
247
256
|
"name": "results",
|
|
248
|
-
"steps": [{"type": "previousStateOutput", "path": "message"}]
|
|
257
|
+
"steps": [{ "type": "previousStateOutput", "path": "message" }]
|
|
249
258
|
}
|
|
250
259
|
],
|
|
251
260
|
"execution": {
|
|
@@ -264,7 +273,7 @@
|
|
|
264
273
|
"variables": [
|
|
265
274
|
{
|
|
266
275
|
"name": "results",
|
|
267
|
-
"steps": [{"type": "previousStateOutput", "path": "message"}]
|
|
276
|
+
"steps": [{ "type": "previousStateOutput", "path": "message" }]
|
|
268
277
|
}
|
|
269
278
|
],
|
|
270
279
|
"execution": {
|
|
@@ -309,7 +318,11 @@
|
|
|
309
318
|
},
|
|
310
319
|
"transition": [
|
|
311
320
|
{
|
|
312
|
-
"condition": {
|
|
321
|
+
"condition": {
|
|
322
|
+
"type": "stringContains",
|
|
323
|
+
"string": "ALL_DONE",
|
|
324
|
+
"path": "content"
|
|
325
|
+
},
|
|
313
326
|
"destination": "endAgentExecution"
|
|
314
327
|
},
|
|
315
328
|
{
|
|
@@ -185,10 +185,7 @@
|
|
|
185
185
|
"type": "array",
|
|
186
186
|
"items": {
|
|
187
187
|
"type": "number",
|
|
188
|
-
"oneOf": [
|
|
189
|
-
{"title": "Option 1", "enum": [1]},
|
|
190
|
-
{"title": "Option 2", "enum": [2]}
|
|
191
|
-
]
|
|
188
|
+
"oneOf": [{ "title": "Option 1", "enum": [1] }, { "title": "Option 2", "enum": [2] }]
|
|
192
189
|
},
|
|
193
190
|
"title": "Number Array"
|
|
194
191
|
}
|
|
@@ -207,10 +204,7 @@
|
|
|
207
204
|
"type": "array",
|
|
208
205
|
"items": {
|
|
209
206
|
"type": "boolean",
|
|
210
|
-
"oneOf": [
|
|
211
|
-
{"title": "Option 1", "enum": [true]},
|
|
212
|
-
{"title": "Option 2", "enum": [false]}
|
|
213
|
-
]
|
|
207
|
+
"oneOf": [{ "title": "Option 1", "enum": [true] }, { "title": "Option 2", "enum": [false] }]
|
|
214
208
|
},
|
|
215
209
|
"title": "Boolean Array"
|
|
216
210
|
}
|
|
@@ -229,10 +223,7 @@
|
|
|
229
223
|
"type": "array",
|
|
230
224
|
"items": {
|
|
231
225
|
"type": "string",
|
|
232
|
-
"oneOf": [
|
|
233
|
-
{"title": "Option 1", "enum": ["option1"]},
|
|
234
|
-
{"title": "Option 2", "enum": ["option2"]}
|
|
235
|
-
]
|
|
226
|
+
"oneOf": [{ "title": "Option 1", "enum": ["option1"] }, { "title": "Option 2", "enum": ["option2"] }]
|
|
236
227
|
},
|
|
237
228
|
"title": "String Array"
|
|
238
229
|
}
|
|
@@ -251,12 +242,12 @@
|
|
|
251
242
|
"@resolver": {
|
|
252
243
|
"name": "shapedb:getRelated",
|
|
253
244
|
"service": "shapedb",
|
|
254
|
-
"options": {"nullable": true}
|
|
245
|
+
"options": { "nullable": true }
|
|
255
246
|
},
|
|
256
247
|
"@mapping": "shapedb:AssetShape.LJ-zq8YqQ",
|
|
257
248
|
"title": "Asset",
|
|
258
249
|
"@ref": "local:Asset",
|
|
259
|
-
"@input": {"@ref": "local:TSRelationship"}
|
|
250
|
+
"@input": { "@ref": "local:TSRelationship" }
|
|
260
251
|
}
|
|
261
252
|
}
|
|
262
253
|
}
|
|
@@ -273,15 +264,15 @@
|
|
|
273
264
|
"@resolver": {
|
|
274
265
|
"name": "shapedb:getRelated",
|
|
275
266
|
"service": "shapedb",
|
|
276
|
-
"options": {"nullable": true}
|
|
267
|
+
"options": { "nullable": true }
|
|
277
268
|
},
|
|
278
269
|
"type": "array",
|
|
279
270
|
"@mapping": "shapedb:AssetArrayShape.WkzdxMYIe",
|
|
280
271
|
"title": "Asset Array",
|
|
281
|
-
"items": {"@ref": "local:Asset"},
|
|
272
|
+
"items": { "@ref": "local:Asset" },
|
|
282
273
|
"@input": {
|
|
283
274
|
"type": "array",
|
|
284
|
-
"items": {"@ref": "local:TSRelationship"}
|
|
275
|
+
"items": { "@ref": "local:TSRelationship" }
|
|
285
276
|
}
|
|
286
277
|
}
|
|
287
278
|
}
|
|
@@ -291,7 +282,7 @@
|
|
|
291
282
|
"id": "JuazMflZQ",
|
|
292
283
|
"name": "ObjectShape",
|
|
293
284
|
"title": "Object Shape",
|
|
294
|
-
"model": {"type": "multiple"},
|
|
285
|
+
"model": { "type": "multiple" },
|
|
295
286
|
"schema": {
|
|
296
287
|
"type": "object",
|
|
297
288
|
"properties": {
|
|
@@ -307,7 +298,7 @@
|
|
|
307
298
|
"id": "VOhVoCmEH",
|
|
308
299
|
"name": "ObjectArrayShape",
|
|
309
300
|
"title": "Object Array Shape",
|
|
310
|
-
"model": {"type": "multiple"},
|
|
301
|
+
"model": { "type": "multiple" },
|
|
311
302
|
"schema": {
|
|
312
303
|
"type": "object",
|
|
313
304
|
"properties": {
|
|
@@ -315,7 +306,7 @@
|
|
|
315
306
|
"@mapping": "shapedb:ObjectArrayShape.ibjPjelG_",
|
|
316
307
|
"type": "array",
|
|
317
308
|
"title": "Object Array",
|
|
318
|
-
"items": {"type": "object"}
|
|
309
|
+
"items": { "type": "object" }
|
|
319
310
|
}
|
|
320
311
|
}
|
|
321
312
|
}
|
|
@@ -325,61 +316,61 @@
|
|
|
325
316
|
"forms": {
|
|
326
317
|
"StringShape": {
|
|
327
318
|
"default": {
|
|
328
|
-
"properties": {"string": {"widget": "singleLineText"}},
|
|
319
|
+
"properties": { "string": { "widget": "singleLineText" } },
|
|
329
320
|
"order": ["string"]
|
|
330
321
|
}
|
|
331
322
|
},
|
|
332
323
|
"NumberShape": {
|
|
333
324
|
"default": {
|
|
334
|
-
"properties": {"number": {"widget": "number"}},
|
|
325
|
+
"properties": { "number": { "widget": "number" } },
|
|
335
326
|
"order": ["number"]
|
|
336
327
|
}
|
|
337
328
|
},
|
|
338
329
|
"BooleanShape": {
|
|
339
330
|
"default": {
|
|
340
|
-
"properties": {"boolean": {"widget": "checkbox"}},
|
|
331
|
+
"properties": { "boolean": { "widget": "checkbox" } },
|
|
341
332
|
"order": ["boolean"]
|
|
342
333
|
}
|
|
343
334
|
},
|
|
344
335
|
"NumberArrayShape": {
|
|
345
336
|
"default": {
|
|
346
|
-
"properties": {"numberArray": {"widget": "numberCheckboxes"}},
|
|
337
|
+
"properties": { "numberArray": { "widget": "numberCheckboxes" } },
|
|
347
338
|
"order": ["numberArray"]
|
|
348
339
|
}
|
|
349
340
|
},
|
|
350
341
|
"BooleanArrayShape": {
|
|
351
342
|
"default": {
|
|
352
|
-
"properties": {"booleanArray": {"widget": "booleanCheckboxes"}},
|
|
343
|
+
"properties": { "booleanArray": { "widget": "booleanCheckboxes" } },
|
|
353
344
|
"order": ["booleanArray"]
|
|
354
345
|
}
|
|
355
346
|
},
|
|
356
347
|
"StringArrayShape": {
|
|
357
348
|
"default": {
|
|
358
|
-
"properties": {"stringArray": {"widget": "checkboxes"}},
|
|
349
|
+
"properties": { "stringArray": { "widget": "checkboxes" } },
|
|
359
350
|
"order": ["stringArray"]
|
|
360
351
|
}
|
|
361
352
|
},
|
|
362
353
|
"AssetShape": {
|
|
363
354
|
"default": {
|
|
364
|
-
"properties": {"asset": {"widget": "image"}},
|
|
355
|
+
"properties": { "asset": { "widget": "image" } },
|
|
365
356
|
"order": ["asset"]
|
|
366
357
|
}
|
|
367
358
|
},
|
|
368
359
|
"AssetArrayShape": {
|
|
369
360
|
"default": {
|
|
370
|
-
"properties": {"assetArray": {"items": {"widget": "image"}}},
|
|
361
|
+
"properties": { "assetArray": { "items": { "widget": "image" } } },
|
|
371
362
|
"order": ["assetArray"]
|
|
372
363
|
}
|
|
373
364
|
},
|
|
374
365
|
"ObjectShape": {
|
|
375
366
|
"default": {
|
|
376
|
-
"properties": {"object": {"widget": "shapeObject"}},
|
|
367
|
+
"properties": { "object": { "widget": "shapeObject" } },
|
|
377
368
|
"order": ["object"]
|
|
378
369
|
}
|
|
379
370
|
},
|
|
380
371
|
"ObjectArrayShape": {
|
|
381
372
|
"default": {
|
|
382
|
-
"properties": {"objectArray": {"widget": "shapeArray"}},
|
|
373
|
+
"properties": { "objectArray": { "widget": "shapeArray" } },
|
|
383
374
|
"order": ["objectArray"]
|
|
384
375
|
}
|
|
385
376
|
}
|