@takeshape/schema 12.14.2 → 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.
Files changed (71) hide show
  1. package/dist/builtin-schema.js +7 -0
  2. package/dist/migration/index.d.ts +3 -1
  3. package/dist/migration/index.js +3 -1
  4. package/dist/project-schema/index.d.ts +7 -1
  5. package/dist/project-schema/index.js +3 -1
  6. package/dist/project-schema/latest.d.ts +41 -2
  7. package/dist/project-schema/migrate.js +7 -1
  8. package/dist/project-schema/v3.66.0.d.ts +2797 -0
  9. package/dist/project-schema/v3.66.0.js +7 -0
  10. package/dist/project-schema/v3.67.0.d.ts +2805 -0
  11. package/dist/project-schema/v3.67.0.js +7 -0
  12. package/dist/resolvers/ai/hybrid-search.d.ts +77 -0
  13. package/dist/resolvers/ai/hybrid-search.js +64 -0
  14. package/dist/schemas/index.d.ts +2 -2
  15. package/dist/schemas/index.js +6 -2
  16. package/dist/schemas/project-schema/latest.json +59 -2
  17. package/dist/schemas/project-schema/v3.66.0.json +5161 -0
  18. package/dist/schemas/project-schema/v3.67.0.json +5169 -0
  19. package/dist/schemas/project-schema.json +6 -0
  20. package/examples/latest/all-fields-shapes-inline.json +1 -1
  21. package/examples/latest/all-fields-shapes.json +1 -1
  22. package/examples/latest/betzino.json +1 -1
  23. package/examples/latest/blog-schema.json +1 -1
  24. package/examples/latest/brewery-schema.json +1 -1
  25. package/examples/latest/chat-agent-schema.json +1 -1
  26. package/examples/latest/clear-cache-schema.json +1 -1
  27. package/examples/latest/complex-project-schema.json +1 -1
  28. package/examples/latest/complex-schema.json +1 -1
  29. package/examples/latest/edit-schema.json +1 -1
  30. package/examples/latest/frank-and-fred-schema.json +1 -1
  31. package/examples/latest/generate-agent-schema.json +1 -1
  32. package/examples/latest/klirr-schema.json +1 -1
  33. package/examples/latest/layers/rick-and-morty-layer.json +1 -1
  34. package/examples/latest/layers/shopify-layer-2023-01.json +1 -1
  35. package/examples/latest/layers/shopify-storefront-2023-04.json +1 -1
  36. package/examples/latest/layers/wordpress-2024-01.json +1 -1
  37. package/examples/latest/massive-schema.json +1 -1
  38. package/examples/latest/mill-components-schema.json +1 -1
  39. package/examples/latest/nested-shape-arrays.json +1 -1
  40. package/examples/latest/one-earth.json +1 -1
  41. package/examples/latest/pet-oneof-array.json +1 -1
  42. package/examples/latest/post-schema.json +1 -1
  43. package/examples/latest/pruned-shopify-product-schema.json +1 -1
  44. package/examples/latest/rag-example.json +1 -1
  45. package/examples/latest/real-world-schema.json +1 -1
  46. package/examples/latest/recursive-repeater-schema.json +1 -1
  47. package/examples/latest/recursive-schema.json +1 -1
  48. package/examples/latest/rick-and-morty-ast.json +1 -1
  49. package/examples/latest/rick-and-morty-graphql.json +1 -1
  50. package/examples/latest/rick-and-morty-rest.json +1 -1
  51. package/examples/latest/rick-and-morty-user-schema.json +1 -1
  52. package/examples/latest/rick-and-morty-with-indexing.json +1 -1
  53. package/examples/latest/schema-where-filter.json +1 -1
  54. package/examples/latest/schema-with-repeater-draftjs.json +1 -1
  55. package/examples/latest/schema-with-rick-and-morty.json +1 -1
  56. package/examples/latest/shape-books-v3_2_0.json +1 -1
  57. package/examples/latest/shape-books.json +1 -1
  58. package/examples/latest/shape-editor-schema-edited.json +1 -1
  59. package/examples/latest/shape-editor-schema-initial.json +1 -1
  60. package/examples/latest/shapedb-crud-every-prop-type.json +1 -1
  61. package/examples/latest/shopify-lookbook.json +1 -1
  62. package/examples/latest/shopify-product-2022-07.json +1 -1
  63. package/examples/latest/shopify-product-2023-04.json +1 -1
  64. package/examples/latest/shopify-store-with-widget.json +1 -1
  65. package/examples/latest/stripe-product-runtime-schema.json +1 -1
  66. package/examples/latest/stripe-starter-resolved.json +1 -1
  67. package/examples/latest/user-schema-no-required.json +1 -1
  68. package/examples/latest/user-schema-with-defaults.json +1 -1
  69. package/examples/latest/valvoline-ai-demo.json +1 -1
  70. package/examples/latest/vector-search-schema.json +1 -1
  71. package/package.json +6 -6
