@lokalise/content-type-app-engine-contracts 5.17.0 → 5.18.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.
@@ -168,10 +168,18 @@ export declare const getConnectorManifest: import("@lokalise/api-contracts").Get
168
168
  }>;
169
169
  name: z.ZodString;
170
170
  }, z.core.$strip>>>;
171
+ dataSource: z.ZodObject<{
172
+ query: z.ZodString;
173
+ search: z.ZodDiscriminatedUnion<[z.ZodObject<{
174
+ type: z.ZodLiteral<"local">;
175
+ }, z.core.$strip>, z.ZodObject<{
176
+ type: z.ZodLiteral<"external">;
177
+ query: z.ZodString;
178
+ }, z.core.$strip>], "type">;
179
+ }, z.core.$strip>;
180
+ dependsOn: z.ZodOptional<z.ZodString>;
171
181
  type: z.ZodLiteral<"async-multiselect">;
172
- constraintQuery: z.ZodOptional<z.ZodString>;
173
182
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
174
- dependsOn: z.ZodOptional<z.ZodString>;
175
183
  }, z.core.$strip>, z.ZodObject<{
176
184
  id: z.ZodString;
177
185
  name: z.ZodString;
@@ -212,9 +220,17 @@ export declare const getConnectorManifest: import("@lokalise/api-contracts").Get
212
220
  }>;
213
221
  name: z.ZodString;
214
222
  }, z.core.$strip>>>;
215
- type: z.ZodLiteral<"async-select">;
216
- constraintQuery: z.ZodOptional<z.ZodString>;
223
+ dataSource: z.ZodObject<{
224
+ query: z.ZodString;
225
+ search: z.ZodDiscriminatedUnion<[z.ZodObject<{
226
+ type: z.ZodLiteral<"local">;
227
+ }, z.core.$strip>, z.ZodObject<{
228
+ type: z.ZodLiteral<"external">;
229
+ query: z.ZodString;
230
+ }, z.core.$strip>], "type">;
231
+ }, z.core.$strip>;
217
232
  dependsOn: z.ZodOptional<z.ZodString>;
233
+ type: z.ZodLiteral<"async-select">;
218
234
  }, z.core.$strip>, z.ZodObject<{
219
235
  id: z.ZodString;
220
236
  name: z.ZodString;
@@ -377,10 +393,18 @@ export declare const getConnectorManifest: import("@lokalise/api-contracts").Get
377
393
  }>;
378
394
  name: z.ZodString;
379
395
  }, z.core.$strip>>>;
396
+ dataSource: z.ZodObject<{
397
+ query: z.ZodString;
398
+ search: z.ZodDiscriminatedUnion<[z.ZodObject<{
399
+ type: z.ZodLiteral<"local">;
400
+ }, z.core.$strip>, z.ZodObject<{
401
+ type: z.ZodLiteral<"external">;
402
+ query: z.ZodString;
403
+ }, z.core.$strip>], "type">;
404
+ }, z.core.$strip>;
405
+ dependsOn: z.ZodOptional<z.ZodString>;
380
406
  type: z.ZodLiteral<"async-multiselect">;
381
- constraintQuery: z.ZodOptional<z.ZodString>;
382
407
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
383
- dependsOn: z.ZodOptional<z.ZodString>;
384
408
  }, z.core.$strip>, z.ZodObject<{
385
409
  id: z.ZodString;
386
410
  name: z.ZodString;
@@ -421,9 +445,17 @@ export declare const getConnectorManifest: import("@lokalise/api-contracts").Get
421
445
  }>;
422
446
  name: z.ZodString;
423
447
  }, z.core.$strip>>>;
424
- type: z.ZodLiteral<"async-select">;
425
- constraintQuery: z.ZodOptional<z.ZodString>;
448
+ dataSource: z.ZodObject<{
449
+ query: z.ZodString;
450
+ search: z.ZodDiscriminatedUnion<[z.ZodObject<{
451
+ type: z.ZodLiteral<"local">;
452
+ }, z.core.$strip>, z.ZodObject<{
453
+ type: z.ZodLiteral<"external">;
454
+ query: z.ZodString;
455
+ }, z.core.$strip>], "type">;
456
+ }, z.core.$strip>;
426
457
  dependsOn: z.ZodOptional<z.ZodString>;
458
+ type: z.ZodLiteral<"async-select">;
427
459
  }, z.core.$strip>, z.ZodObject<{
428
460
  id: z.ZodString;
429
461
  name: z.ZodString;
@@ -138,10 +138,18 @@ export declare const GET_CONNECTOR_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
138
138
  }>;
139
139
  name: z.ZodString;
140
140
  }, z.core.$strip>>>;
