@takeshape/schema 12.15.0 → 12.16.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 +2 -1
- package/dist/migration/index.js +2 -1
- package/dist/project-schema/index.d.ts +4 -1
- package/dist/project-schema/index.js +2 -1
- package/dist/project-schema/latest.d.ts +9 -1
- package/dist/project-schema/migrate.js +4 -1
- package/dist/project-schema/v3.67.0.d.ts +2805 -0
- package/dist/project-schema/v3.67.0.js +7 -0
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.js +4 -2
- package/dist/schemas/project-schema/latest.json +10 -2
- package/dist/schemas/project-schema/v3.67.0.json +5169 -0
- package/dist/schemas/project-schema.json +3 -0
- package/examples/latest/all-fields-shapes-inline.json +1 -1
- package/examples/latest/all-fields-shapes.json +1 -1
- package/examples/latest/betzino.json +1 -1
- package/examples/latest/blog-schema.json +1 -1
- package/examples/latest/brewery-schema.json +1 -1
- package/examples/latest/chat-agent-schema.json +1 -1
- package/examples/latest/clear-cache-schema.json +1 -1
- package/examples/latest/complex-project-schema.json +1 -1
- package/examples/latest/complex-schema.json +1 -1
- package/examples/latest/edit-schema.json +1 -1
- package/examples/latest/frank-and-fred-schema.json +1 -1
- package/examples/latest/generate-agent-schema.json +1 -1
- package/examples/latest/klirr-schema.json +1 -1
- package/examples/latest/layers/rick-and-morty-layer.json +1 -1
- package/examples/latest/layers/shopify-layer-2023-01.json +1 -1
- package/examples/latest/layers/shopify-storefront-2023-04.json +1 -1
- package/examples/latest/layers/wordpress-2024-01.json +1 -1
- package/examples/latest/massive-schema.json +1 -1
- package/examples/latest/mill-components-schema.json +1 -1
- package/examples/latest/nested-shape-arrays.json +1 -1
- package/examples/latest/one-earth.json +1 -1
- 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/rag-example.json +1 -1
- package/examples/latest/real-world-schema.json +1 -1
- 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 +1 -1
- package/examples/latest/rick-and-morty-graphql.json +1 -1
- package/examples/latest/rick-and-morty-rest.json +1 -1
- package/examples/latest/rick-and-morty-user-schema.json +1 -1
- package/examples/latest/rick-and-morty-with-indexing.json +1 -1
- package/examples/latest/schema-where-filter.json +1 -1
- package/examples/latest/schema-with-repeater-draftjs.json +1 -1
- package/examples/latest/schema-with-rick-and-morty.json +1 -1
- package/examples/latest/shape-books-v3_2_0.json +1 -1
- package/examples/latest/shape-books.json +1 -1
- package/examples/latest/shape-editor-schema-edited.json +1 -1
- package/examples/latest/shape-editor-schema-initial.json +1 -1
- package/examples/latest/shapedb-crud-every-prop-type.json +1 -1
- package/examples/latest/shopify-lookbook.json +1 -1
- package/examples/latest/shopify-product-2022-07.json +1 -1
- package/examples/latest/shopify-product-2023-04.json +1 -1
- package/examples/latest/shopify-store-with-widget.json +1 -1
- package/examples/latest/stripe-product-runtime-schema.json +1 -1
- package/examples/latest/stripe-starter-resolved.json +1 -1
- package/examples/latest/user-schema-no-required.json +1 -1
- package/examples/latest/user-schema-with-defaults.json +1 -1
- package/examples/latest/valvoline-ai-demo.json +1 -1
- package/examples/latest/vector-search-schema.json +1 -1
- package/package.json +6 -6
|
@@ -73,7 +73,8 @@ export declare const migrateTo: {
|
|
|
73
73
|
'v3.63.0': MigrateFunction<import("../project-schema/v3.62.0.ts").ProjectSchemaJSONV3_62_0, import("../project-schema/v3.63.0.ts").ProjectSchemaJSONV3_63_0>;
|
|
74
74
|
'v3.64.0': MigrateFunction<import("../project-schema/v3.63.0.ts").ProjectSchemaJSONV3_63_0, import("../project-schema/v3.64.0.ts").ProjectSchemaJSONV3_64_0>;
|
|
75
75
|
'v3.65.0': MigrateFunction<import("../project-schema/v3.64.0.ts").ProjectSchemaJSONV3_64_0, import("../project-schema/v3.65.0.ts").ProjectSchemaJSONV3_65_0>;
|
|
76
|
-
'v3.66.0': MigrateFunction<import("../project-schema/v3.65.0.ts").ProjectSchemaJSONV3_65_0, import("../project-schema/v3.66.0.ts").ProjectSchemaJSONV3_66_0
|
|
76
|
+
'v3.66.0': MigrateFunction<import("../project-schema/v3.65.0.ts").ProjectSchemaJSONV3_65_0, import("../project-schema/v3.66.0.ts").ProjectSchemaJSONV3_66_0>;
|
|
77
|
+
'v3.67.0': MigrateFunction<import("../project-schema/v3.66.0.ts").ProjectSchemaJSONV3_66_0, import("../project-schema/v3.67.0.ts").ProjectSchemaJSONV3_67_0 | import("../project-schema/latest.ts").ProjectSchemaJSON>;
|
|
77
78
|
};
|
|
78
79
|
export * from './utils.ts';
|
|
79
80
|
export declare const listTypePrefix = "PaginatedList";
|
package/dist/migration/index.js
CHANGED
|
@@ -105,7 +105,8 @@ export const migrateTo = {
|
|
|
105
105
|
'v3.63.0': getNoopMigration('3.62.0', '3.63.0'),
|
|
106
106
|
'v3.64.0': getNoopMigration('3.63.0', '3.64.0'),
|
|
107
107
|
'v3.65.0': getNoopMigration('3.64.0', '3.65.0'),
|
|
108
|
-
'v3.66.0': getNoopMigration('3.65.0', '3.66.0')
|
|
108
|
+
'v3.66.0': getNoopMigration('3.65.0', '3.66.0'),
|
|
109
|
+
'v3.67.0': getNoopMigration('3.66.0', '3.67.0')
|
|
109
110
|
};
|
|
110
111
|
export * from "./utils.js";
|
|
111
112
|
export const listTypePrefix = 'PaginatedList';
|
|
@@ -74,6 +74,7 @@ export type * from './v3.63.0.ts';
|
|
|
74
74
|
export type * from './v3.64.0.ts';
|
|
75
75
|
export type * from './v3.65.0.ts';
|
|
76
76
|
export type * from './v3.66.0.ts';
|
|
77
|
+
export type * from './v3.67.0.ts';
|
|
77
78
|
export type * from './v4.0.0.ts';
|
|
78
79
|
import { ProjectSchemaJSONV1_0_0 } from './v1.0.0.ts';
|
|
79
80
|
import { ProjectSchemaJSONV3_0_0 } from './v3.0.0.ts';
|
|
@@ -150,9 +151,10 @@ import { ProjectSchemaJSONV3_63_0 } from './v3.63.0.ts';
|
|
|
150
151
|
import { ProjectSchemaJSONV3_64_0 } from './v3.64.0.ts';
|
|
151
152
|
import { ProjectSchemaJSONV3_65_0 } from './v3.65.0.ts';
|
|
152
153
|
import { ProjectSchemaJSONV3_66_0 } from './v3.66.0.ts';
|
|
154
|
+
import { ProjectSchemaJSONV3_67_0 } from './v3.67.0.ts';
|
|
153
155
|
import { ProjectSchemaJSONV4_0_0 } from './v4.0.0.ts';
|
|
154
156
|
import { ProjectSchemaJSON } from './latest.ts';
|
|
155
|
-
export type AnyProjectSchemaJSON = ProjectSchemaJSONV1_0_0 | ProjectSchemaJSONV3_0_0 | ProjectSchemaJSONV3_1_0 | ProjectSchemaJSONV3_2_0 | ProjectSchemaJSONV3_3_0 | ProjectSchemaJSONV3_4_0 | ProjectSchemaJSONV3_5_0 | ProjectSchemaJSONV3_5_1 | ProjectSchemaJSONV3_6_0 | ProjectSchemaJSONV3_7_0 | ProjectSchemaJSONV3_8_0 | ProjectSchemaJSONV3_9_0 | ProjectSchemaJSONV3_10_0 | ProjectSchemaJSONV3_11_0 | ProjectSchemaJSONV3_12_0 | ProjectSchemaJSONV3_12_1 | ProjectSchemaJSONV3_12_2 | ProjectSchemaJSONV3_12_3 | ProjectSchemaJSONV3_13_0 | ProjectSchemaJSONV3_14_0 | ProjectSchemaJSONV3_15_0 | ProjectSchemaJSONV3_16_0 | ProjectSchemaJSONV3_17_0 | ProjectSchemaJSONV3_17_1 | ProjectSchemaJSONV3_18_0 | ProjectSchemaJSONV3_18_1 | ProjectSchemaJSONV3_18_2 | ProjectSchemaJSONV3_19_0 | ProjectSchemaJSONV3_20_0 | ProjectSchemaJSONV3_21_0 | ProjectSchemaJSONV3_22_0 | ProjectSchemaJSONV3_23_0 | ProjectSchemaJSONV3_24_0 | ProjectSchemaJSONV3_25_0 | ProjectSchemaJSONV3_26_0 | ProjectSchemaJSONV3_27_0 | ProjectSchemaJSONV3_28_0 | ProjectSchemaJSONV3_29_0 | ProjectSchemaJSONV3_30_0 | ProjectSchemaJSONV3_31_0 | ProjectSchemaJSONV3_32_0 | ProjectSchemaJSONV3_33_0 | ProjectSchemaJSONV3_34_0 | ProjectSchemaJSONV3_35_0 | ProjectSchemaJSONV3_36_0 | ProjectSchemaJSONV3_37_0 | ProjectSchemaJSONV3_38_0 | ProjectSchemaJSONV3_39_0 | ProjectSchemaJSONV3_40_0 | ProjectSchemaJSONV3_41_0 | ProjectSchemaJSONV3_42_0 | ProjectSchemaJSONV3_43_0 | ProjectSchemaJSONV3_44_0 | ProjectSchemaJSONV3_45_0 | ProjectSchemaJSONV3_46_0 | ProjectSchemaJSONV3_47_0 | ProjectSchemaJSONV3_48_0 | ProjectSchemaJSONV3_49_0 | ProjectSchemaJSONV3_50_0 | ProjectSchemaJSONV3_51_0 | ProjectSchemaJSONV3_52_0 | ProjectSchemaJSONV3_53_0 | ProjectSchemaJSONV3_54_0 | ProjectSchemaJSONV3_55_0 | ProjectSchemaJSONV3_56_0 | ProjectSchemaJSONV3_57_0 | ProjectSchemaJSONV3_58_0 | ProjectSchemaJSONV3_59_0 | ProjectSchemaJSONV3_60_0 | ProjectSchemaJSONV3_61_0 | ProjectSchemaJSONV3_62_0 | ProjectSchemaJSONV3_63_0 | ProjectSchemaJSONV3_64_0 | ProjectSchemaJSONV3_65_0 | ProjectSchemaJSONV3_66_0 | ProjectSchemaJSONV4_0_0 | ProjectSchemaJSON;
|
|
157
|
+
export type AnyProjectSchemaJSON = ProjectSchemaJSONV1_0_0 | ProjectSchemaJSONV3_0_0 | ProjectSchemaJSONV3_1_0 | ProjectSchemaJSONV3_2_0 | ProjectSchemaJSONV3_3_0 | ProjectSchemaJSONV3_4_0 | ProjectSchemaJSONV3_5_0 | ProjectSchemaJSONV3_5_1 | ProjectSchemaJSONV3_6_0 | ProjectSchemaJSONV3_7_0 | ProjectSchemaJSONV3_8_0 | ProjectSchemaJSONV3_9_0 | ProjectSchemaJSONV3_10_0 | ProjectSchemaJSONV3_11_0 | ProjectSchemaJSONV3_12_0 | ProjectSchemaJSONV3_12_1 | ProjectSchemaJSONV3_12_2 | ProjectSchemaJSONV3_12_3 | ProjectSchemaJSONV3_13_0 | ProjectSchemaJSONV3_14_0 | ProjectSchemaJSONV3_15_0 | ProjectSchemaJSONV3_16_0 | ProjectSchemaJSONV3_17_0 | ProjectSchemaJSONV3_17_1 | ProjectSchemaJSONV3_18_0 | ProjectSchemaJSONV3_18_1 | ProjectSchemaJSONV3_18_2 | ProjectSchemaJSONV3_19_0 | ProjectSchemaJSONV3_20_0 | ProjectSchemaJSONV3_21_0 | ProjectSchemaJSONV3_22_0 | ProjectSchemaJSONV3_23_0 | ProjectSchemaJSONV3_24_0 | ProjectSchemaJSONV3_25_0 | ProjectSchemaJSONV3_26_0 | ProjectSchemaJSONV3_27_0 | ProjectSchemaJSONV3_28_0 | ProjectSchemaJSONV3_29_0 | ProjectSchemaJSONV3_30_0 | ProjectSchemaJSONV3_31_0 | ProjectSchemaJSONV3_32_0 | ProjectSchemaJSONV3_33_0 | ProjectSchemaJSONV3_34_0 | ProjectSchemaJSONV3_35_0 | ProjectSchemaJSONV3_36_0 | ProjectSchemaJSONV3_37_0 | ProjectSchemaJSONV3_38_0 | ProjectSchemaJSONV3_39_0 | ProjectSchemaJSONV3_40_0 | ProjectSchemaJSONV3_41_0 | ProjectSchemaJSONV3_42_0 | ProjectSchemaJSONV3_43_0 | ProjectSchemaJSONV3_44_0 | ProjectSchemaJSONV3_45_0 | ProjectSchemaJSONV3_46_0 | ProjectSchemaJSONV3_47_0 | ProjectSchemaJSONV3_48_0 | ProjectSchemaJSONV3_49_0 | ProjectSchemaJSONV3_50_0 | ProjectSchemaJSONV3_51_0 | ProjectSchemaJSONV3_52_0 | ProjectSchemaJSONV3_53_0 | ProjectSchemaJSONV3_54_0 | ProjectSchemaJSONV3_55_0 | ProjectSchemaJSONV3_56_0 | ProjectSchemaJSONV3_57_0 | ProjectSchemaJSONV3_58_0 | ProjectSchemaJSONV3_59_0 | ProjectSchemaJSONV3_60_0 | ProjectSchemaJSONV3_61_0 | ProjectSchemaJSONV3_62_0 | ProjectSchemaJSONV3_63_0 | ProjectSchemaJSONV3_64_0 | ProjectSchemaJSONV3_65_0 | ProjectSchemaJSONV3_66_0 | ProjectSchemaJSONV3_67_0 | ProjectSchemaJSONV4_0_0 | ProjectSchemaJSON;
|
|
156
158
|
export declare const isProjectSchemaJSONV1_0_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV1_0_0;
|
|
157
159
|
export declare const isProjectSchemaJSONV3_0_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_0_0;
|
|
158
160
|
export declare const isProjectSchemaJSONV3_1_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_1_0;
|
|
@@ -228,5 +230,6 @@ export declare const isProjectSchemaJSONV3_63_0: (projectSchema: AnyProjectSchem
|
|
|
228
230
|
export declare const isProjectSchemaJSONV3_64_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_64_0;
|
|
229
231
|
export declare const isProjectSchemaJSONV3_65_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_65_0;
|
|
230
232
|
export declare const isProjectSchemaJSONV3_66_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_66_0;
|
|
233
|
+
export declare const isProjectSchemaJSONV3_67_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_67_0;
|
|
231
234
|
export declare const isLatestProjectSchemaJSON: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSON;
|
|
232
235
|
export declare const isProjectSchemaJSONV4_0_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV4_0_0;
|
|
@@ -86,5 +86,6 @@ export const isProjectSchemaJSONV3_63_0 = createVersionPredicate('3.63.0');
|
|
|
86
86
|
export const isProjectSchemaJSONV3_64_0 = createVersionPredicate('3.64.0');
|
|
87
87
|
export const isProjectSchemaJSONV3_65_0 = createVersionPredicate('3.65.0');
|
|
88
88
|
export const isProjectSchemaJSONV3_66_0 = createVersionPredicate('3.66.0');
|
|
89
|
-
export const
|
|
89
|
+
export const isProjectSchemaJSONV3_67_0 = createVersionPredicate('3.67.0');
|
|
90
|
+
export const isLatestProjectSchemaJSON = createVersionPredicate('3.67.0');
|
|
90
91
|
export const isProjectSchemaJSONV4_0_0 = createVersionPredicate('4.0.0');
|
|
@@ -706,7 +706,7 @@ export interface ProjectSchemaJSON {
|
|
|
706
706
|
/**
|
|
707
707
|
* The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
|
|
708
708
|
*/
|
|
709
|
-
schemaVersion: '3.
|
|
709
|
+
schemaVersion: '3.67.0';
|
|
710
710
|
/**
|
|
711
711
|
* The ID of the TakeShape project this schema belongs to.
|
|
712
712
|
*/
|
|
@@ -1856,6 +1856,10 @@ export interface StoredListQueryLoaderConfig {
|
|
|
1856
1856
|
[k: string]: any;
|
|
1857
1857
|
}[];
|
|
1858
1858
|
pagination?: PaginationConfig;
|
|
1859
|
+
/**
|
|
1860
|
+
* When set to a number greater than 0, pages will be fetched in parallel with this concurrency limit during indexing.
|
|
1861
|
+
*/
|
|
1862
|
+
concurrency?: number;
|
|
1859
1863
|
}
|
|
1860
1864
|
/**
|
|
1861
1865
|
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
@@ -2646,6 +2650,10 @@ export interface ListQueryLoaderConfig {
|
|
|
2646
2650
|
[k: string]: any;
|
|
2647
2651
|
};
|
|
2648
2652
|
pagination?: PaginationConfig;
|
|
2653
|
+
/**
|
|
2654
|
+
* When set to a number greater than 0, pages will be fetched in parallel with this concurrency limit during indexing.
|
|
2655
|
+
*/
|
|
2656
|
+
concurrency?: number;
|
|
2649
2657
|
}
|
|
2650
2658
|
/**
|
|
2651
2659
|
* This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { migrateTo } from "../migration/index.js";
|
|
2
|
-
import { isProjectSchemaJSONV1_0_0, isProjectSchemaJSONV3_0_0, isProjectSchemaJSONV3_1_0, isProjectSchemaJSONV3_2_0, isProjectSchemaJSONV3_3_0, isProjectSchemaJSONV3_4_0, isProjectSchemaJSONV3_5_0, isProjectSchemaJSONV3_5_1, isProjectSchemaJSONV3_6_0, isProjectSchemaJSONV3_7_0, isProjectSchemaJSONV3_8_0, isProjectSchemaJSONV3_9_0, isProjectSchemaJSONV3_10_0, isProjectSchemaJSONV3_11_0, isProjectSchemaJSONV3_12_0, isProjectSchemaJSONV3_12_1, isProjectSchemaJSONV3_12_2, isProjectSchemaJSONV3_12_3, isProjectSchemaJSONV3_13_0, isProjectSchemaJSONV3_14_0, isProjectSchemaJSONV3_15_0, isProjectSchemaJSONV3_16_0, isProjectSchemaJSONV3_17_0, isProjectSchemaJSONV3_17_1, isProjectSchemaJSONV3_18_0, isProjectSchemaJSONV3_18_1, isProjectSchemaJSONV3_18_2, isProjectSchemaJSONV3_19_0, isProjectSchemaJSONV3_20_0, isProjectSchemaJSONV3_21_0, isProjectSchemaJSONV3_22_0, isProjectSchemaJSONV3_23_0, isProjectSchemaJSONV3_24_0, isProjectSchemaJSONV3_25_0, isProjectSchemaJSONV3_26_0, isProjectSchemaJSONV3_27_0, isProjectSchemaJSONV3_28_0, isProjectSchemaJSONV3_29_0, isProjectSchemaJSONV3_30_0, isProjectSchemaJSONV3_31_0, isProjectSchemaJSONV3_32_0, isProjectSchemaJSONV3_33_0, isProjectSchemaJSONV3_34_0, isProjectSchemaJSONV3_35_0, isProjectSchemaJSONV3_36_0, isProjectSchemaJSONV3_37_0, isProjectSchemaJSONV3_38_0, isProjectSchemaJSONV3_39_0, isProjectSchemaJSONV3_40_0, isProjectSchemaJSONV3_41_0, isProjectSchemaJSONV3_42_0, isProjectSchemaJSONV3_43_0, isProjectSchemaJSONV3_44_0, isProjectSchemaJSONV3_45_0, isProjectSchemaJSONV3_46_0, isProjectSchemaJSONV3_47_0, isProjectSchemaJSONV3_48_0, isProjectSchemaJSONV3_49_0, isProjectSchemaJSONV3_50_0, isProjectSchemaJSONV3_51_0, isProjectSchemaJSONV3_52_0, isProjectSchemaJSONV3_53_0, isProjectSchemaJSONV3_54_0, isProjectSchemaJSONV3_55_0, isProjectSchemaJSONV3_56_0, isProjectSchemaJSONV3_57_0, isProjectSchemaJSONV3_58_0, isProjectSchemaJSONV3_59_0, isProjectSchemaJSONV3_60_0, isProjectSchemaJSONV3_61_0, isProjectSchemaJSONV3_62_0, isProjectSchemaJSONV3_63_0, isProjectSchemaJSONV3_64_0, isProjectSchemaJSONV3_65_0, isProjectSchemaJSONV4_0_0, isLatestProjectSchemaJSON } from "./index.js";
|
|
2
|
+
import { isProjectSchemaJSONV1_0_0, isProjectSchemaJSONV3_0_0, isProjectSchemaJSONV3_1_0, isProjectSchemaJSONV3_2_0, isProjectSchemaJSONV3_3_0, isProjectSchemaJSONV3_4_0, isProjectSchemaJSONV3_5_0, isProjectSchemaJSONV3_5_1, isProjectSchemaJSONV3_6_0, isProjectSchemaJSONV3_7_0, isProjectSchemaJSONV3_8_0, isProjectSchemaJSONV3_9_0, isProjectSchemaJSONV3_10_0, isProjectSchemaJSONV3_11_0, isProjectSchemaJSONV3_12_0, isProjectSchemaJSONV3_12_1, isProjectSchemaJSONV3_12_2, isProjectSchemaJSONV3_12_3, isProjectSchemaJSONV3_13_0, isProjectSchemaJSONV3_14_0, isProjectSchemaJSONV3_15_0, isProjectSchemaJSONV3_16_0, isProjectSchemaJSONV3_17_0, isProjectSchemaJSONV3_17_1, isProjectSchemaJSONV3_18_0, isProjectSchemaJSONV3_18_1, isProjectSchemaJSONV3_18_2, isProjectSchemaJSONV3_19_0, isProjectSchemaJSONV3_20_0, isProjectSchemaJSONV3_21_0, isProjectSchemaJSONV3_22_0, isProjectSchemaJSONV3_23_0, isProjectSchemaJSONV3_24_0, isProjectSchemaJSONV3_25_0, isProjectSchemaJSONV3_26_0, isProjectSchemaJSONV3_27_0, isProjectSchemaJSONV3_28_0, isProjectSchemaJSONV3_29_0, isProjectSchemaJSONV3_30_0, isProjectSchemaJSONV3_31_0, isProjectSchemaJSONV3_32_0, isProjectSchemaJSONV3_33_0, isProjectSchemaJSONV3_34_0, isProjectSchemaJSONV3_35_0, isProjectSchemaJSONV3_36_0, isProjectSchemaJSONV3_37_0, isProjectSchemaJSONV3_38_0, isProjectSchemaJSONV3_39_0, isProjectSchemaJSONV3_40_0, isProjectSchemaJSONV3_41_0, isProjectSchemaJSONV3_42_0, isProjectSchemaJSONV3_43_0, isProjectSchemaJSONV3_44_0, isProjectSchemaJSONV3_45_0, isProjectSchemaJSONV3_46_0, isProjectSchemaJSONV3_47_0, isProjectSchemaJSONV3_48_0, isProjectSchemaJSONV3_49_0, isProjectSchemaJSONV3_50_0, isProjectSchemaJSONV3_51_0, isProjectSchemaJSONV3_52_0, isProjectSchemaJSONV3_53_0, isProjectSchemaJSONV3_54_0, isProjectSchemaJSONV3_55_0, isProjectSchemaJSONV3_56_0, isProjectSchemaJSONV3_57_0, isProjectSchemaJSONV3_58_0, isProjectSchemaJSONV3_59_0, isProjectSchemaJSONV3_60_0, isProjectSchemaJSONV3_61_0, isProjectSchemaJSONV3_62_0, isProjectSchemaJSONV3_63_0, isProjectSchemaJSONV3_64_0, isProjectSchemaJSONV3_65_0, isProjectSchemaJSONV3_66_0, isProjectSchemaJSONV4_0_0, isLatestProjectSchemaJSON } from "./index.js";
|
|
3
3
|
export async function migrateToLatestProjectSchema(context, projectSchema) {
|
|
4
4
|
if (isLatestProjectSchemaJSON(projectSchema)) {
|
|
5
5
|
return projectSchema;
|
|
@@ -226,6 +226,9 @@ export async function migrateToLatestProjectSchema(context, projectSchema) {
|
|
|
226
226
|
if (isProjectSchemaJSONV3_65_0(projectSchema)) {
|
|
227
227
|
projectSchema = await migrateTo['v3.66.0'](context, projectSchema);
|
|
228
228
|
}
|
|
229
|
+
if (isProjectSchemaJSONV3_66_0(projectSchema)) {
|
|
230
|
+
projectSchema = await migrateTo['v3.67.0'](context, projectSchema);
|
|
231
|
+
}
|
|
229
232
|
if (isProjectSchemaJSONV4_0_0(projectSchema)) {
|
|
230
233
|
throw new Error('You are using an unreleased schema version. Migration is not possible');
|
|
231
234
|
}
|