@@ -11,6 +11,7 @@ import * as agentRunMode from "./resolvers/ai/agent-run-mode.js";
11
11
  import * as agentSessionPayload from "./resolvers/ai/agent-session-payload.js";
12
12
  import * as aiUsageItem from "./resolvers/ai/ai-usage-item.js";
13
13
  import * as embeddingSearchArgs from "./resolvers/ai/embedding-search.js";
14
+ import * as hybridSearchArgs from "./resolvers/ai/hybrid-search.js";
14
15
  import * as sendAgentFeedbackArgs from "./resolvers/ai/send-agent-feedback-args.js";
15
16
  import * as asset from "./resolvers/takeshape/assets/asset.js";
16
17
  import * as assetImage from "./resolvers/takeshape/assets/asset-image.js";
@@ -283,6 +284,12 @@ const builtInShapes = {
283
284
  title: 'Embedding Search Args',
284
285
  schema: embeddingSearchArgs.schema
285
286
  },
287
+ [hybridSearchArgs.shapeName]: {
288
+ id: hybridSearchArgs.shapeName,
289
+ name: hybridSearchArgs.shapeName,
290
+ title: 'Hybrid Search Args',
291
+ schema: hybridSearchArgs.schema
292
+ },
286
293
  [aiUsageItem.shapeName]: {
287
294
  title: 'AI Usage Item',
288
295
  id: aiUsageItem.shapeName,
@@ -72,7 +72,9 @@ export declare const migrateTo: {
72
72
  'v3.62.0': MigrateFunction<import("../project-schema/v3.61.0.ts").ProjectSchemaJSONV3_61_0, import("../project-schema/v3.62.0.ts").ProjectSchemaJSONV3_62_0>;
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
- 'v3.65.0': MigrateFunction<import("../project-schema/v3.64.0.ts").ProjectSchemaJSONV3_64_0, import("../project-schema/v3.65.0.ts").ProjectSchemaJSONV3_65_0 | import("../project-schema/latest.ts").ProjectSchemaJSON>;
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>;
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>;
76
78
  };
77
79
  export * from './utils.ts';
78
80
  export declare const listTypePrefix = "PaginatedList";
@@ -104,7 +104,9 @@ export const migrateTo = {
104
104
  'v3.62.0': getNoopMigration('3.61.0', '3.62.0'),
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
- 'v3.65.0': getNoopMigration('3.64.0', '3.65.0')
107
+ 'v3.65.0': getNoopMigration('3.64.0', '3.65.0'),
108
+ 'v3.66.0': getNoopMigration('3.65.0', '3.66.0'),
109
+ 'v3.67.0': getNoopMigration('3.66.0', '3.67.0')
108
110
  };
109
111
  export * from "./utils.js";
110
112
  export const listTypePrefix = 'PaginatedList';
@@ -73,6 +73,8 @@ export type * from './v3.62.0.ts';
73
73
  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
+ export type * from './v3.66.0.ts';
77
+ export type * from './v3.67.0.ts';
76
78
  export type * from './v4.0.0.ts';
77
79
  import { ProjectSchemaJSONV1_0_0 } from './v1.0.0.ts';
78
80
  import { ProjectSchemaJSONV3_0_0 } from './v3.0.0.ts';
@@ -148,9 +150,11 @@ import { ProjectSchemaJSONV3_62_0 } from './v3.62.0.ts';
148
150
  import { ProjectSchemaJSONV3_63_0 } from './v3.63.0.ts';
149
151
  import { ProjectSchemaJSONV3_64_0 } from './v3.64.0.ts';
150
152
  import { ProjectSchemaJSONV3_65_0 } from './v3.65.0.ts';
153
+ import { ProjectSchemaJSONV3_66_0 } from './v3.66.0.ts';
154
+ import { ProjectSchemaJSONV3_67_0 } from './v3.67.0.ts';
151
155
  import { ProjectSchemaJSONV4_0_0 } from './v4.0.0.ts';
152
156
  import { ProjectSchemaJSON } from './latest.ts';
153
- 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 | 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;
154
158
  export declare const isProjectSchemaJSONV1_0_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV1_0_0;
155
159
  export declare const isProjectSchemaJSONV3_0_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_0_0;
156
160
  export declare const isProjectSchemaJSONV3_1_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_1_0;
@@ -225,5 +229,7 @@ export declare const isProjectSchemaJSONV3_62_0: (projectSchema: AnyProjectSchem
225
229
  export declare const isProjectSchemaJSONV3_63_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_63_0;
226
230
  export declare const isProjectSchemaJSONV3_64_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_64_0;
227
231
  export declare const isProjectSchemaJSONV3_65_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV3_65_0;
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;
228
234
  export declare const isLatestProjectSchemaJSON: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSON;
229
235
  export declare const isProjectSchemaJSONV4_0_0: (projectSchema: AnyProjectSchemaJSON) => projectSchema is ProjectSchemaJSONV4_0_0;
@@ -85,5 +85,7 @@ export const isProjectSchemaJSONV3_62_0 = createVersionPredicate('3.62.0');
85
85
  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
- export const isLatestProjectSchemaJSON = createVersionPredicate('3.65.0');
88
+ export const isProjectSchemaJSONV3_66_0 = createVersionPredicate('3.66.0');
89
+ export const isProjectSchemaJSONV3_67_0 = createVersionPredicate('3.67.0');
90
+ export const isLatestProjectSchemaJSON = createVersionPredicate('3.67.0');
89
91
  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 | FetchAllResolver | TakeshapeResolver | ShapedbResolver | ShapedbResolverShapeNameNotRequired | GraphqlResolver | RestResolver | AwsLambdaResolver | SalsifyResolver | SyndigoResolver | FunctionResolver | AIGenerateTextResolver | AIGeneratePropertyResolver | AIEmbeddingResolver | AIEmbeddingSearchResolver | AIParseFileResolver | ChunkResolver | AISendAgentMessageResolver | AIInspectAgentResolver | AICreateAgentSessionResolver | AIGetAgentMessageResolver | AIAbortAgentMessageResolver | AISendAgentFeedbackResolver;
77
+ export type BasicResolver = UtilResolver | DelegateResolver | FetchAllResolver | TakeshapeResolver | AIHybridSearchResolver | ShapedbResolver | ShapedbResolverShapeNameNotRequired | GraphqlResolver | RestResolver | AwsLambdaResolver | SalsifyResolver | SyndigoResolver | FunctionResolver | AIGenerateTextResolver | AIGeneratePropertyResolver | AIEmbeddingResolver | AIEmbeddingSearchResolver | AIParseFileResolver | ChunkResolver | AISendAgentMessageResolver | AIInspectAgentResolver | AICreateAgentSessionResolver | AIGetAgentMessageResolver | AIAbortAgentMessageResolver | AISendAgentFeedbackResolver;
78
78
  /**
79
79
  * Name of the resolver function.
80
80
  */
@@ -140,6 +140,10 @@ export type PaginationConfig = PaginationCursorConfig | PaginationPageConfig | P
140
140
  * Name of the resolver function.
141
141
  */
142
142
  export type TakeshapeResolverName = 'takeshape:get' | 'takeshape:getUser' | 'takeshape:search' | 'takeshape:vectorSearch' | 'takeshape:queryApiIndex' | 'takeshape:assetUrl' | 'takeshape:assetImage' | 'takeshape:assetImageMeta';
143
+ /**
144
+ * Name of the resolver function.
145
+ */
146
+ export type AIHybridSearchResolverName = 'ai:hybridSearch';
143
147
  /**
144
148
  * Name of the resolver function.
145
149
  */
@@ -702,7 +706,7 @@ export interface ProjectSchemaJSON {
702
706
  /**
703
707
  * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
704
708
  */
705
- schemaVersion: '3.65.0';
709
+ schemaVersion: '3.67.0';
706
710
  /**
707
711
  * The ID of the TakeShape project this schema belongs to.
708
712
  */
@@ -1077,6 +1081,33 @@ export interface TakeshapeResolver {
1077
1081
  export interface TakeshapeResolverOptions {
1078
1082
  [k: string]: any;
1079
1083
  }
1084
+ /**
1085
+ * This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
1086
+ * via the `definition` "aiHybridSearchResolver".
1087
+ */
1088
+ export interface AIHybridSearchResolver {
1089
+ if?: string;
1090
+ id?: string;
1091
+ name: AIHybridSearchResolverName;
1092
+ /**
1093
+ * A vector property ref to use for the query. The property must have an ai:createEmbedding resolver configured. The embedding service and model are derived from the property's resolver config.
1094
+ */
1095
+ vectorProperty: string;
1096
+ /**
1097
+ * Weight factor for keyword search results. Default: 0.5
1098
+ */
1099
+ keywordWeight?: number;
1100
+ /**
1101
+ * Weight factor for vector search results. Default: 0.5
1102
+ */
1103
+ vectorWeight?: number;
1104
+ /**
1105
+ * Number of nearest neighbors for vector search. Default: 3
1106
+ */
1107
+ vectorK?: number;
1108
+ args?: ParameterConfigForJson;
1109
+ results?: ParameterConfigForJson;
1110
+ }
1080
1111
  /**
1081
1112
  * This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
1082
1113
  * via the `definition` "shapedbResolver".
@@ -1825,6 +1856,10 @@ export interface StoredListQueryLoaderConfig {
1825
1856
  [k: string]: any;
1826
1857
  }[];
1827
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;
1828
1863
  }
1829
1864
  /**
1830
1865
  * This interface was referenced by `ProjectSchemaJSON`'s JSON-Schema
@@ -2615,6 +2650,10 @@ export interface ListQueryLoaderConfig {
2615
2650
  [k: string]: any;
2616
2651
  };
2617
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;
2618
2657
  }
2619
2658
  /**
2620
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, 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;
@@ -223,6 +223,12 @@ export async function migrateToLatestProjectSchema(context, projectSchema) {
223
223
  if (isProjectSchemaJSONV3_64_0(projectSchema)) {
224
224
  projectSchema = await migrateTo['v3.65.0'](context, projectSchema);
225
225
  }
226
+ if (isProjectSchemaJSONV3_65_0(projectSchema)) {
227
+ projectSchema = await migrateTo['v3.66.0'](context, projectSchema);
228
+ }
229
+ if (isProjectSchemaJSONV3_66_0(projectSchema)) {
230
+ projectSchema = await migrateTo['v3.67.0'](context, projectSchema);
231
+ }
226
232
  if (isProjectSchemaJSONV4_0_0(projectSchema)) {
227
233
  throw new Error('You are using an unreleased schema version. Migration is not possible');
228
234
  }