@takeshape/schema 9.46.0 → 9.47.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/migration/index.d.ts +1 -0
- package/dist/migration/index.d.ts.map +1 -1
- package/dist/migration/index.js +4 -1
- package/dist/migration/to/v3.34.0.d.ts +7 -0
- package/dist/migration/to/v3.34.0.d.ts.map +1 -0
- package/dist/migration/to/v3.34.0.js +161 -0
- package/dist/project-schema/index.d.ts +4 -1
- package/dist/project-schema/index.d.ts.map +1 -1
- package/dist/project-schema/index.js +20 -3
- package/dist/project-schema/latest.d.ts +1 -1
- package/dist/project-schema/migrate.d.ts.map +1 -1
- package/dist/project-schema/migrate.js +4 -0
- package/dist/project-schema/v3.34.0.d.ts +1446 -0
- package/dist/project-schema/v3.34.0.d.ts.map +1 -0
- package/dist/project-schema/v3.34.0.js +5 -0
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +6 -4
- package/dist/schemas/index.ts +4 -2
- package/dist/schemas/project-schema/latest.json +3 -3
- package/dist/schemas/project-schema/v3.34.0.json +3088 -0
- package/dist/schemas/project-schema.json +3 -0
- package/dist/types/types.d.ts +2 -2
- package/dist/types/types.d.ts.map +1 -1
- package/es/migration/index.js +3 -1
- package/es/migration/to/v3.34.0.js +140 -0
- package/es/project-schema/index.js +3 -1
- package/es/project-schema/migrate.js +5 -1
- package/es/project-schema/v3.34.0.js +1 -0
- package/es/schemas/index.js +4 -3
- package/es/schemas/index.ts +4 -2
- package/es/schemas/project-schema/latest.json +3 -3
- package/es/schemas/project-schema/v3.34.0.json +3088 -0
- package/es/schemas/project-schema.json +3 -0
- package/examples/latest/betzino.json +2012 -1756
- package/examples/latest/blog-schema.json +1 -1
- package/examples/latest/brewery-schema.json +31 -26
- package/examples/latest/complex-project-schema.json +645 -480
- package/examples/latest/complex-schema.json +866 -671
- package/examples/latest/fabric-ecommerce.json +7 -38
- package/examples/latest/frank-and-fred-schema.json +866 -671
- package/examples/latest/klirr-schema.json +1641 -1264
- package/examples/latest/massive-schema.json +897 -681
- package/examples/latest/mill-components-schema.json +1 -1
- package/examples/latest/one-earth.json +3012 -2462
- package/examples/latest/pet-oneof-array.json +1 -1
- package/examples/latest/post-schema.json +1 -1
- package/examples/latest/pruned-shopify-product-schema.json +1 -1
- package/examples/latest/real-world-schema.json +19 -14
- package/examples/latest/recursive-repeater-schema.json +1 -1
- package/examples/latest/recursive-schema.json +1 -1
- package/examples/latest/rick-and-morty-ast.json +39 -226
- package/examples/latest/rick-and-morty-graphql.json +35 -222
- package/examples/latest/rick-and-morty-rest.json +1 -1
- package/examples/latest/schema-with-repeater-draftjs.json +1 -1
- package/examples/latest/shape-books-v3_2_0.json +19 -14
- package/examples/latest/shape-books.json +19 -14
- package/examples/latest/shape-editor-schema-edited.json +2 -2
- package/examples/latest/shape-editor-schema-initial.json +2 -2
- package/examples/latest/shopify-lookbook.json +9 -39
- package/examples/latest/shopify-product-2022-07.json +21 -213
- package/examples/latest/shopify-product-2023-04.json +21 -213
- package/examples/latest/shopify-store-with-widget.json +97 -360
- package/examples/latest/stripe-product-runtime-schema.json +21 -213
- package/examples/latest/stripe-starter-resolved.json +21 -213
- package/examples/latest/user-schema-no-required.json +1 -1
- package/examples/latest/user-schema-with-defaults.json +1 -1
- package/package.json +5 -5
|
@@ -40,6 +40,7 @@ export declare const migrateTo: {
|
|
|
40
40
|
'v3.31.0': import("./types").MigrateFunction<import("..").ProjectSchemaV3_30_0, import("..").ProjectSchemaV3_31_0>;
|
|
41
41
|
'v3.32.0': import("./types").MigrateFunction<import("..").ProjectSchemaV3_31_0, import("..").ProjectSchemaV3_32_0>;
|
|
42
42
|
'v3.33.0': import("./types").MigrateFunction<import("..").ProjectSchemaV3_32_0, import("..").ProjectSchemaV3_33_0>;
|
|
43
|
+
'v3.34.0': import("./types").MigrateFunction<import("..").ProjectSchemaV3_33_0, import("..").ProjectSchemaV3_34_0>;
|
|
43
44
|
};
|
|
44
45
|
export * from './utils';
|
|
45
46
|
export declare const listTypePrefix = "PaginatedList";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/migration/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/migration/index.ts"],"names":[],"mappings":"AA2CA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CrB,CAAC;AAEF,cAAc,SAAS,CAAC;AACxB,eAAO,MAAM,cAAc,kBAAkB,CAAC;AAC9C,YAAY,EAAC,6BAA6B,EAAC,MAAM,SAAS,CAAC"}
|
package/dist/migration/index.js
CHANGED
|
@@ -91,6 +91,8 @@ var _v40 = _interopRequireDefault(require("./to/v3.32.0"));
|
|
|
91
91
|
|
|
92
92
|
var _v41 = _interopRequireDefault(require("./to/v3.33.0"));
|
|
93
93
|
|
|
94
|
+
var _v42 = _interopRequireDefault(require("./to/v3.34.0"));
|
|
95
|
+
|
|
94
96
|
var _utils = require("./utils");
|
|
95
97
|
|
|
96
98
|
Object.keys(_utils).forEach(function (key) {
|
|
@@ -148,7 +150,8 @@ const migrateTo = {
|
|
|
148
150
|
'v3.30.0': _v38.default,
|
|
149
151
|
'v3.31.0': _v39.default,
|
|
150
152
|
'v3.32.0': _v40.default,
|
|
151
|
-
'v3.33.0': _v41.default
|
|
153
|
+
'v3.33.0': _v41.default,
|
|
154
|
+
'v3.34.0': _v42.default
|
|
152
155
|
};
|
|
153
156
|
exports.migrateTo = migrateTo;
|
|
154
157
|
const listTypePrefix = 'PaginatedList';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FormMapV3_33_0, ProjectSchemaV3_33_0, ProjectSchemaV3_34_0 } from '../../project-schema';
|
|
2
|
+
import type { MigrateFunction } from '../types';
|
|
3
|
+
export declare function normalizeForms(projectSchema: ProjectSchemaV3_33_0): FormMapV3_33_0;
|
|
4
|
+
export declare function migrateInterfaceShapes(projectSchema: ProjectSchemaV3_34_0): ProjectSchemaV3_34_0;
|
|
5
|
+
declare const migrate: MigrateFunction<ProjectSchemaV3_33_0, ProjectSchemaV3_34_0>;
|
|
6
|
+
export default migrate;
|
|
7
|
+
//# sourceMappingURL=v3.34.0.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v3.34.0.d.ts","sourceRoot":"","sources":["../../../../src/migration/to/v3.34.0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,cAAc,EAAE,oBAAoB,EAAE,oBAAoB,EAAC,MAAM,sBAAsB,CAAC;AACnH,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAqB9C,wBAAgB,cAAc,CAAC,aAAa,EAAE,oBAAoB,GAAG,cAAc,CAiDlF;AAED,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,oBAAoB,GAAG,oBAAoB,CA+ChG;AAED,QAAA,MAAM,OAAO,EAAE,eAAe,CAAC,oBAAoB,EAAE,oBAAoB,CAQxE,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
exports.migrateInterfaceShapes = migrateInterfaceShapes;
|
|
8
|
+
exports.normalizeForms = normalizeForms;
|
|
9
|
+
|
|
10
|
+
var _util = require("@takeshape/util");
|
|
11
|
+
|
|
12
|
+
var _schemaUtil = require("../../schema-util");
|
|
13
|
+
|
|
14
|
+
var _refs = require("../../refs");
|
|
15
|
+
|
|
16
|
+
var _upperFirst = _interopRequireDefault(require("lodash/upperFirst"));
|
|
17
|
+
|
|
18
|
+
var _set = _interopRequireDefault(require("lodash/fp/set"));
|
|
19
|
+
|
|
20
|
+
var _unset = _interopRequireDefault(require("lodash/fp/unset"));
|
|
21
|
+
|
|
22
|
+
var _services = require("../../services");
|
|
23
|
+
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
|
+
|
|
26
|
+
// Inline utilities for posterity
|
|
27
|
+
function refItemToShapeName(refItem) {
|
|
28
|
+
const {
|
|
29
|
+
serviceNamespace,
|
|
30
|
+
typeName
|
|
31
|
+
} = refItem;
|
|
32
|
+
return serviceNamespace ? `${serviceNamespace}_${typeName}` : typeName;
|
|
33
|
+
} // Map of form studio widgets and their replacements in the shape editor
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
const widgetMigrations = {
|
|
37
|
+
object: 'shapeObject',
|
|
38
|
+
repeater: 'shapeArray'
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
function normalizeForms(projectSchema) {
|
|
42
|
+
const normalizedForms = {};
|
|
43
|
+
const {
|
|
44
|
+
forms = {}
|
|
45
|
+
} = projectSchema;
|
|
46
|
+
|
|
47
|
+
const storeSourceForm = (shapeName, formConfig, propName) => {
|
|
48
|
+
if (!normalizedForms[shapeName]) {
|
|
49
|
+
normalizedForms[shapeName] = {
|
|
50
|
+
default: (0, _util.deepClone)(formConfig)
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const propConfig = normalizedForms[shapeName].default.properties[propName];
|
|
55
|
+
delete propConfig.properties;
|
|
56
|
+
delete propConfig.order;
|
|
57
|
+
propConfig.widget = widgetMigrations[propConfig.widget] ?? propConfig.widget;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
const normalizeNested = (shapeName, formConfig) => {
|
|
61
|
+
const shape = projectSchema.shapes[shapeName];
|
|
62
|
+
|
|
63
|
+
if (!shape || !formConfig.properties) {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const propertyAccessor = (0, _schemaUtil.createSchemaPropertyAccessor)(projectSchema, shape);
|
|
68
|
+
|
|
69
|
+
for (const propName of Object.keys(formConfig.properties)) {
|
|
70
|
+
const propConfig = formConfig.properties[propName];
|
|
71
|
+
const propSchema = propertyAccessor.getValue(propName);
|
|
72
|
+
|
|
73
|
+
if (propSchema) {
|
|
74
|
+
const ref = (0, _refs.getRefOrItemsRef)(projectSchema, propSchema);
|
|
75
|
+
|
|
76
|
+
if (ref && propConfig.properties && propConfig.widget !== 'shopify') {
|
|
77
|
+
const nestedShapeName = refItemToShapeName(ref);
|
|
78
|
+
normalizedForms[nestedShapeName] = {
|
|
79
|
+
default: (0, _util.deepClone)(propConfig)
|
|
80
|
+
};
|
|
81
|
+
storeSourceForm(shapeName, formConfig, propName);
|
|
82
|
+
normalizeNested(nestedShapeName, propConfig);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
if (forms) {
|
|
89
|
+
for (const shapeName of Object.keys(forms)) {
|
|
90
|
+
normalizeNested(shapeName, forms[shapeName].default); // copy forms with no changes
|
|
91
|
+
|
|
92
|
+
if (!normalizedForms[shapeName]) {
|
|
93
|
+
normalizedForms[shapeName] = forms[shapeName];
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return normalizedForms;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
function migrateInterfaceShapes(projectSchema) {
|
|
102
|
+
let updatedProjectSchema = projectSchema;
|
|
103
|
+
|
|
104
|
+
for (const shape of Object.values(projectSchema.shapes)) {
|
|
105
|
+
if (!shape.model) {
|
|
106
|
+
continue;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
const serviceObjectFields = (0, _services.getServiceObjectFields)(projectSchema, shape, 'shopify');
|
|
110
|
+
|
|
111
|
+
for (const field of serviceObjectFields) {
|
|
112
|
+
const {
|
|
113
|
+
fieldName,
|
|
114
|
+
service
|
|
115
|
+
} = field;
|
|
116
|
+
const {
|
|
117
|
+
serviceObjectType
|
|
118
|
+
} = field.generators[_schemaUtil.SERVICE_OBJECT_PATTERN_NAME];
|
|
119
|
+
const serviceShapeName = (0, _upperFirst.default)(serviceObjectType);
|
|
120
|
+
const interfaceShapeName = `${serviceShapeName}Interface`;
|
|
121
|
+
updatedProjectSchema = (0, _unset.default)(['shapes', interfaceShapeName], updatedProjectSchema);
|
|
122
|
+
|
|
123
|
+
if ('type' in shape.schema && shape.schema.type === 'object') {
|
|
124
|
+
const prop = shape.schema.properties[fieldName];
|
|
125
|
+
|
|
126
|
+
if (prop) {
|
|
127
|
+
updatedProjectSchema = (0, _set.default)(['shapes', shape.name, 'schema', 'properties', fieldName, '@input'], {
|
|
128
|
+
'@ref': `${service}:${serviceShapeName}Input`
|
|
129
|
+
}, updatedProjectSchema);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
for (const [mutationName, mutation] of Object.entries(projectSchema.mutations)) {
|
|
134
|
+
if (!mutation || typeof mutation.args !== 'string') {
|
|
135
|
+
continue;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
for (const template of ['CreateArgs', 'UpdateArgs']) {
|
|
139
|
+
if (mutation.args === `${template}<${interfaceShapeName}>`) {
|
|
140
|
+
updatedProjectSchema = (0, _set.default)(['mutations', mutationName], { ...mutation,
|
|
141
|
+
args: `${template}<${serviceShapeName}>`
|
|
142
|
+
}, updatedProjectSchema);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
return updatedProjectSchema;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
const migrate = async (_, projectSchema) => {
|
|
153
|
+
const forms = normalizeForms(projectSchema);
|
|
154
|
+
return migrateInterfaceShapes({ ...projectSchema,
|
|
155
|
+
forms,
|
|
156
|
+
schemaVersion: '3.34.0'
|
|
157
|
+
});
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
var _default = migrate;
|
|
161
|
+
exports.default = _default;
|
|
@@ -41,6 +41,7 @@ export * from './v3.30.0';
|
|
|
41
41
|
export * from './v3.31.0';
|
|
42
42
|
export * from './v3.32.0';
|
|
43
43
|
export * from './v3.33.0';
|
|
44
|
+
export * from './v3.34.0';
|
|
44
45
|
export * from './v4.0.0';
|
|
45
46
|
import { ProjectSchemaV1_0_0 } from './v1.0.0';
|
|
46
47
|
import { ProjectSchemaV3_0_0 } from './v3.0.0';
|
|
@@ -84,9 +85,10 @@ import { ProjectSchemaV3_30_0 } from './v3.30.0';
|
|
|
84
85
|
import { ProjectSchemaV3_31_0 } from './v3.31.0';
|
|
85
86
|
import { ProjectSchemaV3_32_0 } from './v3.32.0';
|
|
86
87
|
import { ProjectSchemaV3_33_0 } from './v3.33.0';
|
|
88
|
+
import { ProjectSchemaV3_34_0 } from './v3.34.0';
|
|
87
89
|
import { ProjectSchemaV4_0_0 } from './v4.0.0';
|
|
88
90
|
import { ProjectSchema } from './latest';
|
|
89
|
-
export type AnyProjectSchema = ProjectSchemaV1_0_0 | ProjectSchemaV3_0_0 | ProjectSchemaV3_1_0 | ProjectSchemaV3_2_0 | ProjectSchemaV3_3_0 | ProjectSchemaV3_4_0 | ProjectSchemaV3_5_0 | ProjectSchemaV3_5_1 | ProjectSchemaV3_6_0 | ProjectSchemaV3_7_0 | ProjectSchemaV3_8_0 | ProjectSchemaV3_9_0 | ProjectSchemaV3_10_0 | ProjectSchemaV3_11_0 | ProjectSchemaV3_12_0 | ProjectSchemaV3_12_1 | ProjectSchemaV3_12_2 | ProjectSchemaV3_12_3 | ProjectSchemaV3_13_0 | ProjectSchemaV3_14_0 | ProjectSchemaV3_15_0 | ProjectSchemaV3_16_0 | ProjectSchemaV3_17_0 | ProjectSchemaV3_17_1 | ProjectSchemaV3_18_0 | ProjectSchemaV3_18_1 | ProjectSchemaV3_18_2 | ProjectSchemaV3_19_0 | ProjectSchemaV3_20_0 | ProjectSchemaV3_21_0 | ProjectSchemaV3_22_0 | ProjectSchemaV3_23_0 | ProjectSchemaV3_24_0 | ProjectSchemaV3_25_0 | ProjectSchemaV3_26_0 | ProjectSchemaV3_27_0 | ProjectSchemaV3_28_0 | ProjectSchemaV3_29_0 | ProjectSchemaV3_30_0 | ProjectSchemaV3_31_0 | ProjectSchemaV3_32_0 | ProjectSchemaV3_33_0 | ProjectSchemaV4_0_0 | ProjectSchema;
|
|
91
|
+
export type AnyProjectSchema = ProjectSchemaV1_0_0 | ProjectSchemaV3_0_0 | ProjectSchemaV3_1_0 | ProjectSchemaV3_2_0 | ProjectSchemaV3_3_0 | ProjectSchemaV3_4_0 | ProjectSchemaV3_5_0 | ProjectSchemaV3_5_1 | ProjectSchemaV3_6_0 | ProjectSchemaV3_7_0 | ProjectSchemaV3_8_0 | ProjectSchemaV3_9_0 | ProjectSchemaV3_10_0 | ProjectSchemaV3_11_0 | ProjectSchemaV3_12_0 | ProjectSchemaV3_12_1 | ProjectSchemaV3_12_2 | ProjectSchemaV3_12_3 | ProjectSchemaV3_13_0 | ProjectSchemaV3_14_0 | ProjectSchemaV3_15_0 | ProjectSchemaV3_16_0 | ProjectSchemaV3_17_0 | ProjectSchemaV3_17_1 | ProjectSchemaV3_18_0 | ProjectSchemaV3_18_1 | ProjectSchemaV3_18_2 | ProjectSchemaV3_19_0 | ProjectSchemaV3_20_0 | ProjectSchemaV3_21_0 | ProjectSchemaV3_22_0 | ProjectSchemaV3_23_0 | ProjectSchemaV3_24_0 | ProjectSchemaV3_25_0 | ProjectSchemaV3_26_0 | ProjectSchemaV3_27_0 | ProjectSchemaV3_28_0 | ProjectSchemaV3_29_0 | ProjectSchemaV3_30_0 | ProjectSchemaV3_31_0 | ProjectSchemaV3_32_0 | ProjectSchemaV3_33_0 | ProjectSchemaV3_34_0 | ProjectSchemaV4_0_0 | ProjectSchema;
|
|
90
92
|
export declare const isProjectSchemaV1_0_0: (projectSchema: AnyProjectSchema) => projectSchema is ProjectSchemaV1_0_0;
|
|
91
93
|
export declare const isProjectSchemaV3_0_0: (projectSchema: AnyProjectSchema) => projectSchema is ProjectSchemaV3_0_0;
|
|
92
94
|
export declare const isProjectSchemaV3_1_0: (projectSchema: AnyProjectSchema) => projectSchema is ProjectSchemaV3_1_0;
|
|
@@ -129,6 +131,7 @@ export declare const isProjectSchemaV3_30_0: (projectSchema: AnyProjectSchema) =
|
|
|
129
131
|
export declare const isProjectSchemaV3_31_0: (projectSchema: AnyProjectSchema) => projectSchema is ProjectSchemaV3_31_0;
|
|
130
132
|
export declare const isProjectSchemaV3_32_0: (projectSchema: AnyProjectSchema) => projectSchema is ProjectSchemaV3_32_0;
|
|
131
133
|
export declare const isProjectSchemaV3_33_0: (projectSchema: AnyProjectSchema) => projectSchema is ProjectSchemaV3_33_0;
|
|
134
|
+
export declare const isProjectSchemaV3_34_0: (projectSchema: AnyProjectSchema) => projectSchema is ProjectSchemaV3_34_0;
|
|
132
135
|
export declare const isLatestProjectSchema: (projectSchema: AnyProjectSchema) => projectSchema is ProjectSchema;
|
|
133
136
|
export declare const isProjectSchemaV4_0_0: (projectSchema: AnyProjectSchema) => projectSchema is ProjectSchemaV4_0_0;
|
|
134
137
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/project-schema/index.ts"],"names":[],"mappings":"AACA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B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AAgB,0CA+CmD,CAAC;AAC7F,eAAO,MAAM,sBAAsB,kBAhDV,gBAAgB,0CAgDmD,CAAC;AAC7F,eAAO,MAAM,sBAAsB,kBAjDV,gBAAgB,0CAiDmD,CAAC;AAC7F,eAAO,MAAM,sBAAsB,kBAlDV,gBAAgB,0CAkDmD,CAAC;AAC7F,eAAO,MAAM,sBAAsB,kBAnDV,gBAAgB,0CAmDmD,CAAC;AAC7F,eAAO,MAAM,sBAAsB,kBApDV,gBAAgB,0CAoDmD,CAAC;AAC7F,eAAO,MAAM,sBAAsB,kBArDV,gBAAgB,0CAqDmD,CAAC;AAC7F,eAAO,MAAM,sBAAsB,kBAtDV,gBAAgB,0CAsDmD,CAAC;AAC7F,eAAO,MAAM,sBAAsB,kBAvDV,gBAAgB,0CAuDmD,CAAC;AAC7F,eAAO,MAAM,sBAAsB,kBAxDV,gBAAgB,0CAwDmD,CAAC;AAC7F,eAAO,MAAM,sBAAsB,kBAzDV,gBAAgB,0CAyDmD,CAAC;AAC7F,eAAO,MAAM,qBAAqB,kBA1DT,gBAAgB,mCA0D2C,CAAC;AACrF,eAAO,MAAM,qBAAqB,kBA3DT,gBAAgB,yCA2DgD,CAAC"}
|
|
@@ -46,10 +46,11 @@ var _exportNames = {
|
|
|
46
46
|
isProjectSchemaV3_31_0: true,
|
|
47
47
|
isProjectSchemaV3_32_0: true,
|
|
48
48
|
isProjectSchemaV3_33_0: true,
|
|
49
|
+
isProjectSchemaV3_34_0: true,
|
|
49
50
|
isLatestProjectSchema: true,
|
|
50
51
|
isProjectSchemaV4_0_0: true
|
|
51
52
|
};
|
|
52
|
-
exports.isProjectSchemaV4_0_0 = exports.isProjectSchemaV3_9_0 = exports.isProjectSchemaV3_8_0 = exports.isProjectSchemaV3_7_0 = exports.isProjectSchemaV3_6_0 = exports.isProjectSchemaV3_5_1 = exports.isProjectSchemaV3_5_0 = exports.isProjectSchemaV3_4_0 = exports.isProjectSchemaV3_3_0 = exports.isProjectSchemaV3_33_0 = exports.isProjectSchemaV3_32_0 = exports.isProjectSchemaV3_31_0 = exports.isProjectSchemaV3_30_0 = exports.isProjectSchemaV3_2_0 = exports.isProjectSchemaV3_29_0 = exports.isProjectSchemaV3_28_0 = exports.isProjectSchemaV3_27_0 = exports.isProjectSchemaV3_26_0 = exports.isProjectSchemaV3_25_0 = exports.isProjectSchemaV3_24_0 = exports.isProjectSchemaV3_23_0 = exports.isProjectSchemaV3_22_0 = exports.isProjectSchemaV3_21_0 = exports.isProjectSchemaV3_20_0 = exports.isProjectSchemaV3_1_0 = exports.isProjectSchemaV3_19_0 = exports.isProjectSchemaV3_18_2 = exports.isProjectSchemaV3_18_1 = exports.isProjectSchemaV3_18_0 = exports.isProjectSchemaV3_17_1 = exports.isProjectSchemaV3_17_0 = exports.isProjectSchemaV3_16_0 = exports.isProjectSchemaV3_15_0 = exports.isProjectSchemaV3_14_0 = exports.isProjectSchemaV3_13_0 = exports.isProjectSchemaV3_12_3 = exports.isProjectSchemaV3_12_2 = exports.isProjectSchemaV3_12_1 = exports.isProjectSchemaV3_12_0 = exports.isProjectSchemaV3_11_0 = exports.isProjectSchemaV3_10_0 = exports.isProjectSchemaV3_0_0 = exports.isProjectSchemaV1_0_0 = exports.isLatestProjectSchema = void 0;
|
|
53
|
+
exports.isProjectSchemaV4_0_0 = exports.isProjectSchemaV3_9_0 = exports.isProjectSchemaV3_8_0 = exports.isProjectSchemaV3_7_0 = exports.isProjectSchemaV3_6_0 = exports.isProjectSchemaV3_5_1 = exports.isProjectSchemaV3_5_0 = exports.isProjectSchemaV3_4_0 = exports.isProjectSchemaV3_3_0 = exports.isProjectSchemaV3_34_0 = exports.isProjectSchemaV3_33_0 = exports.isProjectSchemaV3_32_0 = exports.isProjectSchemaV3_31_0 = exports.isProjectSchemaV3_30_0 = exports.isProjectSchemaV3_2_0 = exports.isProjectSchemaV3_29_0 = exports.isProjectSchemaV3_28_0 = exports.isProjectSchemaV3_27_0 = exports.isProjectSchemaV3_26_0 = exports.isProjectSchemaV3_25_0 = exports.isProjectSchemaV3_24_0 = exports.isProjectSchemaV3_23_0 = exports.isProjectSchemaV3_22_0 = exports.isProjectSchemaV3_21_0 = exports.isProjectSchemaV3_20_0 = exports.isProjectSchemaV3_1_0 = exports.isProjectSchemaV3_19_0 = exports.isProjectSchemaV3_18_2 = exports.isProjectSchemaV3_18_1 = exports.isProjectSchemaV3_18_0 = exports.isProjectSchemaV3_17_1 = exports.isProjectSchemaV3_17_0 = exports.isProjectSchemaV3_16_0 = exports.isProjectSchemaV3_15_0 = exports.isProjectSchemaV3_14_0 = exports.isProjectSchemaV3_13_0 = exports.isProjectSchemaV3_12_3 = exports.isProjectSchemaV3_12_2 = exports.isProjectSchemaV3_12_1 = exports.isProjectSchemaV3_12_0 = exports.isProjectSchemaV3_11_0 = exports.isProjectSchemaV3_10_0 = exports.isProjectSchemaV3_0_0 = exports.isProjectSchemaV1_0_0 = exports.isLatestProjectSchema = void 0;
|
|
53
54
|
|
|
54
55
|
var _latest = require("./latest");
|
|
55
56
|
|
|
@@ -653,7 +654,7 @@ Object.keys(_v42).forEach(function (key) {
|
|
|
653
654
|
});
|
|
654
655
|
});
|
|
655
656
|
|
|
656
|
-
var _v43 = require("./
|
|
657
|
+
var _v43 = require("./v3.34.0");
|
|
657
658
|
|
|
658
659
|
Object.keys(_v43).forEach(function (key) {
|
|
659
660
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -667,6 +668,20 @@ Object.keys(_v43).forEach(function (key) {
|
|
|
667
668
|
});
|
|
668
669
|
});
|
|
669
670
|
|
|
671
|
+
var _v44 = require("./v4.0.0");
|
|
672
|
+
|
|
673
|
+
Object.keys(_v44).forEach(function (key) {
|
|
674
|
+
if (key === "default" || key === "__esModule") return;
|
|
675
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
676
|
+
if (key in exports && exports[key] === _v44[key]) return;
|
|
677
|
+
Object.defineProperty(exports, key, {
|
|
678
|
+
enumerable: true,
|
|
679
|
+
get: function () {
|
|
680
|
+
return _v44[key];
|
|
681
|
+
}
|
|
682
|
+
});
|
|
683
|
+
});
|
|
684
|
+
|
|
670
685
|
// This file is generated by "pnpm json2ts"
|
|
671
686
|
// Schema type utilities
|
|
672
687
|
function createVersionPredicate(expectedVersion) {
|
|
@@ -771,7 +786,9 @@ const isProjectSchemaV3_32_0 = createVersionPredicate('3.32.0');
|
|
|
771
786
|
exports.isProjectSchemaV3_32_0 = isProjectSchemaV3_32_0;
|
|
772
787
|
const isProjectSchemaV3_33_0 = createVersionPredicate('3.33.0');
|
|
773
788
|
exports.isProjectSchemaV3_33_0 = isProjectSchemaV3_33_0;
|
|
774
|
-
const
|
|
789
|
+
const isProjectSchemaV3_34_0 = createVersionPredicate('3.34.0');
|
|
790
|
+
exports.isProjectSchemaV3_34_0 = isProjectSchemaV3_34_0;
|
|
791
|
+
const isLatestProjectSchema = createVersionPredicate('3.34.0');
|
|
775
792
|
exports.isLatestProjectSchema = isLatestProjectSchema;
|
|
776
793
|
const isProjectSchemaV4_0_0 = createVersionPredicate('4.0.0');
|
|
777
794
|
exports.isProjectSchemaV4_0_0 = isProjectSchemaV4_0_0;
|
|
@@ -314,7 +314,7 @@ export interface ProjectSchema {
|
|
|
314
314
|
/**
|
|
315
315
|
* The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
|
|
316
316
|
*/
|
|
317
|
-
schemaVersion: '3.
|
|
317
|
+
schemaVersion: '3.34.0';
|
|
318
318
|
/**
|
|
319
319
|
* The ID of the TakeShape project this schema belongs to.
|
|
320
320
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../../src/project-schema/migrate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,KAAK,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../../src/project-schema/migrate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,KAAK,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,SAAS,CAAC;AAkD7D,wBAAsB,4BAA4B,CAChD,OAAO,EAAE,6BAA6B,EACtC,aAAa,EAAE,gBAAgB,GAC9B,OAAO,CAAC,aAAa,CAAC,CAkLxB;AAED,wBAAsB,YAAY,CAChC,OAAO,EAAE,6BAA6B,EACtC,MAAM,CAAC,EAAE,gBAAgB,GACxB,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAMpC"}
|
|
@@ -181,6 +181,10 @@ async function migrateToLatestProjectSchema(context, projectSchema) {
|
|
|
181
181
|
projectSchema = await _migration.migrateTo['v3.33.0'](context, projectSchema);
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
+
if ((0, _index.isProjectSchemaV3_33_0)(projectSchema)) {
|
|
185
|
+
projectSchema = await _migration.migrateTo['v3.34.0'](context, projectSchema);
|
|
186
|
+
}
|
|
187
|
+
|
|
184
188
|
if ((0, _index.isProjectSchemaV4_0_0)(projectSchema)) {
|
|
185
189
|
throw new Error('You are using an unreleased schema version. Migration is not possible');
|
|
186
190
|
}
|