@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
|
@@ -226,11 +226,11 @@
|
|
|
226
226
|
},
|
|
227
227
|
"args": {
|
|
228
228
|
"title": "Args",
|
|
229
|
-
"oneOf": [{"type": "string"}, {"$ref": "#/definitions/contentObjectSchema"}]
|
|
229
|
+
"oneOf": [{ "type": "string" }, { "$ref": "#/definitions/contentObjectSchema" }]
|
|
230
230
|
},
|
|
231
231
|
"returnShape": {
|
|
232
232
|
"title": "Return Shape",
|
|
233
|
-
"oneOf": [{"type": "string"}, {"$ref": "#/definitions/arraySchema"}]
|
|
233
|
+
"oneOf": [{ "type": "string" }, { "$ref": "#/definitions/arraySchema" }]
|
|
234
234
|
},
|
|
235
235
|
"directiveConfigItem": {
|
|
236
236
|
"title": "Directive Config Item",
|
|
@@ -394,7 +394,9 @@
|
|
|
394
394
|
"paths": {
|
|
395
395
|
"type": "object",
|
|
396
396
|
"patternProperties": {
|
|
397
|
-
"^[^\\n\\r]*$": {
|
|
397
|
+
"^[^\\n\\r]*$": {
|
|
398
|
+
"$ref": "#/definitions/parameterSerializeOptions"
|
|
399
|
+
}
|
|
398
400
|
}
|
|
399
401
|
}
|
|
400
402
|
},
|
|
@@ -760,13 +762,13 @@
|
|
|
760
762
|
"title": "Directive Mapping Array Item",
|
|
761
763
|
"description": "A tuple with a string key and a directive config to evaluate",
|
|
762
764
|
"type": "array",
|
|
763
|
-
"items": [{"type": "string"}, {"$ref": "#/definitions/directiveConfig"}]
|
|
765
|
+
"items": [{ "type": "string" }, { "$ref": "#/definitions/directiveConfig" }]
|
|
764
766
|
},
|
|
765
767
|
"directiveMappingArray": {
|
|
766
768
|
"title": "Directive Mapping Array",
|
|
767
769
|
"description": "An array of key / value or directive config tuples",
|
|
768
770
|
"type": "array",
|
|
769
|
-
"items": {"$ref": "#/definitions/directiveMappingArrayItem"}
|
|
771
|
+
"items": { "$ref": "#/definitions/directiveMappingArrayItem" }
|
|
770
772
|
},
|
|
771
773
|
"basicResolver": {
|
|
772
774
|
"title": "BasicResolver",
|
|
@@ -869,7 +871,7 @@
|
|
|
869
871
|
"title": "TakeshapeResolver",
|
|
870
872
|
"type": "object",
|
|
871
873
|
"properties": {
|
|
872
|
-
"if": {"type": "string"},
|
|
874
|
+
"if": { "type": "string" },
|
|
873
875
|
"id": {
|
|
874
876
|
"type": "string",
|
|
875
877
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -970,7 +972,7 @@
|
|
|
970
972
|
"title": "GraphqlResolver",
|
|
971
973
|
"type": "object",
|
|
972
974
|
"properties": {
|
|
973
|
-
"if": {"type": "string"},
|
|
975
|
+
"if": { "type": "string" },
|
|
974
976
|
"id": {
|
|
975
977
|
"type": "string",
|
|
976
978
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -995,13 +997,13 @@
|
|
|
995
997
|
"title": "GraphqlResolverOptions",
|
|
996
998
|
"type": "object",
|
|
997
999
|
"properties": {
|
|
998
|
-
"selectionSet": {"type": "string"},
|
|
999
|
-
"unboxParentSelectionSet": {"type": "boolean"},
|
|
1000
|
-
"ignoreErrors": {"type": "boolean"},
|
|
1001
|
-
"skipWhenMissingArgs": {"type": "boolean"},
|
|
1002
|
-
"ttl": {"type": "number"},
|
|
1003
|
-
"timeout": {"type": "number"},
|
|
1004
|
-
"retry": {"oneOf": [{"type": "number"}, {"type": "object"}]}
|
|
1000
|
+
"selectionSet": { "type": "string" },
|
|
1001
|
+
"unboxParentSelectionSet": { "type": "boolean" },
|
|
1002
|
+
"ignoreErrors": { "type": "boolean" },
|
|
1003
|
+
"skipWhenMissingArgs": { "type": "boolean" },
|
|
1004
|
+
"ttl": { "type": "number" },
|
|
1005
|
+
"timeout": { "type": "number" },
|
|
1006
|
+
"retry": { "oneOf": [{ "type": "number" }, { "type": "object" }] }
|
|
1005
1007
|
},
|
|
1006
1008
|
"additionalProperties": true
|
|
1007
1009
|
},
|
|
@@ -1033,7 +1035,7 @@
|
|
|
1033
1035
|
"title": "RestResolver",
|
|
1034
1036
|
"type": "object",
|
|
1035
1037
|
"properties": {
|
|
1036
|
-
"if": {"type": "string"},
|
|
1038
|
+
"if": { "type": "string" },
|
|
1037
1039
|
"id": {
|
|
1038
1040
|
"type": "string",
|
|
1039
1041
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -1061,10 +1063,10 @@
|
|
|
1061
1063
|
"title": "RestResolverOptions",
|
|
1062
1064
|
"type": "object",
|
|
1063
1065
|
"properties": {
|
|
1064
|
-
"trailingSlash": {"type": "boolean"},
|
|
1065
|
-
"ttl": {"type": "number"},
|
|
1066
|
-
"timeout": {"type": "number"},
|
|
1067
|
-
"retry": {"oneOf": [{"type": "number"}, {"type": "object"}]}
|
|
1066
|
+
"trailingSlash": { "type": "boolean" },
|
|
1067
|
+
"ttl": { "type": "number" },
|
|
1068
|
+
"timeout": { "type": "number" },
|
|
1069
|
+
"retry": { "oneOf": [{ "type": "number" }, { "type": "object" }] }
|
|
1068
1070
|
},
|
|
1069
1071
|
"additionalProperties": true
|
|
1070
1072
|
},
|
|
@@ -1115,7 +1117,7 @@
|
|
|
1115
1117
|
"title": "AwsLambdaResolver",
|
|
1116
1118
|
"type": "object",
|
|
1117
1119
|
"properties": {
|
|
1118
|
-
"if": {"type": "string"},
|
|
1120
|
+
"if": { "type": "string" },
|
|
1119
1121
|
"id": {
|
|
1120
1122
|
"type": "string",
|
|
1121
1123
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -1206,7 +1208,7 @@
|
|
|
1206
1208
|
},
|
|
1207
1209
|
"resolver": {
|
|
1208
1210
|
"title": "Resolver",
|
|
1209
|
-
"oneOf": [{"$ref": "#/definitions/basicResolver"}, {"$ref": "#/definitions/composeResolver"}]
|
|
1211
|
+
"oneOf": [{ "$ref": "#/definitions/basicResolver" }, { "$ref": "#/definitions/composeResolver" }]
|
|
1210
1212
|
},
|
|
1211
1213
|
"ref": {
|
|
1212
1214
|
"title": "Ref",
|
|
@@ -1322,7 +1324,7 @@
|
|
|
1322
1324
|
"$ref": "#/definitions/stringArray"
|
|
1323
1325
|
},
|
|
1324
1326
|
"additionalProperties": {
|
|
1325
|
-
"oneOf": [{"$ref": "#"}, {"enum": [false]}]
|
|
1327
|
+
"oneOf": [{ "$ref": "#" }, { "enum": [false] }]
|
|
1326
1328
|
},
|
|
1327
1329
|
"definitions": {
|
|
1328
1330
|
"type": "object",
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
"title": "Workflow Map",
|
|
182
182
|
"type": "object",
|
|
183
183
|
"patternProperties": {
|
|
184
|
-
"[0-9A-Za-z_-]+": {"$ref": "#/definitions/workflow"}
|
|
184
|
+
"[0-9A-Za-z_-]+": { "$ref": "#/definitions/workflow" }
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
"formConfig": {
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
"title": "Content Type Map",
|
|
259
259
|
"type": "object",
|
|
260
260
|
"patternProperties": {
|
|
261
|
-
"[0-9A-Za-z_-]+": {"$ref": "#/definitions/contentType"}
|
|
261
|
+
"[0-9A-Za-z_-]+": { "$ref": "#/definitions/contentType" }
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
},
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
"pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{2,3})?$"
|
|
306
306
|
}
|
|
307
307
|
},
|
|
308
|
-
"contentTypes": {"$ref": "#/definitions/contentTypeMap"},
|
|
308
|
+
"contentTypes": { "$ref": "#/definitions/contentTypeMap" },
|
|
309
309
|
"workflows": {
|
|
310
310
|
"$ref": "#/definitions/workflowMap"
|
|
311
311
|
},
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
"title": "Workflow Map",
|
|
451
451
|
"type": "object",
|
|
452
452
|
"patternProperties": {
|
|
453
|
-
"[0-9A-Za-z_-]+": {"$ref": "#/definitions/workflow"}
|
|
453
|
+
"[0-9A-Za-z_-]+": { "$ref": "#/definitions/workflow" }
|
|
454
454
|
}
|
|
455
455
|
},
|
|
456
456
|
"formConfig": {
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
},
|
|
497
497
|
"author": {
|
|
498
498
|
"type": "string",
|
|
499
|
-
"description":"The ID of the TakeShape user who created the schema."
|
|
499
|
+
"description": "The ID of the TakeShape user who created the schema."
|
|
500
500
|
},
|
|
501
501
|
"created": {
|
|
502
502
|
"type": "string",
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
},
|
|
156
156
|
"items": {
|
|
157
157
|
"oneOf": [
|
|
158
|
-
{"$ref": "#/definitions/refSchema"},
|
|
158
|
+
{ "$ref": "#/definitions/refSchema" },
|
|
159
159
|
{
|
|
160
160
|
"type": "object",
|
|
161
161
|
"properties": {
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
"allOfSchema": {
|
|
201
201
|
"title": "AllOfSchema",
|
|
202
202
|
"allOf": [
|
|
203
|
-
{"$ref": "#/definitions/propertySchema"},
|
|
203
|
+
{ "$ref": "#/definitions/propertySchema" },
|
|
204
204
|
{
|
|
205
205
|
"type": "object",
|
|
206
206
|
"properties": {
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
"oneOfSchema": {
|
|
255
255
|
"title": "OneOfSchema",
|
|
256
256
|
"allOf": [
|
|
257
|
-
{"$ref": "#/definitions/propertySchema"},
|
|
257
|
+
{ "$ref": "#/definitions/propertySchema" },
|
|
258
258
|
{
|
|
259
259
|
"type": "object",
|
|
260
260
|
"properties": {
|
|
@@ -285,10 +285,10 @@
|
|
|
285
285
|
"title": "Shape Schema",
|
|
286
286
|
"type": "object",
|
|
287
287
|
"oneOf": [
|
|
288
|
-
{"$ref": "#/definitions/shapeSchemaAllOf"},
|
|
289
|
-
{"$ref": "#/definitions/shapeSchemaOneOf"},
|
|
290
|
-
{"$ref": "#/definitions/shapeSchemaEnum"},
|
|
291
|
-
{"$ref": "#/definitions/objectSchema"}
|
|
288
|
+
{ "$ref": "#/definitions/shapeSchemaAllOf" },
|
|
289
|
+
{ "$ref": "#/definitions/shapeSchemaOneOf" },
|
|
290
|
+
{ "$ref": "#/definitions/shapeSchemaEnum" },
|
|
291
|
+
{ "$ref": "#/definitions/objectSchema" }
|
|
292
292
|
]
|
|
293
293
|
},
|
|
294
294
|
"queryMap": {
|
|
@@ -303,11 +303,11 @@
|
|
|
303
303
|
},
|
|
304
304
|
"args": {
|
|
305
305
|
"title": "Args",
|
|
306
|
-
"oneOf": [{"type": "string"}, {"$ref": "#/definitions/objectSchema"}]
|
|
306
|
+
"oneOf": [{ "type": "string" }, { "$ref": "#/definitions/objectSchema" }]
|
|
307
307
|
},
|
|
308
308
|
"returnShape": {
|
|
309
309
|
"title": "Return Shape",
|
|
310
|
-
"oneOf": [{"type": "string"}, {"$ref": "#/definitions/returnShapeArraySchema"}]
|
|
310
|
+
"oneOf": [{ "type": "string" }, { "$ref": "#/definitions/returnShapeArraySchema" }]
|
|
311
311
|
},
|
|
312
312
|
"directiveConfigItem": {
|
|
313
313
|
"title": "Directive Config Item",
|
|
@@ -471,7 +471,9 @@
|
|
|
471
471
|
"paths": {
|
|
472
472
|
"type": "object",
|
|
473
473
|
"patternProperties": {
|
|
474
|
-
"^[^\\n\\r]*$": {
|
|
474
|
+
"^[^\\n\\r]*$": {
|
|
475
|
+
"$ref": "#/definitions/parameterSerializeOptions"
|
|
476
|
+
}
|
|
475
477
|
}
|
|
476
478
|
}
|
|
477
479
|
},
|
|
@@ -837,13 +839,13 @@
|
|
|
837
839
|
"title": "Directive Mapping Array Item",
|
|
838
840
|
"description": "A tuple with a string key and a directive config to evaluate",
|
|
839
841
|
"type": "array",
|
|
840
|
-
"items": [{"type": "string"}, {"$ref": "#/definitions/directiveConfig"}]
|
|
842
|
+
"items": [{ "type": "string" }, { "$ref": "#/definitions/directiveConfig" }]
|
|
841
843
|
},
|
|
842
844
|
"directiveMappingArray": {
|
|
843
845
|
"title": "Directive Mapping Array",
|
|
844
846
|
"description": "An array of key / value or directive config tuples",
|
|
845
847
|
"type": "array",
|
|
846
|
-
"items": {"$ref": "#/definitions/directiveMappingArrayItem"}
|
|
848
|
+
"items": { "$ref": "#/definitions/directiveMappingArrayItem" }
|
|
847
849
|
},
|
|
848
850
|
"basicResolver": {
|
|
849
851
|
"title": "BasicResolver",
|
|
@@ -946,7 +948,7 @@
|
|
|
946
948
|
"title": "TakeshapeResolver",
|
|
947
949
|
"type": "object",
|
|
948
950
|
"properties": {
|
|
949
|
-
"if": {"type": "string"},
|
|
951
|
+
"if": { "type": "string" },
|
|
950
952
|
"id": {
|
|
951
953
|
"type": "string",
|
|
952
954
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -1047,7 +1049,7 @@
|
|
|
1047
1049
|
"title": "GraphqlResolver",
|
|
1048
1050
|
"type": "object",
|
|
1049
1051
|
"properties": {
|
|
1050
|
-
"if": {"type": "string"},
|
|
1052
|
+
"if": { "type": "string" },
|
|
1051
1053
|
"id": {
|
|
1052
1054
|
"type": "string",
|
|
1053
1055
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -1072,13 +1074,13 @@
|
|
|
1072
1074
|
"title": "GraphqlResolverOptions",
|
|
1073
1075
|
"type": "object",
|
|
1074
1076
|
"properties": {
|
|
1075
|
-
"selectionSet": {"type": "string"},
|
|
1076
|
-
"unboxParentSelectionSet": {"type": "boolean"},
|
|
1077
|
-
"ignoreErrors": {"type": "boolean"},
|
|
1078
|
-
"skipWhenMissingArgs": {"type": "boolean"},
|
|
1079
|
-
"ttl": {"type": "number"},
|
|
1080
|
-
"timeout": {"type": "number"},
|
|
1081
|
-
"retry": {"oneOf": [{"type": "number"}, {"type": "object"}]}
|
|
1077
|
+
"selectionSet": { "type": "string" },
|
|
1078
|
+
"unboxParentSelectionSet": { "type": "boolean" },
|
|
1079
|
+
"ignoreErrors": { "type": "boolean" },
|
|
1080
|
+
"skipWhenMissingArgs": { "type": "boolean" },
|
|
1081
|
+
"ttl": { "type": "number" },
|
|
1082
|
+
"timeout": { "type": "number" },
|
|
1083
|
+
"retry": { "oneOf": [{ "type": "number" }, { "type": "object" }] }
|
|
1082
1084
|
},
|
|
1083
1085
|
"additionalProperties": true
|
|
1084
1086
|
},
|
|
@@ -1110,7 +1112,7 @@
|
|
|
1110
1112
|
"title": "RestResolver",
|
|
1111
1113
|
"type": "object",
|
|
1112
1114
|
"properties": {
|
|
1113
|
-
"if": {"type": "string"},
|
|
1115
|
+
"if": { "type": "string" },
|
|
1114
1116
|
"id": {
|
|
1115
1117
|
"type": "string",
|
|
1116
1118
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -1138,10 +1140,10 @@
|
|
|
1138
1140
|
"title": "RestResolverOptions",
|
|
1139
1141
|
"type": "object",
|
|
1140
1142
|
"properties": {
|
|
1141
|
-
"trailingSlash": {"type": "boolean"},
|
|
1142
|
-
"ttl": {"type": "number"},
|
|
1143
|
-
"timeout": {"type": "number"},
|
|
1144
|
-
"retry": {"oneOf": [{"type": "number"}, {"type": "object"}]}
|
|
1143
|
+
"trailingSlash": { "type": "boolean" },
|
|
1144
|
+
"ttl": { "type": "number" },
|
|
1145
|
+
"timeout": { "type": "number" },
|
|
1146
|
+
"retry": { "oneOf": [{ "type": "number" }, { "type": "object" }] }
|
|
1145
1147
|
},
|
|
1146
1148
|
"additionalProperties": true
|
|
1147
1149
|
},
|
|
@@ -1192,7 +1194,7 @@
|
|
|
1192
1194
|
"title": "AwsLambdaResolver",
|
|
1193
1195
|
"type": "object",
|
|
1194
1196
|
"properties": {
|
|
1195
|
-
"if": {"type": "string"},
|
|
1197
|
+
"if": { "type": "string" },
|
|
1196
1198
|
"id": {
|
|
1197
1199
|
"type": "string",
|
|
1198
1200
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -1283,7 +1285,7 @@
|
|
|
1283
1285
|
},
|
|
1284
1286
|
"resolver": {
|
|
1285
1287
|
"title": "Resolver",
|
|
1286
|
-
"oneOf": [{"$ref": "#/definitions/basicResolver"}, {"$ref": "#/definitions/composeResolver"}]
|
|
1288
|
+
"oneOf": [{ "$ref": "#/definitions/basicResolver" }, { "$ref": "#/definitions/composeResolver" }]
|
|
1287
1289
|
},
|
|
1288
1290
|
"ref": {
|
|
1289
1291
|
"title": "Ref",
|
|
@@ -1386,7 +1388,7 @@
|
|
|
1386
1388
|
"$ref": "#/definitions/stringArray"
|
|
1387
1389
|
},
|
|
1388
1390
|
"additionalProperties": {
|
|
1389
|
-
"oneOf": [{"$ref": "#/definitions/propertySchema"}, {"enum": [false]}]
|
|
1391
|
+
"oneOf": [{ "$ref": "#/definitions/propertySchema" }, { "enum": [false] }]
|
|
1390
1392
|
},
|
|
1391
1393
|
"definitions": {
|
|
1392
1394
|
"type": "object",
|
|
@@ -1968,7 +1970,7 @@
|
|
|
1968
1970
|
"title": "Workflow Map",
|
|
1969
1971
|
"type": "object",
|
|
1970
1972
|
"patternProperties": {
|
|
1971
|
-
"[0-9A-Za-z_-]+": {"$ref": "#/definitions/workflow"}
|
|
1973
|
+
"[0-9A-Za-z_-]+": { "$ref": "#/definitions/workflow" }
|
|
1972
1974
|
}
|
|
1973
1975
|
},
|
|
1974
1976
|
"formConfig": {
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
},
|
|
156
156
|
"items": {
|
|
157
157
|
"oneOf": [
|
|
158
|
-
{"$ref": "#/definitions/refSchema"},
|
|
158
|
+
{ "$ref": "#/definitions/refSchema" },
|
|
159
159
|
{
|
|
160
160
|
"type": "object",
|
|
161
161
|
"properties": {
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
"allOfSchema": {
|
|
201
201
|
"title": "AllOfSchema",
|
|
202
202
|
"allOf": [
|
|
203
|
-
{"$ref": "#/definitions/propertySchema"},
|
|
203
|
+
{ "$ref": "#/definitions/propertySchema" },
|
|
204
204
|
{
|
|
205
205
|
"type": "object",
|
|
206
206
|
"properties": {
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
"oneOfSchema": {
|
|
255
255
|
"title": "OneOfSchema",
|
|
256
256
|
"allOf": [
|
|
257
|
-
{"$ref": "#/definitions/propertySchema"},
|
|
257
|
+
{ "$ref": "#/definitions/propertySchema" },
|
|
258
258
|
{
|
|
259
259
|
"type": "object",
|
|
260
260
|
"properties": {
|
|
@@ -285,10 +285,10 @@
|
|
|
285
285
|
"title": "Shape Schema",
|
|
286
286
|
"type": "object",
|
|
287
287
|
"oneOf": [
|
|
288
|
-
{"$ref": "#/definitions/shapeSchemaAllOf"},
|
|
289
|
-
{"$ref": "#/definitions/shapeSchemaOneOf"},
|
|
290
|
-
{"$ref": "#/definitions/shapeSchemaEnum"},
|
|
291
|
-
{"$ref": "#/definitions/objectSchema"}
|
|
288
|
+
{ "$ref": "#/definitions/shapeSchemaAllOf" },
|
|
289
|
+
{ "$ref": "#/definitions/shapeSchemaOneOf" },
|
|
290
|
+
{ "$ref": "#/definitions/shapeSchemaEnum" },
|
|
291
|
+
{ "$ref": "#/definitions/objectSchema" }
|
|
292
292
|
]
|
|
293
293
|
},
|
|
294
294
|
"queryMap": {
|
|
@@ -303,11 +303,11 @@
|
|
|
303
303
|
},
|
|
304
304
|
"args": {
|
|
305
305
|
"title": "Args",
|
|
306
|
-
"oneOf": [{"type": "string"}, {"$ref": "#/definitions/objectSchema"}]
|
|
306
|
+
"oneOf": [{ "type": "string" }, { "$ref": "#/definitions/objectSchema" }]
|
|
307
307
|
},
|
|
308
308
|
"returnShape": {
|
|
309
309
|
"title": "Return Shape",
|
|
310
|
-
"oneOf": [{"type": "string"}, {"$ref": "#/definitions/returnShapeArraySchema"}]
|
|
310
|
+
"oneOf": [{ "type": "string" }, { "$ref": "#/definitions/returnShapeArraySchema" }]
|
|
311
311
|
},
|
|
312
312
|
"directiveConfigItem": {
|
|
313
313
|
"title": "Directive Config Item",
|
|
@@ -471,7 +471,9 @@
|
|
|
471
471
|
"paths": {
|
|
472
472
|
"type": "object",
|
|
473
473
|
"patternProperties": {
|
|
474
|
-
"^[^\\n\\r]*$": {
|
|
474
|
+
"^[^\\n\\r]*$": {
|
|
475
|
+
"$ref": "#/definitions/parameterSerializeOptions"
|
|
476
|
+
}
|
|
475
477
|
}
|
|
476
478
|
}
|
|
477
479
|
},
|
|
@@ -837,13 +839,13 @@
|
|
|
837
839
|
"title": "Directive Mapping Array Item",
|
|
838
840
|
"description": "A tuple with a string key and a directive config to evaluate",
|
|
839
841
|
"type": "array",
|
|
840
|
-
"items": [{"type": "string"}, {"$ref": "#/definitions/directiveConfig"}]
|
|
842
|
+
"items": [{ "type": "string" }, { "$ref": "#/definitions/directiveConfig" }]
|
|
841
843
|
},
|
|
842
844
|
"directiveMappingArray": {
|
|
843
845
|
"title": "Directive Mapping Array",
|
|
844
846
|
"description": "An array of key / value or directive config tuples",
|
|
845
847
|
"type": "array",
|
|
846
|
-
"items": {"$ref": "#/definitions/directiveMappingArrayItem"}
|
|
848
|
+
"items": { "$ref": "#/definitions/directiveMappingArrayItem" }
|
|
847
849
|
},
|
|
848
850
|
"basicResolver": {
|
|
849
851
|
"title": "BasicResolver",
|
|
@@ -946,7 +948,7 @@
|
|
|
946
948
|
"title": "TakeshapeResolver",
|
|
947
949
|
"type": "object",
|
|
948
950
|
"properties": {
|
|
949
|
-
"if": {"type": "string"},
|
|
951
|
+
"if": { "type": "string" },
|
|
950
952
|
"id": {
|
|
951
953
|
"type": "string",
|
|
952
954
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -1047,7 +1049,7 @@
|
|
|
1047
1049
|
"title": "GraphqlResolver",
|
|
1048
1050
|
"type": "object",
|
|
1049
1051
|
"properties": {
|
|
1050
|
-
"if": {"type": "string"},
|
|
1052
|
+
"if": { "type": "string" },
|
|
1051
1053
|
"id": {
|
|
1052
1054
|
"type": "string",
|
|
1053
1055
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -1072,13 +1074,13 @@
|
|
|
1072
1074
|
"title": "GraphqlResolverOptions",
|
|
1073
1075
|
"type": "object",
|
|
1074
1076
|
"properties": {
|
|
1075
|
-
"selectionSet": {"type": "string"},
|
|
1076
|
-
"unboxParentSelectionSet": {"type": "boolean"},
|
|
1077
|
-
"ignoreErrors": {"type": "boolean"},
|
|
1078
|
-
"skipWhenMissingArgs": {"type": "boolean"},
|
|
1079
|
-
"ttl": {"type": "number"},
|
|
1080
|
-
"timeout": {"type": "number"},
|
|
1081
|
-
"retry": {"oneOf": [{"type": "number"}, {"type": "object"}]}
|
|
1077
|
+
"selectionSet": { "type": "string" },
|
|
1078
|
+
"unboxParentSelectionSet": { "type": "boolean" },
|
|
1079
|
+
"ignoreErrors": { "type": "boolean" },
|
|
1080
|
+
"skipWhenMissingArgs": { "type": "boolean" },
|
|
1081
|
+
"ttl": { "type": "number" },
|
|
1082
|
+
"timeout": { "type": "number" },
|
|
1083
|
+
"retry": { "oneOf": [{ "type": "number" }, { "type": "object" }] }
|
|
1082
1084
|
},
|
|
1083
1085
|
"additionalProperties": true
|
|
1084
1086
|
},
|
|
@@ -1110,7 +1112,7 @@
|
|
|
1110
1112
|
"title": "RestResolver",
|
|
1111
1113
|
"type": "object",
|
|
1112
1114
|
"properties": {
|
|
1113
|
-
"if": {"type": "string"},
|
|
1115
|
+
"if": { "type": "string" },
|
|
1114
1116
|
"id": {
|
|
1115
1117
|
"type": "string",
|
|
1116
1118
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -1138,10 +1140,10 @@
|
|
|
1138
1140
|
"title": "RestResolverOptions",
|
|
1139
1141
|
"type": "object",
|
|
1140
1142
|
"properties": {
|
|
1141
|
-
"trailingSlash": {"type": "boolean"},
|
|
1142
|
-
"ttl": {"type": "number"},
|
|
1143
|
-
"timeout": {"type": "number"},
|
|
1144
|
-
"retry": {"oneOf": [{"type": "number"}, {"type": "object"}]}
|
|
1143
|
+
"trailingSlash": { "type": "boolean" },
|
|
1144
|
+
"ttl": { "type": "number" },
|
|
1145
|
+
"timeout": { "type": "number" },
|
|
1146
|
+
"retry": { "oneOf": [{ "type": "number" }, { "type": "object" }] }
|
|
1145
1147
|
},
|
|
1146
1148
|
"additionalProperties": true
|
|
1147
1149
|
},
|
|
@@ -1192,7 +1194,7 @@
|
|
|
1192
1194
|
"title": "AwsLambdaResolver",
|
|
1193
1195
|
"type": "object",
|
|
1194
1196
|
"properties": {
|
|
1195
|
-
"if": {"type": "string"},
|
|
1197
|
+
"if": { "type": "string" },
|
|
1196
1198
|
"id": {
|
|
1197
1199
|
"type": "string",
|
|
1198
1200
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -1283,7 +1285,7 @@
|
|
|
1283
1285
|
},
|
|
1284
1286
|
"resolver": {
|
|
1285
1287
|
"title": "Resolver",
|
|
1286
|
-
"oneOf": [{"$ref": "#/definitions/basicResolver"}, {"$ref": "#/definitions/composeResolver"}]
|
|
1288
|
+
"oneOf": [{ "$ref": "#/definitions/basicResolver" }, { "$ref": "#/definitions/composeResolver" }]
|
|
1287
1289
|
},
|
|
1288
1290
|
"ref": {
|
|
1289
1291
|
"title": "Ref",
|
|
@@ -1386,7 +1388,7 @@
|
|
|
1386
1388
|
"$ref": "#/definitions/stringArray"
|
|
1387
1389
|
},
|
|
1388
1390
|
"additionalProperties": {
|
|
1389
|
-
"oneOf": [{"$ref": "#/definitions/propertySchema"}, {"enum": [false]}]
|
|
1391
|
+
"oneOf": [{ "$ref": "#/definitions/propertySchema" }, { "enum": [false] }]
|
|
1390
1392
|
},
|
|
1391
1393
|
"definitions": {
|
|
1392
1394
|
"type": "object",
|
|
@@ -2012,7 +2014,7 @@
|
|
|
2012
2014
|
"title": "Workflow Map",
|
|
2013
2015
|
"type": "object",
|
|
2014
2016
|
"patternProperties": {
|
|
2015
|
-
"[0-9A-Za-z_-]+": {"$ref": "#/definitions/workflow"}
|
|
2017
|
+
"[0-9A-Za-z_-]+": { "$ref": "#/definitions/workflow" }
|
|
2016
2018
|
}
|
|
2017
2019
|
},
|
|
2018
2020
|
"formConfig": {
|