@takeshape/schema 11.60.0 → 11.63.3

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.
Files changed (68) hide show
  1. package/dist/__tests__/validate.test.js +28 -0
  2. package/dist/migration/index.d.ts +1 -0
  3. package/dist/migration/index.js +3 -1
  4. package/dist/migration/to/v3.53.0.d.ts +4 -0
  5. package/dist/migration/to/v3.53.0.js +10 -0
  6. package/dist/project-schema/index.d.ts +4 -1
  7. package/dist/project-schema/index.js +2 -1
  8. package/dist/project-schema/latest.d.ts +83 -2
  9. package/dist/project-schema/migrate.js +4 -1
  10. package/dist/project-schema/v3.53.0.d.ts +2324 -0
  11. package/dist/project-schema/v3.53.0.js +7 -0
  12. package/dist/schemas/index.d.ts +2 -2
  13. package/dist/schemas/index.js +4 -2
  14. package/dist/schemas/project-schema/latest.json +152 -2
  15. package/dist/schemas/project-schema/v3.53.0.json +3476 -0
  16. package/dist/schemas/project-schema.json +3 -0
  17. package/dist/validate/validate.js +14 -0
  18. package/examples/latest/agent-schema.json +1 -1
  19. package/examples/latest/all-fields-shapes-inline.json +1 -1
  20. package/examples/latest/all-fields-shapes.json +1 -1
  21. package/examples/latest/betzino.json +1 -1
  22. package/examples/latest/blog-schema.json +1 -1
  23. package/examples/latest/brewery-schema.json +1 -1
  24. package/examples/latest/clear-cache-schema.json +1 -1
  25. package/examples/latest/complex-project-schema.json +1 -1
  26. package/examples/latest/complex-schema.json +1 -1
  27. package/examples/latest/edit-schema.json +1 -1
  28. package/examples/latest/fabric-ecommerce.json +1 -1
  29. package/examples/latest/frank-and-fred-schema.json +1 -1
  30. package/examples/latest/klirr-schema.json +1 -1
  31. package/examples/latest/layers/rick-and-morty-layer.json +33 -12
  32. package/examples/latest/layers/shopify-layer-2023-01.json +8638 -2207
  33. package/examples/latest/layers/shopify-storefront-2023-04.json +1715 -405
  34. package/examples/latest/layers/wordpress-2024-01.json +2747 -692
  35. package/examples/latest/massive-schema.json +1 -1
  36. package/examples/latest/mill-components-schema.json +1 -1
  37. package/examples/latest/nested-shape-arrays.json +1 -1
  38. package/examples/latest/one-earth.json +1 -1
  39. package/examples/latest/pet-oneof-array.json +1 -1
  40. package/examples/latest/post-schema.json +1 -1
  41. package/examples/latest/pruned-shopify-product-schema.json +1 -1
  42. package/examples/latest/rag-example.json +1 -1
  43. package/examples/latest/real-world-schema.json +1 -1
  44. package/examples/latest/recursive-repeater-schema.json +1 -1
  45. package/examples/latest/recursive-schema.json +1 -1
  46. package/examples/latest/rick-and-morty-ast.json +1 -1
  47. package/examples/latest/rick-and-morty-graphql.json +1 -1
  48. package/examples/latest/rick-and-morty-rest.json +1 -1
  49. package/examples/latest/rick-and-morty-with-indexing.json +1 -1
  50. package/examples/latest/schema-where-filter.json +1 -1
  51. package/examples/latest/schema-with-repeater-draftjs.json +1 -1
  52. package/examples/latest/schema-with-rick-and-morty.json +1 -1
  53. package/examples/latest/shape-books-v3_2_0.json +1 -1
  54. package/examples/latest/shape-books.json +1 -1
  55. package/examples/latest/shape-editor-schema-edited.json +1 -1
  56. package/examples/latest/shape-editor-schema-initial.json +1 -1
  57. package/examples/latest/shapedb-crud-every-prop-type.json +1 -1
  58. package/examples/latest/shopify-lookbook.json +1 -1
  59. package/examples/latest/shopify-product-2022-07.json +1 -1
  60. package/examples/latest/shopify-product-2023-04.json +1 -1
  61. package/examples/latest/shopify-store-with-widget.json +1 -1
  62. package/examples/latest/stripe-product-runtime-schema.json +1 -1
  63. package/examples/latest/stripe-starter-resolved.json +1 -1
  64. package/examples/latest/user-schema-no-required.json +1 -1
  65. package/examples/latest/user-schema-with-defaults.json +1 -1
  66. package/examples/latest/valvoline-ai-demo.json +1 -1
  67. package/examples/latest/vector-search-schema.json +1 -1
  68. package/package.json +5 -5
