@lokalise/content-conversion-schemas 5.2.0 → 5.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.
- package/dist/api/contentObjects.d.ts +135 -0
- package/dist/api/contentObjects.d.ts.map +1 -1
- package/dist/api/contentObjects.js +3 -0
- package/dist/api/contentObjects.js.map +1 -1
- package/dist/api/contentObjectsNew.d.ts +225 -0
- package/dist/api/contentObjectsNew.d.ts.map +1 -1
- package/dist/api/exportObjects.d.ts +4 -4
- package/dist/api/generationObjects.d.ts +90 -0
- package/dist/api/generationObjects.d.ts.map +1 -1
- package/dist/api/pptx.d.ts +24 -0
- package/dist/api/pptx.d.ts.map +1 -0
- package/dist/api/pptx.js +21 -0
- package/dist/api/pptx.js.map +1 -0
- package/dist/api/textUnitMetadata.d.ts +47 -0
- package/dist/api/textUnitMetadata.d.ts.map +1 -0
- package/dist/api/textUnitMetadata.js +9 -0
- package/dist/api/textUnitMetadata.js.map +1 -0
- package/dist/api/translationObjects.d.ts +9 -9
- package/dist/api/xcstings.d.ts +57 -0
- package/dist/api/xcstings.d.ts.map +1 -0
- package/dist/api/xcstings.js +54 -0
- package/dist/api/xcstings.js.map +1 -0
- package/dist/events/conversion.d.ts +414 -9
- package/dist/events/conversion.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -41,6 +41,7 @@ export declare const TEXT_UNIT_SCHEMA: z.ZodObject<{
|
|
|
41
41
|
id: z.ZodString;
|
|
42
42
|
name: z.ZodOptional<z.ZodString>;
|
|
43
43
|
locale: z.ZodOptional<z.ZodString>;
|
|
44
|
+
isTranslatable: z.ZodBoolean;
|
|
44
45
|
source: z.ZodObject<{
|
|
45
46
|
textCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
46
47
|
id: z.ZodString;
|
|
@@ -56,6 +57,50 @@ export declare const TEXT_UNIT_SCHEMA: z.ZodObject<{
|
|
|
56
57
|
hasBeenSegmented: z.ZodBoolean;
|
|
57
58
|
segments: z.ZodArray<z.ZodString>;
|
|
58
59
|
}, z.core.$strip>;
|
|
60
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
61
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
62
|
+
slideNumber: z.ZodNumber;
|
|
63
|
+
slideType: z.ZodEnum<{
|
|
64
|
+
readonly LAYOUT: "LAYOUT";
|
|
65
|
+
readonly NOTES: "NOTES";
|
|
66
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
67
|
+
readonly SLIDE: "SLIDE";
|
|
68
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
69
|
+
readonly CHART: "CHART";
|
|
70
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
71
|
+
}>;
|
|
72
|
+
}, z.core.$strip>>;
|
|
73
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
74
|
+
state: z.ZodOptional<z.ZodString>;
|
|
75
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
76
|
+
localizationType: z.ZodEnum<{
|
|
77
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
78
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
79
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
80
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
81
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
82
|
+
}>;
|
|
83
|
+
keyPath: z.ZodString;
|
|
84
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
85
|
+
readonly MAC: "MAC";
|
|
86
|
+
readonly IPHONE: "IPHONE";
|
|
87
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
88
|
+
readonly IPAD: "IPAD";
|
|
89
|
+
readonly OTHER: "OTHER";
|
|
90
|
+
}>>;
|
|
91
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
92
|
+
readonly ZERO: "ZERO";
|
|
93
|
+
readonly ONE: "ONE";
|
|
94
|
+
readonly TWO: "TWO";
|
|
95
|
+
readonly FEW: "FEW";
|
|
96
|
+
readonly MANY: "MANY";
|
|
97
|
+
readonly OTHER: "OTHER";
|
|
98
|
+
}>>;
|
|
99
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
100
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
101
|
+
isPlural: z.ZodBoolean;
|
|
102
|
+
}, z.core.$strip>>;
|
|
103
|
+
}, z.core.$strip>>;
|
|
59
104
|
}, z.core.$strip>;
|
|
60
105
|
export declare const RAW_CONTENT_UNIT_SCHEMA: z.ZodObject<{
|
|
61
106
|
id: z.ZodString;
|
|
@@ -111,6 +156,7 @@ export declare const PARSED_CONTENT_UNIT_SCHEMA: z.ZodObject<{
|
|
|
111
156
|
id: z.ZodString;
|
|
112
157
|
name: z.ZodOptional<z.ZodString>;
|
|
113
158
|
locale: z.ZodOptional<z.ZodString>;
|
|
159
|
+
isTranslatable: z.ZodBoolean;
|
|
114
160
|
source: z.ZodObject<{
|
|
115
161
|
textCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
116
162
|
id: z.ZodString;
|
|
@@ -126,6 +172,50 @@ export declare const PARSED_CONTENT_UNIT_SCHEMA: z.ZodObject<{
|
|
|
126
172
|
hasBeenSegmented: z.ZodBoolean;
|
|
127
173
|
segments: z.ZodArray<z.ZodString>;
|
|
128
174
|
}, z.core.$strip>;
|
|
175
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
176
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
177
|
+
slideNumber: z.ZodNumber;
|
|
178
|
+
slideType: z.ZodEnum<{
|
|
179
|
+
readonly LAYOUT: "LAYOUT";
|
|
180
|
+
readonly NOTES: "NOTES";
|
|
181
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
182
|
+
readonly SLIDE: "SLIDE";
|
|
183
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
184
|
+
readonly CHART: "CHART";
|
|
185
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
186
|
+
}>;
|
|
187
|
+
}, z.core.$strip>>;
|
|
188
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
189
|
+
state: z.ZodOptional<z.ZodString>;
|
|
190
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
191
|
+
localizationType: z.ZodEnum<{
|
|
192
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
193
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
194
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
195
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
196
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
197
|
+
}>;
|
|
198
|
+
keyPath: z.ZodString;
|
|
199
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
200
|
+
readonly MAC: "MAC";
|
|
201
|
+
readonly IPHONE: "IPHONE";
|
|
202
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
203
|
+
readonly IPAD: "IPAD";
|
|
204
|
+
readonly OTHER: "OTHER";
|
|
205
|
+
}>>;
|
|
206
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
207
|
+
readonly ZERO: "ZERO";
|
|
208
|
+
readonly ONE: "ONE";
|
|
209
|
+
readonly TWO: "TWO";
|
|
210
|
+
readonly FEW: "FEW";
|
|
211
|
+
readonly MANY: "MANY";
|
|
212
|
+
readonly OTHER: "OTHER";
|
|
213
|
+
}>>;
|
|
214
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
215
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
216
|
+
isPlural: z.ZodBoolean;
|
|
217
|
+
}, z.core.$strip>>;
|
|
218
|
+
}, z.core.$strip>>;
|
|
129
219
|
}, z.core.$strip>>;
|
|
130
220
|
position: z.ZodNumber;
|
|
131
221
|
}, z.core.$strip>;
|
|
@@ -198,6 +288,7 @@ export declare const PARSED_CONTENT_ITEM_SCHEMA: z.ZodObject<{
|
|
|
198
288
|
id: z.ZodString;
|
|
199
289
|
name: z.ZodOptional<z.ZodString>;
|
|
200
290
|
locale: z.ZodOptional<z.ZodString>;
|
|
291
|
+
isTranslatable: z.ZodBoolean;
|
|
201
292
|
source: z.ZodObject<{
|
|
202
293
|
textCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
203
294
|
id: z.ZodString;
|
|
@@ -213,6 +304,50 @@ export declare const PARSED_CONTENT_ITEM_SCHEMA: z.ZodObject<{
|
|
|
213
304
|
hasBeenSegmented: z.ZodBoolean;
|
|
214
305
|
segments: z.ZodArray<z.ZodString>;
|
|
215
306
|
}, z.core.$strip>;
|
|
307
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
308
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
309
|
+
slideNumber: z.ZodNumber;
|
|
310
|
+
slideType: z.ZodEnum<{
|
|
311
|
+
readonly LAYOUT: "LAYOUT";
|
|
312
|
+
readonly NOTES: "NOTES";
|
|
313
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
314
|
+
readonly SLIDE: "SLIDE";
|
|
315
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
316
|
+
readonly CHART: "CHART";
|
|
317
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
318
|
+
}>;
|
|
319
|
+
}, z.core.$strip>>;
|
|
320
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
321
|
+
state: z.ZodOptional<z.ZodString>;
|
|
322
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
323
|
+
localizationType: z.ZodEnum<{
|
|
324
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
325
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
326
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
327
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
328
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
329
|
+
}>;
|
|
330
|
+
keyPath: z.ZodString;
|
|
331
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
332
|
+
readonly MAC: "MAC";
|
|
333
|
+
readonly IPHONE: "IPHONE";
|
|
334
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
335
|
+
readonly IPAD: "IPAD";
|
|
336
|
+
readonly OTHER: "OTHER";
|
|
337
|
+
}>>;
|
|
338
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
339
|
+
readonly ZERO: "ZERO";
|
|
340
|
+
readonly ONE: "ONE";
|
|
341
|
+
readonly TWO: "TWO";
|
|
342
|
+
readonly FEW: "FEW";
|
|
343
|
+
readonly MANY: "MANY";
|
|
344
|
+
readonly OTHER: "OTHER";
|
|
345
|
+
}>>;
|
|
346
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
347
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
348
|
+
isPlural: z.ZodBoolean;
|
|
349
|
+
}, z.core.$strip>>;
|
|
350
|
+
}, z.core.$strip>>;
|
|
216
351
|
}, z.core.$strip>>;
|
|
217
352
|
position: z.ZodNumber;
|
|
218
353
|
}, z.core.$strip>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contentObjects.d.ts","sourceRoot":"","sources":["../../src/api/contentObjects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"contentObjects.d.ts","sourceRoot":"","sources":["../../src/api/contentObjects.ts"],"names":[],"mappings":"AAAA;;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,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAC1E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAC1E,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AACvD,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AACvD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
import { ContentUnitTypeEnum } from '@lokalise/common-api-schemas';
|
|
22
22
|
import { z } from 'zod/v4';
|
|
23
23
|
import { ItemOriginEnum } from "./enums.js";
|
|
24
|
+
import { TEXT_UNIT_METADATA_ATTRIBUTES_SCHEMA } from "./textUnitMetadata.js";
|
|
24
25
|
export const TextCodeTypeEnum = {
|
|
25
26
|
OPENING: 'OPENING',
|
|
26
27
|
CLOSING: 'CLOSING',
|
|
@@ -54,6 +55,7 @@ export const TEXT_UNIT_SCHEMA = z
|
|
|
54
55
|
.max(16)
|
|
55
56
|
.optional()
|
|
56
57
|
.describe('Locale of the text unit. Will be present if content is multilingual.'),
|
|
58
|
+
isTranslatable: z.boolean().describe('Indicates whether the text unit is translatable or not'),
|
|
57
59
|
source: z.object({
|
|
58
60
|
textCodes: TEXT_CODE_SCHEMA.array().nullish(),
|
|
59
61
|
hasBeenSegmented: z
|
|
@@ -61,6 +63,7 @@ export const TEXT_UNIT_SCHEMA = z
|
|
|
61
63
|
.describe('Indicates whether the segmentation was applied to the text unit.'),
|
|
62
64
|
segments: TEXT_SEGMENT_SCHEMA.array().describe('The text parts that make up the text unit. If the text unit has not been segmented, the array will contain a single segment.'),
|
|
63
65
|
}),
|
|
66
|
+
metadata: TEXT_UNIT_METADATA_ATTRIBUTES_SCHEMA.optional().describe('Optional metadata associated with the text unit.'),
|
|
64
67
|
})
|
|
65
68
|
.describe('Represents a text unit, the basic unit of extraction from a parser. May be split further into segments.');
|
|
66
69
|
export const RAW_CONTENT_UNIT_SCHEMA = z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contentObjects.js","sourceRoot":"","sources":["../../src/api/contentObjects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAClE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"contentObjects.js","sourceRoot":"","sources":["../../src/api/contentObjects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAClE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAC3C,OAAO,EAAE,oCAAoC,EAAE,MAAM,uBAAuB,CAAA;AAE5E,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;CAClB,CAAA;AAGV,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC;KAC9B,MAAM,CAAC;IACN,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;IAC9B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAChC,MAAM,EAAE,CAAC;SACN,OAAO,CAAC,OAAO,CAAC;SAChB,OAAO,CAAC,OAAO,CAAC;SAChB,QAAQ,C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ACxC,CAAC,CACH;SACA,QAAQ,CAAC,yCAAyC,CAAC;CACvD,CAAC,CAAC,QAAQ,CAAC,6BAA6B,CAAC,CAAA"}
|
|
@@ -80,6 +80,7 @@ export declare const PARSED_CONTENT_UNIT_RESULT_SCHEMA: z.ZodUnion<readonly [z.Z
|
|
|
80
80
|
id: z.ZodString;
|
|
81
81
|
name: z.ZodOptional<z.ZodString>;
|
|
82
82
|
locale: z.ZodOptional<z.ZodString>;
|
|
83
|
+
isTranslatable: z.ZodBoolean;
|
|
83
84
|
source: z.ZodObject<{
|
|
84
85
|
textCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
85
86
|
id: z.ZodString;
|
|
@@ -95,6 +96,50 @@ export declare const PARSED_CONTENT_UNIT_RESULT_SCHEMA: z.ZodUnion<readonly [z.Z
|
|
|
95
96
|
hasBeenSegmented: z.ZodBoolean;
|
|
96
97
|
segments: z.ZodArray<z.ZodString>;
|
|
97
98
|
}, z.core.$strip>;
|
|
99
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
100
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
101
|
+
slideNumber: z.ZodNumber;
|
|
102
|
+
slideType: z.ZodEnum<{
|
|
103
|
+
readonly LAYOUT: "LAYOUT";
|
|
104
|
+
readonly NOTES: "NOTES";
|
|
105
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
106
|
+
readonly SLIDE: "SLIDE";
|
|
107
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
108
|
+
readonly CHART: "CHART";
|
|
109
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
110
|
+
}>;
|
|
111
|
+
}, z.core.$strip>>;
|
|
112
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
113
|
+
state: z.ZodOptional<z.ZodString>;
|
|
114
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
115
|
+
localizationType: z.ZodEnum<{
|
|
116
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
117
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
118
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
119
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
120
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
121
|
+
}>;
|
|
122
|
+
keyPath: z.ZodString;
|
|
123
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
124
|
+
readonly MAC: "MAC";
|
|
125
|
+
readonly IPHONE: "IPHONE";
|
|
126
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
127
|
+
readonly IPAD: "IPAD";
|
|
128
|
+
readonly OTHER: "OTHER";
|
|
129
|
+
}>>;
|
|
130
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
131
|
+
readonly ZERO: "ZERO";
|
|
132
|
+
readonly ONE: "ONE";
|
|
133
|
+
readonly TWO: "TWO";
|
|
134
|
+
readonly FEW: "FEW";
|
|
135
|
+
readonly MANY: "MANY";
|
|
136
|
+
readonly OTHER: "OTHER";
|
|
137
|
+
}>>;
|
|
138
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
139
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
140
|
+
isPlural: z.ZodBoolean;
|
|
141
|
+
}, z.core.$strip>>;
|
|
142
|
+
}, z.core.$strip>>;
|
|
98
143
|
}, z.core.$strip>>;
|
|
99
144
|
parsedContentStorageId: z.ZodOptional<z.ZodNever>;
|
|
100
145
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -129,6 +174,7 @@ export declare const PARSED_CONTENT_UNIT_SCHEMA_NEW: z.ZodObject<{
|
|
|
129
174
|
id: z.ZodString;
|
|
130
175
|
name: z.ZodOptional<z.ZodString>;
|
|
131
176
|
locale: z.ZodOptional<z.ZodString>;
|
|
177
|
+
isTranslatable: z.ZodBoolean;
|
|
132
178
|
source: z.ZodObject<{
|
|
133
179
|
textCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
134
180
|
id: z.ZodString;
|
|
@@ -144,6 +190,50 @@ export declare const PARSED_CONTENT_UNIT_SCHEMA_NEW: z.ZodObject<{
|
|
|
144
190
|
hasBeenSegmented: z.ZodBoolean;
|
|
145
191
|
segments: z.ZodArray<z.ZodString>;
|
|
146
192
|
}, z.core.$strip>;
|
|
193
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
194
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
195
|
+
slideNumber: z.ZodNumber;
|
|
196
|
+
slideType: z.ZodEnum<{
|
|
197
|
+
readonly LAYOUT: "LAYOUT";
|
|
198
|
+
readonly NOTES: "NOTES";
|
|
199
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
200
|
+
readonly SLIDE: "SLIDE";
|
|
201
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
202
|
+
readonly CHART: "CHART";
|
|
203
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
204
|
+
}>;
|
|
205
|
+
}, z.core.$strip>>;
|
|
206
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
207
|
+
state: z.ZodOptional<z.ZodString>;
|
|
208
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
209
|
+
localizationType: z.ZodEnum<{
|
|
210
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
211
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
212
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
213
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
214
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
215
|
+
}>;
|
|
216
|
+
keyPath: z.ZodString;
|
|
217
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
218
|
+
readonly MAC: "MAC";
|
|
219
|
+
readonly IPHONE: "IPHONE";
|
|
220
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
221
|
+
readonly IPAD: "IPAD";
|
|
222
|
+
readonly OTHER: "OTHER";
|
|
223
|
+
}>>;
|
|
224
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
225
|
+
readonly ZERO: "ZERO";
|
|
226
|
+
readonly ONE: "ONE";
|
|
227
|
+
readonly TWO: "TWO";
|
|
228
|
+
readonly FEW: "FEW";
|
|
229
|
+
readonly MANY: "MANY";
|
|
230
|
+
readonly OTHER: "OTHER";
|
|
231
|
+
}>>;
|
|
232
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
233
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
234
|
+
isPlural: z.ZodBoolean;
|
|
235
|
+
}, z.core.$strip>>;
|
|
236
|
+
}, z.core.$strip>>;
|
|
147
237
|
}, z.core.$strip>>;
|
|
148
238
|
parsedContentStorageId: z.ZodOptional<z.ZodNever>;
|
|
149
239
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -246,6 +336,7 @@ export declare const PARTIALLY_FAILED_CONTENT_ITEM_SCHEMA: z.ZodObject<{
|
|
|
246
336
|
id: z.ZodString;
|
|
247
337
|
name: z.ZodOptional<z.ZodString>;
|
|
248
338
|
locale: z.ZodOptional<z.ZodString>;
|
|
339
|
+
isTranslatable: z.ZodBoolean;
|
|
249
340
|
source: z.ZodObject<{
|
|
250
341
|
textCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
251
342
|
id: z.ZodString;
|
|
@@ -261,6 +352,50 @@ export declare const PARTIALLY_FAILED_CONTENT_ITEM_SCHEMA: z.ZodObject<{
|
|
|
261
352
|
hasBeenSegmented: z.ZodBoolean;
|
|
262
353
|
segments: z.ZodArray<z.ZodString>;
|
|
263
354
|
}, z.core.$strip>;
|
|
355
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
356
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
357
|
+
slideNumber: z.ZodNumber;
|
|
358
|
+
slideType: z.ZodEnum<{
|
|
359
|
+
readonly LAYOUT: "LAYOUT";
|
|
360
|
+
readonly NOTES: "NOTES";
|
|
361
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
362
|
+
readonly SLIDE: "SLIDE";
|
|
363
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
364
|
+
readonly CHART: "CHART";
|
|
365
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
366
|
+
}>;
|
|
367
|
+
}, z.core.$strip>>;
|
|
368
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
369
|
+
state: z.ZodOptional<z.ZodString>;
|
|
370
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
371
|
+
localizationType: z.ZodEnum<{
|
|
372
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
373
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
374
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
375
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
376
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
377
|
+
}>;
|
|
378
|
+
keyPath: z.ZodString;
|
|
379
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
380
|
+
readonly MAC: "MAC";
|
|
381
|
+
readonly IPHONE: "IPHONE";
|
|
382
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
383
|
+
readonly IPAD: "IPAD";
|
|
384
|
+
readonly OTHER: "OTHER";
|
|
385
|
+
}>>;
|
|
386
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
387
|
+
readonly ZERO: "ZERO";
|
|
388
|
+
readonly ONE: "ONE";
|
|
389
|
+
readonly TWO: "TWO";
|
|
390
|
+
readonly FEW: "FEW";
|
|
391
|
+
readonly MANY: "MANY";
|
|
392
|
+
readonly OTHER: "OTHER";
|
|
393
|
+
}>>;
|
|
394
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
395
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
396
|
+
isPlural: z.ZodBoolean;
|
|
397
|
+
}, z.core.$strip>>;
|
|
398
|
+
}, z.core.$strip>>;
|
|
264
399
|
}, z.core.$strip>>;
|
|
265
400
|
parsedContentStorageId: z.ZodOptional<z.ZodNever>;
|
|
266
401
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -392,6 +527,7 @@ export declare const PARSE_CONTENT_ITEM_RESULT_SCHEMA: z.ZodDiscriminatedUnion<[
|
|
|
392
527
|
id: z.ZodString;
|
|
393
528
|
name: z.ZodOptional<z.ZodString>;
|
|
394
529
|
locale: z.ZodOptional<z.ZodString>;
|
|
530
|
+
isTranslatable: z.ZodBoolean;
|
|
395
531
|
source: z.ZodObject<{
|
|
396
532
|
textCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
397
533
|
id: z.ZodString;
|
|
@@ -407,6 +543,50 @@ export declare const PARSE_CONTENT_ITEM_RESULT_SCHEMA: z.ZodDiscriminatedUnion<[
|
|
|
407
543
|
hasBeenSegmented: z.ZodBoolean;
|
|
408
544
|
segments: z.ZodArray<z.ZodString>;
|
|
409
545
|
}, z.core.$strip>;
|
|
546
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
547
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
548
|
+
slideNumber: z.ZodNumber;
|
|
549
|
+
slideType: z.ZodEnum<{
|
|
550
|
+
readonly LAYOUT: "LAYOUT";
|
|
551
|
+
readonly NOTES: "NOTES";
|
|
552
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
553
|
+
readonly SLIDE: "SLIDE";
|
|
554
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
555
|
+
readonly CHART: "CHART";
|
|
556
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
557
|
+
}>;
|
|
558
|
+
}, z.core.$strip>>;
|
|
559
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
560
|
+
state: z.ZodOptional<z.ZodString>;
|
|
561
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
562
|
+
localizationType: z.ZodEnum<{
|
|
563
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
564
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
565
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
566
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
567
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
568
|
+
}>;
|
|
569
|
+
keyPath: z.ZodString;
|
|
570
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
571
|
+
readonly MAC: "MAC";
|
|
572
|
+
readonly IPHONE: "IPHONE";
|
|
573
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
574
|
+
readonly IPAD: "IPAD";
|
|
575
|
+
readonly OTHER: "OTHER";
|
|
576
|
+
}>>;
|
|
577
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
578
|
+
readonly ZERO: "ZERO";
|
|
579
|
+
readonly ONE: "ONE";
|
|
580
|
+
readonly TWO: "TWO";
|
|
581
|
+
readonly FEW: "FEW";
|
|
582
|
+
readonly MANY: "MANY";
|
|
583
|
+
readonly OTHER: "OTHER";
|
|
584
|
+
}>>;
|
|
585
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
586
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
587
|
+
isPlural: z.ZodBoolean;
|
|
588
|
+
}, z.core.$strip>>;
|
|
589
|
+
}, z.core.$strip>>;
|
|
410
590
|
}, z.core.$strip>>;
|
|
411
591
|
parsedContentStorageId: z.ZodOptional<z.ZodNever>;
|
|
412
592
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -494,6 +674,7 @@ export declare const PARSE_CONTENT_ITEM_RESULT_SCHEMA: z.ZodDiscriminatedUnion<[
|
|
|
494
674
|
id: z.ZodString;
|
|
495
675
|
name: z.ZodOptional<z.ZodString>;
|
|
496
676
|
locale: z.ZodOptional<z.ZodString>;
|
|
677
|
+
isTranslatable: z.ZodBoolean;
|
|
497
678
|
source: z.ZodObject<{
|
|
498
679
|
textCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
499
680
|
id: z.ZodString;
|
|
@@ -509,6 +690,50 @@ export declare const PARSE_CONTENT_ITEM_RESULT_SCHEMA: z.ZodDiscriminatedUnion<[
|
|
|
509
690
|
hasBeenSegmented: z.ZodBoolean;
|
|
510
691
|
segments: z.ZodArray<z.ZodString>;
|
|
511
692
|
}, z.core.$strip>;
|
|
693
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
694
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
695
|
+
slideNumber: z.ZodNumber;
|
|
696
|
+
slideType: z.ZodEnum<{
|
|
697
|
+
readonly LAYOUT: "LAYOUT";
|
|
698
|
+
readonly NOTES: "NOTES";
|
|
699
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
700
|
+
readonly SLIDE: "SLIDE";
|
|
701
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
702
|
+
readonly CHART: "CHART";
|
|
703
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
704
|
+
}>;
|
|
705
|
+
}, z.core.$strip>>;
|
|
706
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
707
|
+
state: z.ZodOptional<z.ZodString>;
|
|
708
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
709
|
+
localizationType: z.ZodEnum<{
|
|
710
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
711
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
712
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
713
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
714
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
715
|
+
}>;
|
|
716
|
+
keyPath: z.ZodString;
|
|
717
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
718
|
+
readonly MAC: "MAC";
|
|
719
|
+
readonly IPHONE: "IPHONE";
|
|
720
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
721
|
+
readonly IPAD: "IPAD";
|
|
722
|
+
readonly OTHER: "OTHER";
|
|
723
|
+
}>>;
|
|
724
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
725
|
+
readonly ZERO: "ZERO";
|
|
726
|
+
readonly ONE: "ONE";
|
|
727
|
+
readonly TWO: "TWO";
|
|
728
|
+
readonly FEW: "FEW";
|
|
729
|
+
readonly MANY: "MANY";
|
|
730
|
+
readonly OTHER: "OTHER";
|
|
731
|
+
}>>;
|
|
732
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
733
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
734
|
+
isPlural: z.ZodBoolean;
|
|
735
|
+
}, z.core.$strip>>;
|
|
736
|
+
}, z.core.$strip>>;
|
|
512
737
|
}, z.core.$strip>>;
|
|
513
738
|
parsedContentStorageId: z.ZodOptional<z.ZodNever>;
|
|
514
739
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contentObjectsNew.d.ts","sourceRoot":"","sources":["../../src/api/contentObjectsNew.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAG1B,eAAO,MAAM,mBAAmB;;;;;;;;;mBAY9B,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqBtC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQtC,CAAA;AAEF,eAAO,MAAM,iCAAiC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAO3C,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAC3E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAC3E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA;AACvF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AACjF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AACrF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAC1E,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAA"}
|
|
@@ -82,8 +82,8 @@ export declare const SEGMENT_SCHEMA: z.ZodObject<{
|
|
|
82
82
|
export type Segment = z.infer<typeof SEGMENT_SCHEMA>;
|
|
83
83
|
export declare const EXPORTABLE_SEGMENT_SCHEMA: z.ZodObject<{
|
|
84
84
|
number: z.ZodNumber;
|
|
85
|
-
id: z.ZodGUID;
|
|
86
85
|
value: z.ZodString;
|
|
86
|
+
id: z.ZodGUID;
|
|
87
87
|
contentLanguageId: z.ZodGUID;
|
|
88
88
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
89
89
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -96,8 +96,8 @@ export declare const EXPORTABLE_TEXT_UNIT_SCHEMA: z.ZodObject<{
|
|
|
96
96
|
metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
97
97
|
segments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
98
98
|
number: z.ZodNumber;
|
|
99
|
-
id: z.ZodGUID;
|
|
100
99
|
value: z.ZodString;
|
|
100
|
+
id: z.ZodGUID;
|
|
101
101
|
contentLanguageId: z.ZodGUID;
|
|
102
102
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
103
103
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -129,8 +129,8 @@ export declare const EXPORTABLE_CONTENT_UNIT_SCHEMA: z.ZodObject<{
|
|
|
129
129
|
metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
130
130
|
segments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
131
131
|
number: z.ZodNumber;
|
|
132
|
-
id: z.ZodGUID;
|
|
133
132
|
value: z.ZodString;
|
|
133
|
+
id: z.ZodGUID;
|
|
134
134
|
contentLanguageId: z.ZodGUID;
|
|
135
135
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
136
136
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -219,8 +219,8 @@ export declare const EXPORTABLE_ITEM: z.ZodObject<{
|
|
|
219
219
|
metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
220
220
|
segments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
221
221
|
number: z.ZodNumber;
|
|
222
|
-
id: z.ZodGUID;
|
|
223
222
|
value: z.ZodString;
|
|
223
|
+
id: z.ZodGUID;
|
|
224
224
|
contentLanguageId: z.ZodGUID;
|
|
225
225
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
226
226
|
prefix: z.ZodOptional<z.ZodString>;
|