@lokalise/projects-engine-contracts 14.0.0 → 15.0.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.
|
@@ -23,14 +23,18 @@ export declare const getProjectContract: Omit<{
|
|
|
23
23
|
name: import("zod").ZodString;
|
|
24
24
|
description: import("zod").ZodString;
|
|
25
25
|
baseLanguage: import("zod").ZodObject<{
|
|
26
|
+
languageId: import("zod").ZodUnion<readonly [import("zod").ZodGUID, import("zod").ZodNumber]>;
|
|
27
|
+
locale: import("zod").ZodString;
|
|
28
|
+
systemLanguageId: import("zod").ZodNumber;
|
|
26
29
|
projectLanguageId: import("zod").ZodNumber;
|
|
27
|
-
languageId: import("zod").ZodNumber;
|
|
28
30
|
languageIso: import("zod").ZodString;
|
|
29
31
|
projectLanguageUuid: import("zod").ZodGUID;
|
|
30
32
|
}, import("zod/v4/core").$strip>;
|
|
31
33
|
targetLanguages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
34
|
+
languageId: import("zod").ZodUnion<readonly [import("zod").ZodGUID, import("zod").ZodNumber]>;
|
|
35
|
+
locale: import("zod").ZodString;
|
|
36
|
+
systemLanguageId: import("zod").ZodNumber;
|
|
32
37
|
projectLanguageId: import("zod").ZodNumber;
|
|
33
|
-
languageId: import("zod").ZodNumber;
|
|
34
38
|
languageIso: import("zod").ZodString;
|
|
35
39
|
projectLanguageUuid: import("zod").ZodGUID;
|
|
36
40
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -91,14 +95,18 @@ export declare const patchProjectContract: Omit<{
|
|
|
91
95
|
name: import("zod").ZodString;
|
|
92
96
|
description: import("zod").ZodString;
|
|
93
97
|
baseLanguage: import("zod").ZodObject<{
|
|
98
|
+
languageId: import("zod").ZodUnion<readonly [import("zod").ZodGUID, import("zod").ZodNumber]>;
|
|
99
|
+
locale: import("zod").ZodString;
|
|
100
|
+
systemLanguageId: import("zod").ZodNumber;
|
|
94
101
|
projectLanguageId: import("zod").ZodNumber;
|
|
95
|
-
languageId: import("zod").ZodNumber;
|
|
96
102
|
languageIso: import("zod").ZodString;
|
|
97
103
|
projectLanguageUuid: import("zod").ZodGUID;
|
|
98
104
|
}, import("zod/v4/core").$strip>;
|
|
99
105
|
targetLanguages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
106
|
+
languageId: import("zod").ZodUnion<readonly [import("zod").ZodGUID, import("zod").ZodNumber]>;
|
|
107
|
+
locale: import("zod").ZodString;
|
|
108
|
+
systemLanguageId: import("zod").ZodNumber;
|
|
100
109
|
projectLanguageId: import("zod").ZodNumber;
|
|
101
|
-
languageId: import("zod").ZodNumber;
|
|
102
110
|
languageIso: import("zod").ZodString;
|
|
103
111
|
projectLanguageUuid: import("zod").ZodGUID;
|
|
104
112
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -164,14 +172,18 @@ export declare const getProjectsContract: Omit<{
|
|
|
164
172
|
name: import("zod").ZodString;
|
|
165
173
|
description: import("zod").ZodString;
|
|
166
174
|
baseLanguage: import("zod").ZodObject<{
|
|
175
|
+
languageId: import("zod").ZodUnion<readonly [import("zod").ZodGUID, import("zod").ZodNumber]>;
|
|
176
|
+
locale: import("zod").ZodString;
|
|
177
|
+
systemLanguageId: import("zod").ZodNumber;
|
|
167
178
|
projectLanguageId: import("zod").ZodNumber;
|
|
168
|
-
languageId: import("zod").ZodNumber;
|
|
169
179
|
languageIso: import("zod").ZodString;
|
|
170
180
|
projectLanguageUuid: import("zod").ZodGUID;
|
|
171
181
|
}, import("zod/v4/core").$strip>;
|
|
172
182
|
targetLanguages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
183
|
+
languageId: import("zod").ZodUnion<readonly [import("zod").ZodGUID, import("zod").ZodNumber]>;
|
|
184
|
+
locale: import("zod").ZodString;
|
|
185
|
+
systemLanguageId: import("zod").ZodNumber;
|
|
173
186
|
projectLanguageId: import("zod").ZodNumber;
|
|
174
|
-
languageId: import("zod").ZodNumber;
|
|
175
187
|
languageIso: import("zod").ZodString;
|
|
176
188
|
projectLanguageUuid: import("zod").ZodGUID;
|
|
177
189
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -239,14 +251,18 @@ export declare const postRetrieveBatchProjectsContract: Omit<{
|
|
|
239
251
|
name: import("zod").ZodString;
|
|
240
252
|
description: import("zod").ZodString;
|
|
241
253
|
baseLanguage: import("zod").ZodObject<{
|
|
254
|
+
languageId: import("zod").ZodUnion<readonly [import("zod").ZodGUID, import("zod").ZodNumber]>;
|
|
255
|
+
locale: import("zod").ZodString;
|
|
256
|
+
systemLanguageId: import("zod").ZodNumber;
|
|
242
257
|
projectLanguageId: import("zod").ZodNumber;
|
|
243
|
-
languageId: import("zod").ZodNumber;
|
|
244
258
|
languageIso: import("zod").ZodString;
|
|
245
259
|
projectLanguageUuid: import("zod").ZodGUID;
|
|
246
260
|
}, import("zod/v4/core").$strip>;
|
|
247
261
|
targetLanguages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
262
|
+
languageId: import("zod").ZodUnion<readonly [import("zod").ZodGUID, import("zod").ZodNumber]>;
|
|
263
|
+
locale: import("zod").ZodString;
|
|
264
|
+
systemLanguageId: import("zod").ZodNumber;
|
|
248
265
|
projectLanguageId: import("zod").ZodNumber;
|
|
249
|
-
languageId: import("zod").ZodNumber;
|
|
250
266
|
languageIso: import("zod").ZodString;
|
|
251
267
|
projectLanguageUuid: import("zod").ZodGUID;
|
|
252
268
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -24,25 +24,44 @@ export declare const LANGUAGE_LEGACY_SCHEMA: z.ZodObject<{
|
|
|
24
24
|
projectLanguageUuid: z.ZodGUID;
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
export type LanguageLegacy = z.infer<typeof LANGUAGE_LEGACY_SCHEMA>;
|
|
27
|
+
/**
|
|
28
|
+
* A language as it appears inside a project. Public callers get the two fields the other public
|
|
29
|
+
* endpoints key on, `languageId` and `locale`, the same `languageId` the languages endpoint
|
|
30
|
+
* returns. The internal-marked fields are what the web app and barker still read: the public
|
|
31
|
+
* OpenAPI document drops them, and so do public responses once `apiVisibilityPlugin` runs.
|
|
32
|
+
* `systemLanguageId` is Expert's numeric catalog id, the value `languageId` carried before.
|
|
33
|
+
*
|
|
34
|
+
* Transitional (MET-2301): consumers validate responses against the contracts version they
|
|
35
|
+
* have installed, so `languageId` is widened to number-or-UUID here while the service still
|
|
36
|
+
* sends the number. Once every consumer is on this version, the service switches to the UUID
|
|
37
|
+
* and the next major narrows `languageId` to `LANGUAGE_SCHEMA`'s.
|
|
38
|
+
*/
|
|
27
39
|
export declare const PROJECT_LANGUAGE_SCHEMA: z.ZodObject<{
|
|
40
|
+
languageId: z.ZodUnion<readonly [z.ZodGUID, z.ZodNumber]>;
|
|
41
|
+
locale: z.ZodString;
|
|
42
|
+
systemLanguageId: z.ZodNumber;
|
|
28
43
|
projectLanguageId: z.ZodNumber;
|
|
29
|
-
languageId: z.ZodNumber;
|
|
30
44
|
languageIso: z.ZodString;
|
|
31
45
|
projectLanguageUuid: z.ZodGUID;
|
|
32
46
|
}, z.core.$strip>;
|
|
47
|
+
export type ProjectLanguage = z.infer<typeof PROJECT_LANGUAGE_SCHEMA>;
|
|
33
48
|
export declare const PROJECT_SCHEMA: z.ZodObject<{
|
|
34
49
|
projectId: z.ZodGUID;
|
|
35
50
|
name: z.ZodString;
|
|
36
51
|
description: z.ZodString;
|
|
37
52
|
baseLanguage: z.ZodObject<{
|
|
53
|
+
languageId: z.ZodUnion<readonly [z.ZodGUID, z.ZodNumber]>;
|
|
54
|
+
locale: z.ZodString;
|
|
55
|
+
systemLanguageId: z.ZodNumber;
|
|
38
56
|
projectLanguageId: z.ZodNumber;
|
|
39
|
-
languageId: z.ZodNumber;
|
|
40
57
|
languageIso: z.ZodString;
|
|
41
58
|
projectLanguageUuid: z.ZodGUID;
|
|
42
59
|
}, z.core.$strip>;
|
|
43
60
|
targetLanguages: z.ZodArray<z.ZodObject<{
|
|
61
|
+
languageId: z.ZodUnion<readonly [z.ZodGUID, z.ZodNumber]>;
|
|
62
|
+
locale: z.ZodString;
|
|
63
|
+
systemLanguageId: z.ZodNumber;
|
|
44
64
|
projectLanguageId: z.ZodNumber;
|
|
45
|
-
languageId: z.ZodNumber;
|
|
46
65
|
languageIso: z.ZodString;
|
|
47
66
|
projectLanguageUuid: z.ZodGUID;
|
|
48
67
|
}, z.core.$strip>>;
|
|
@@ -31,15 +31,43 @@ export const LANGUAGE_LEGACY_SCHEMA = z.object({
|
|
|
31
31
|
isRtl: z.boolean().describe('Whether the language is written right to left'),
|
|
32
32
|
projectLanguageUuid: z.guid().describe('UUID of the language within the project'),
|
|
33
33
|
});
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
/**
|
|
35
|
+
* A language as it appears inside a project. Public callers get the two fields the other public
|
|
36
|
+
* endpoints key on, `languageId` and `locale`, the same `languageId` the languages endpoint
|
|
37
|
+
* returns. The internal-marked fields are what the web app and barker still read: the public
|
|
38
|
+
* OpenAPI document drops them, and so do public responses once `apiVisibilityPlugin` runs.
|
|
39
|
+
* `systemLanguageId` is Expert's numeric catalog id, the value `languageId` carried before.
|
|
40
|
+
*
|
|
41
|
+
* Transitional (MET-2301): consumers validate responses against the contracts version they
|
|
42
|
+
* have installed, so `languageId` is widened to number-or-UUID here while the service still
|
|
43
|
+
* sends the number. Once every consumer is on this version, the service switches to the UUID
|
|
44
|
+
* and the next major narrows `languageId` to `LANGUAGE_SCHEMA`'s.
|
|
45
|
+
*/
|
|
46
|
+
export const PROJECT_LANGUAGE_SCHEMA = z.object({
|
|
47
|
+
languageId: z
|
|
48
|
+
.union([z.guid(), z.number()])
|
|
49
|
+
.describe('The language UUID, the id other endpoints take as `languageId`, for example the export call. Transitional: numeric until the next contracts major, read `systemLanguageId` for the numeric id'),
|
|
50
|
+
locale: LANGUAGE_SCHEMA.shape.locale,
|
|
51
|
+
systemLanguageId: z.number().meta({
|
|
52
|
+
description: 'Numeric id of the language in the Lokalise language catalog',
|
|
53
|
+
visibility: 'internal',
|
|
54
|
+
}),
|
|
55
|
+
projectLanguageId: z.number().meta({
|
|
56
|
+
description: 'Numeric id of the language within the project',
|
|
57
|
+
visibility: 'internal',
|
|
58
|
+
}),
|
|
59
|
+
languageIso: z.string().meta({
|
|
60
|
+
description: 'Language code, for example `en` or `pt_BR`',
|
|
61
|
+
visibility: 'internal',
|
|
62
|
+
}),
|
|
63
|
+
projectLanguageUuid: z.guid().meta({
|
|
64
|
+
description: 'UUID of the language within the project, the same value as `languageId`',
|
|
65
|
+
visibility: 'internal',
|
|
66
|
+
}),
|
|
39
67
|
});
|
|
40
68
|
z.globalRegistry.add(PROJECT_LANGUAGE_SCHEMA, {
|
|
41
69
|
id: 'ProjectLanguage',
|
|
42
|
-
description: 'A language of a project, as its base language or as a target language.',
|
|
70
|
+
description: 'A language of a project, as its base language or as a target language. Its name and direction are on the project languages endpoint, under the same `languageId`.',
|
|
43
71
|
});
|
|
44
72
|
export const PROJECT_SCHEMA = z.object({
|
|
45
73
|
projectId: z.guid().describe('The project UUID, the id other endpoints take as `projectId`'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainSchemas.js","sourceRoot":"","sources":["../../src/schemas/domainSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAA;AAE7E,gFAAgF;AAChF,0CAA0C;AAC1C,gFAAgF;AAEhF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IAC1D,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;CAC/D,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC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,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IAC7C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iDAAiD,CAAC;IACnF,YAAY,EAAE,uBAAuB,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IACzF,eAAe,EAAE,CAAC;SACf,KAAK,CAAC,uBAAuB,CAAC;SAC9B,QAAQ,CAAC,0CAA0C,CAAC;IACvD,mBAAmB,EAAE,2BAA2B,CAAC,QAAQ,CACvD,wDAAwD,CACzD;IACD,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,uNAAuN,CACxN;IACH,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,mGAAmG,CACpG;IACH,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,CACP,kHAAkH,CACnH;CACJ,CAAC,CAAA;AACF,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,cAAc,EAAE;IACnC,EAAE,EAAE,SAAS;IACb,WAAW,EACT,4FAA4F;CAC/F,CAAC,CAAA"}
|
|
@@ -37,14 +37,18 @@ export declare const GET_PROJECTS_SUCCESS_RESPONSE_BODY: z.ZodObject<{
|
|
|
37
37
|
name: z.ZodString;
|
|
38
38
|
description: z.ZodString;
|
|
39
39
|
baseLanguage: z.ZodObject<{
|
|
40
|
+
languageId: z.ZodUnion<readonly [z.ZodGUID, z.ZodNumber]>;
|
|
41
|
+
locale: z.ZodString;
|
|
42
|
+
systemLanguageId: z.ZodNumber;
|
|
40
43
|
projectLanguageId: z.ZodNumber;
|
|
41
|
-
languageId: z.ZodNumber;
|
|
42
44
|
languageIso: z.ZodString;
|
|
43
45
|
projectLanguageUuid: z.ZodGUID;
|
|
44
46
|
}, z.core.$strip>;
|
|
45
47
|
targetLanguages: z.ZodArray<z.ZodObject<{
|
|
48
|
+
languageId: z.ZodUnion<readonly [z.ZodGUID, z.ZodNumber]>;
|
|
49
|
+
locale: z.ZodString;
|
|
50
|
+
systemLanguageId: z.ZodNumber;
|
|
46
51
|
projectLanguageId: z.ZodNumber;
|
|
47
|
-
languageId: z.ZodNumber;
|
|
48
52
|
languageIso: z.ZodString;
|
|
49
53
|
projectLanguageUuid: z.ZodGUID;
|
|
50
54
|
}, z.core.$strip>>;
|
|
@@ -93,14 +97,18 @@ export declare const RETRIEVE_BATCH_PROJECTS_SUCCESS_RESPONSE_BODY: z.ZodObject<
|
|
|
93
97
|
name: z.ZodString;
|
|
94
98
|
description: z.ZodString;
|
|
95
99
|
baseLanguage: z.ZodObject<{
|
|
100
|
+
languageId: z.ZodUnion<readonly [z.ZodGUID, z.ZodNumber]>;
|
|
101
|
+
locale: z.ZodString;
|
|
102
|
+
systemLanguageId: z.ZodNumber;
|
|
96
103
|
projectLanguageId: z.ZodNumber;
|
|
97
|
-
languageId: z.ZodNumber;
|
|
98
104
|
languageIso: z.ZodString;
|
|
99
105
|
projectLanguageUuid: z.ZodGUID;
|
|
100
106
|
}, z.core.$strip>;
|
|
101
107
|
targetLanguages: z.ZodArray<z.ZodObject<{
|
|
108
|
+
languageId: z.ZodUnion<readonly [z.ZodGUID, z.ZodNumber]>;
|
|
109
|
+
locale: z.ZodString;
|
|
110
|
+
systemLanguageId: z.ZodNumber;
|
|
102
111
|
projectLanguageId: z.ZodNumber;
|
|
103
|
-
languageId: z.ZodNumber;
|
|
104
112
|
languageIso: z.ZodString;
|
|
105
113
|
projectLanguageUuid: z.ZodGUID;
|
|
106
114
|
}, z.core.$strip>>;
|
|
@@ -141,14 +149,18 @@ export declare const GET_PROJECT_SUCCESS_RESPONSE_BODY: z.ZodObject<{
|
|
|
141
149
|
name: z.ZodString;
|
|
142
150
|
description: z.ZodString;
|
|
143
151
|
baseLanguage: z.ZodObject<{
|
|
152
|
+
languageId: z.ZodUnion<readonly [z.ZodGUID, z.ZodNumber]>;
|
|
153
|
+
locale: z.ZodString;
|
|
154
|
+
systemLanguageId: z.ZodNumber;
|
|
144
155
|
projectLanguageId: z.ZodNumber;
|
|
145
|
-
languageId: z.ZodNumber;
|
|
146
156
|
languageIso: z.ZodString;
|
|
147
157
|
projectLanguageUuid: z.ZodGUID;
|
|
148
158
|
}, z.core.$strip>;
|
|
149
159
|
targetLanguages: z.ZodArray<z.ZodObject<{
|
|
160
|
+
languageId: z.ZodUnion<readonly [z.ZodGUID, z.ZodNumber]>;
|
|
161
|
+
locale: z.ZodString;
|
|
162
|
+
systemLanguageId: z.ZodNumber;
|
|
150
163
|
projectLanguageId: z.ZodNumber;
|
|
151
|
-
languageId: z.ZodNumber;
|
|
152
164
|
languageIso: z.ZodString;
|
|
153
165
|
projectLanguageUuid: z.ZodGUID;
|
|
154
166
|
}, z.core.$strip>>;
|
|
@@ -194,14 +206,18 @@ export declare const PATCH_PROJECT_SUCCESS_RESPONSE_BODY: z.ZodObject<{
|
|
|
194
206
|
name: z.ZodString;
|
|
195
207
|
description: z.ZodString;
|
|
196
208
|
baseLanguage: z.ZodObject<{
|
|
209
|
+
languageId: z.ZodUnion<readonly [z.ZodGUID, z.ZodNumber]>;
|
|
210
|
+
locale: z.ZodString;
|
|
211
|
+
systemLanguageId: z.ZodNumber;
|
|
197
212
|
projectLanguageId: z.ZodNumber;
|
|
198
|
-
languageId: z.ZodNumber;
|
|
199
213
|
languageIso: z.ZodString;
|
|
200
214
|
projectLanguageUuid: z.ZodGUID;
|
|
201
215
|
}, z.core.$strip>;
|
|
202
216
|
targetLanguages: z.ZodArray<z.ZodObject<{
|
|
217
|
+
languageId: z.ZodUnion<readonly [z.ZodGUID, z.ZodNumber]>;
|
|
218
|
+
locale: z.ZodString;
|
|
219
|
+
systemLanguageId: z.ZodNumber;
|
|
203
220
|
projectLanguageId: z.ZodNumber;
|
|
204
|
-
languageId: z.ZodNumber;
|
|
205
221
|
languageIso: z.ZodString;
|
|
206
222
|
projectLanguageUuid: z.ZodGUID;
|
|
207
223
|
}, z.core.$strip>>;
|