@@ -1923,4 +1923,32 @@ describe('latest', () => {
1923
1923
  const { valid } = await validateSchema(context, validSchema);
1924
1924
  expect(valid).toEqual(true);
1925
1925
  });
1926
+ test('validateSchema - invalid service in semantic chunker', async () => {
1927
+ const invalidSchema = agentSchema();
1928
+ invalidSchema.queries.semantic = {
1929
+ shape: { type: 'array', items: { type: 'string' } },
1930
+ args: {
1931
+ type: 'object',
1932
+ properties: { input: { type: 'string' } },
1933
+ required: ['input']
1934
+ },
1935
+ resolver: {
1936
+ name: 'util:chunk',
1937
+ options: {
1938
+ type: 'semantic',
1939
+ serviceId: 'INVALID SERVICE OH NO',
1940
+ modelId: 'text-embedding-3-small'
1941
+ }
1942
+ }
1943
+ };
1944
+ const { valid, errors } = await validateSchema(validateContext, invalidSchema);
1945
+ expect(valid).toEqual(false);
1946
+ expect(errors).toEqual([
1947
+ {
1948
+ message: 'Invalid service \"INVALID SERVICE OH NO\"',
1949
+ path: ['queries', 'semantic', 'resolver', 'options', 'serviceId'],
1950
+ type: 'notFound'
1951
+ }
1952
+ ]);
1953
+ });
1926
1954
  });
@@ -59,6 +59,7 @@ export declare const migrateTo: {
59
59
  'v3.50.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_49_0, import("../index.ts").ProjectSchemaJSONV3_50_0>;
60
60
  'v3.51.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_50_0, import("../index.ts").ProjectSchemaJSONV3_51_0>;
61
61
  'v3.52.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_51_0, import("../index.ts").ProjectSchemaJSONV3_52_0>;
62
+ 'v3.53.0': import("./types.ts").MigrateFunction<import("../index.ts").ProjectSchemaJSONV3_52_0, import("../index.ts").ProjectSchemaJSONV3_53_0>;
62
63
  };
63
64
  export * from './utils.ts';
64
65
  export declare const listTypePrefix = "PaginatedList";
@@ -58,6 +58,7 @@ import migrateToV3_49_0 from "./to/v3.49.0.js";
58
58
  import migrateToV3_50_0 from "./to/v3.50.0.js";
59
59
  import migrateToV3_51_0 from "./to/v3.51.0.js";
60
60
  import migrateToV3_52_0 from "./to/v3.52.0.js";
