@lokalise/content-type-app-engine-contracts 5.17.0 → 5.19.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 +44 -8
- package/dist/schemas/connector/connectorSchemas.d.ts +22 -4
- package/dist/schemas/integration/integrationApiSchemas.d.ts +44 -8
- package/dist/schemas/integration/integrationSchemas.d.ts +22 -4
- package/dist/schemas/itemGroup/linkItemGroupApiSchemas.d.ts +54 -37
- package/dist/schemas/itemGroup/linkItemGroupApiSchemas.js +5 -2
- package/dist/schemas/itemGroup/linkItemGroupApiSchemas.js.map +1 -1
- package/dist/schemas/link/linkApiSchemas.d.ts +44 -8
- package/dist/schemas/link/linkSchemas.d.ts +22 -4
- package/package.json +2 -2
|
@@ -168,10 +168,19 @@ 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
|
+
type: z.ZodEnum<{
|
|
173
|
+
contentEngine: "contentEngine";
|
|
174
|
+
connector: "connector";
|
|
175
|
+
}>;
|
|
176
|
+
query: z.ZodString;
|
|
177
|
+
search: z.ZodObject<{
|
|
178
|
+
query: z.ZodString;
|
|
179
|
+
}, z.core.$strip>;
|
|
180
|
+
}, z.core.$strip>;
|
|
181
|
+
dependsOn: z.ZodOptional<z.ZodString>;
|
|
171
182
|
type: z.ZodLiteral<"async-multiselect">;
|
|
172
|
-
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
173
183
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
174
|
-
dependsOn: z.ZodOptional<z.ZodString>;
|
|
175
184
|
}, z.core.$strip>, z.ZodObject<{
|
|
176
185
|
id: z.ZodString;
|
|
177
186
|
name: z.ZodString;
|
|
@@ -212,9 +221,18 @@ export declare const getConnectorManifest: import("@lokalise/api-contracts").Get
|
|
|
212
221
|
}>;
|
|
213
222
|
name: z.ZodString;
|
|
214
223
|
}, z.core.$strip>>>;
|
|
215
|
-
|
|
216
|
-
|
|
224
|
+
dataSource: z.ZodObject<{
|
|
225
|
+
type: z.ZodEnum<{
|
|
226
|
+
contentEngine: "contentEngine";
|
|
227
|
+
connector: "connector";
|
|
228
|
+
}>;
|
|
229
|
+
query: z.ZodString;
|
|
230
|
+
search: z.ZodObject<{
|
|
231
|
+
query: z.ZodString;
|
|
232
|
+
}, z.core.$strip>;
|
|
233
|
+
}, z.core.$strip>;
|
|
217
234
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
235
|
+
type: z.ZodLiteral<"async-select">;
|
|
218
236
|
}, z.core.$strip>, z.ZodObject<{
|
|
219
237
|
id: z.ZodString;
|
|
220
238
|
name: z.ZodString;
|
|
@@ -377,10 +395,19 @@ export declare const getConnectorManifest: import("@lokalise/api-contracts").Get
|
|
|
377
395
|
}>;
|
|
378
396
|
name: z.ZodString;
|
|
379
397
|
}, z.core.$strip>>>;
|
|
398
|
+
dataSource: z.ZodObject<{
|
|
399
|
+
type: z.ZodEnum<{
|
|
400
|
+
contentEngine: "contentEngine";
|
|
401
|
+
connector: "connector";
|
|
402
|
+
}>;
|
|
403
|
+
query: z.ZodString;
|
|
404
|
+
search: z.ZodObject<{
|
|
405
|
+
query: z.ZodString;
|
|
406
|
+
}, z.core.$strip>;
|
|
407
|
+
}, z.core.$strip>;
|
|
408
|
+
dependsOn: z.ZodOptional<z.ZodString>;
|
|
380
409
|
type: z.ZodLiteral<"async-multiselect">;
|
|
381
|
-
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
382
410
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
383
|
-
dependsOn: z.ZodOptional<z.ZodString>;
|
|
384
411
|
}, z.core.$strip>, z.ZodObject<{
|
|
385
412
|
id: z.ZodString;
|
|
386
413
|
name: z.ZodString;
|
|
@@ -421,9 +448,18 @@ export declare const getConnectorManifest: import("@lokalise/api-contracts").Get
|
|
|
421
448
|
}>;
|
|
422
449
|
name: z.ZodString;
|
|
423
450
|
}, z.core.$strip>>>;
|
|
424
|
-
|
|
425
|
-
|
|
451
|
+
dataSource: z.ZodObject<{
|
|
452
|
+
type: z.ZodEnum<{
|
|
453
|
+
contentEngine: "contentEngine";
|
|
454
|
+
connector: "connector";
|
|
455
|
+
}>;
|
|
456
|
+
query: z.ZodString;
|
|
457
|
+
search: z.ZodObject<{
|
|
458
|
+
query: z.ZodString;
|
|
459
|
+
}, z.core.$strip>;
|
|
460
|
+
}, z.core.$strip>;
|
|
426
461
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
462
|
+
type: z.ZodLiteral<"async-select">;
|
|
427
463
|
}, z.core.$strip>, z.ZodObject<{
|
|
428
464
|
id: z.ZodString;
|
|
429
465
|
name: z.ZodString;
|
|
@@ -138,10 +138,19 @@ 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
|
+
type: z.ZodEnum<{
|
|
143
|
+
contentEngine: "contentEngine";
|
|
144
|
+
connector: "connector";
|
|
145
|
+
}>;
|
|
146
|
+
query: z.ZodString;
|
|
147
|
+
search: z.ZodObject<{
|
|
148
|
+
query: z.ZodString;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
dependsOn: z.ZodOptional<z.ZodString>;
|
|
141
152
|
type: z.ZodLiteral<"async-multiselect">;
|
|
142
|
-
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
143
153
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
144
|
-
dependsOn: z.ZodOptional<z.ZodString>;
|
|
145
154
|
}, z.core.$strip>, z.ZodObject<{
|
|
146
155
|
id: z.ZodString;
|
|
147
156
|
name: z.ZodString;
|
|
@@ -182,9 +191,18 @@ export declare const GET_CONNECTOR_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
182
191
|
}>;
|
|
183
192
|
name: z.ZodString;
|
|
184
193
|
}, z.core.$strip>>>;
|
|
185
|
-
|
|
186
|
-
|
|
194
|
+
dataSource: z.ZodObject<{
|
|
195
|
+
type: z.ZodEnum<{
|
|
196
|
+
contentEngine: "contentEngine";
|
|
197
|
+
connector: "connector";
|
|
198
|
+
}>;
|
|
199
|
+
query: z.ZodString;
|
|
200
|
+
search: z.ZodObject<{
|
|
201
|
+
query: z.ZodString;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
}, z.core.$strip>;
|
|
187
204
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
205
|
+
type: z.ZodLiteral<"async-select">;
|
|
188
206
|
}, z.core.$strip>, z.ZodObject<{
|
|
189
207
|
id: z.ZodString;
|
|
190
208
|
name: z.ZodString;
|
|
@@ -171,10 +171,19 @@ 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
|
+
type: z.ZodEnum<{
|
|
176
|
+
contentEngine: "contentEngine";
|
|
177
|
+
connector: "connector";
|
|
178
|
+
}>;
|
|
179
|
+
query: z.ZodString;
|
|
180
|
+
search: z.ZodObject<{
|
|
181
|
+
query: z.ZodString;
|
|
182
|
+
}, z.core.$strip>;
|
|
183
|
+
}, z.core.$strip>;
|
|
184
|
+
dependsOn: z.ZodOptional<z.ZodString>;
|
|
174
185
|
type: z.ZodLiteral<"async-multiselect">;
|
|
175
|
-
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
176
186
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
177
|
-
dependsOn: z.ZodOptional<z.ZodString>;
|
|
178
187
|
}, z.core.$strip>, z.ZodObject<{
|
|
179
188
|
id: z.ZodString;
|
|
180
189
|
name: z.ZodString;
|
|
@@ -215,9 +224,18 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
|
|
|
215
224
|
}>;
|
|
216
225
|
name: z.ZodString;
|
|
217
226
|
}, z.core.$strip>>>;
|
|
218
|
-
|
|
219
|
-
|
|
227
|
+
dataSource: z.ZodObject<{
|
|
228
|
+
type: z.ZodEnum<{
|
|
229
|
+
contentEngine: "contentEngine";
|
|
230
|
+
connector: "connector";
|
|
231
|
+
}>;
|
|
232
|
+
query: z.ZodString;
|
|
233
|
+
search: z.ZodObject<{
|
|
234
|
+
query: z.ZodString;
|
|
235
|
+
}, z.core.$strip>;
|
|
236
|
+
}, z.core.$strip>;
|
|
220
237
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
238
|
+
type: z.ZodLiteral<"async-select">;
|
|
221
239
|
}, z.core.$strip>, z.ZodObject<{
|
|
222
240
|
id: z.ZodString;
|
|
223
241
|
name: z.ZodString;
|
|
@@ -377,10 +395,19 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
|
|
|
377
395
|
}>;
|
|
378
396
|
name: z.ZodString;
|
|
379
397
|
}, z.core.$strip>>>;
|
|
398
|
+
dataSource: z.ZodObject<{
|
|
399
|
+
type: z.ZodEnum<{
|
|
400
|
+
contentEngine: "contentEngine";
|
|
401
|
+
connector: "connector";
|
|
402
|
+
}>;
|
|
403
|
+
query: z.ZodString;
|
|
404
|
+
search: z.ZodObject<{
|
|
405
|
+
query: z.ZodString;
|
|
406
|
+
}, z.core.$strip>;
|
|
407
|
+
}, z.core.$strip>;
|
|
408
|
+
dependsOn: z.ZodOptional<z.ZodString>;
|
|
380
409
|
type: z.ZodLiteral<"async-multiselect">;
|
|
381
|
-
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
382
410
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
383
|
-
dependsOn: z.ZodOptional<z.ZodString>;
|
|
384
411
|
}, z.core.$strip>, z.ZodObject<{
|
|
385
412
|
id: z.ZodString;
|
|
386
413
|
name: z.ZodString;
|
|
@@ -421,9 +448,18 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
|
|
|
421
448
|
}>;
|
|
422
449
|
name: z.ZodString;
|
|
423
450
|
}, z.core.$strip>>>;
|
|
424
|
-
|
|
425
|
-
|
|
451
|
+
dataSource: z.ZodObject<{
|
|
452
|
+
type: z.ZodEnum<{
|
|
453
|
+
contentEngine: "contentEngine";
|
|
454
|
+
connector: "connector";
|
|
455
|
+
}>;
|
|
456
|
+
query: z.ZodString;
|
|
457
|
+
search: z.ZodObject<{
|
|
458
|
+
query: z.ZodString;
|
|
459
|
+
}, z.core.$strip>;
|
|
460
|
+
}, z.core.$strip>;
|
|
426
461
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
462
|
+
type: z.ZodLiteral<"async-select">;
|
|
427
463
|
}, z.core.$strip>, z.ZodObject<{
|
|
428
464
|
id: z.ZodString;
|
|
429
465
|
name: z.ZodString;
|
|
@@ -174,10 +174,19 @@ 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
|
+
type: z.ZodEnum<{
|
|
179
|
+
contentEngine: "contentEngine";
|
|
180
|
+
connector: "connector";
|
|
181
|
+
}>;
|
|
182
|
+
query: z.ZodString;
|
|
183
|
+
search: z.ZodObject<{
|
|
184
|
+
query: z.ZodString;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
dependsOn: z.ZodOptional<z.ZodString>;
|
|
177
188
|
type: z.ZodLiteral<"async-multiselect">;
|
|
178
|
-
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
179
189
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
180
|
-
dependsOn: z.ZodOptional<z.ZodString>;
|
|
181
190
|
}, z.core.$strip>, z.ZodObject<{
|
|
182
191
|
id: z.ZodString;
|
|
183
192
|
name: z.ZodString;
|
|
@@ -218,9 +227,18 @@ export declare const GET_INTEGRATION_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
218
227
|
}>;
|
|
219
228
|
name: z.ZodString;
|
|
220
229
|
}, z.core.$strip>>>;
|
|
221
|
-
|
|
222
|
-
|
|
230
|
+
dataSource: z.ZodObject<{
|
|
231
|
+
type: z.ZodEnum<{
|
|
232
|
+
contentEngine: "contentEngine";
|
|
233
|
+
connector: "connector";
|
|
234
|
+
}>;
|
|
235
|
+
query: z.ZodString;
|
|
236
|
+
search: z.ZodObject<{
|
|
237
|
+
query: z.ZodString;
|
|
238
|
+
}, z.core.$strip>;
|
|
239
|
+
}, z.core.$strip>;
|
|
223
240
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
241
|
+
type: z.ZodLiteral<"async-select">;
|
|
224
242
|
}, z.core.$strip>, z.ZodObject<{
|
|
225
243
|
id: z.ZodString;
|
|
226
244
|
name: z.ZodString;
|
|
@@ -1,38 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
import type { z } from 'zod/v4';
|
|
2
|
+
declare const LINK_ITEM_GROUPS_QUERY_STRING: z.ZodObject<{
|
|
3
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
5
|
+
defaultLocale: z.ZodOptional<z.ZodString>;
|
|
6
|
+
$filter: z.ZodOptional<z.ZodString>;
|
|
7
|
+
dataSource: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
contentEngine: "contentEngine";
|
|
9
|
+
connector: "connector";
|
|
10
|
+
}>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export type LinkItemGroupsQueryString = z.infer<typeof LINK_ITEM_GROUPS_QUERY_STRING>;
|
|
13
|
+
export declare const getLinkItemGroupsContract: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodObject<{
|
|
14
|
+
items: z.ZodArray<z.ZodObject<{
|
|
15
|
+
id: z.ZodString;
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
parentItemGroupId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18
|
+
details: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
hasMore: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>, undefined, z.ZodObject<{
|
|
23
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
24
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
25
|
+
defaultLocale: z.ZodOptional<z.ZodString>;
|
|
26
|
+
$filter: z.ZodOptional<z.ZodString>;
|
|
27
|
+
dataSource: z.ZodOptional<z.ZodEnum<{
|
|
28
|
+
contentEngine: "contentEngine";
|
|
29
|
+
connector: "connector";
|
|
30
|
+
}>>;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
authorization: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.core.$strip>, undefined, false, false, {
|
|
34
|
+
200: z.ZodObject<{
|
|
35
|
+
items: z.ZodArray<z.ZodObject<{
|
|
36
|
+
id: z.ZodString;
|
|
37
|
+
name: z.ZodString;
|
|
38
|
+
parentItemGroupId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
39
|
+
details: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
hasMore: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
401: z.ZodObject<{
|
|
45
|
+
message: z.ZodString;
|
|
46
|
+
errorCode: z.ZodString;
|
|
47
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
404: z.ZodObject<{
|
|
50
|
+
message: z.ZodString;
|
|
51
|
+
errorCode: z.ZodString;
|
|
52
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
53
|
+
}, z.core.$strip>;
|
|
38
54
|
}>;
|
|
55
|
+
export {};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { buildGetRoute } from '@lokalise/api-contracts';
|
|
2
|
-
import { itemGroupListRequestQueryString, itemGroupListResponseBody, } from '@lokalise/connector-api-contracts';
|
|
2
|
+
import { FILTER_DATA_SOURCE_TYPE, itemGroupListRequestQueryString, itemGroupListResponseBody, } from '@lokalise/connector-api-contracts';
|
|
3
3
|
import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from '../commonRequestSchemas.js';
|
|
4
|
+
const LINK_ITEM_GROUPS_QUERY_STRING = itemGroupListRequestQueryString.extend({
|
|
5
|
+
dataSource: FILTER_DATA_SOURCE_TYPE.optional(),
|
|
6
|
+
});
|
|
4
7
|
export const getLinkItemGroupsContract = buildGetRoute({
|
|
5
8
|
pathResolver: () => '/v1/link/item-groups',
|
|
6
9
|
description: 'Get list of item groups (e.g., stories) for current link',
|
|
7
|
-
requestQuerySchema:
|
|
10
|
+
requestQuerySchema: LINK_ITEM_GROUPS_QUERY_STRING,
|
|
8
11
|
successResponseBodySchema: itemGroupListResponseBody,
|
|
9
12
|
responseSchemasByStatusCode: {
|
|
10
13
|
200: itemGroupListResponseBody,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkItemGroupApiSchemas.js","sourceRoot":"","sources":["../../../src/schemas/itemGroup/linkItemGroupApiSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,mCAAmC,CAAA;
|
|
1
|
+
{"version":3,"file":"linkItemGroupApiSchemas.js","sourceRoot":"","sources":["../../../src/schemas/itemGroup/linkItemGroupApiSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EACL,uBAAuB,EACvB,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,mCAAmC,CAAA;AAE1C,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,4BAA4B,CAAA;AAEnC,MAAM,6BAA6B,GAAG,+BAA+B,CAAC,MAAM,CAAC;IAC3E,UAAU,EAAE,uBAAuB,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACrD,YAAY,EAAE,GAAG,EAAE,CAAC,sBAAsB;IAC1C,WAAW,EAAE,0DAA0D;IACvE,kBAAkB,EAAE,6BAA6B;IACjD,yBAAyB,EAAE,yBAAyB;IACpD,2BAA2B,EAAE;QAC3B,GAAG,EAAE,yBAAyB;QAC9B,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;KACrC;IACD,mBAAmB,EAAE,2BAA2B;CACjD,CAAC,CAAA"}
|
|
@@ -99,10 +99,19 @@ 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
|
+
type: import("zod").ZodEnum<{
|
|
104
|
+
contentEngine: "contentEngine";
|
|
105
|
+
connector: "connector";
|
|
106
|
+
}>;
|
|
107
|
+
query: import("zod").ZodString;
|
|
108
|
+
search: import("zod").ZodObject<{
|
|
109
|
+
query: import("zod").ZodString;
|
|
110
|
+
}, import("zod/v4/core").$strip>;
|
|
111
|
+
}, import("zod/v4/core").$strip>;
|
|
112
|
+
dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
102
113
|
type: import("zod").ZodLiteral<"async-multiselect">;
|
|
103
|
-
constraintQuery: import("zod").ZodOptional<import("zod").ZodString>;
|
|
104
114
|
defaultValue: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
105
|
-
dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
106
115
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
107
116
|
id: import("zod").ZodString;
|
|
108
117
|
name: import("zod").ZodString;
|
|
@@ -143,9 +152,18 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
|
|
|
143
152
|
}>;
|
|
144
153
|
name: import("zod").ZodString;
|
|
145
154
|
}, import("zod/v4/core").$strip>>>;
|
|
146
|
-
|
|
147
|
-
|
|
155
|
+
dataSource: import("zod").ZodObject<{
|
|
156
|
+
type: import("zod").ZodEnum<{
|
|
157
|
+
contentEngine: "contentEngine";
|
|
158
|
+
connector: "connector";
|
|
159
|
+
}>;
|
|
160
|
+
query: import("zod").ZodString;
|
|
161
|
+
search: import("zod").ZodObject<{
|
|
162
|
+
query: import("zod").ZodString;
|
|
163
|
+
}, import("zod/v4/core").$strip>;
|
|
164
|
+
}, import("zod/v4/core").$strip>;
|
|
148
165
|
dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
166
|
+
type: import("zod").ZodLiteral<"async-select">;
|
|
149
167
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
150
168
|
id: import("zod").ZodString;
|
|
151
169
|
name: import("zod").ZodString;
|
|
@@ -303,10 +321,19 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
|
|
|
303
321
|
}>;
|
|
304
322
|
name: import("zod").ZodString;
|
|
305
323
|
}, import("zod/v4/core").$strip>>>;
|
|
324
|
+
dataSource: import("zod").ZodObject<{
|
|
325
|
+
type: import("zod").ZodEnum<{
|
|
326
|
+
contentEngine: "contentEngine";
|
|
327
|
+
connector: "connector";
|
|
328
|
+
}>;
|
|
329
|
+
query: import("zod").ZodString;
|
|
330
|
+
search: import("zod").ZodObject<{
|
|
331
|
+
query: import("zod").ZodString;
|
|
332
|
+
}, import("zod/v4/core").$strip>;
|
|
333
|
+
}, import("zod/v4/core").$strip>;
|
|
334
|
+
dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
306
335
|
type: import("zod").ZodLiteral<"async-multiselect">;
|
|
307
|
-
constraintQuery: import("zod").ZodOptional<import("zod").ZodString>;
|
|
308
336
|
defaultValue: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
309
|
-
dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
310
337
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
311
338
|
id: import("zod").ZodString;
|
|
312
339
|
name: import("zod").ZodString;
|
|
@@ -347,9 +374,18 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
|
|
|
347
374
|
}>;
|
|
348
375
|
name: import("zod").ZodString;
|
|
349
376
|
}, import("zod/v4/core").$strip>>>;
|
|
350
|
-
|
|
351
|
-
|
|
377
|
+
dataSource: import("zod").ZodObject<{
|
|
378
|
+
type: import("zod").ZodEnum<{
|
|
379
|
+
contentEngine: "contentEngine";
|
|
380
|
+
connector: "connector";
|
|
381
|
+
}>;
|
|
382
|
+
query: import("zod").ZodString;
|
|
383
|
+
search: import("zod").ZodObject<{
|
|
384
|
+
query: import("zod").ZodString;
|
|
385
|
+
}, import("zod/v4/core").$strip>;
|
|
386
|
+
}, import("zod/v4/core").$strip>;
|
|
352
387
|
dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
388
|
+
type: import("zod").ZodLiteral<"async-select">;
|
|
353
389
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
354
390
|
id: import("zod").ZodString;
|
|
355
391
|
name: import("zod").ZodString;
|
|
@@ -100,10 +100,19 @@ 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
|
+
type: z.ZodEnum<{
|
|
105
|
+
contentEngine: "contentEngine";
|
|
106
|
+
connector: "connector";
|
|
107
|
+
}>;
|
|
108
|
+
query: z.ZodString;
|
|
109
|
+
search: z.ZodObject<{
|
|
110
|
+
query: z.ZodString;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
dependsOn: z.ZodOptional<z.ZodString>;
|
|
103
114
|
type: z.ZodLiteral<"async-multiselect">;
|
|
104
|
-
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
105
115
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
106
|
-
dependsOn: z.ZodOptional<z.ZodString>;
|
|
107
116
|
}, z.core.$strip>, z.ZodObject<{
|
|
108
117
|
id: z.ZodString;
|
|
109
118
|
name: z.ZodString;
|
|
@@ -144,9 +153,18 @@ export declare const GET_LINK_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
144
153
|
}>;
|
|
145
154
|
name: z.ZodString;
|
|
146
155
|
}, z.core.$strip>>>;
|
|
147
|
-
|
|
148
|
-
|
|
156
|
+
dataSource: z.ZodObject<{
|
|
157
|
+
type: z.ZodEnum<{
|
|
158
|
+
contentEngine: "contentEngine";
|
|
159
|
+
connector: "connector";
|
|
160
|
+
}>;
|
|
161
|
+
query: z.ZodString;
|
|
162
|
+
search: z.ZodObject<{
|
|
163
|
+
query: z.ZodString;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
}, z.core.$strip>;
|
|
149
166
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
167
|
+
type: z.ZodLiteral<"async-select">;
|
|
150
168
|
}, z.core.$strip>, z.ZodObject<{
|
|
151
169
|
id: z.ZodString;
|
|
152
170
|
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.
|
|
3
|
+
"version": "5.19.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": "^
|
|
20
|
+
"@lokalise/connector-api-contracts": "^10.0.0",
|
|
21
21
|
"@lokalise/content-conversion-api-schemas": "^1.1.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|