141
+ dataSource: z.ZodObject<{
142
+ query: z.ZodString;
143
+ search: z.ZodDiscriminatedUnion<[z.ZodObject<{
144
+ type: z.ZodLiteral<"local">;
145
+ }, z.core.$strip>, z.ZodObject<{
146
+ type: z.ZodLiteral<"external">;
147
+ query: z.ZodString;
148
+ }, z.core.$strip>], "type">;
149
+ }, z.core.$strip>;
150
+ dependsOn: z.ZodOptional<z.ZodString>;
141
151
  type: z.ZodLiteral<"async-multiselect">;
142
- constraintQuery: z.ZodOptional<z.ZodString>;
143
152
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
144
- dependsOn: z.ZodOptional<z.ZodString>;
145
153
  }, z.core.$strip>, z.ZodObject<{
146
154
  id: z.ZodString;
147
155
  name: z.ZodString;
@@ -182,9 +190,17 @@ export declare const GET_CONNECTOR_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
182
190
  }>;
183
191
  name: z.ZodString;
184
192
  }, z.core.$strip>>>;
185
- type: z.ZodLiteral<"async-select">;
186
- constraintQuery: z.ZodOptional<z.ZodString>;
193
+ dataSource: z.ZodObject<{
194
+ query: z.ZodString;
195
+ search: z.ZodDiscriminatedUnion<[z.ZodObject<{
196
+ type: z.ZodLiteral<"local">;
197
+ }, z.core.$strip>, z.ZodObject<{
198
+ type: z.ZodLiteral<"external">;
199
+ query: z.ZodString;
200
+ }, z.core.$strip>], "type">;
201
+ }, z.core.$strip>;
187
202
  dependsOn: z.ZodOptional<z.ZodString>;
203
+ type: z.ZodLiteral<"async-select">;
188
204
  }, z.core.$strip>, z.ZodObject<{
189
205
  id: z.ZodString;
190
206
  name: z.ZodString;
@@ -171,10 +171,18 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
171
171
  }>;
172
172
  name: z.ZodString;
173
173
  }, z.core.$strip>>>;
174
+ dataSource: z.ZodObject<{
175
+ query: z.ZodString;
176
+ search: z.ZodDiscriminatedUnion<[z.ZodObject<{
177
+ type: z.ZodLiteral<"local">;
178
+ }, z.core.$strip>, z.ZodObject<{
179
+ type: z.ZodLiteral<"external">;
180
+ query: z.ZodString;
181
+ }, z.core.$strip>], "type">;
182
+ }, z.core.$strip>;
183
+ dependsOn: z.ZodOptional<z.ZodString>;
174
184
  type: z.ZodLiteral<"async-multiselect">;
175
- constraintQuery: z.ZodOptional<z.ZodString>;
176
185
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
177
- dependsOn: z.ZodOptional<z.ZodString>;
178
186
  }, z.core.$strip>, z.ZodObject<{
179
187
  id: z.ZodString;
180
188
  name: z.ZodString;
@@ -215,9 +223,17 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
215
223
  }>;
216
224
  name: z.ZodString;
217
225
  }, z.core.$strip>>>;
218
- type: z.ZodLiteral<"async-select">;
219
- constraintQuery: z.ZodOptional<z.ZodString>;
226
+ dataSource: z.ZodObject<{
227
+ query: z.ZodString;
228
+ search: z.ZodDiscriminatedUnion<[z.ZodObject<{
229
+ type: z.ZodLiteral<"local">;
230
+ }, z.core.$strip>, z.ZodObject<{
231
+ type: z.ZodLiteral<"external">;
232
+ query: z.ZodString;
233
+ }, z.core.$strip>], "type">;
234
+ }, z.core.$strip>;
220
235
  dependsOn: z.ZodOptional<z.ZodString>;
236
+ type: z.ZodLiteral<"async-select">;
221
237
  }, z.core.$strip>, z.ZodObject<{
222
238
  id: z.ZodString;
223
239
  name: z.ZodString;
@@ -377,10 +393,18 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
377
393
  }>;
378
394
  name: z.ZodString;
379
395
  }, z.core.$strip>>>;
396
+ dataSource: z.ZodObject<{
397
+ query: z.ZodString;
398
+ search: z.ZodDiscriminatedUnion<[z.ZodObject<{
399
+ type: z.ZodLiteral<"local">;
400
+ }, z.core.$strip>, z.ZodObject<{
401
+ type: z.ZodLiteral<"external">;
402
+ query: z.ZodString;
403
+ }, z.core.$strip>], "type">;
404
+ }, z.core.$strip>;
405
+ dependsOn: z.ZodOptional<z.ZodString>;
380
406
  type: z.ZodLiteral<"async-multiselect">;
