@lokalise/content-type-app-engine-contracts 5.23.0 → 5.24.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/schemas/connector/connectorApiSchemas.d.ts +34 -0
- package/dist/schemas/connector/connectorSchemas.d.ts +18 -1
- package/dist/schemas/connector/connectorSchemas.js.map +1 -1
- package/dist/schemas/integration/integrationApiSchemas.d.ts +34 -0
- package/dist/schemas/integration/integrationSchemas.d.ts +17 -0
- package/dist/schemas/link/linkApiSchemas.d.ts +34 -0
- package/dist/schemas/link/linkSchemas.d.ts +17 -0
- package/package.json +2 -2
|
@@ -289,6 +289,23 @@ export declare const getConnectorManifest: import("@lokalise/api-contracts").Get
|
|
|
289
289
|
enabled: z.ZodBoolean;
|
|
290
290
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
291
291
|
}, z.core.$strip>>;
|
|
292
|
+
itemGroupSetup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
293
|
+
id: z.ZodString;
|
|
294
|
+
name: z.ZodString;
|
|
295
|
+
type: z.ZodLiteral<"async-select">;
|
|
296
|
+
dependsOn: z.ZodOptional<z.ZodString>;
|
|
297
|
+
dataSource: z.ZodObject<{
|
|
298
|
+
type: z.ZodEnum<{
|
|
299
|
+
contentEngine: "contentEngine";
|
|
300
|
+
connector: "connector";
|
|
301
|
+
}>;
|
|
302
|
+
query: z.ZodString;
|
|
303
|
+
search: z.ZodOptional<z.ZodObject<{
|
|
304
|
+
query: z.ZodString;
|
|
305
|
+
}, z.core.$strip>>;
|
|
306
|
+
}, z.core.$strip>;
|
|
307
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
308
|
+
}, z.core.$strip>>>;
|
|
292
309
|
}, z.core.$strip>>;
|
|
293
310
|
}, z.core.$strip>;
|
|
294
311
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -520,6 +537,23 @@ export declare const getConnectorManifest: import("@lokalise/api-contracts").Get
|
|
|
520
537
|
enabled: z.ZodBoolean;
|
|
521
538
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
522
539
|
}, z.core.$strip>>;
|
|
540
|
+
itemGroupSetup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
541
|
+
id: z.ZodString;
|
|
542
|
+
name: z.ZodString;
|
|
543
|
+
type: z.ZodLiteral<"async-select">;
|
|
544
|
+
dependsOn: z.ZodOptional<z.ZodString>;
|
|
545
|
+
dataSource: z.ZodObject<{
|
|
546
|
+
type: z.ZodEnum<{
|
|
547
|
+
contentEngine: "contentEngine";
|
|
548
|
+
connector: "connector";
|
|
549
|
+
}>;
|
|
550
|
+
query: z.ZodString;
|
|
551
|
+
search: z.ZodOptional<z.ZodObject<{
|
|
552
|
+
query: z.ZodString;
|
|
553
|
+
}, z.core.$strip>>;
|
|
554
|
+
}, z.core.$strip>;
|
|
555
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
556
|
+
}, z.core.$strip>>>;
|
|
523
557
|
}, z.core.$strip>>;
|
|
524
558
|
}, z.core.$strip>;
|
|
525
559
|
}, z.core.$strip>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
|
-
export { type AsyncMultiselectFilter, type AsyncSelectFilter, type Authentication, type AuthField, type Capability, type DaterangeFilter, type DatetimeColumn, type Filter as ManifestFilter, ListLocationEnum, type ListLocationEnumType, type Manifest, type ManifestColumn, type ManifestFilterOption, type MultiselectFilter, type PasswordAuthField, type PrimaryColumn, type SearchFilter, type SelectAuthField, type SelectEntry, type SelectFilter, type TextColumn, type UrlAuthField, } from '@lokalise/connector-api-contracts';
|
|
2
|
+
export { type AsyncMultiselectFilter, type AsyncSelectFilter, type Authentication, type AuthField, type Capability, type DaterangeFilter, type DatetimeColumn, type Filter as ManifestFilter, type ItemGroupSetup, type ItemGroupSetupField, type ItemGroupSetupFieldDataSource, ListLocationEnum, type ListLocationEnumType, type Manifest, type ManifestColumn, type ManifestFilterOption, type MultiselectFilter, type PasswordAuthField, type PrimaryColumn, type SearchFilter, type SelectAuthField, type SelectEntry, type SelectFilter, type TextColumn, type UrlAuthField, } from '@lokalise/connector-api-contracts';
|
|
3
3
|
export declare const CONNECTOR_ID_PARAM: z.ZodString;
|
|
4
4
|
export declare const CONNECTOR_PLATFORM: z.ZodEnum<{
|
|
5
5
|
expert: "expert";
|
|
@@ -259,6 +259,23 @@ export declare const GET_CONNECTOR_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
259
259
|
enabled: z.ZodBoolean;
|
|
260
260
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
261
261
|
}, z.core.$strip>>;
|
|
262
|
+
itemGroupSetup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
263
|
+
id: z.ZodString;
|
|
264
|
+
name: z.ZodString;
|
|
265
|
+
type: z.ZodLiteral<"async-select">;
|
|
266
|
+
dependsOn: z.ZodOptional<z.ZodString>;
|
|
267
|
+
dataSource: z.ZodObject<{
|
|
268
|
+
type: z.ZodEnum<{
|
|
269
|
+
contentEngine: "contentEngine";
|
|
270
|
+
connector: "connector";
|
|
271
|
+
}>;
|
|
272
|
+
query: z.ZodString;
|
|
273
|
+
search: z.ZodOptional<z.ZodObject<{
|
|
274
|
+
query: z.ZodString;
|
|
275
|
+
}, z.core.$strip>>;
|
|
276
|
+
}, z.core.$strip>;
|
|
277
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
278
|
+
}, z.core.$strip>>>;
|
|
262
279
|
}, z.core.$strip>>;
|
|
263
280
|
}, z.core.$strip>;
|
|
264
281
|
}, z.core.$strip>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorSchemas.js","sourceRoot":"","sources":["../../../src/schemas/connector/connectorSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,C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,CAAC;CACpD,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D,WAAW,EAAE,kBAAkB;CAChC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7D,QAAQ,EAAE,qBAAqB;CAChC,CAAC,CAAA"}
|
|
@@ -292,6 +292,23 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
|
|
|
292
292
|
enabled: z.ZodBoolean;
|
|
293
293
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
294
294
|
}, z.core.$strip>>;
|
|
295
|
+
itemGroupSetup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
296
|
+
id: z.ZodString;
|
|
297
|
+
name: z.ZodString;
|
|
298
|
+
type: z.ZodLiteral<"async-select">;
|
|
299
|
+
dependsOn: z.ZodOptional<z.ZodString>;
|
|
300
|
+
dataSource: z.ZodObject<{
|
|
301
|
+
type: z.ZodEnum<{
|
|
302
|
+
contentEngine: "contentEngine";
|
|
303
|
+
connector: "connector";
|
|
304
|
+
}>;
|
|
305
|
+
query: z.ZodString;
|
|
306
|
+
search: z.ZodOptional<z.ZodObject<{
|
|
307
|
+
query: z.ZodString;
|
|
308
|
+
}, z.core.$strip>>;
|
|
309
|
+
}, z.core.$strip>;
|
|
310
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
311
|
+
}, z.core.$strip>>>;
|
|
295
312
|
}, z.core.$strip>;
|
|
296
313
|
}, z.core.$strip>, z.ZodObject<{
|
|
297
314
|
integrationId: z.ZodGUID;
|
|
@@ -520,6 +537,23 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
|
|
|
520
537
|
enabled: z.ZodBoolean;
|
|
521
538
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
522
539
|
}, z.core.$strip>>;
|
|
540
|
+
itemGroupSetup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
541
|
+
id: z.ZodString;
|
|
542
|
+
name: z.ZodString;
|
|
543
|
+
type: z.ZodLiteral<"async-select">;
|
|
544
|
+
dependsOn: z.ZodOptional<z.ZodString>;
|
|
545
|
+
dataSource: z.ZodObject<{
|
|
546
|
+
type: z.ZodEnum<{
|
|
547
|
+
contentEngine: "contentEngine";
|
|
548
|
+
connector: "connector";
|
|
549
|
+
}>;
|
|
550
|
+
query: z.ZodString;
|
|
551
|
+
search: z.ZodOptional<z.ZodObject<{
|
|
552
|
+
query: z.ZodString;
|
|
553
|
+
}, z.core.$strip>>;
|
|
554
|
+
}, z.core.$strip>;
|
|
555
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
556
|
+
}, z.core.$strip>>>;
|
|
523
557
|
}, z.core.$strip>;
|
|
524
558
|
}, z.core.$strip>;
|
|
525
559
|
401: z.ZodObject<{
|
|
@@ -295,6 +295,23 @@ export declare const GET_INTEGRATION_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
295
295
|
enabled: z.ZodBoolean;
|
|
296
296
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
297
297
|
}, z.core.$strip>>;
|
|
298
|
+
itemGroupSetup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
299
|
+
id: z.ZodString;
|
|
300
|
+
name: z.ZodString;
|
|
301
|
+
type: z.ZodLiteral<"async-select">;
|
|
302
|
+
dependsOn: z.ZodOptional<z.ZodString>;
|
|
303
|
+
dataSource: z.ZodObject<{
|
|
304
|
+
type: z.ZodEnum<{
|
|
305
|
+
contentEngine: "contentEngine";
|
|
306
|
+
connector: "connector";
|
|
307
|
+
}>;
|
|
308
|
+
query: z.ZodString;
|
|
309
|
+
search: z.ZodOptional<z.ZodObject<{
|
|
310
|
+
query: z.ZodString;
|
|
311
|
+
}, z.core.$strip>>;
|
|
312
|
+
}, z.core.$strip>;
|
|
313
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
314
|
+
}, z.core.$strip>>>;
|
|
298
315
|
}, z.core.$strip>;
|
|
299
316
|
}, z.core.$strip>;
|
|
300
317
|
export type GetIntegrationManifestResponse = z.infer<typeof GET_INTEGRATION_MANIFEST_RESPONSE_SCHEMA>;
|
|
@@ -220,6 +220,23 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
|
|
|
220
220
|
enabled: import("zod").ZodBoolean;
|
|
221
221
|
defaultValue: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
222
222
|
}, import("zod/v4/core").$strip>>;
|
|
223
|
+
itemGroupSetup: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
224
|
+
id: import("zod").ZodString;
|
|
225
|
+
name: import("zod").ZodString;
|
|
226
|
+
type: import("zod").ZodLiteral<"async-select">;
|
|
227
|
+
dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
228
|
+
dataSource: import("zod").ZodObject<{
|
|
229
|
+
type: import("zod").ZodEnum<{
|
|
230
|
+
contentEngine: "contentEngine";
|
|
231
|
+
connector: "connector";
|
|
232
|
+
}>;
|
|
233
|
+
query: import("zod").ZodString;
|
|
234
|
+
search: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
235
|
+
query: import("zod").ZodString;
|
|
236
|
+
}, import("zod/v4/core").$strip>>;
|
|
237
|
+
}, import("zod/v4/core").$strip>;
|
|
238
|
+
defaultValue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
239
|
+
}, import("zod/v4/core").$strip>>>;
|
|
223
240
|
}, import("zod/v4/core").$strip>;
|
|
224
241
|
}, import("zod/v4/core").$strip>, undefined, undefined, import("zod").ZodObject<{
|
|
225
242
|
authorization: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -446,6 +463,23 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
|
|
|
446
463
|
enabled: import("zod").ZodBoolean;
|
|
447
464
|
defaultValue: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
448
465
|
}, import("zod/v4/core").$strip>>;
|
|
466
|
+
itemGroupSetup: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
467
|
+
id: import("zod").ZodString;
|
|
468
|
+
name: import("zod").ZodString;
|
|
469
|
+
type: import("zod").ZodLiteral<"async-select">;
|
|
470
|
+
dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
471
|
+
dataSource: import("zod").ZodObject<{
|
|
472
|
+
type: import("zod").ZodEnum<{
|
|
473
|
+
contentEngine: "contentEngine";
|
|
474
|
+
connector: "connector";
|
|
475
|
+
}>;
|
|
476
|
+
query: import("zod").ZodString;
|
|
477
|
+
search: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
478
|
+
query: import("zod").ZodString;
|
|
479
|
+
}, import("zod/v4/core").$strip>>;
|
|
480
|
+
}, import("zod/v4/core").$strip>;
|
|
481
|
+
defaultValue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
482
|
+
}, import("zod/v4/core").$strip>>>;
|
|
449
483
|
}, import("zod/v4/core").$strip>;
|
|
450
484
|
}, import("zod/v4/core").$strip>;
|
|
451
485
|
401: import("zod").ZodObject<{
|
|
@@ -221,6 +221,23 @@ export declare const GET_LINK_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
221
221
|
enabled: z.ZodBoolean;
|
|
222
222
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
223
223
|
}, z.core.$strip>>;
|
|
224
|
+
itemGroupSetup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
225
|
+
id: z.ZodString;
|
|
226
|
+
name: z.ZodString;
|
|
227
|
+
type: z.ZodLiteral<"async-select">;
|
|
228
|
+
dependsOn: z.ZodOptional<z.ZodString>;
|
|
229
|
+
dataSource: z.ZodObject<{
|
|
230
|
+
type: z.ZodEnum<{
|
|
231
|
+
contentEngine: "contentEngine";
|
|
232
|
+
connector: "connector";
|
|
233
|
+
}>;
|
|
234
|
+
query: z.ZodString;
|
|
235
|
+
search: z.ZodOptional<z.ZodObject<{
|
|
236
|
+
query: z.ZodString;
|
|
237
|
+
}, z.core.$strip>>;
|
|
238
|
+
}, z.core.$strip>;
|
|
239
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
240
|
+
}, z.core.$strip>>>;
|
|
224
241
|
}, z.core.$strip>;
|
|
225
242
|
}, z.core.$strip>;
|
|
226
243
|
export type GetLinkManifestResponse = z.infer<typeof GET_LINK_MANIFEST_RESPONSE_SCHEMA>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokalise/content-type-app-engine-contracts",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.24.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": "^10.
|
|
20
|
+
"@lokalise/connector-api-contracts": "^10.5.0",
|
|
21
21
|
"@lokalise/content-conversion-api-schemas": "^1.1.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|