@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
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"shapeName": "Salsify_Product",
|
|
10
10
|
"name": "takeshape:queryApiIndex",
|
|
11
11
|
"service": "takeshape",
|
|
12
|
-
"options": {"indexedShape": "Salsify_Product"}
|
|
12
|
+
"options": { "indexedShape": "Salsify_Product" }
|
|
13
13
|
},
|
|
14
14
|
"description": "Fetch Salsify_Product data from the API Index.",
|
|
15
15
|
"args": "TSListArgs<Salsify_Product>"
|
|
@@ -24,13 +24,15 @@
|
|
|
24
24
|
"name": "ai:createEmbedding",
|
|
25
25
|
"service": "openai",
|
|
26
26
|
"model": "text-embedding-3-small",
|
|
27
|
-
"args": {
|
|
27
|
+
"args": {
|
|
28
|
+
"ops": [{ "path": "input", "mapping": "$args.description" }]
|
|
29
|
+
}
|
|
28
30
|
},
|
|
29
31
|
{
|
|
30
32
|
"shapeName": "Salsify_Product",
|
|
31
33
|
"name": "takeshape:vectorSearch",
|
|
32
34
|
"service": "takeshape",
|
|
33
|
-
"options": {"indexedShape": "Salsify_Product"},
|
|
35
|
+
"options": { "indexedShape": "Salsify_Product" },
|
|
34
36
|
"args": {
|
|
35
37
|
"ops": [
|
|
36
38
|
{
|
|
@@ -51,12 +53,10 @@
|
|
|
51
53
|
},
|
|
52
54
|
{
|
|
53
55
|
"path": "where.part.buyersguide.engine.in",
|
|
54
|
-
"mapping": [
|
|
55
|
-
["expressionEval", {"expression": "['All', $args.engine]"}]
|
|
56
|
-
]
|
|
56
|
+
"mapping": [["expressionEval", { "expression": "['All', $args.engine]" }]]
|
|
57
57
|
},
|
|
58
|
-
{"path": "vector.name", "value": "vector"},
|
|
59
|
-
{"path": "vector.value", "mapping": "$resolvers.embedding"}
|
|
58
|
+
{ "path": "vector.name", "value": "vector" },
|
|
59
|
+
{ "path": "vector.value", "mapping": "$resolvers.embedding" }
|
|
60
60
|
]
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -96,17 +96,20 @@
|
|
|
96
96
|
},
|
|
97
97
|
"getPart": {
|
|
98
98
|
"shape": "Part",
|
|
99
|
-
"args": {
|
|
99
|
+
"args": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"properties": { "partNo": { "type": "string" } }
|
|
102
|
+
},
|
|
100
103
|
"resolver": {
|
|
101
104
|
"service": "parts",
|
|
102
105
|
"name": "rest:get",
|
|
103
106
|
"path": "/bin/ShowMeConnect.exe",
|
|
104
107
|
"searchParams": {
|
|
105
108
|
"ops": [
|
|
106
|
-
{"path": "$.lookup", "value": "partdetailfull"},
|
|
107
|
-
{"path": "$.udf", "mapping": "$args.partNo"},
|
|
108
|
-
{"path": "$.id", "value": "69876V2_WEBeCOM"},
|
|
109
|
-
{"path": "$.bust", "value": "2"}
|
|
109
|
+
{ "path": "$.lookup", "value": "partdetailfull" },
|
|
110
|
+
{ "path": "$.udf", "mapping": "$args.partNo" },
|
|
111
|
+
{ "path": "$.id", "value": "69876V2_WEBeCOM" },
|
|
112
|
+
{ "path": "$.bust", "value": "2" }
|
|
110
113
|
]
|
|
111
114
|
},
|
|
112
115
|
"results": {
|
|
@@ -124,55 +127,47 @@
|
|
|
124
127
|
"path": "$finalResolver.ShowMeTheParts_PartDetails.buyersguide[1].app"
|
|
125
128
|
}
|
|
126
129
|
],
|
|
127
|
-
["array", {"shouldNest": false}]
|
|
130
|
+
["array", { "shouldNest": false }]
|
|
128
131
|
]
|
|
129
132
|
},
|
|
130
133
|
{
|
|
131
134
|
"path": "$.buyersguide[*].startYear",
|
|
132
135
|
"mapping": [
|
|
133
|
-
["get", {"path": "$loop.item.year"}],
|
|
134
|
-
["cast", {"to": "string"}],
|
|
135
|
-
["yearRange", {"select": "last"}],
|
|
136
|
-
["cast", {"to": "integer"}]
|
|
136
|
+
["get", { "path": "$loop.item.year" }],
|
|
137
|
+
["cast", { "to": "string" }],
|
|
138
|
+
["yearRange", { "select": "last" }],
|
|
139
|
+
["cast", { "to": "integer" }]
|
|
137
140
|
]
|
|
138
141
|
},
|
|
139
142
|
{
|
|
140
143
|
"path": "$.buyersguide[*].endYear",
|
|
141
144
|
"mapping": [
|
|
142
|
-
["get", {"path": "$loop.item.year"}],
|
|
143
|
-
["cast", {"to": "string"}],
|
|
144
|
-
["yearRange", {"select": "first"}],
|
|
145
|
-
["cast", {"to": "integer"}]
|
|
145
|
+
["get", { "path": "$loop.item.year" }],
|
|
146
|
+
["cast", { "to": "string" }],
|
|
147
|
+
["yearRange", { "select": "first" }],
|
|
148
|
+
["cast", { "to": "integer" }]
|
|
146
149
|
]
|
|
147
150
|
}
|
|
148
151
|
]
|
|
149
152
|
},
|
|
150
|
-
"options": {"ttl": 172800, "timeout": 29000}
|
|
153
|
+
"options": { "ttl": 172800, "timeout": 29000 }
|
|
151
154
|
}
|
|
152
155
|
},
|
|
153
156
|
"getYears": {
|
|
154
|
-
"shape": {"type": "array", "items": {"type": "string"}},
|
|
157
|
+
"shape": { "type": "array", "items": { "type": "string" } },
|
|
155
158
|
"resolver": {
|
|
156
159
|
"service": "parts",
|
|
157
160
|
"name": "rest:get",
|
|
158
161
|
"path": "/bin/ShowMeConnect.exe",
|
|
159
|
-
"options": {"timeout": 10000, "ttl": 604800},
|
|
162
|
+
"options": { "timeout": 10000, "ttl": 604800 },
|
|
160
163
|
"searchParams": {
|
|
161
|
-
"ops": [
|
|
162
|
-
{"path": "$.lookup", "value": "year"},
|
|
163
|
-
{"path": "$.id", "value": "69876V2_WEBeCOM"}
|
|
164
|
-
]
|
|
164
|
+
"ops": [{ "path": "$.lookup", "value": "year" }, { "path": "$.id", "value": "69876V2_WEBeCOM" }]
|
|
165
165
|
},
|
|
166
166
|
"results": {
|
|
167
167
|
"ops": [
|
|
168
168
|
{
|
|
169
169
|
"path": "$",
|
|
170
|
-
"mapping": [
|
|
171
|
-
[
|
|
172
|
-
"jsonPath",
|
|
173
|
-
{"path": "$finalResolver.ShowMeTheParts_Year.year[*].id"}
|
|
174
|
-
]
|
|
175
|
-
]
|
|
170
|
+
"mapping": [["jsonPath", { "path": "$finalResolver.ShowMeTheParts_Year.year[*].id" }]]
|
|
176
171
|
}
|
|
177
172
|
]
|
|
178
173
|
}
|
|
@@ -180,11 +175,14 @@
|
|
|
180
175
|
},
|
|
181
176
|
"getMakes": {
|
|
182
177
|
"description": "Given a four digit year string list the valid makes for that year",
|
|
183
|
-
"shape": {"type": "array", "items": {"@ref": "local:Make"}},
|
|
178
|
+
"shape": { "type": "array", "items": { "@ref": "local:Make" } },
|
|
184
179
|
"args": {
|
|
185
180
|
"type": "object",
|
|
186
181
|
"properties": {
|
|
187
|
-
"year": {
|
|
182
|
+
"year": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"description": "A four digit year string"
|
|
185
|
+
}
|
|
188
186
|
},
|
|
189
187
|
"required": ["year"]
|
|
190
188
|
},
|
|
@@ -192,48 +190,39 @@
|
|
|
192
190
|
"service": "parts",
|
|
193
191
|
"name": "rest:get",
|
|
194
192
|
"path": "/bin/ShowMeConnect.exe",
|
|
195
|
-
"options": {"timeout": 10000, "ttl": 604800},
|
|
193
|
+
"options": { "timeout": 10000, "ttl": 604800 },
|
|
196
194
|
"searchParams": {
|
|
197
195
|
"ops": [
|
|
198
|
-
{"path": "$.lookup", "value": "make"},
|
|
199
|
-
{"path": "$.year", "mapping": "$args.year"},
|
|
200
|
-
{"path": "$.id", "value": "69876V2_WEBeCOM"}
|
|
196
|
+
{ "path": "$.lookup", "value": "make" },
|
|
197
|
+
{ "path": "$.year", "mapping": "$args.year" },
|
|
198
|
+
{ "path": "$.id", "value": "69876V2_WEBeCOM" }
|
|
201
199
|
]
|
|
202
200
|
},
|
|
203
201
|
"results": {
|
|
204
202
|
"ops": [
|
|
205
203
|
{
|
|
206
204
|
"path": "$",
|
|
207
|
-
"mapping": [
|
|
208
|
-
["get", {"path": "$finalResolver.ShowMeTheParts_Make.make"}],
|
|
209
|
-
["cast", {"to": "array"}]
|
|
210
|
-
]
|
|
205
|
+
"mapping": [["get", { "path": "$finalResolver.ShowMeTheParts_Make.make" }], ["cast", { "to": "array" }]]
|
|
211
206
|
}
|
|
212
207
|
]
|
|
213
208
|
}
|
|
214
209
|
}
|
|
215
210
|
},
|
|
216
211
|
"getAllMakes": {
|
|
217
|
-
"shape": {"type": "array", "items": {"@ref": "local:Make"}},
|
|
212
|
+
"shape": { "type": "array", "items": { "@ref": "local:Make" } },
|
|
218
213
|
"resolver": {
|
|
219
214
|
"service": "parts",
|
|
220
215
|
"name": "rest:get",
|
|
221
216
|
"path": "/bin/ShowMeConnect.exe",
|
|
222
|
-
"options": {"timeout": 10000, "ttl": 604800},
|
|
217
|
+
"options": { "timeout": 10000, "ttl": 604800 },
|
|
223
218
|
"searchParams": {
|
|
224
|
-
"ops": [
|
|
225
|
-
{"path": "$.lookup", "value": "make"},
|
|
226
|
-
{"path": "$.id", "value": "69876V2_WEBeCOM"}
|
|
227
|
-
]
|
|
219
|
+
"ops": [{ "path": "$.lookup", "value": "make" }, { "path": "$.id", "value": "69876V2_WEBeCOM" }]
|
|
228
220
|
},
|
|
229
221
|
"results": {
|
|
230
222
|
"ops": [
|
|
231
223
|
{
|
|
232
224
|
"path": "$",
|
|
233
|
-
"mapping": [
|
|
234
|
-
["get", {"path": "$finalResolver.ShowMeTheParts_Make.make"}],
|
|
235
|
-
["cast", {"to": "array"}]
|
|
236
|
-
]
|
|
225
|
+
"mapping": [["get", { "path": "$finalResolver.ShowMeTheParts_Make.make" }], ["cast", { "to": "array" }]]
|
|
237
226
|
}
|
|
238
227
|
]
|
|
239
228
|
}
|
|
@@ -241,11 +230,14 @@
|
|
|
241
230
|
},
|
|
242
231
|
"getModels": {
|
|
243
232
|
"description": "Given a year and make id get a list of the valid models",
|
|
244
|
-
"shape": {"type": "array", "items": {"@ref": "local:Model"}},
|
|
233
|
+
"shape": { "type": "array", "items": { "@ref": "local:Model" } },
|
|
245
234
|
"args": {
|
|
246
235
|
"type": "object",
|
|
247
236
|
"properties": {
|
|
248
|
-
"year": {
|
|
237
|
+
"year": {
|
|
238
|
+
"type": "string",
|
|
239
|
+
"description": "A four digit year string"
|
|
240
|
+
},
|
|
249
241
|
"make": {
|
|
250
242
|
"type": "string",
|
|
251
243
|
"description": "The make id as numerical string"
|
|
@@ -257,42 +249,37 @@
|
|
|
257
249
|
"service": "parts",
|
|
258
250
|
"name": "rest:get",
|
|
259
251
|
"path": "/bin/ShowMeConnect.exe",
|
|
260
|
-
"options": {"timeout": 10000, "ttl": 604800},
|
|
252
|
+
"options": { "timeout": 10000, "ttl": 604800 },
|
|
261
253
|
"searchParams": {
|
|
262
254
|
"ops": [
|
|
263
|
-
{"path": "$.lookup", "value": "model"},
|
|
264
|
-
{"path": "$.year", "mapping": "$args.year"},
|
|
255
|
+
{ "path": "$.lookup", "value": "model" },
|
|
256
|
+
{ "path": "$.year", "mapping": "$args.year" },
|
|
265
257
|
{
|
|
266
258
|
"path": "$.make",
|
|
267
|
-
"mapping": [
|
|
268
|
-
[
|
|
269
|
-
"expressionEval",
|
|
270
|
-
{"expression": "toString($args.make).padStart(4, '0')"}
|
|
271
|
-
]
|
|
272
|
-
]
|
|
259
|
+
"mapping": [["expressionEval", { "expression": "toString($args.make).padStart(4, '0')" }]]
|
|
273
260
|
},
|
|
274
|
-
{"path": "$.id", "value": "69876V2_WEBeCOM"}
|
|
261
|
+
{ "path": "$.id", "value": "69876V2_WEBeCOM" }
|
|
275
262
|
]
|
|
276
263
|
},
|
|
277
264
|
"results": {
|
|
278
265
|
"ops": [
|
|
279
266
|
{
|
|
280
267
|
"path": "$",
|
|
281
|
-
"mapping": [
|
|
282
|
-
["get", {"path": "$finalResolver.ShowMeTheParts_Model.model"}],
|
|
283
|
-
["cast", {"to": "array"}]
|
|
284
|
-
]
|
|
268
|
+
"mapping": [["get", { "path": "$finalResolver.ShowMeTheParts_Model.model" }], ["cast", { "to": "array" }]]
|
|
285
269
|
}
|
|
286
270
|
]
|
|
287
271
|
}
|
|
288
272
|
}
|
|
289
273
|
},
|
|
290
274
|
"getEngines": {
|
|
291
|
-
"shape": {"type": "array", "items": {"@ref": "local:Engine"}},
|
|
275
|
+
"shape": { "type": "array", "items": { "@ref": "local:Engine" } },
|
|
292
276
|
"args": {
|
|
293
277
|
"type": "object",
|
|
294
278
|
"properties": {
|
|
295
|
-
"year": {
|
|
279
|
+
"year": {
|
|
280
|
+
"type": "string",
|
|
281
|
+
"description": "A four digit year string"
|
|
282
|
+
},
|
|
296
283
|
"make": {
|
|
297
284
|
"type": "string",
|
|
298
285
|
"description": "The make id a numerical string"
|
|
@@ -308,30 +295,20 @@
|
|
|
308
295
|
"service": "parts",
|
|
309
296
|
"name": "rest:get",
|
|
310
297
|
"path": "/bin/ShowMeConnect.exe",
|
|
311
|
-
"options": {"timeout": 10000, "ttl": 604800},
|
|
298
|
+
"options": { "timeout": 10000, "ttl": 604800 },
|
|
312
299
|
"searchParams": {
|
|
313
300
|
"ops": [
|
|
314
|
-
{"path": "$.lookup", "value": "engine"},
|
|
315
|
-
{"path": "$.year", "mapping": "$args.year"},
|
|
301
|
+
{ "path": "$.lookup", "value": "engine" },
|
|
302
|
+
{ "path": "$.year", "mapping": "$args.year" },
|
|
316
303
|
{
|
|
317
304
|
"path": "$.make",
|
|
318
|
-
"mapping": [
|
|
319
|
-
[
|
|
320
|
-
"expressionEval",
|
|
321
|
-
{"expression": "toString($args.make).padStart(4, '0')"}
|
|
322
|
-
]
|
|
323
|
-
]
|
|
305
|
+
"mapping": [["expressionEval", { "expression": "toString($args.make).padStart(4, '0')" }]]
|
|
324
306
|
},
|
|
325
307
|
{
|
|
326
308
|
"path": "$.model",
|
|
327
|
-
"mapping": [
|
|
328
|
-
[
|
|
329
|
-
"expressionEval",
|
|
330
|
-
{"expression": "toString($args.model).padStart(4, '0')"}
|
|
331
|
-
]
|
|
332
|
-
]
|
|
309
|
+
"mapping": [["expressionEval", { "expression": "toString($args.model).padStart(4, '0')" }]]
|
|
333
310
|
},
|
|
334
|
-
{"path": "$.id", "value": "69876V2_WEBeCOM"}
|
|
311
|
+
{ "path": "$.id", "value": "69876V2_WEBeCOM" }
|
|
335
312
|
]
|
|
336
313
|
},
|
|
337
314
|
"results": {
|
|
@@ -339,11 +316,8 @@
|
|
|
339
316
|
{
|
|
340
317
|
"path": "$",
|
|
341
318
|
"mapping": [
|
|
342
|
-
[
|
|
343
|
-
|
|
344
|
-
{"path": "$finalResolver.ShowMeTheParts_Engine.engine"}
|
|
345
|
-
],
|
|
346
|
-
["cast", {"to": "array"}]
|
|
319
|
+
["get", { "path": "$finalResolver.ShowMeTheParts_Engine.engine" }],
|
|
320
|
+
["cast", { "to": "array" }]
|
|
347
321
|
]
|
|
348
322
|
},
|
|
349
323
|
{
|
|
@@ -362,14 +336,14 @@
|
|
|
362
336
|
}
|
|
363
337
|
},
|
|
364
338
|
"getPartsDetails": {
|
|
365
|
-
"shape": {"type": "array", "items": {"@ref": "local:PartDetail"}},
|
|
339
|
+
"shape": { "type": "array", "items": { "@ref": "local:PartDetail" } },
|
|
366
340
|
"args": {
|
|
367
341
|
"type": "object",
|
|
368
342
|
"properties": {
|
|
369
|
-
"engine": {"type": "string"},
|
|
370
|
-
"year": {"type": "string"},
|
|
371
|
-
"make": {"type": "string"},
|
|
372
|
-
"model": {"type": "string"}
|
|
343
|
+
"engine": { "type": "string" },
|
|
344
|
+
"year": { "type": "string" },
|
|
345
|
+
"make": { "type": "string" },
|
|
346
|
+
"model": { "type": "string" }
|
|
373
347
|
},
|
|
374
348
|
"required": ["engine", "year", "make", "model"]
|
|
375
349
|
},
|
|
@@ -377,31 +351,21 @@
|
|
|
377
351
|
"service": "parts",
|
|
378
352
|
"name": "rest:get",
|
|
379
353
|
"path": "/bin/ShowMeConnect.exe",
|
|
380
|
-
"options": {"timeout": 10000, "ttl": 172800},
|
|
354
|
+
"options": { "timeout": 10000, "ttl": 172800 },
|
|
381
355
|
"searchParams": {
|
|
382
356
|
"ops": [
|
|
383
|
-
{"path": "$.lookup", "value": "parts"},
|
|
384
|
-
{"path": "$.year", "mapping": "$args.year"},
|
|
357
|
+
{ "path": "$.lookup", "value": "parts" },
|
|
358
|
+
{ "path": "$.year", "mapping": "$args.year" },
|
|
385
359
|
{
|
|
386
360
|
"path": "$.make",
|
|
387
|
-
"mapping": [
|
|
388
|
-
[
|
|
389
|
-
"expressionEval",
|
|
390
|
-
{"expression": "toString($args.make).padStart(4, '0')"}
|
|
391
|
-
]
|
|
392
|
-
]
|
|
361
|
+
"mapping": [["expressionEval", { "expression": "toString($args.make).padStart(4, '0')" }]]
|
|
393
362
|
},
|
|
394
363
|
{
|
|
395
364
|
"path": "$.model",
|
|
396
|
-
"mapping": [
|
|
397
|
-
[
|
|
398
|
-
"expressionEval",
|
|
399
|
-
{"expression": "toString($args.model).padStart(4, '0')"}
|
|
400
|
-
]
|
|
401
|
-
]
|
|
365
|
+
"mapping": [["expressionEval", { "expression": "toString($args.model).padStart(4, '0')" }]]
|
|
402
366
|
},
|
|
403
|
-
{"path": "$.engine", "mapping": "$args.engine"},
|
|
404
|
-
{"path": "$.id", "value": "69876V2_WEBeCOM"}
|
|
367
|
+
{ "path": "$.engine", "mapping": "$args.engine" },
|
|
368
|
+
{ "path": "$.id", "value": "69876V2_WEBeCOM" }
|
|
405
369
|
]
|
|
406
370
|
},
|
|
407
371
|
"results": {
|
|
@@ -409,11 +373,8 @@
|
|
|
409
373
|
{
|
|
410
374
|
"path": "$",
|
|
411
375
|
"mapping": [
|
|
412
|
-
[
|
|
413
|
-
|
|
414
|
-
{"path": "$finalResolver.ShowMeThePartsDetail.partsdata"}
|
|
415
|
-
],
|
|
416
|
-
["cast", {"to": "array"}]
|
|
376
|
+
["get", { "path": "$finalResolver.ShowMeThePartsDetail.partsdata" }],
|
|
377
|
+
["cast", { "to": "array" }]
|
|
417
378
|
]
|
|
418
379
|
},
|
|
419
380
|
{
|
|
@@ -436,8 +397,8 @@
|
|
|
436
397
|
"args": {
|
|
437
398
|
"type": "object",
|
|
438
399
|
"properties": {
|
|
439
|
-
"from": {"type": "integer", "default": 0},
|
|
440
|
-
"size": {"type": "integer", "default": 10}
|
|
400
|
+
"from": { "type": "integer", "default": 0 },
|
|
401
|
+
"size": { "type": "integer", "default": 10 }
|
|
441
402
|
}
|
|
442
403
|
},
|
|
443
404
|
"resolver": {
|
|
@@ -458,9 +419,7 @@
|
|
|
458
419
|
},
|
|
459
420
|
{
|
|
460
421
|
"path": "$.total",
|
|
461
|
-
"mapping": [
|
|
462
|
-
["expressionEval", {"expression": "$finalResolver.length"}]
|
|
463
|
-
]
|
|
422
|
+
"mapping": [["expressionEval", { "expression": "$finalResolver.length" }]]
|
|
464
423
|
}
|
|
465
424
|
]
|
|
466
425
|
}
|
|
@@ -596,7 +555,7 @@
|
|
|
596
555
|
"shapeName": "Salsify_Product",
|
|
597
556
|
"name": "takeshape:queryApiIndex",
|
|
598
557
|
"service": "takeshape",
|
|
599
|
-
"options": {"indexedShape": "Salsify_Product"}
|
|
558
|
+
"options": { "indexedShape": "Salsify_Product" }
|
|
600
559
|
},
|
|
601
560
|
"description": "Fetch Salsify_Product data from the API Index.",
|
|
602
561
|
"args": "TSListArgs<Salsify_Product>"
|
|
@@ -739,8 +698,8 @@
|
|
|
739
698
|
"schema": {
|
|
740
699
|
"type": "object",
|
|
741
700
|
"properties": {
|
|
742
|
-
"input": {"type": "string"},
|
|
743
|
-
"sessionId": {"type": "string"}
|
|
701
|
+
"input": { "type": "string" },
|
|
702
|
+
"sessionId": { "type": "string" }
|
|
744
703
|
},
|
|
745
704
|
"required": ["input"]
|
|
746
705
|
}
|
|
@@ -752,8 +711,8 @@
|
|
|
752
711
|
"schema": {
|
|
753
712
|
"type": "object",
|
|
754
713
|
"properties": {
|
|
755
|
-
"content": {"type": "string"},
|
|
756
|
-
"sessionId": {"type": "string"}
|
|
714
|
+
"content": { "type": "string" },
|
|
715
|
+
"sessionId": { "type": "string" }
|
|
757
716
|
}
|
|
758
717
|
}
|
|
759
718
|
},
|
|
@@ -763,7 +722,10 @@
|
|
|
763
722
|
"title": "Model",
|
|
764
723
|
"schema": {
|
|
765
724
|
"type": "object",
|
|
766
|
-
"properties": {
|
|
725
|
+
"properties": {
|
|
726
|
+
"id": { "type": "string" },
|
|
727
|
+
"data": { "type": "string" }
|
|
728
|
+
}
|
|
767
729
|
}
|
|
768
730
|
},
|
|
769
731
|
"Make": {
|
|
@@ -772,7 +734,10 @@
|
|
|
772
734
|
"title": "Make",
|
|
773
735
|
"schema": {
|
|
774
736
|
"type": "object",
|
|
775
|
-
"properties": {
|
|
737
|
+
"properties": {
|
|
738
|
+
"id": { "type": "string" },
|
|
739
|
+
"data": { "type": "string" }
|
|
740
|
+
}
|
|
776
741
|
}
|
|
777
742
|
},
|
|
778
743
|
"Engine": {
|
|
@@ -782,8 +747,8 @@
|
|
|
782
747
|
"schema": {
|
|
783
748
|
"type": "object",
|
|
784
749
|
"properties": {
|
|
785
|
-
"id": {"type": "string", "@mapping": "shapedb:Engine.id"},
|
|
786
|
-
"data": {"type": "string", "@mapping": "shapedb:Engine.data"},
|
|
750
|
+
"id": { "type": "string", "@mapping": "shapedb:Engine.id" },
|
|
751
|
+
"data": { "type": "string", "@mapping": "shapedb:Engine.data" },
|
|
787
752
|
"normalizedId": {
|
|
788
753
|
"type": "string",
|
|
789
754
|
"@mapping": "shapedb:Engine.normalizedId"
|
|
@@ -798,35 +763,35 @@
|
|
|
798
763
|
"schema": {
|
|
799
764
|
"type": "object",
|
|
800
765
|
"properties": {
|
|
801
|
-
"supplier": {"type": "string"},
|
|
802
|
-
"app_no": {"type": "integer"},
|
|
803
|
-
"location": {"type": "string"},
|
|
804
|
-
"brand": {"type": "string"},
|
|
805
|
-
"part_no": {"type": "string"},
|
|
806
|
-
"part_type": {"type": "string"},
|
|
807
|
-
"alt_part_type": {"type": "string"},
|
|
808
|
-
"part_key": {"type": "integer"},
|
|
809
|
-
"comment": {"type": "string"},
|
|
810
|
-
"application": {"type": "string"},
|
|
811
|
-
"qty": {"type": "integer"},
|
|
812
|
-
"case_qty": {"type": "string"},
|
|
813
|
-
"price": {"type": "number"},
|
|
814
|
-
"storelocator": {"type": "integer"},
|
|
815
|
-
"doc": {"type": "string"},
|
|
816
|
-
"udf2": {"type": "string"},
|
|
817
|
-
"udf1": {"type": "integer"},
|
|
818
|
-
"displayorder": {"type": "integer"},
|
|
819
|
-
"supplierid": {"type": "integer"},
|
|
820
|
-
"image": {"type": "string"},
|
|
821
|
-
"height": {"type": "integer"},
|
|
822
|
-
"width": {"type": "integer"},
|
|
823
|
-
"smtp_brandid": {"type": "string"},
|
|
824
|
-
"bodystyle": {"type": "string"},
|
|
825
|
-
"gcommercehostid": {"type": "string"},
|
|
826
|
-
"aaiabrandid": {"type": "string"},
|
|
827
|
-
"warehouses": {"type": "string"},
|
|
828
|
-
"id": {"type": "integer"},
|
|
829
|
-
"buylinkcnt": {"type": "string"}
|
|
766
|
+
"supplier": { "type": "string" },
|
|
767
|
+
"app_no": { "type": "integer" },
|
|
768
|
+
"location": { "type": "string" },
|
|
769
|
+
"brand": { "type": "string" },
|
|
770
|
+
"part_no": { "type": "string" },
|
|
771
|
+
"part_type": { "type": "string" },
|
|
772
|
+
"alt_part_type": { "type": "string" },
|
|
773
|
+
"part_key": { "type": "integer" },
|
|
774
|
+
"comment": { "type": "string" },
|
|
775
|
+
"application": { "type": "string" },
|
|
776
|
+
"qty": { "type": "integer" },
|
|
777
|
+
"case_qty": { "type": "string" },
|
|
778
|
+
"price": { "type": "number" },
|
|
779
|
+
"storelocator": { "type": "integer" },
|
|
780
|
+
"doc": { "type": "string" },
|
|
781
|
+
"udf2": { "type": "string" },
|
|
782
|
+
"udf1": { "type": "integer" },
|
|
783
|
+
"displayorder": { "type": "integer" },
|
|
784
|
+
"supplierid": { "type": "integer" },
|
|
785
|
+
"image": { "type": "string" },
|
|
786
|
+
"height": { "type": "integer" },
|
|
787
|
+
"width": { "type": "integer" },
|
|
788
|
+
"smtp_brandid": { "type": "string" },
|
|
789
|
+
"bodystyle": { "type": "string" },
|
|
790
|
+
"gcommercehostid": { "type": "string" },
|
|
791
|
+
"aaiabrandid": { "type": "string" },
|
|
792
|
+
"warehouses": { "type": "string" },
|
|
793
|
+
"id": { "type": "integer" },
|
|
794
|
+
"buylinkcnt": { "type": "string" }
|
|
830
795
|
}
|
|
831
796
|
}
|
|
832
797
|
},
|
|
@@ -837,14 +802,17 @@
|
|
|
837
802
|
"schema": {
|
|
838
803
|
"type": "object",
|
|
839
804
|
"properties": {
|
|
840
|
-
"engine": {"type": "string", "@mapping": "shapedb:App.engine"},
|
|
841
|
-
"make": {"type": "string", "@mapping": "shapedb:App.make"},
|
|
842
|
-
"model": {"type": "string", "@mapping": "shapedb:App.model"},
|
|
843
|
-
"year": {"type": "string", "@mapping": "shapedb:App.year"},
|
|
844
|
-
"startYear": {
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
805
|
+
"engine": { "type": "string", "@mapping": "shapedb:App.engine" },
|
|
806
|
+
"make": { "type": "string", "@mapping": "shapedb:App.make" },
|
|
807
|
+
"model": { "type": "string", "@mapping": "shapedb:App.model" },
|
|
808
|
+
"year": { "type": "string", "@mapping": "shapedb:App.year" },
|
|
809
|
+
"startYear": {
|
|
810
|
+
"type": "integer",
|
|
811
|
+
"@mapping": "shapedb:App.startYear"
|
|
812
|
+
},
|
|
813
|
+
"endYear": { "type": "integer", "@mapping": "shapedb:App.endYear" },
|
|
814
|
+
"apptype": { "type": "string", "@mapping": "shapedb:App.apptype" },
|
|
815
|
+
"qty": { "type": "integer", "@mapping": "shapedb:App.qty" }
|
|
848
816
|
}
|
|
849
817
|
}
|
|
850
818
|
},
|
|
@@ -854,14 +822,14 @@
|
|
|
854
822
|
"schema": {
|
|
855
823
|
"properties": {
|
|
856
824
|
"buyersguide": {
|
|
857
|
-
"@indexed": {"nested": true},
|
|
825
|
+
"@indexed": { "nested": true },
|
|
858
826
|
"type": "array",
|
|
859
|
-
"items": {"@ref": "local:App"}
|
|
827
|
+
"items": { "@ref": "local:App" }
|
|
860
828
|
},
|
|
861
|
-
"part_key": {"type": "string"},
|
|
862
|
-
"part_no": {"type": "string"},
|
|
863
|
-
"part_type": {"type": "string"},
|
|
864
|
-
"udf1": {"type": "string"}
|
|
829
|
+
"part_key": { "type": "string" },
|
|
830
|
+
"part_no": { "type": "string" },
|
|
831
|
+
"part_type": { "type": "string" },
|
|
832
|
+
"udf1": { "type": "string" }
|
|
865
833
|
},
|
|
866
834
|
"type": "object"
|
|
867
835
|
},
|
|
@@ -873,16 +841,16 @@
|
|
|
873
841
|
"title": "Salsify_Product",
|
|
874
842
|
"cache": {
|
|
875
843
|
"enabled": true,
|
|
876
|
-
"triggers": [{"type": "schedule", "loader": "list", "interval": 1440}],
|
|
844
|
+
"triggers": [{ "type": "schedule", "loader": "list", "interval": 1440 }],
|
|
877
845
|
"fragment": {
|
|
878
846
|
"maxDepth": 2,
|
|
879
847
|
"selectionSet": "{shopifyProductVariant{availableForSale barcode compareAtPrice createdAt defaultCursor displayName harmonizedSystemCode id image{altText height id originalSrc src transformedSrc url width}inventoryItem{countryCodeOfOrigin createdAt duplicateSkuCount harmonizedSystemCode id inventoryHistoryUrl legacyResourceId locationsCount provinceCodeOfOrigin requiresShipping sku tracked updatedAt}product{tags productType title}inventoryManagement inventoryPolicy inventoryQuantity legacyResourceId position price requiresShipping selectedOptions{name value}sellableOnlineQuantity sellingPlanGroupCount sku storefrontId taxCode taxable title updatedAt weight weightUnit}part{buyersguide{endYear engine make model startYear year apptype qty}part_key part_no part_type udf1}}"
|
|
880
848
|
}
|
|
881
849
|
},
|
|
882
|
-
"loaders": {"list": {"query": "salsify:Query.listChannelProducts"}},
|
|
850
|
+
"loaders": { "list": { "query": "salsify:Query.listChannelProducts" } },
|
|
883
851
|
"schema": {
|
|
884
852
|
"extends": [
|
|
885
|
-
{"@ref": "salsify:Product"},
|
|
853
|
+
{ "@ref": "salsify:Product" },
|
|
886
854
|
{
|
|
887
855
|
"type": "object",
|
|
888
856
|
"properties": {
|
|
@@ -891,7 +859,7 @@
|
|
|
891
859
|
"name": "delegate",
|
|
892
860
|
"to": "local:Query.getPart",
|
|
893
861
|
"args": {
|
|
894
|
-
"ops": [{"path": "$.partNo", "mapping": "$source.mpn"}]
|
|
862
|
+
"ops": [{ "path": "$.partNo", "mapping": "$source.mpn" }]
|
|
895
863
|
}
|
|
896
864
|
},
|
|
897
865
|
"@ref": "local:Part",
|
|
@@ -908,18 +876,15 @@
|
|
|
908
876
|
},
|
|
909
877
|
"args": {
|
|
910
878
|
"ops": [
|
|
911
|
-
{"path": "first", "value": "1"},
|
|
879
|
+
{ "path": "first", "value": "1" },
|
|
912
880
|
{
|
|
913
881
|
"path": "query",
|
|
914
|
-
"mapping": [
|
|
915
|
-
["get", {"path": ["$source.mpn"]}],
|
|
916
|
-
["format", {"template": "sku:%s"}]
|
|
917
|
-
]
|
|
882
|
+
"mapping": [["get", { "path": ["$source.mpn"] }], ["format", { "template": "sku:%s" }]]
|
|
918
883
|
}
|
|
919
884
|
]
|
|
920
885
|
},
|
|
921
886
|
"results": {
|
|
922
|
-
"ops": [{"path": "$", "mapping": "$finalResolver[0]"}]
|
|
887
|
+
"ops": [{ "path": "$", "mapping": "$finalResolver[0]" }]
|
|
923
888
|
}
|
|
924
889
|
},
|
|
925
890
|
"@ref": "shopify:ProductVariant",
|
|
@@ -932,9 +897,9 @@
|
|
|
932
897
|
"name": "ai:createEmbedding",
|
|
933
898
|
"service": "openai",
|
|
934
899
|
"model": "text-embedding-3-small",
|
|
935
|
-
"options": {"useDependencies": true}
|
|
900
|
+
"options": { "useDependencies": true }
|
|
936
901
|
},
|
|
937
|
-
"items": {"type": "number"},
|
|
902
|
+
"items": { "type": "number" },
|
|
938
903
|
"title": "Vector",
|
|
939
904
|
"@tag": "vector"
|
|
940
905
|
}
|
|
@@ -947,7 +912,7 @@
|
|
|
947
912
|
"id": "cWMNa7fp5",
|
|
948
913
|
"name": "MockRelatedProduct",
|
|
949
914
|
"title": "Mock Related Product List",
|
|
950
|
-
"model": {"type": "multiple"},
|
|
915
|
+
"model": { "type": "multiple" },
|
|
951
916
|
"schema": {
|
|
952
917
|
"type": "object",
|
|
953
918
|
"properties": {
|
|
@@ -963,7 +928,7 @@
|
|
|
963
928
|
"id": "rQTVfBrXi",
|
|
964
929
|
"name": "DangerousPrompt",
|
|
965
930
|
"title": "Dangerous Prompt",
|
|
966
|
-
"model": {"type": "multiple"},
|
|
931
|
+
"model": { "type": "multiple" },
|
|
967
932
|
"schema": {
|
|
968
933
|
"type": "object",
|
|
969
934
|
"properties": {
|
|
@@ -974,7 +939,7 @@
|
|
|
974
939
|
},
|
|
975
940
|
"promptVector": {
|
|
976
941
|
"type": "array",
|
|
977
|
-
"items": {"type": "number"},
|
|
942
|
+
"items": { "type": "number" },
|
|
978
943
|
"title": "Prompt Vector",
|
|
979
944
|
"@tag": "vector",
|
|
980
945
|
"@dependencies": "{prompt}",
|
|
@@ -982,7 +947,7 @@
|
|
|
982
947
|
"name": "ai:createEmbedding",
|
|
983
948
|
"service": "openai",
|
|
984
949
|
"model": "text-embedding-3-small",
|
|
985
|
-
"options": {"useDependencies": true}
|
|
950
|
+
"options": { "useDependencies": true }
|
|
986
951
|
}
|
|
987
952
|
}
|
|
988
953
|
},
|
|
@@ -995,9 +960,9 @@
|
|
|
995
960
|
"Engine": {
|
|
996
961
|
"default": {
|
|
997
962
|
"properties": {
|
|
998
|
-
"id": {"widget": "singleLineText"},
|
|
999
|
-
"data": {"widget": "singleLineText"},
|
|
1000
|
-
"normalizedId": {"widget": "singleLineText"}
|
|
963
|
+
"id": { "widget": "singleLineText" },
|
|
964
|
+
"data": { "widget": "singleLineText" },
|
|
965
|
+
"normalizedId": { "widget": "singleLineText" }
|
|
1001
966
|
},
|
|
1002
967
|
"order": ["id", "data", "normalizedId"]
|
|
1003
968
|
}
|
|
@@ -1005,37 +970,28 @@
|
|
|
1005
970
|
"App": {
|
|
1006
971
|
"default": {
|
|
1007
972
|
"properties": {
|
|
1008
|
-
"engine": {"widget": "singleLineText"},
|
|
1009
|
-
"make": {"widget": "singleLineText"},
|
|
1010
|
-
"model": {"widget": "singleLineText"},
|
|
1011
|
-
"year": {"widget": "singleLineText"},
|
|
1012
|
-
"startYear": {"widget": "number"},
|
|
1013
|
-
"endYear": {"widget": "number"},
|
|
1014
|
-
"apptype": {"widget": "singleLineText"},
|
|
1015
|
-
"qty": {"widget": "number"}
|
|
973
|
+
"engine": { "widget": "singleLineText" },
|
|
974
|
+
"make": { "widget": "singleLineText" },
|
|
975
|
+
"model": { "widget": "singleLineText" },
|
|
976
|
+
"year": { "widget": "singleLineText" },
|
|
977
|
+
"startYear": { "widget": "number" },
|
|
978
|
+
"endYear": { "widget": "number" },
|
|
979
|
+
"apptype": { "widget": "singleLineText" },
|
|
980
|
+
"qty": { "widget": "number" }
|
|
1016
981
|
},
|
|
1017
|
-
"order": [
|
|
1018
|
-
"engine",
|
|
1019
|
-
"make",
|
|
1020
|
-
"model",
|
|
1021
|
-
"year",
|
|
1022
|
-
"startYear",
|
|
1023
|
-
"endYear",
|
|
1024
|
-
"apptype",
|
|
1025
|
-
"qty"
|
|
1026
|
-
]
|
|
982
|
+
"order": ["engine", "make", "model", "year", "startYear", "endYear", "apptype", "qty"]
|
|
1027
983
|
}
|
|
1028
984
|
},
|
|
1029
985
|
"MockRelatedProduct": {
|
|
1030
986
|
"default": {
|
|
1031
|
-
"properties": {"name": {"widget": "singleLineText"}},
|
|
987
|
+
"properties": { "name": { "widget": "singleLineText" } },
|
|
1032
988
|
"order": ["name"]
|
|
1033
989
|
}
|
|
1034
990
|
},
|
|
1035
991
|
"DangerousPrompt": {
|
|
1036
992
|
"default": {
|
|
1037
993
|
"properties": {
|
|
1038
|
-
"prompt": {"widget": "singleLineText"},
|
|
994
|
+
"prompt": { "widget": "singleLineText" },
|
|
1039
995
|
"promptVector": {}
|
|
1040
996
|
},
|
|
1041
997
|
"order": ["prompt", "promptVector"]
|
|
@@ -1050,7 +1006,7 @@
|
|
|
1050
1006
|
"provider": "rest",
|
|
1051
1007
|
"serviceType": "rest",
|
|
1052
1008
|
"authenticationType": "none",
|
|
1053
|
-
"options": {"endpoint": "https://www.showmethepartsdb3.com/"},
|
|
1009
|
+
"options": { "endpoint": "https://www.showmethepartsdb3.com/" },
|
|
1054
1010
|
"healthCheck": {
|
|
1055
1011
|
"checkName": "ping",
|
|
1056
1012
|
"endpoint": "https://www.showmethepartsdb3.com/bin/ShowMeConnect.exe?lookup=make&id=69876V2_WEBeCOM"
|
|
@@ -1106,7 +1062,7 @@
|
|
|
1106
1062
|
"options": {
|
|
1107
1063
|
"endpoint": "https://api.anthropic.com/v1",
|
|
1108
1064
|
"spec": "https://raw.githubusercontent.com/takeshape/openapi-specs/d1219888103fdd900138589e4e03c0b216c0a5d1/specs/anthropic/2023-06-01.yml",
|
|
1109
|
-
"headers": {"anthropic-version": "2023-06-01"},
|
|
1065
|
+
"headers": { "anthropic-version": "2023-06-01" },
|
|
1110
1066
|
"transformVersion": "2.0.0",
|
|
1111
1067
|
"introspectedAt": "2024-08-21T16:55:43.579Z"
|
|
1112
1068
|
}
|