381
- constraintQuery: z.ZodOptional<z.ZodString>;
382
407
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
383
- dependsOn: z.ZodOptional<z.ZodString>;
384
408
  }, z.core.$strip>, z.ZodObject<{
385
409
  id: z.ZodString;
386
410
  name: z.ZodString;
@@ -421,9 +445,17 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
421
445
  }>;
422
446
  name: z.ZodString;
423
447
  }, z.core.$strip>>>;
424
- type: z.ZodLiteral<"async-select">;
425
- constraintQuery: z.ZodOptional<z.ZodString>;
448
+ dataSource: z.ZodObject<{
449
+ query: z.ZodString;
450
+ search: z.ZodDiscriminatedUnion<[z.ZodObject<{
451
+ type: z.ZodLiteral<"local">;
452
+ }, z.core.$strip>, z.ZodObject<{
453
+ type: z.ZodLiteral<"external">;
454
+ query: z.ZodString;
455
+ }, z.core.$strip>], "type">;
456
+ }, z.core.$strip>;
426
457
  dependsOn: z.ZodOptional<z.ZodString>;
458
+ type: z.ZodLiteral<"async-select">;
427
459
  }, z.core.$strip>, z.ZodObject<{
428
460
  id: z.ZodString;
429
461
  name: z.ZodString;
@@ -174,10 +174,18 @@ export declare const GET_INTEGRATION_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
174
174
  }>;
175
175
  name: z.ZodString;
176
176
  }, z.core.$strip>>>;
177
+ dataSource: z.ZodObject<{
178
+ query: z.ZodString;
179
+ search: z.ZodDiscriminatedUnion<[z.ZodObject<{
180
+ type: z.ZodLiteral<"local">;
181
+ }, z.core.$strip>, z.ZodObject<{
182
+ type: z.ZodLiteral<"external">;
183
+ query: z.ZodString;
184
+ }, z.core.$strip>], "type">;
185
+ }, z.core.$strip>;
186
+ dependsOn: z.ZodOptional<z.ZodString>;
177
187
  type: z.ZodLiteral<"async-multiselect">;
178
- constraintQuery: z.ZodOptional<z.ZodString>;
179
188
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
180
- dependsOn: z.ZodOptional<z.ZodString>;
181
189
  }, z.core.$strip>, z.ZodObject<{
182
190
  id: z.ZodString;
183
191
  name: z.ZodString;
@@ -218,9 +226,17 @@ export declare const GET_INTEGRATION_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
218
226
  }>;
219
227
  name: z.ZodString;
220
228
  }, z.core.$strip>>>;
221
- type: z.ZodLiteral<"async-select">;
222
- constraintQuery: z.ZodOptional<z.ZodString>;
229
+ dataSource: z.ZodObject<{
230
+ query: z.ZodString;
231
+ search: z.ZodDiscriminatedUnion<[z.ZodObject<{
232
+ type: z.ZodLiteral<"local">;
233
+ }, z.core.$strip>, z.ZodObject<{
234
+ type: z.ZodLiteral<"external">;
235
+ query: z.ZodString;
236
+ }, z.core.$strip>], "type">;
237
+ }, z.core.$strip>;
223
238
  dependsOn: z.ZodOptional<z.ZodString>;
239
+ type: z.ZodLiteral<"async-select">;
224
240
  }, z.core.$strip>, z.ZodObject<{
225
241
  id: z.ZodString;
226
242
  name: z.ZodString;
@@ -99,10 +99,18 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
99
99
  }>;
100
100
  name: import("zod").ZodString;
101
101
  }, import("zod/v4/core").$strip>>>;
102
+ dataSource: import("zod").ZodObject<{
103
+ query: import("zod").ZodString;
104
+ search: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
105
+ type: import("zod").ZodLiteral<"local">;
106
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
107
+ type: import("zod").ZodLiteral<"external">;
108
+ query: import("zod").ZodString;
109
+ }, import("zod/v4/core").$strip>], "type">;
110
+ }, import("zod/v4/core").$strip>;
111
+ dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
102
112
  type: import("zod").ZodLiteral<"async-multiselect">;
103
- constraintQuery: import("zod").ZodOptional<import("zod").ZodString>;
104
113
  defaultValue: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
105
- dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
106
114
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
107
115
  id: import("zod").ZodString;
108
116
  name: import("zod").ZodString;
@@ -143,9 +151,17 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
143
151
  }>;
144
152
  name: import("zod").ZodString;
145
153
  }, import("zod/v4/core").$strip>>>;
146
- type: import("zod").ZodLiteral<"async-select">;
147
- constraintQuery: import("zod").ZodOptional<import("zod").ZodString>;
154
+ dataSource: import("zod").ZodObject<{
155
+ query: import("zod").ZodString;
156
+ search: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
157
+ type: import("zod").ZodLiteral<"local">;
158
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
159
+ type: import("zod").ZodLiteral<"external">;
160
+ query: import("zod").ZodString;
161
+ }, import("zod/v4/core").$strip>], "type">;
162
+ }, import("zod/v4/core").$strip>;
148
163
  dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
