@lokalise/content-conversion-schemas 5.2.0 → 5.3.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 +132 -0
- package/dist/api/contentObjects.d.ts.map +1 -1
- package/dist/api/contentObjects.js +2 -0
- package/dist/api/contentObjects.js.map +1 -1
- package/dist/api/contentObjectsNew.d.ts +220 -0
- package/dist/api/contentObjectsNew.d.ts.map +1 -1
- package/dist/api/exportObjects.d.ts +4 -4
- package/dist/api/generationObjects.d.ts +88 -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 +405 -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
|
@@ -56,6 +56,50 @@ export declare const TEXT_UNIT_SCHEMA: z.ZodObject<{
|
|
|
56
56
|
hasBeenSegmented: z.ZodBoolean;
|
|
57
57
|
segments: z.ZodArray<z.ZodString>;
|
|
58
58
|
}, z.core.$strip>;
|
|
59
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
61
|
+
slideNumber: z.ZodNumber;
|
|
62
|
+
slideType: z.ZodEnum<{
|
|
63
|
+
readonly LAYOUT: "LAYOUT";
|
|
64
|
+
readonly NOTES: "NOTES";
|
|
65
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
66
|
+
readonly SLIDE: "SLIDE";
|
|
67
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
68
|
+
readonly CHART: "CHART";
|
|
69
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
70
|
+
}>;
|
|
71
|
+
}, z.core.$strip>>;
|
|
72
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
73
|
+
state: z.ZodOptional<z.ZodString>;
|
|
74
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
75
|
+
localizationType: z.ZodEnum<{
|
|
76
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
77
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
78
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
79
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
80
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
81
|
+
}>;
|
|
82
|
+
keyPath: z.ZodString;
|
|
83
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
84
|
+
readonly MAC: "MAC";
|
|
85
|
+
readonly IPHONE: "IPHONE";
|
|
86
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
87
|
+
readonly IPAD: "IPAD";
|
|
88
|
+
readonly OTHER: "OTHER";
|
|
89
|
+
}>>;
|
|
90
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
91
|
+
readonly ZERO: "ZERO";
|
|
92
|
+
readonly ONE: "ONE";
|
|
93
|
+
readonly TWO: "TWO";
|
|
94
|
+
readonly FEW: "FEW";
|
|
95
|
+
readonly MANY: "MANY";
|
|
96
|
+
readonly OTHER: "OTHER";
|
|
97
|
+
}>>;
|
|
98
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
99
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
100
|
+
isPlural: z.ZodBoolean;
|
|
101
|
+
}, z.core.$strip>>;
|
|
102
|
+
}, z.core.$strip>>;
|
|
59
103
|
}, z.core.$strip>;
|
|
60
104
|
export declare const RAW_CONTENT_UNIT_SCHEMA: z.ZodObject<{
|
|
61
105
|
id: z.ZodString;
|
|
@@ -126,6 +170,50 @@ export declare const PARSED_CONTENT_UNIT_SCHEMA: z.ZodObject<{
|
|
|
126
170
|
hasBeenSegmented: z.ZodBoolean;
|
|
127
171
|
segments: z.ZodArray<z.ZodString>;
|
|
128
172
|
}, z.core.$strip>;
|
|
173
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
174
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
175
|
+
slideNumber: z.ZodNumber;
|
|
176
|
+
slideType: z.ZodEnum<{
|
|
177
|
+
readonly LAYOUT: "LAYOUT";
|
|
178
|
+
readonly NOTES: "NOTES";
|
|
179
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
180
|
+
readonly SLIDE: "SLIDE";
|
|
181
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
182
|
+
readonly CHART: "CHART";
|
|
183
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
184
|
+
}>;
|
|
185
|
+
}, z.core.$strip>>;
|
|
186
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
187
|
+
state: z.ZodOptional<z.ZodString>;
|
|
188
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
189
|
+
localizationType: z.ZodEnum<{
|
|
190
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
191
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
192
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
193
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
194
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
195
|
+
}>;
|
|
196
|
+
keyPath: z.ZodString;
|
|
197
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
198
|
+
readonly MAC: "MAC";
|
|
199
|
+
readonly IPHONE: "IPHONE";
|
|
200
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
201
|
+
readonly IPAD: "IPAD";
|
|
202
|
+
readonly OTHER: "OTHER";
|
|
203
|
+
}>>;
|
|
204
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
205
|
+
readonly ZERO: "ZERO";
|
|
206
|
+
readonly ONE: "ONE";
|
|
207
|
+
readonly TWO: "TWO";
|
|
208
|
+
readonly FEW: "FEW";
|
|
209
|
+
readonly MANY: "MANY";
|
|
210
|
+
readonly OTHER: "OTHER";
|
|
211
|
+
}>>;
|
|
212
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
213
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
214
|
+
isPlural: z.ZodBoolean;
|
|
215
|
+
}, z.core.$strip>>;
|
|
216
|
+
}, z.core.$strip>>;
|
|
129
217
|
}, z.core.$strip>>;
|
|
130
218
|
position: z.ZodNumber;
|
|
131
219
|
}, z.core.$strip>;
|
|
@@ -213,6 +301,50 @@ export declare const PARSED_CONTENT_ITEM_SCHEMA: z.ZodObject<{
|
|
|
213
301
|
hasBeenSegmented: z.ZodBoolean;
|
|
214
302
|
segments: z.ZodArray<z.ZodString>;
|
|
215
303
|
}, z.core.$strip>;
|
|
304
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
305
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
306
|
+
slideNumber: z.ZodNumber;
|
|
307
|
+
slideType: z.ZodEnum<{
|
|
308
|
+
readonly LAYOUT: "LAYOUT";
|
|
309
|
+
readonly NOTES: "NOTES";
|
|
310
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
311
|
+
readonly SLIDE: "SLIDE";
|
|
312
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
313
|
+
readonly CHART: "CHART";
|
|
314
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
315
|
+
}>;
|
|
316
|
+
}, z.core.$strip>>;
|
|
317
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
318
|
+
state: z.ZodOptional<z.ZodString>;
|
|
319
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
320
|
+
localizationType: z.ZodEnum<{
|
|
321
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
322
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
323
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
324
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
325
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
326
|
+
}>;
|
|
327
|
+
keyPath: z.ZodString;
|
|
328
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
329
|
+
readonly MAC: "MAC";
|
|
330
|
+
readonly IPHONE: "IPHONE";
|
|
331
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
332
|
+
readonly IPAD: "IPAD";
|
|
333
|
+
readonly OTHER: "OTHER";
|
|
334
|
+
}>>;
|
|
335
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
336
|
+
readonly ZERO: "ZERO";
|
|
337
|
+
readonly ONE: "ONE";
|
|
338
|
+
readonly TWO: "TWO";
|
|
339
|
+
readonly FEW: "FEW";
|
|
340
|
+
readonly MANY: "MANY";
|
|
341
|
+
readonly OTHER: "OTHER";
|
|
342
|
+
}>>;
|
|
343
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
344
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
isPlural: z.ZodBoolean;
|
|
346
|
+
}, z.core.$strip>>;
|
|
347
|
+
}, z.core.$strip>>;
|
|
216
348
|
}, z.core.$strip>>;
|
|
217
349
|
position: z.ZodNumber;
|
|
218
350
|
}, 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;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAI1B,eAAO,MAAM,gBAAgB;;;;CAInB,CAAA;AACV,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAA;AAEnF,eAAO,MAAM,gBAAgB;;;;;;;;;;iBAa1B,CAAA;AAEH,eAAO,MAAM,mBAAmB,aAI/B,CAAA;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8B1B,CAAA;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;iBA0BlC,CAAA;AAEF,eAAO,MAAM,mCAAmC;;;;;iBAO9C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKrC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUG,CAAA;AAE1C,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AACpE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AACpE,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAC3F,MAAM,MAAM,iBAAiB,GAAG,CAAC,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',
|
|
@@ -61,6 +62,7 @@ export const TEXT_UNIT_SCHEMA = z
|
|
|
61
62
|
.describe('Indicates whether the segmentation was applied to the text unit.'),
|
|
62
63
|
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
64
|
}),
|
|
65
|
+
metadata: TEXT_UNIT_METADATA_ATTRIBUTES_SCHEMA.optional().describe('Optional metadata associated with the text unit.'),
|
|
64
66
|
})
|
|
65
67
|
.describe('Represents a text unit, the basic unit of extraction from a parser. May be split further into segments.');
|
|
66
68
|
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;SACh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QAAQ,CAAC,6BAA6B,CAAC,CAAA"}
|
|
@@ -95,6 +95,50 @@ export declare const PARSED_CONTENT_UNIT_RESULT_SCHEMA: z.ZodUnion<readonly [z.Z
|
|
|
95
95
|
hasBeenSegmented: z.ZodBoolean;
|
|
96
96
|
segments: z.ZodArray<z.ZodString>;
|
|
97
97
|
}, z.core.$strip>;
|
|
98
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
100
|
+
slideNumber: z.ZodNumber;
|
|
101
|
+
slideType: z.ZodEnum<{
|
|
102
|
+
readonly LAYOUT: "LAYOUT";
|
|
103
|
+
readonly NOTES: "NOTES";
|
|
104
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
105
|
+
readonly SLIDE: "SLIDE";
|
|
106
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
107
|
+
readonly CHART: "CHART";
|
|
108
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
109
|
+
}>;
|
|
110
|
+
}, z.core.$strip>>;
|
|
111
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
112
|
+
state: z.ZodOptional<z.ZodString>;
|
|
113
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
114
|
+
localizationType: z.ZodEnum<{
|
|
115
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
116
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
117
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
118
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
119
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
120
|
+
}>;
|
|
121
|
+
keyPath: z.ZodString;
|
|
122
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
123
|
+
readonly MAC: "MAC";
|
|
124
|
+
readonly IPHONE: "IPHONE";
|
|
125
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
126
|
+
readonly IPAD: "IPAD";
|
|
127
|
+
readonly OTHER: "OTHER";
|
|
128
|
+
}>>;
|
|
129
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
130
|
+
readonly ZERO: "ZERO";
|
|
131
|
+
readonly ONE: "ONE";
|
|
132
|
+
readonly TWO: "TWO";
|
|
133
|
+
readonly FEW: "FEW";
|
|
134
|
+
readonly MANY: "MANY";
|
|
135
|
+
readonly OTHER: "OTHER";
|
|
136
|
+
}>>;
|
|
137
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
138
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
139
|
+
isPlural: z.ZodBoolean;
|
|
140
|
+
}, z.core.$strip>>;
|
|
141
|
+
}, z.core.$strip>>;
|
|
98
142
|
}, z.core.$strip>>;
|
|
99
143
|
parsedContentStorageId: z.ZodOptional<z.ZodNever>;
|
|
100
144
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -144,6 +188,50 @@ export declare const PARSED_CONTENT_UNIT_SCHEMA_NEW: z.ZodObject<{
|
|
|
144
188
|
hasBeenSegmented: z.ZodBoolean;
|
|
145
189
|
segments: z.ZodArray<z.ZodString>;
|
|
146
190
|
}, z.core.$strip>;
|
|
191
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
192
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
193
|
+
slideNumber: z.ZodNumber;
|
|
194
|
+
slideType: z.ZodEnum<{
|
|
195
|
+
readonly LAYOUT: "LAYOUT";
|
|
196
|
+
readonly NOTES: "NOTES";
|
|
197
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
198
|
+
readonly SLIDE: "SLIDE";
|
|
199
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
200
|
+
readonly CHART: "CHART";
|
|
201
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
202
|
+
}>;
|
|
203
|
+
}, z.core.$strip>>;
|
|
204
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
205
|
+
state: z.ZodOptional<z.ZodString>;
|
|
206
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
207
|
+
localizationType: z.ZodEnum<{
|
|
208
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
209
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
210
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
211
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
212
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
213
|
+
}>;
|
|
214
|
+
keyPath: z.ZodString;
|
|
215
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
216
|
+
readonly MAC: "MAC";
|
|
217
|
+
readonly IPHONE: "IPHONE";
|
|
218
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
219
|
+
readonly IPAD: "IPAD";
|
|
220
|
+
readonly OTHER: "OTHER";
|
|
221
|
+
}>>;
|
|
222
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
223
|
+
readonly ZERO: "ZERO";
|
|
224
|
+
readonly ONE: "ONE";
|
|
225
|
+
readonly TWO: "TWO";
|
|
226
|
+
readonly FEW: "FEW";
|
|
227
|
+
readonly MANY: "MANY";
|
|
228
|
+
readonly OTHER: "OTHER";
|
|
229
|
+
}>>;
|
|
230
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
231
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
232
|
+
isPlural: z.ZodBoolean;
|
|
233
|
+
}, z.core.$strip>>;
|
|
234
|
+
}, z.core.$strip>>;
|
|
147
235
|
}, z.core.$strip>>;
|
|
148
236
|
parsedContentStorageId: z.ZodOptional<z.ZodNever>;
|
|
149
237
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -261,6 +349,50 @@ export declare const PARTIALLY_FAILED_CONTENT_ITEM_SCHEMA: z.ZodObject<{
|
|
|
261
349
|
hasBeenSegmented: z.ZodBoolean;
|
|
262
350
|
segments: z.ZodArray<z.ZodString>;
|
|
263
351
|
}, z.core.$strip>;
|
|
352
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
353
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
354
|
+
slideNumber: z.ZodNumber;
|
|
355
|
+
slideType: z.ZodEnum<{
|
|
356
|
+
readonly LAYOUT: "LAYOUT";
|
|
357
|
+
readonly NOTES: "NOTES";
|
|
358
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
359
|
+
readonly SLIDE: "SLIDE";
|
|
360
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
361
|
+
readonly CHART: "CHART";
|
|
362
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
363
|
+
}>;
|
|
364
|
+
}, z.core.$strip>>;
|
|
365
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
366
|
+
state: z.ZodOptional<z.ZodString>;
|
|
367
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
368
|
+
localizationType: z.ZodEnum<{
|
|
369
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
370
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
371
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
372
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
373
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
374
|
+
}>;
|
|
375
|
+
keyPath: z.ZodString;
|
|
376
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
377
|
+
readonly MAC: "MAC";
|
|
378
|
+
readonly IPHONE: "IPHONE";
|
|
379
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
380
|
+
readonly IPAD: "IPAD";
|
|
381
|
+
readonly OTHER: "OTHER";
|
|
382
|
+
}>>;
|
|
383
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
384
|
+
readonly ZERO: "ZERO";
|
|
385
|
+
readonly ONE: "ONE";
|
|
386
|
+
readonly TWO: "TWO";
|
|
387
|
+
readonly FEW: "FEW";
|
|
388
|
+
readonly MANY: "MANY";
|
|
389
|
+
readonly OTHER: "OTHER";
|
|
390
|
+
}>>;
|
|
391
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
392
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
393
|
+
isPlural: z.ZodBoolean;
|
|
394
|
+
}, z.core.$strip>>;
|
|
395
|
+
}, z.core.$strip>>;
|
|
264
396
|
}, z.core.$strip>>;
|
|
265
397
|
parsedContentStorageId: z.ZodOptional<z.ZodNever>;
|
|
266
398
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -407,6 +539,50 @@ export declare const PARSE_CONTENT_ITEM_RESULT_SCHEMA: z.ZodDiscriminatedUnion<[
|
|
|
407
539
|
hasBeenSegmented: z.ZodBoolean;
|
|
408
540
|
segments: z.ZodArray<z.ZodString>;
|
|
409
541
|
}, z.core.$strip>;
|
|
542
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
543
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
544
|
+
slideNumber: z.ZodNumber;
|
|
545
|
+
slideType: z.ZodEnum<{
|
|
546
|
+
readonly LAYOUT: "LAYOUT";
|
|
547
|
+
readonly NOTES: "NOTES";
|
|
548
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
549
|
+
readonly SLIDE: "SLIDE";
|
|
550
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
551
|
+
readonly CHART: "CHART";
|
|
552
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
553
|
+
}>;
|
|
554
|
+
}, z.core.$strip>>;
|
|
555
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
556
|
+
state: z.ZodOptional<z.ZodString>;
|
|
557
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
558
|
+
localizationType: z.ZodEnum<{
|
|
559
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
560
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
561
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
562
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
563
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
564
|
+
}>;
|
|
565
|
+
keyPath: z.ZodString;
|
|
566
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
567
|
+
readonly MAC: "MAC";
|
|
568
|
+
readonly IPHONE: "IPHONE";
|
|
569
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
570
|
+
readonly IPAD: "IPAD";
|
|
571
|
+
readonly OTHER: "OTHER";
|
|
572
|
+
}>>;
|
|
573
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
574
|
+
readonly ZERO: "ZERO";
|
|
575
|
+
readonly ONE: "ONE";
|
|
576
|
+
readonly TWO: "TWO";
|
|
577
|
+
readonly FEW: "FEW";
|
|
578
|
+
readonly MANY: "MANY";
|
|
579
|
+
readonly OTHER: "OTHER";
|
|
580
|
+
}>>;
|
|
581
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
582
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
583
|
+
isPlural: z.ZodBoolean;
|
|
584
|
+
}, z.core.$strip>>;
|
|
585
|
+
}, z.core.$strip>>;
|
|
410
586
|
}, z.core.$strip>>;
|
|
411
587
|
parsedContentStorageId: z.ZodOptional<z.ZodNever>;
|
|
412
588
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -509,6 +685,50 @@ export declare const PARSE_CONTENT_ITEM_RESULT_SCHEMA: z.ZodDiscriminatedUnion<[
|
|
|
509
685
|
hasBeenSegmented: z.ZodBoolean;
|
|
510
686
|
segments: z.ZodArray<z.ZodString>;
|
|
511
687
|
}, z.core.$strip>;
|
|
688
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
689
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
690
|
+
slideNumber: z.ZodNumber;
|
|
691
|
+
slideType: z.ZodEnum<{
|
|
692
|
+
readonly LAYOUT: "LAYOUT";
|
|
693
|
+
readonly NOTES: "NOTES";
|
|
694
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
695
|
+
readonly SLIDE: "SLIDE";
|
|
696
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
697
|
+
readonly CHART: "CHART";
|
|
698
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
699
|
+
}>;
|
|
700
|
+
}, z.core.$strip>>;
|
|
701
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
702
|
+
state: z.ZodOptional<z.ZodString>;
|
|
703
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
704
|
+
localizationType: z.ZodEnum<{
|
|
705
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
706
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
707
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
708
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
709
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
710
|
+
}>;
|
|
711
|
+
keyPath: z.ZodString;
|
|
712
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
713
|
+
readonly MAC: "MAC";
|
|
714
|
+
readonly IPHONE: "IPHONE";
|
|
715
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
716
|
+
readonly IPAD: "IPAD";
|
|
717
|
+
readonly OTHER: "OTHER";
|
|
718
|
+
}>>;
|
|
719
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
720
|
+
readonly ZERO: "ZERO";
|
|
721
|
+
readonly ONE: "ONE";
|
|
722
|
+
readonly TWO: "TWO";
|
|
723
|
+
readonly FEW: "FEW";
|
|
724
|
+
readonly MANY: "MANY";
|
|
725
|
+
readonly OTHER: "OTHER";
|
|
726
|
+
}>>;
|
|
727
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
728
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
729
|
+
isPlural: z.ZodBoolean;
|
|
730
|
+
}, z.core.$strip>>;
|
|
731
|
+
}, z.core.$strip>>;
|
|
512
732
|
}, z.core.$strip>>;
|
|
513
733
|
parsedContentStorageId: z.ZodOptional<z.ZodNever>;
|
|
514
734
|
}, 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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mB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AAK,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>;
|
|
@@ -43,6 +43,50 @@ export declare const RECONSTRUCTABLE_CONTENT_UNIT_SCHEMA: z.ZodObject<{
|
|
|
43
43
|
hasBeenSegmented: z.ZodBoolean;
|
|
44
44
|
segments: z.ZodArray<z.ZodString>;
|
|
45
45
|
}, z.core.$strip>;
|
|
46
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
47
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
48
|
+
slideNumber: z.ZodNumber;
|
|
49
|
+
slideType: z.ZodEnum<{
|
|
50
|
+
readonly LAYOUT: "LAYOUT";
|
|
51
|
+
readonly NOTES: "NOTES";
|
|
52
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
53
|
+
readonly SLIDE: "SLIDE";
|
|
54
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
55
|
+
readonly CHART: "CHART";
|
|
56
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
57
|
+
}>;
|
|
58
|
+
}, z.core.$strip>>;
|
|
59
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
state: z.ZodOptional<z.ZodString>;
|
|
61
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
62
|
+
localizationType: z.ZodEnum<{
|
|
63
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
64
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
65
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
66
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
67
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
68
|
+
}>;
|
|
69
|
+
keyPath: z.ZodString;
|
|
70
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
71
|
+
readonly MAC: "MAC";
|
|
72
|
+
readonly IPHONE: "IPHONE";
|
|
73
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
74
|
+
readonly IPAD: "IPAD";
|
|
75
|
+
readonly OTHER: "OTHER";
|
|
76
|
+
}>>;
|
|
77
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
78
|
+
readonly ZERO: "ZERO";
|
|
79
|
+
readonly ONE: "ONE";
|
|
80
|
+
readonly TWO: "TWO";
|
|
81
|
+
readonly FEW: "FEW";
|
|
82
|
+
readonly MANY: "MANY";
|
|
83
|
+
readonly OTHER: "OTHER";
|
|
84
|
+
}>>;
|
|
85
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
86
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
isPlural: z.ZodBoolean;
|
|
88
|
+
}, z.core.$strip>>;
|
|
89
|
+
}, z.core.$strip>>;
|
|
46
90
|
}, z.core.$strip>>;
|
|
47
91
|
parsedContentStorageId: z.ZodOptional<z.ZodNever>;
|
|
48
92
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -102,6 +146,50 @@ export declare const RECONSTRUCTABLE_ITEM: z.ZodObject<{
|
|
|
102
146
|
hasBeenSegmented: z.ZodBoolean;
|
|
103
147
|
segments: z.ZodArray<z.ZodString>;
|
|
104
148
|
}, z.core.$strip>;
|
|
149
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
pptxAttributes: z.ZodOptional<z.ZodObject<{
|
|
151
|
+
slideNumber: z.ZodNumber;
|
|
152
|
+
slideType: z.ZodEnum<{
|
|
153
|
+
readonly LAYOUT: "LAYOUT";
|
|
154
|
+
readonly NOTES: "NOTES";
|
|
155
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
156
|
+
readonly SLIDE: "SLIDE";
|
|
157
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
158
|
+
readonly CHART: "CHART";
|
|
159
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
160
|
+
}>;
|
|
161
|
+
}, z.core.$strip>>;
|
|
162
|
+
xcstrings: z.ZodOptional<z.ZodObject<{
|
|
163
|
+
state: z.ZodOptional<z.ZodString>;
|
|
164
|
+
extractionState: z.ZodOptional<z.ZodString>;
|
|
165
|
+
localizationType: z.ZodEnum<{
|
|
166
|
+
readonly STRING_UNIT: "STRING_UNIT";
|
|
167
|
+
readonly SUBSTITUTIONS: "SUBSTITUTIONS";
|
|
168
|
+
readonly PLURAL_VARIATION: "PLURAL_VARIATION";
|
|
169
|
+
readonly DEVICE_VARIATION: "DEVICE_VARIATION";
|
|
170
|
+
readonly DEVICE_PLURAL_VARIATION: "DEVICE_PLURAL_VARIATION";
|
|
171
|
+
}>;
|
|
172
|
+
keyPath: z.ZodString;
|
|
173
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
174
|
+
readonly MAC: "MAC";
|
|
175
|
+
readonly IPHONE: "IPHONE";
|
|
176
|
+
readonly APPLE_WATCH: "APPLE_WATCH";
|
|
177
|
+
readonly IPAD: "IPAD";
|
|
178
|
+
readonly OTHER: "OTHER";
|
|
179
|
+
}>>;
|
|
180
|
+
pluralForm: z.ZodOptional<z.ZodEnum<{
|
|
181
|
+
readonly ZERO: "ZERO";
|
|
182
|
+
readonly ONE: "ONE";
|
|
183
|
+
readonly TWO: "TWO";
|
|
184
|
+
readonly FEW: "FEW";
|
|
185
|
+
readonly MANY: "MANY";
|
|
186
|
+
readonly OTHER: "OTHER";
|
|
187
|
+
}>>;
|
|
188
|
+
formatSpecifier: z.ZodOptional<z.ZodString>;
|
|
189
|
+
argNum: z.ZodOptional<z.ZodNumber>;
|
|
190
|
+
isPlural: z.ZodBoolean;
|
|
191
|
+
}, z.core.$strip>>;
|
|
192
|
+
}, z.core.$strip>>;
|
|
105
193
|
}, z.core.$strip>>;
|
|
106
194
|
parsedContentStorageId: z.ZodOptional<z.ZodNever>;
|
|
107
195
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generationObjects.d.ts","sourceRoot":"","sources":["../../src/api/generationObjects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAO1B,eAAO,MAAM,mCAAmC
|
|
1
|
+
{"version":3,"file":"generationObjects.d.ts","sourceRoot":"","sources":["../../src/api/generationObjects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAO1B,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG9C,CAAA;AAEF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAE5F,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAK/B,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
export declare const SlideTypeEnum: {
|
|
3
|
+
readonly LAYOUT: "LAYOUT";
|
|
4
|
+
readonly NOTES: "NOTES";
|
|
5
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
6
|
+
readonly SLIDE: "SLIDE";
|
|
7
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
8
|
+
readonly CHART: "CHART";
|
|
9
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
10
|
+
};
|
|
11
|
+
export type SlideType = (typeof SlideTypeEnum)[keyof typeof SlideTypeEnum];
|
|
12
|
+
export declare const PPTX_TEXT_UNIT_METADATA: z.ZodObject<{
|
|
13
|
+
slideNumber: z.ZodNumber;
|
|
14
|
+
slideType: z.ZodEnum<{
|
|
15
|
+
readonly LAYOUT: "LAYOUT";
|
|
16
|
+
readonly NOTES: "NOTES";
|
|
17
|
+
readonly MASTER_NOTES: "MASTER_NOTES";
|
|
18
|
+
readonly SLIDE: "SLIDE";
|
|
19
|
+
readonly MASTER_SLIDE: "MASTER_SLIDE";
|
|
20
|
+
readonly CHART: "CHART";
|
|
21
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
22
|
+
}>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
//# sourceMappingURL=pptx.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pptx.d.ts","sourceRoot":"","sources":["../../src/api/pptx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,eAAO,MAAM,aAAa;;;;;;;;CAQhB,CAAA;AACV,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAA;AAE1E,eAAO,MAAM,uBAAuB;;;;;;;;;;;iBAWlC,CAAA"}
|