@lokalise/content-type-app-engine-contracts 4.1.0 → 4.2.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.
|
@@ -8,7 +8,6 @@ export declare const getEnvContract: import("@lokalise/api-contracts").GetRouteD
|
|
|
8
8
|
cacheItemStructure: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
9
9
|
refreshTimestamp: z.ZodNumber;
|
|
10
10
|
features: z.ZodObject<{
|
|
11
|
-
skippingEmptyTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
12
11
|
showSkipEmptyOptionOnImport: z.ZodOptional<z.ZodBoolean>;
|
|
13
12
|
supportedImportTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
13
|
id: z.ZodString;
|
|
@@ -35,7 +34,6 @@ export declare const getEnvContract: import("@lokalise/api-contracts").GetRouteD
|
|
|
35
34
|
cacheItemStructure: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
36
35
|
refreshTimestamp: z.ZodNumber;
|
|
37
36
|
features: z.ZodObject<{
|
|
38
|
-
skippingEmptyTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
39
37
|
showSkipEmptyOptionOnImport: z.ZodOptional<z.ZodBoolean>;
|
|
40
38
|
supportedImportTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
41
39
|
id: z.ZodString;
|
|
@@ -77,7 +75,6 @@ export declare const getEnvContractV2: import("@lokalise/api-contracts").GetRout
|
|
|
77
75
|
}, z.core.$strip>>;
|
|
78
76
|
refreshTimestamp: z.ZodNumber;
|
|
79
77
|
features: z.ZodObject<{
|
|
80
|
-
skippingEmptyTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
81
78
|
showSkipEmptyOptionOnImport: z.ZodOptional<z.ZodBoolean>;
|
|
82
79
|
supportedImportTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
83
80
|
id: z.ZodString;
|
|
@@ -108,7 +105,6 @@ export declare const getEnvContractV2: import("@lokalise/api-contracts").GetRout
|
|
|
108
105
|
}, z.core.$strip>>;
|
|
109
106
|
refreshTimestamp: z.ZodNumber;
|
|
110
107
|
features: z.ZodObject<{
|
|
111
|
-
skippingEmptyTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
112
108
|
showSkipEmptyOptionOnImport: z.ZodOptional<z.ZodBoolean>;
|
|
113
109
|
supportedImportTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
114
110
|
id: z.ZodString;
|
|
@@ -5,7 +5,6 @@ export declare const IMPORT_TAG_SCHEMA: z.ZodObject<{
|
|
|
5
5
|
}, z.core.$strip>;
|
|
6
6
|
export type ImportTag = z.infer<typeof IMPORT_TAG_SCHEMA>;
|
|
7
7
|
export declare const FEATURES_SCHEMA: z.ZodObject<{
|
|
8
|
-
skippingEmptyTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
9
8
|
showSkipEmptyOptionOnImport: z.ZodOptional<z.ZodBoolean>;
|
|
10
9
|
supportedImportTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11
10
|
id: z.ZodString;
|
|
@@ -23,7 +22,6 @@ export declare const GET_ENV_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
23
22
|
cacheItemStructure: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
24
23
|
refreshTimestamp: z.ZodNumber;
|
|
25
24
|
features: z.ZodObject<{
|
|
26
|
-
skippingEmptyTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
27
25
|
showSkipEmptyOptionOnImport: z.ZodOptional<z.ZodBoolean>;
|
|
28
26
|
supportedImportTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
29
27
|
id: z.ZodString;
|
|
@@ -49,7 +47,6 @@ export declare const GET_ENV_RESPONSE_SCHEMA_V2: z.ZodObject<{
|
|
|
49
47
|
}, z.core.$strip>>;
|
|
50
48
|
refreshTimestamp: z.ZodNumber;
|
|
51
49
|
features: z.ZodObject<{
|
|
52
|
-
skippingEmptyTranslations: z.ZodOptional<z.ZodBoolean>;
|
|
53
50
|
showSkipEmptyOptionOnImport: z.ZodOptional<z.ZodBoolean>;
|
|
54
51
|
supportedImportTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
55
52
|
id: z.ZodString;
|
|
@@ -6,8 +6,6 @@ export const IMPORT_TAG_SCHEMA = z.object({
|
|
|
6
6
|
title: z.string().trim().min(1),
|
|
7
7
|
});
|
|
8
8
|
export const FEATURES_SCHEMA = z.object({
|
|
9
|
-
/** @deprecated Will be removed within next versions, use showSkipEmptyOptionOnImport */
|
|
10
|
-
skippingEmptyTranslations: z.boolean().optional(),
|
|
11
9
|
showSkipEmptyOptionOnImport: z
|
|
12
10
|
.boolean()
|
|
13
11
|
.optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envSchemas.js","sourceRoot":"","sources":["../../../src/schemas/env/envSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAE9D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAChC,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,
|
|
1
|
+
{"version":3,"file":"envSchemas.js","sourceRoot":"","sources":["../../../src/schemas/env/envSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,EAAE,CAAC,EAAE,MAAM,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