61
+ import migrateToV3_53_0 from "./to/v3.53.0.js";
61
62
  export const migrateTo = {
62
63
  'v3.0.0': migrateToV3_0_0,
63
64
  'v3.1.0': migrateToV3_1_0,
@@ -118,7 +119,8 @@ export const migrateTo = {
118
119
  'v3.49.0': migrateToV3_49_0,
119
120
  'v3.50.0': migrateToV3_50_0,
120
121
  'v3.51.0': migrateToV3_51_0,
121
- 'v3.52.0': migrateToV3_52_0
122
+ 'v3.52.0': migrateToV3_52_0,
123
+ 'v3.53.0': migrateToV3_53_0
122
124
  };
123
125
  export * from "./utils.js";
124
126
  export const listTypePrefix = 'PaginatedList';
@@ -0,0 +1,4 @@
1
+ import type { ProjectSchemaJSONV3_52_0, ProjectSchemaJSONV3_53_0 } from '../../project-schema/index.ts';
2
+ import type { MigrateFunction } from '../types.ts';
3
+ declare const migrate: MigrateFunction<ProjectSchemaJSONV3_52_0, ProjectSchemaJSONV3_53_0>;
4
+ export default migrate;
@@ -0,0 +1,10 @@
1
+ const migrate = async (_, projectSchema) => {
2
+ /**
3
+ * No migration needed all changes are backwards compatible.
4
+ */
5
+ return {
6
+ ...projectSchema,
7
+ schemaVersion: '3.53.0'
8
+ };
9
+ };
10
+ export default migrate;
@@ -60,6 +60,7 @@ export type * from './v3.49.0.ts';
60
60
  export type * from './v3.50.0.ts';
61
61
  export type * from './v3.51.0.ts';
62
62
  export type * from './v3.52.0.ts';
63
+ export type * from './v3.53.0.ts';
63
64
  export type * from './v4.0.0.ts';
64
65
  import { ProjectSchemaJSONV1_0_0 } from './v1.0.0.ts';
65
66
  import { ProjectSchemaJSONV3_0_0 } from './v3.0.0.ts';
@@ -122,9 +123,10 @@ import { ProjectSchemaJSONV3_49_0 } from './v3.49.0.ts';
122
123
  import { ProjectSchemaJSONV3_50_0 } from './v3.50.0.ts';
123
124
  import { ProjectSchemaJSONV3_51_0 } from './v3.51.0.ts';
124
125
  import { ProjectSchemaJSONV3_52_0 } from './v3.52.0.ts';
126
+ import { ProjectSchemaJSONV3_53_0 } from './v3.53.0.ts';
125
127
  import { ProjectSchemaJSONV4_0_0 } from './v4.0.0.ts';
126
128
  import { ProjectSchemaJSON } from './latest.ts';
127
- 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 | ProjectSchemaJSONV4_0_0 | ProjectSchemaJSON;
129
+ 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 | ProjectSchemaJSONV4_0_0 | ProjectSchemaJSON;
128
130
  export declare const isProjectSchemaJSONV1_0_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV1_0_0;
129
131
  export declare const isProjectSchemaJSONV3_0_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_0_0;
130
132
  export declare const isProjectSchemaJSONV3_1_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_1_0;
@@ -186,5 +188,6 @@ export declare const isProjectSchemaJSONV3_49_0: (projectSchema: AnyProjectSchem
186
188
  export declare const isProjectSchemaJSONV3_50_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_50_0;
187
189
  export declare const isProjectSchemaJSONV3_51_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_51_0;
188
190
  export declare const isProjectSchemaJSONV3_52_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_52_0;
191
+ export declare const isProjectSchemaJSONV3_53_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_53_0;
189
192
  export declare const isLatestProjectSchemaJSON: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSON;
190
193
  export declare const isProjectSchemaJSONV4_0_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV4_0_0;
@@ -72,5 +72,6 @@ export const isProjectSchemaJSONV3_49_0 = createVersionPredicate('3.49.0');
72
72
  export const isProjectSchemaJSONV3_50_0 = createVersionPredicate('3.50.0');
73
73
  export const isProjectSchemaJSONV3_51_0 = createVersionPredicate('3.51.0');
74
74
  export const isProjectSchemaJSONV3_52_0 = createVersionPredicate('3.52.0');
75
- export const isLatestProjectSchemaJSON = createVersionPredicate('3.52.0');
75
+ export const isProjectSchemaJSONV3_53_0 = createVersionPredicate('3.53.0');
76
+ export const isLatestProjectSchemaJSON = createVersionPredicate('3.53.0');
76
77
  export const isProjectSchemaJSONV4_0_0 = createVersionPredicate('4.0.0');
@@ -74,7 +74,7 @@ export type Resolver = BasicResolver | ComposeResolver;
74
74
  * This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
75
75
  * via the `definition` "basicResolver".
76
76
  */
77
- export type BasicResolver = UtilResolver | DelegateResolver | TakeshapeResolver | ShapedbResolver | ShapedbResolverShapeNameNotRequired | GraphqlResolver | RestResolver | AwsLambdaResolver | SalsifyResolver | SyndigoResolver | FunctionResolver | AIGenerateTextResolver | AIGeneratePropertyResolver | AIEmbeddingResolver | AIParseFileResolver | AIRunAgentResolver | AIInspectAgentResolver;
77
+ export type BasicResolver = UtilResolver | DelegateResolver | TakeshapeResolver | ShapedbResolver | ShapedbResolverShapeNameNotRequired | GraphqlResolver | RestResolver | AwsLambdaResolver | SalsifyResolver | SyndigoResolver | FunctionResolver | AIGenerateTextResolver | AIGeneratePropertyResolver | AIEmbeddingResolver | AIParseFileResolver | ChunkResolver | AIRunAgentResolver | AIInspectAgentResolver;
78
78
  /**
79
79
  * Name of the resolver function.
80
80
  */
@@ -229,6 +229,15 @@ export type AIResolverName2 = 'ai:createEmbedding';
229
229
  * Name of the resolver function.
230
230
  */
231
231
  export type AIResolverName3 = 'ai:parseFile';
232
+ /**
233
+ * Name of the resolver function.
234
+ */
235
+ export type UtilResolverName1 = 'util:chunk';
236
+ /**
237
+ * This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
238
+ * via the `definition` "utilChunkResolverOptions".
239
+ */
240
+ export type UtilChunkResolverOptions = UtilChunkResolverOptionsCharacterCount | UtilChunkResolverOptionsSeparators | UtilChunkResolverOptionsMarkdown | UtilChunkResolverOptionsSemantic;
232
241
  /**
233
242
  * Name of the resolver function.
234
243
  */
@@ -580,7 +589,7 @@ export interface ProjectSchemaJSON {
580
589
  /**
581
590
  * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
582
591
  */
583
- schemaVersion: '3.52.0';
592
+ schemaVersion: '3.53.0';
584
593
  /**
585
594
  * The ID of the TakeShape project this schema belongs to.
586
595
  */
@@ -1381,6 +1390,78 @@ export interface AIParseFileResolver {
1381
1390
  args?: ParameterConfigForJson;
1382
1391
  results?: ParameterConfigForJson;
1383
1392
  }
1393
+ /**
1394
+ * This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
1395
+ * via the `definition` "utilChunkResolver".
1396
+ */
1397
+ export interface ChunkResolver {
1398
+ if?: string;
1399
+ id?: string;
1400
+ name: UtilResolverName1;
1401
+ options: UtilChunkResolverOptions;
1402
+ args?: ParameterConfigForJson;
1403
+ results?: ParameterConfigForJson;
1404
+ }
1405
+ /**
1406
+ * This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
1407
+ * via the `definition` "utilChunkResolverOptionsCharacterCount".
1408
+ */
1409
+ export interface UtilChunkResolverOptionsCharacterCount {
1410
+ type: 'characterCount';
1411
+ characterCount: number;
1412
+ }
1413
+ /**
1414
+ * This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
1415
+ * via the `definition` "utilChunkResolverOptionsSeparators".
1416
+ */
1417
+ export interface UtilChunkResolverOptionsSeparators {
1418
+ type: 'separators';
1419
+ separators: string[];
1420
+ }
1421
+ /**
1422
+ * This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
1423
+ * via the `definition` "utilChunkResolverOptionsMarkdown".
1424
+ */
1425
+ export interface UtilChunkResolverOptionsMarkdown {
1426
+ type: 'markdown';
1427
+ /**
1428
+ * New chunks will be created at headers for this level or lower. Default 2.
1429
+ */
1430
+ headerLevel?: number;
1431
+ /**
1432
+ * A new chunk will be started when this number of characters is reached, regardless of markup.
1433
+ */
1434
+ maxCharacters?: number;
1435
+ }
1436
+ /**
1437
+ * This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
1438
+ * via the `definition` "utilChunkResolverOptionsSemantic".
1439
+ */
1440
+ export interface UtilChunkResolverOptionsSemantic {
1441
+ type: 'semantic';
1442
+ serviceId: string;
1443
+ modelId: string;
1444
+ /**
1445
+ * Similarity below which two embeddings are considered different.
1446
+ */
1447
+ similarityThreshold?: number;
1448
+ /**
1449
+ * Advanced. How many sentences to advance when grouping sentences to create embeddings. Default 1.
1450
+ */
1451
+ stride?: number;
1452
+ /**
1453
+ * Advanced. How many sentences are grouped together to create embeddings. Default 3.
1454
+ */
1455
+ sentenceCount?: number;
1456
+ /**
1457
+ * The maximum number of characters in a chunk.
1458
+ */
1459
+ maxCharacters?: number;
1460
+ /**
1461
+ * The maximum number of tokens in a chunk.
1462
+ */
1463
+ maxTokens?: number;
1464
+ }
1384
1465
  export interface AIRunAgentResolver {
1385
1466
  id?: string;
1386
1467
  name: AIResolverName4;
@@ -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, 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, isProjectSchemaJSONV4_0_0, isLatestProjectSchemaJSON } from "./index.js";
3
3
  export async function migrateToLatestProjectSchema(context, projectSchema) {
4
4
  if (isLatestProjectSchemaJSON(projectSchema)) {
5
5
  return projectSchema;
@@ -184,6 +184,9 @@ export async function migrateToLatestProjectSchema(context, projectSchema) {
184
184
  if (isProjectSchemaJSONV3_51_0(projectSchema)) {
185
185
  projectSchema = await migrateTo['v3.52.0'](context, projectSchema);
186
186
  }
187
+ if (isProjectSchemaJSONV3_52_0(projectSchema)) {
188
+ projectSchema = await migrateTo['v3.53.0'](context, projectSchema);
189
+ }
187
190
  if (isProjectSchemaJSONV4_0_0(projectSchema)) {
188
191
  throw new Error('You are using an unreleased schema version. Migration is not possible');
189
192
  }