@lokalise/ragnarok-api-contracts 2.5.0 → 2.6.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.
|
@@ -208,17 +208,55 @@ export declare const postScheduleEvaluation: import("@lokalise/api-contracts").P
|
|
|
208
208
|
evaluationId: z.ZodUUID;
|
|
209
209
|
}, z.core.$strip>;
|
|
210
210
|
}>;
|
|
211
|
+
declare const PaginationCursorSchema: z.ZodObject<{
|
|
212
|
+
id: z.ZodString;
|
|
213
|
+
exactMatch: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
214
|
+
ter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
215
|
+
meteor: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
export type PaginationCursor = z.infer<typeof PaginationCursorSchema>;
|
|
218
|
+
export declare const PaginationCursorCodec: z.ZodCodec<z.ZodString, z.ZodObject<{
|
|
219
|
+
id: z.ZodString;
|
|
220
|
+
exactMatch: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
221
|
+
ter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
222
|
+
meteor: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
223
|
+
}, z.core.$strip>>;
|
|
211
224
|
declare const GET_EVALUATION_ITEMS_PARAMS_SCHEMA: z.ZodObject<{
|
|
212
225
|
evaluationId: z.ZodUUID;
|
|
213
226
|
}, z.core.$strip>;
|
|
214
227
|
export type GetEvaluationItemsParams = z.infer<typeof GET_EVALUATION_ITEMS_PARAMS_SCHEMA>;
|
|
228
|
+
declare const SORT_FIELDS: readonly ["id", "exactMatch", "ter", "meteor"];
|
|
229
|
+
export type ItemSortBy = (typeof SORT_FIELDS)[number];
|
|
230
|
+
export type ItemSort = {
|
|
231
|
+
by: ItemSortBy;
|
|
232
|
+
order: 'asc' | 'desc';
|
|
233
|
+
};
|
|
215
234
|
declare const GET_EVALUATION_ITEMS_QUERY_SCHEMA: z.ZodObject<{
|
|
216
|
-
before: z.ZodOptional<z.ZodString>;
|
|
217
|
-
after: z.ZodOptional<z.ZodString>;
|
|
218
|
-
'filter-target-locale': z.ZodOptional<z.ZodString>;
|
|
219
235
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
236
|
+
before: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodObject<{
|
|
237
|
+
id: z.ZodString;
|
|
238
|
+
exactMatch: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
239
|
+
ter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
240
|
+
meteor: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
241
|
+
}, z.core.$strip>>>;
|
|
242
|
+
after: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodObject<{
|
|
243
|
+
id: z.ZodString;
|
|
244
|
+
exactMatch: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
245
|
+
ter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
246
|
+
meteor: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
247
|
+
}, z.core.$strip>>>;
|
|
248
|
+
sort: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
249
|
+
[x: string]: string;
|
|
250
|
+
}>>>, z.ZodTransform<ItemSort, string>>;
|
|
251
|
+
'sort-config-name': z.ZodOptional<z.ZodString>;
|
|
252
|
+
'filter-target-locale': z.ZodOptional<z.ZodString>;
|
|
220
253
|
}, z.core.$strip>;
|
|
221
254
|
export type GetEvaluationItemsQuery = z.infer<typeof GET_EVALUATION_ITEMS_QUERY_SCHEMA>;
|
|
255
|
+
export type EvaluationItemsSort = {
|
|
256
|
+
by: ItemSortBy;
|
|
257
|
+
order: 'asc' | 'desc';
|
|
258
|
+
configName?: string;
|
|
259
|
+
};
|
|
222
260
|
export declare const getEvaluationItems: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodObject<{
|
|
223
261
|
data: z.ZodArray<z.ZodObject<{
|
|
224
262
|
itemId: z.ZodUUID;
|
|
@@ -257,17 +295,31 @@ export declare const getEvaluationItems: import("@lokalise/api-contracts").GetRo
|
|
|
257
295
|
}, z.core.$strip>>;
|
|
258
296
|
}, z.core.$strip>>;
|
|
259
297
|
meta: z.ZodObject<{
|
|
260
|
-
|
|
298
|
+
resultCount: z.ZodNumber;
|
|
261
299
|
cursor: z.ZodOptional<z.ZodString>;
|
|
262
|
-
hasMore: z.
|
|
300
|
+
hasMore: z.ZodBoolean;
|
|
263
301
|
}, z.core.$strip>;
|
|
264
302
|
}, z.core.$strip>, z.ZodObject<{
|
|
265
303
|
evaluationId: z.ZodUUID;
|
|
266
304
|
}, z.core.$strip>, z.ZodObject<{
|
|
267
|
-
before: z.ZodOptional<z.ZodString>;
|
|
268
|
-
after: z.ZodOptional<z.ZodString>;
|
|
269
|
-
'filter-target-locale': z.ZodOptional<z.ZodString>;
|
|
270
305
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
306
|
+
before: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodObject<{
|
|
307
|
+
id: z.ZodString;
|
|
308
|
+
exactMatch: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
309
|
+
ter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
310
|
+
meteor: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
311
|
+
}, z.core.$strip>>>;
|
|
312
|
+
after: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodObject<{
|
|
313
|
+
id: z.ZodString;
|
|
314
|
+
exactMatch: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
315
|
+
ter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
316
|
+
meteor: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
317
|
+
}, z.core.$strip>>>;
|
|
318
|
+
sort: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
319
|
+
[x: string]: string;
|
|
320
|
+
}>>>, z.ZodTransform<ItemSort, string>>;
|
|
321
|
+
'sort-config-name': z.ZodOptional<z.ZodString>;
|
|
322
|
+
'filter-target-locale': z.ZodOptional<z.ZodString>;
|
|
271
323
|
}, z.core.$strip>, z.ZodObject<{
|
|
272
324
|
authorization: z.ZodString;
|
|
273
325
|
}, z.core.$strip>, undefined, false, false, {
|
|
@@ -309,9 +361,9 @@ export declare const getEvaluationItems: import("@lokalise/api-contracts").GetRo
|
|
|
309
361
|
}, z.core.$strip>>;
|
|
310
362
|
}, z.core.$strip>>;
|
|
311
363
|
meta: z.ZodObject<{
|
|
312
|
-
|
|
364
|
+
resultCount: z.ZodNumber;
|
|
313
365
|
cursor: z.ZodOptional<z.ZodString>;
|
|
314
|
-
hasMore: z.
|
|
366
|
+
hasMore: z.ZodBoolean;
|
|
315
367
|
}, z.core.$strip>;
|
|
316
368
|
}, z.core.$strip>;
|
|
317
369
|
}>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OPTIONAL_PAGINATION_CONFIG_SCHEMA, paginatedResponseSchema } from '@lokalise/api-common';
|
|
2
1
|
import { buildRestContract } from '@lokalise/api-contracts';
|
|
3
2
|
import { z } from 'zod';
|
|
4
3
|
import { AUTH_HEADERS, INTEGRATION_INPUT_SCHEMA, LOCALE_SCHEMA, METADATA_SCHEMA, WEBHOOK_SCHEMA, } from "./common.js";
|
|
@@ -92,13 +91,64 @@ export const postScheduleEvaluation = buildRestContract({
|
|
|
92
91
|
202: SCHEDULE_EVALUATION_RESPONSE_SCHEMA,
|
|
93
92
|
},
|
|
94
93
|
});
|
|
94
|
+
const PaginationCursorSchema = z.object({
|
|
95
|
+
id: z.string(),
|
|
96
|
+
exactMatch: z.number().nullable().optional(),
|
|
97
|
+
ter: z.number().nullable().optional(),
|
|
98
|
+
meteor: z.number().nullable().optional(),
|
|
99
|
+
});
|
|
100
|
+
export const PaginationCursorCodec = z.codec(z.string(), PaginationCursorSchema, {
|
|
101
|
+
decode: (token) => JSON.parse(Buffer.from(token, 'base64url').toString()),
|
|
102
|
+
encode: (cursor) => Buffer.from(JSON.stringify(cursor)).toString('base64url'),
|
|
103
|
+
});
|
|
95
104
|
// === Get Evaluation Items ===
|
|
96
105
|
const GET_EVALUATION_ITEMS_PARAMS_SCHEMA = z.object({
|
|
97
106
|
evaluationId: z.uuid().describe('The unique identifier of the evaluation'),
|
|
98
107
|
});
|
|
99
|
-
const
|
|
100
|
-
|
|
108
|
+
const SORT_FIELDS = ['id', 'exactMatch', 'ter', 'meteor'];
|
|
109
|
+
const SORT_ENUM_VALUES = SORT_FIELDS.flatMap((field) => [field, `-${field}`]);
|
|
110
|
+
const GET_EVALUATION_ITEMS_QUERY_SCHEMA = z
|
|
111
|
+
.object({
|
|
101
112
|
limit: z.coerce.number().int().min(1).max(200).optional().default(50).describe('Page size'),
|
|
113
|
+
before: PaginationCursorCodec.optional(),
|
|
114
|
+
after: PaginationCursorCodec.optional(),
|
|
115
|
+
sort: z
|
|
116
|
+
.enum(SORT_ENUM_VALUES)
|
|
117
|
+
.optional()
|
|
118
|
+
.default('id')
|
|
119
|
+
.transform((value) => ({
|
|
120
|
+
by: (value.startsWith('-') ? value.slice(1) : value),
|
|
121
|
+
order: value.startsWith('-') ? 'desc' : 'asc',
|
|
122
|
+
}))
|
|
123
|
+
.describe('Sort field and direction. Prefix with `-` for descending, e.g. `-ter`. Valid fields: id, exactMatch, ter, meteor'),
|
|
124
|
+
'sort-config-name': z
|
|
125
|
+
.string()
|
|
126
|
+
.optional()
|
|
127
|
+
.describe('Configuration name whose metrics are used for sorting'),
|
|
128
|
+
'filter-target-locale': LOCALE_SCHEMA.optional().describe('Filter by target locale (BCP-47)'),
|
|
129
|
+
})
|
|
130
|
+
.refine((data) => data.sort.by === 'id' || data['sort-config-name'] !== undefined, {
|
|
131
|
+
message: 'sort-config-name is required when sort-by is a metric field',
|
|
132
|
+
path: ['sort-config-name'],
|
|
133
|
+
})
|
|
134
|
+
.refine((data) => {
|
|
135
|
+
if (data.sort.by === 'id') {
|
|
136
|
+
return true;
|
|
137
|
+
}
|
|
138
|
+
return [data.after, data.before]
|
|
139
|
+
.filter((c) => c !== undefined)
|
|
140
|
+
.every((cursor) => data.sort.by in cursor);
|
|
141
|
+
}, { message: 'cursor must contain the sort field' });
|
|
142
|
+
const EVALUATION_ITEMS_RESPONSE_SCHEMA = z.object({
|
|
143
|
+
data: z.array(EVALUATION_ITEM_DETAIL_SCHEMA),
|
|
144
|
+
meta: z.object({
|
|
145
|
+
resultCount: z.number().describe('Number of items returned in this page'),
|
|
146
|
+
cursor: z
|
|
147
|
+
.string()
|
|
148
|
+
.optional()
|
|
149
|
+
.describe('Opaque cursor pointing at the last item on the current page. Pass as `after` or `before` to navigate to the next or previous page.'),
|
|
150
|
+
hasMore: z.boolean().describe('Whether there are more items to fetch'),
|
|
151
|
+
}),
|
|
102
152
|
});
|
|
103
153
|
export const getEvaluationItems = buildRestContract({
|
|
104
154
|
method: 'get',
|
|
@@ -107,9 +157,9 @@ export const getEvaluationItems = buildRestContract({
|
|
|
107
157
|
requestPathParamsSchema: GET_EVALUATION_ITEMS_PARAMS_SCHEMA,
|
|
108
158
|
requestQuerySchema: GET_EVALUATION_ITEMS_QUERY_SCHEMA,
|
|
109
159
|
requestHeaderSchema: AUTH_HEADERS,
|
|
110
|
-
successResponseBodySchema:
|
|
160
|
+
successResponseBodySchema: EVALUATION_ITEMS_RESPONSE_SCHEMA,
|
|
111
161
|
responseSchemasByStatusCode: {
|
|
112
|
-
200:
|
|
162
|
+
200: EVALUATION_ITEMS_RESPONSE_SCHEMA,
|
|
113
163
|
},
|
|
114
164
|
});
|
|
115
165
|
//# sourceMappingURL=evaluation-contracts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evaluation-contracts.js","sourceRoot":"","sources":["../src/evaluation-contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"evaluation-contracts.js","sourceRoot":"","sources":["../src/evaluation-contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,aAAa,EACb,eAAe,EACf,cAAc,GACf,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,6BAA6B,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAE/E,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,YAAY,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,sDAAsD,CAAC;CACxF,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,aAAa,GAAG,iBAAiB,CAAC;IAC7C,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,mBAAmB,YAAY,EAAE;IACrE,WAAW,EAAE,2BAA2B;IACxC,uBAAuB,EAAE,4BAA4B;IACrD,mBAAmB,EAAE,YAAY;IACjC,yBAAyB,EAAE,iBAAiB;IAC5C,2BAA2B,EAAE;QAC3B,GAAG,EAAE,iBAAiB;KACvB;CACF,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,OAAO,EAAE,CAAC;SACP,GAAG,EAAE;SACL,QAAQ,CACP,qKAAqK,CACtK;CACJ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CAAC,gEAAgE,CAAC;IAC7E,WAAW,EAAE,wBAAwB,CA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CAClD,CAAA;AAUH,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC;IAC5C,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QACb,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,uCAAuC,CAAC;QACzE,MAAM,EAAE,CAAC;aACN,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,oIAAoI,CACrI;QACH,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,uCAAuC,CAAC;KACvE,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;IAClD,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,mBAAmB,YAAY,QAAQ;IAC3E,WAAW,EAAE,kEAAkE;IAC/E,uBAAuB,EAAE,kCAAkC;IAC3D,kBAAkB,EAAE,iCAAiC;IACrD,mBAAmB,EAAE,YAAY;IACjC,yBAAyB,EAAE,gCAAgC;IAC3D,2BAA2B,EAAE;QAC3B,GAAG,EAAE,gCAAgC;KACtC;CACF,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokalise/ragnarok-api-contracts",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Lokalise",
|
|
6
6
|
"url": "https://lokalise.com"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"postversion": "biome check --write package.json"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@biomejs/biome": "^2.4.
|
|
38
|
+
"@biomejs/biome": "^2.4.11",
|
|
39
39
|
"@lokalise/api-common": "^6.1.2",
|
|
40
40
|
"@lokalise/biome-config": "^3.1.0",
|
|
41
41
|
"@lokalise/tsconfig": "^3.0.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"zod": "^4.0.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@lokalise/api-contracts": "^6.
|
|
49
|
+
"@lokalise/api-contracts": "^6.8.0",
|
|
50
50
|
"@lokalise/supported-languages": "^3.2.0"
|
|
51
51
|
}
|
|
52
52
|
}
|