164
+ type: import("zod").ZodLiteral<"async-select">;
149
165
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
150
166
  id: import("zod").ZodString;
151
167
  name: import("zod").ZodString;
@@ -303,10 +319,18 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
303
319
  }>;
304
320
  name: import("zod").ZodString;
305
321
  }, import("zod/v4/core").$strip>>>;
322
+ dataSource: import("zod").ZodObject<{
323
+ query: import("zod").ZodString;
324
+ search: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
325
+ type: import("zod").ZodLiteral<"local">;
326
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
327
+ type: import("zod").ZodLiteral<"external">;
328
+ query: import("zod").ZodString;
329
+ }, import("zod/v4/core").$strip>], "type">;
330
+ }, import("zod/v4/core").$strip>;
331
+ dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
306
332
  type: import("zod").ZodLiteral<"async-multiselect">;
307
- constraintQuery: import("zod").ZodOptional<import("zod").ZodString>;
308
333
  defaultValue: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
309
- dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
310
334
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
311
335
  id: import("zod").ZodString;
312
336
  name: import("zod").ZodString;
@@ -347,9 +371,17 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
347
371
  }>;
348
372
  name: import("zod").ZodString;
349
373
  }, import("zod/v4/core").$strip>>>;
350
- type: import("zod").ZodLiteral<"async-select">;
351
- constraintQuery: import("zod").ZodOptional<import("zod").ZodString>;
374
+ dataSource: import("zod").ZodObject<{
375
+ query: import("zod").ZodString;
376
+ search: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
377
+ type: import("zod").ZodLiteral<"local">;
378
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
379
+ type: import("zod").ZodLiteral<"external">;
380
+ query: import("zod").ZodString;
381
+ }, import("zod/v4/core").$strip>], "type">;
382
+ }, import("zod/v4/core").$strip>;
352
383
  dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
384
+ type: import("zod").ZodLiteral<"async-select">;
353
385
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
354
386
  id: import("zod").ZodString;
355
387
  name: import("zod").ZodString;
@@ -100,10 +100,18 @@ export declare const GET_LINK_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
100
100
  }>;
101
101
  name: z.ZodString;
102
102
  }, z.core.$strip>>>;
103
+ dataSource: z.ZodObject<{
104
+ query: z.ZodString;
105
+ search: z.ZodDiscriminatedUnion<[z.ZodObject<{
106
+ type: z.ZodLiteral<"local">;
107
+ }, z.core.$strip>, z.ZodObject<{
108
+ type: z.ZodLiteral<"external">;
109
+ query: z.ZodString;
110
+ }, z.core.$strip>], "type">;
111
+ }, z.core.$strip>;
112
+ dependsOn: z.ZodOptional<z.ZodString>;
103
113
  type: z.ZodLiteral<"async-multiselect">;
104
- constraintQuery: z.ZodOptional<z.ZodString>;
105
114
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
106
- dependsOn: z.ZodOptional<z.ZodString>;
107
115
  }, z.core.$strip>, z.ZodObject<{
108
116
  id: z.ZodString;
109
117
  name: z.ZodString;
@@ -144,9 +152,17 @@ export declare const GET_LINK_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
144
152
  }>;
145
153
  name: z.ZodString;
146
154
  }, z.core.$strip>>>;
147
- type: z.ZodLiteral<"async-select">;
148
- constraintQuery: z.ZodOptional<z.ZodString>;
155
+ dataSource: z.ZodObject<{
156
+ query: z.ZodString;
157
+ search: z.ZodDiscriminatedUnion<[z.ZodObject<{
158
+ type: z.ZodLiteral<"local">;
159
+ }, z.core.$strip>, z.ZodObject<{
160
+ type: z.ZodLiteral<"external">;
161
+ query: z.ZodString;
162
+ }, z.core.$strip>], "type">;
163
+ }, z.core.$strip>;
149
164
  dependsOn: z.ZodOptional<z.ZodString>;
165
+ type: z.ZodLiteral<"async-select">;
150
166
  }, z.core.$strip>, z.ZodObject<{
151
167
  id: z.ZodString;
152
168
  name: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokalise/content-type-app-engine-contracts",
3
- "version": "5.17.0",
3
+ "version": "5.18.0",
4
4
  "description": "Content Type App Engine service contracts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@lokalise/api-contracts": "^6.0.0",
20
- "@lokalise/connector-api-contracts": "^6.3.0",
20
+ "@lokalise/connector-api-contracts": "^8.0.0",
21
21
  "@lokalise/content-conversion-api-schemas": "^1.1.0"
22
22
  },
23
23
  "devDependencies": {