@lokalise/tm-api-schemas 4.3.0 → 4.4.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.
|
@@ -12,6 +12,8 @@ export declare const GET_IMPORT_PROCESSES_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
12
12
|
}>;
|
|
13
13
|
progress: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
14
14
|
upsertedRecordsCount: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
15
|
+
errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
createdAt: z.ZodISODateTime;
|
|
16
18
|
updatedAt: z.ZodISODateTime;
|
|
17
19
|
}, z.core.$strip>>;
|
|
@@ -30,6 +32,8 @@ export declare const getImportProcessesContract: import("@lokalise/api-contracts
|
|
|
30
32
|
}>;
|
|
31
33
|
progress: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
32
34
|
upsertedRecordsCount: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
35
|
+
errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
37
|
createdAt: z.ZodISODateTime;
|
|
34
38
|
updatedAt: z.ZodISODateTime;
|
|
35
39
|
}, z.core.$strip>>;
|
|
@@ -55,6 +59,8 @@ export declare const getImportProcessesContract: import("@lokalise/api-contracts
|
|
|
55
59
|
}>;
|
|
56
60
|
progress: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
57
61
|
upsertedRecordsCount: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
62
|
+
errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
64
|
createdAt: z.ZodISODateTime;
|
|
59
65
|
updatedAt: z.ZodISODateTime;
|
|
60
66
|
}, z.core.$strip>>;
|
package/dist/objects/import.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export declare const IMPORT_PROCESS_SCHEMA: z.ZodObject<{
|
|
|
18
18
|
}>;
|
|
19
19
|
progress: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
20
20
|
upsertedRecordsCount: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
21
|
+
errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
createdAt: z.ZodISODateTime;
|
|
22
24
|
updatedAt: z.ZodISODateTime;
|
|
23
25
|
}, z.core.$strip>;
|
package/dist/objects/import.js
CHANGED
|
@@ -13,6 +13,8 @@ export const IMPORT_PROCESS_SCHEMA = z.object({
|
|
|
13
13
|
status: z.enum(ImportProcessStatusEnum),
|
|
14
14
|
progress: z.coerce.number().int().min(0).max(100).default(0),
|
|
15
15
|
upsertedRecordsCount: z.coerce.number().int().min(0).default(0),
|
|
16
|
+
errorCode: z.string().nullish(),
|
|
17
|
+
errorMessage: z.string().nullish(),
|
|
16
18
|
createdAt: z.iso.datetime(),
|
|
17
19
|
updatedAt: z.iso.datetime(),
|
|
18
20
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import.js","sourceRoot":"","sources":["../../src/objects/import.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAA;AAGV,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,EAAE,EAAE,CAAC,CAA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