@kulupu-linku/sona 0.1.9 → 0.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.
package/dist/index.d.ts CHANGED
@@ -1,1170 +1 @@
1
- import { z } from 'zod';
2
-
3
- declare const Book: z.ZodUnion<[z.ZodLiteral<"pu">, z.ZodLiteral<"ku suli">, z.ZodLiteral<"ku lili">, z.ZodLiteral<"none">]>;
4
- type Book = z.infer<typeof Book>;
5
- declare const CoinedEra: z.ZodUnion<[z.ZodLiteral<"pre-pu">, z.ZodLiteral<"post-pu">, z.ZodLiteral<"post-ku">]>;
6
- type CoinedEra = z.infer<typeof CoinedEra>;
7
- declare const UsageCategory: z.ZodUnion<[z.ZodLiteral<"core">, z.ZodLiteral<"widespread">, z.ZodLiteral<"common">, z.ZodLiteral<"uncommon">, z.ZodLiteral<"rare">, z.ZodLiteral<"obscure">]>;
8
- type UsageCategory = z.infer<typeof UsageCategory>;
9
- declare const WritingSystem: z.ZodEnum<["sitelen pona", "sitelen sitelen", "alphabet", "syllabary", "logography", "tokiponido alphabet", "tokiponido syllabary", "tokiponido logography"]>;
10
- type WritingSystem = z.infer<typeof WritingSystem>;
11
- type WordRepresentations = LocalizedWord["representations"];
12
- type WordAudio = LocalizedWord["audio"];
13
- type WordUsage = LocalizedWord["usage"];
14
- type WordPuVerbatim = LocalizedWord["pu_verbatim"];
15
- type WordKuData = LocalizedWord["ku_data"];
16
- type WordTranslations = LocalizedWord["translations"];
17
- type WordTranslation = LocalizedWord["translations"][string];
18
- type LocalizedWordDefinition = WordTranslation["definition"];
19
- type LocalizedWordEtymology = WordTranslation["etymology"];
20
- type LocalizedWordCommentary = WordTranslation["commentary"];
21
- type LocalizedWordSitelenEtymology = WordTranslation["sp_etymology"];
22
- type SignEtymology = Sign["etymology"];
23
- type SignWriting = Sign["signwriting"];
24
- type SignVideo = Sign["video"];
25
- type LocalizedSignParameters = ParametersTranslation[string];
26
- type FontLinks = Font["links"];
27
- declare function getTranslatedData<Obj extends {
28
- translations: Record<string, object>;
29
- }, Key extends keyof Obj["translations"][string]>(data: Obj, key: Key, language: string): Obj["translations"][string][Key];
30
-
31
- declare const Word: z.ZodObject<{
32
- id: z.ZodString;
33
- author_verbatim: z.ZodString;
34
- author_verbatim_source: z.ZodString;
35
- book: z.ZodUnion<[z.ZodLiteral<"pu">, z.ZodLiteral<"ku suli">, z.ZodLiteral<"ku lili">, z.ZodLiteral<"none">]>;
36
- coined_era: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"pre-pu">, z.ZodLiteral<"post-pu">, z.ZodLiteral<"post-ku">]>, z.ZodLiteral<"">]>;
37
- coined_year: z.ZodString;
38
- creator: z.ZodArray<z.ZodString, "many">;
39
- ku_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
40
- see_also: z.ZodArray<z.ZodString, "many">;
41
- resources: z.ZodOptional<z.ZodObject<{
42
- sona_pona: z.ZodOptional<z.ZodString>;
43
- lipamanka_semantic: z.ZodOptional<z.ZodString>;
44
- }, "strip", z.ZodTypeAny, {
45
- sona_pona?: string | undefined;
46
- lipamanka_semantic?: string | undefined;
47
- }, {
48
- sona_pona?: string | undefined;
49
- lipamanka_semantic?: string | undefined;
50
- }>>;
51
- representations: z.ZodOptional<z.ZodObject<{
52
- sitelen_emosi: z.ZodOptional<z.ZodString>;
53
- ligatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
54
- sitelen_sitelen: z.ZodOptional<z.ZodString>;
55
- ucsur: z.ZodOptional<z.ZodString>;
56
- }, "strip", z.ZodTypeAny, {
57
- sitelen_emosi?: string | undefined;
58
- ligatures?: string[] | undefined;
59
- sitelen_sitelen?: string | undefined;
60
- ucsur?: string | undefined;
61
- }, {
62
- sitelen_emosi?: string | undefined;
63
- ligatures?: string[] | undefined;
64
- sitelen_sitelen?: string | undefined;
65
- ucsur?: string | undefined;
66
- }>>;
67
- source_language: z.ZodString;
68
- usage_category: z.ZodUnion<[z.ZodLiteral<"core">, z.ZodLiteral<"widespread">, z.ZodLiteral<"common">, z.ZodLiteral<"uncommon">, z.ZodLiteral<"rare">, z.ZodLiteral<"obscure">]>;
69
- word: z.ZodString;
70
- etymology: z.ZodArray<z.ZodObject<{
71
- word: z.ZodOptional<z.ZodString>;
72
- alt: z.ZodOptional<z.ZodString>;
73
- }, "strip", z.ZodTypeAny, {
74
- word?: string | undefined;
75
- alt?: string | undefined;
76
- }, {
77
- word?: string | undefined;
78
- alt?: string | undefined;
79
- }>, "many">;
80
- audio: z.ZodArray<z.ZodObject<{
81
- author: z.ZodString;
82
- link: z.ZodString;
83
- }, "strip", z.ZodTypeAny, {
84
- author: string;
85
- link: string;
86
- }, {
87
- author: string;
88
- link: string;
89
- }>, "many">;
90
- pu_verbatim: z.ZodOptional<z.ZodObject<{
91
- en: z.ZodString;
92
- fr: z.ZodString;
93
- de: z.ZodString;
94
- eo: z.ZodString;
95
- }, "strip", z.ZodTypeAny, {
96
- en: string;
97
- fr: string;
98
- de: string;
99
- eo: string;
100
- }, {
101
- en: string;
102
- fr: string;
103
- de: string;
104
- eo: string;
105
- }>>;
106
- usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
107
- }, "strip", z.ZodTypeAny, {
108
- id: string;
109
- author_verbatim: string;
110
- author_verbatim_source: string;
111
- book: "pu" | "ku suli" | "ku lili" | "none";
112
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
113
- coined_year: string;
114
- creator: string[];
115
- see_also: string[];
116
- source_language: string;
117
- usage_category: "core" | "widespread" | "common" | "uncommon" | "rare" | "obscure";
118
- word: string;
119
- etymology: {
120
- word?: string | undefined;
121
- alt?: string | undefined;
122
- }[];
123
- audio: {
124
- author: string;
125
- link: string;
126
- }[];
127
- usage: Record<string, number>;
128
- ku_data?: Record<string, number> | undefined;
129
- resources?: {
130
- sona_pona?: string | undefined;
131
- lipamanka_semantic?: string | undefined;
132
- } | undefined;
133
- representations?: {
134
- sitelen_emosi?: string | undefined;
135
- ligatures?: string[] | undefined;
136
- sitelen_sitelen?: string | undefined;
137
- ucsur?: string | undefined;
138
- } | undefined;
139
- pu_verbatim?: {
140
- en: string;
141
- fr: string;
142
- de: string;
143
- eo: string;
144
- } | undefined;
145
- }, {
146
- id: string;
147
- author_verbatim: string;
148
- author_verbatim_source: string;
149
- book: "pu" | "ku suli" | "ku lili" | "none";
150
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
151
- coined_year: string;
152
- creator: string[];
153
- see_also: string[];
154
- source_language: string;
155
- usage_category: "core" | "widespread" | "common" | "uncommon" | "rare" | "obscure";
156
- word: string;
157
- etymology: {
158
- word?: string | undefined;
159
- alt?: string | undefined;
160
- }[];
161
- audio: {
162
- author: string;
163
- link: string;
164
- }[];
165
- usage: Record<string, number>;
166
- ku_data?: Record<string, number> | undefined;
167
- resources?: {
168
- sona_pona?: string | undefined;
169
- lipamanka_semantic?: string | undefined;
170
- } | undefined;
171
- representations?: {
172
- sitelen_emosi?: string | undefined;
173
- ligatures?: string[] | undefined;
174
- sitelen_sitelen?: string | undefined;
175
- ucsur?: string | undefined;
176
- } | undefined;
177
- pu_verbatim?: {
178
- en: string;
179
- fr: string;
180
- de: string;
181
- eo: string;
182
- } | undefined;
183
- }>;
184
- type Word = z.infer<typeof Word>;
185
- declare const CommentaryTranslation: z.ZodRecord<z.ZodString, z.ZodString>;
186
- type CommentaryTranslation = z.infer<typeof CommentaryTranslation>;
187
- declare const DefinitionTranslation: z.ZodRecord<z.ZodString, z.ZodString>;
188
- type DefinitionTranslation = z.infer<typeof DefinitionTranslation>;
189
- declare const SitelenPonaTranslation: z.ZodRecord<z.ZodString, z.ZodString>;
190
- type SitelenPonaTranslation = z.infer<typeof SitelenPonaTranslation>;
191
- declare const EtymologyTranslation: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
192
- definition: z.ZodOptional<z.ZodString>;
193
- language: z.ZodString;
194
- }, "strip", z.ZodTypeAny, {
195
- language: string;
196
- definition?: string | undefined;
197
- }, {
198
- language: string;
199
- definition?: string | undefined;
200
- }>, "many">>;
201
- type EtymologyTranslation = z.infer<typeof EtymologyTranslation>;
202
- declare const Sign: z.ZodObject<{
203
- definition: z.ZodString;
204
- id: z.ZodString;
205
- is_two_handed: z.ZodBoolean;
206
- new_gloss: z.ZodString;
207
- old_gloss: z.ZodString;
208
- etymology: z.ZodArray<z.ZodObject<{
209
- language: z.ZodString;
210
- sign: z.ZodOptional<z.ZodString>;
211
- }, "strip", z.ZodTypeAny, {
212
- language: string;
213
- sign?: string | undefined;
214
- }, {
215
- language: string;
216
- sign?: string | undefined;
217
- }>, "many">;
218
- signwriting: z.ZodObject<{
219
- fsw: z.ZodString;
220
- swu: z.ZodString;
221
- }, "strip", z.ZodTypeAny, {
222
- fsw: string;
223
- swu: string;
224
- }, {
225
- fsw: string;
226
- swu: string;
227
- }>;
228
- video: z.ZodObject<{
229
- gif: z.ZodString;
230
- mp4: z.ZodString;
231
- }, "strip", z.ZodTypeAny, {
232
- gif: string;
233
- mp4: string;
234
- }, {
235
- gif: string;
236
- mp4: string;
237
- }>;
238
- }, "strip", z.ZodTypeAny, {
239
- id: string;
240
- etymology: {
241
- language: string;
242
- sign?: string | undefined;
243
- }[];
244
- definition: string;
245
- is_two_handed: boolean;
246
- new_gloss: string;
247
- old_gloss: string;
248
- signwriting: {
249
- fsw: string;
250
- swu: string;
251
- };
252
- video: {
253
- gif: string;
254
- mp4: string;
255
- };
256
- }, {
257
- id: string;
258
- etymology: {
259
- language: string;
260
- sign?: string | undefined;
261
- }[];
262
- definition: string;
263
- is_two_handed: boolean;
264
- new_gloss: string;
265
- old_gloss: string;
266
- signwriting: {
267
- fsw: string;
268
- swu: string;
269
- };
270
- video: {
271
- gif: string;
272
- mp4: string;
273
- };
274
- }>;
275
- type Sign = z.infer<typeof Sign>;
276
- declare const FingerspellingSign: z.ZodObject<{
277
- id: z.ZodString;
278
- is_two_handed: z.ZodBoolean;
279
- etymology: z.ZodArray<z.ZodObject<{
280
- language: z.ZodString;
281
- sign: z.ZodString;
282
- }, "strip", z.ZodTypeAny, {
283
- language: string;
284
- sign: string;
285
- }, {
286
- language: string;
287
- sign: string;
288
- }>, "many">;
289
- signwriting: z.ZodObject<{
290
- fsw: z.ZodString;
291
- swu: z.ZodString;
292
- }, "strip", z.ZodTypeAny, {
293
- fsw: string;
294
- swu: string;
295
- }, {
296
- fsw: string;
297
- swu: string;
298
- }>;
299
- video: z.ZodObject<{
300
- gif: z.ZodOptional<z.ZodString>;
301
- mp4: z.ZodOptional<z.ZodString>;
302
- }, "strip", z.ZodTypeAny, {
303
- gif?: string | undefined;
304
- mp4?: string | undefined;
305
- }, {
306
- gif?: string | undefined;
307
- mp4?: string | undefined;
308
- }>;
309
- }, "strip", z.ZodTypeAny, {
310
- id: string;
311
- etymology: {
312
- language: string;
313
- sign: string;
314
- }[];
315
- is_two_handed: boolean;
316
- signwriting: {
317
- fsw: string;
318
- swu: string;
319
- };
320
- video: {
321
- gif?: string | undefined;
322
- mp4?: string | undefined;
323
- };
324
- }, {
325
- id: string;
326
- etymology: {
327
- language: string;
328
- sign: string;
329
- }[];
330
- is_two_handed: boolean;
331
- signwriting: {
332
- fsw: string;
333
- swu: string;
334
- };
335
- video: {
336
- gif?: string | undefined;
337
- mp4?: string | undefined;
338
- };
339
- }>;
340
- type FingerspellingSign = z.infer<typeof FingerspellingSign>;
341
- declare const ParametersTranslation: z.ZodRecord<z.ZodString, z.ZodObject<{
342
- handshape: z.ZodOptional<z.ZodString>;
343
- movement: z.ZodOptional<z.ZodString>;
344
- placement: z.ZodOptional<z.ZodString>;
345
- orientation: z.ZodOptional<z.ZodString>;
346
- }, "strip", z.ZodTypeAny, {
347
- handshape?: string | undefined;
348
- movement?: string | undefined;
349
- placement?: string | undefined;
350
- orientation?: string | undefined;
351
- }, {
352
- handshape?: string | undefined;
353
- movement?: string | undefined;
354
- placement?: string | undefined;
355
- orientation?: string | undefined;
356
- }>>;
357
- type ParametersTranslation = z.infer<typeof ParametersTranslation>;
358
- declare const IconTranslation: z.ZodRecord<z.ZodString, z.ZodString>;
359
- type IconTranslation = z.infer<typeof IconTranslation>;
360
- declare const Font: z.ZodObject<{
361
- id: z.ZodString;
362
- creator: z.ZodArray<z.ZodString, "many">;
363
- features: z.ZodArray<z.ZodString, "many">;
364
- filename: z.ZodString;
365
- last_updated: z.ZodOptional<z.ZodString>;
366
- license: z.ZodString;
367
- ligatures: z.ZodBoolean;
368
- name: z.ZodString;
369
- style: z.ZodString;
370
- ucsur: z.ZodBoolean;
371
- version: z.ZodString;
372
- writing_system: z.ZodEnum<["sitelen pona", "sitelen sitelen", "alphabet", "syllabary", "logography", "tokiponido alphabet", "tokiponido syllabary", "tokiponido logography"]>;
373
- links: z.ZodObject<{
374
- fontfile: z.ZodOptional<z.ZodString>;
375
- repo: z.ZodOptional<z.ZodString>;
376
- webpage: z.ZodOptional<z.ZodString>;
377
- }, "strip", z.ZodTypeAny, {
378
- fontfile?: string | undefined;
379
- repo?: string | undefined;
380
- webpage?: string | undefined;
381
- }, {
382
- fontfile?: string | undefined;
383
- repo?: string | undefined;
384
- webpage?: string | undefined;
385
- }>;
386
- }, "strip", z.ZodTypeAny, {
387
- id: string;
388
- creator: string[];
389
- ligatures: boolean;
390
- ucsur: boolean;
391
- features: string[];
392
- filename: string;
393
- license: string;
394
- name: string;
395
- style: string;
396
- version: string;
397
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
398
- links: {
399
- fontfile?: string | undefined;
400
- repo?: string | undefined;
401
- webpage?: string | undefined;
402
- };
403
- last_updated?: string | undefined;
404
- }, {
405
- id: string;
406
- creator: string[];
407
- ligatures: boolean;
408
- ucsur: boolean;
409
- features: string[];
410
- filename: string;
411
- license: string;
412
- name: string;
413
- style: string;
414
- version: string;
415
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
416
- links: {
417
- fontfile?: string | undefined;
418
- repo?: string | undefined;
419
- webpage?: string | undefined;
420
- };
421
- last_updated?: string | undefined;
422
- }>;
423
- type Font = z.infer<typeof Font>;
424
- declare const Words: z.ZodRecord<z.ZodString, z.ZodObject<{
425
- id: z.ZodString;
426
- author_verbatim: z.ZodString;
427
- author_verbatim_source: z.ZodString;
428
- book: z.ZodUnion<[z.ZodLiteral<"pu">, z.ZodLiteral<"ku suli">, z.ZodLiteral<"ku lili">, z.ZodLiteral<"none">]>;
429
- coined_era: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"pre-pu">, z.ZodLiteral<"post-pu">, z.ZodLiteral<"post-ku">]>, z.ZodLiteral<"">]>;
430
- coined_year: z.ZodString;
431
- creator: z.ZodArray<z.ZodString, "many">;
432
- ku_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
433
- see_also: z.ZodArray<z.ZodString, "many">;
434
- resources: z.ZodOptional<z.ZodObject<{
435
- sona_pona: z.ZodOptional<z.ZodString>;
436
- lipamanka_semantic: z.ZodOptional<z.ZodString>;
437
- }, "strip", z.ZodTypeAny, {
438
- sona_pona?: string | undefined;
439
- lipamanka_semantic?: string | undefined;
440
- }, {
441
- sona_pona?: string | undefined;
442
- lipamanka_semantic?: string | undefined;
443
- }>>;
444
- representations: z.ZodOptional<z.ZodObject<{
445
- sitelen_emosi: z.ZodOptional<z.ZodString>;
446
- ligatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
447
- sitelen_sitelen: z.ZodOptional<z.ZodString>;
448
- ucsur: z.ZodOptional<z.ZodString>;
449
- }, "strip", z.ZodTypeAny, {
450
- sitelen_emosi?: string | undefined;
451
- ligatures?: string[] | undefined;
452
- sitelen_sitelen?: string | undefined;
453
- ucsur?: string | undefined;
454
- }, {
455
- sitelen_emosi?: string | undefined;
456
- ligatures?: string[] | undefined;
457
- sitelen_sitelen?: string | undefined;
458
- ucsur?: string | undefined;
459
- }>>;
460
- source_language: z.ZodString;
461
- usage_category: z.ZodUnion<[z.ZodLiteral<"core">, z.ZodLiteral<"widespread">, z.ZodLiteral<"common">, z.ZodLiteral<"uncommon">, z.ZodLiteral<"rare">, z.ZodLiteral<"obscure">]>;
462
- word: z.ZodString;
463
- etymology: z.ZodArray<z.ZodObject<{
464
- word: z.ZodOptional<z.ZodString>;
465
- alt: z.ZodOptional<z.ZodString>;
466
- }, "strip", z.ZodTypeAny, {
467
- word?: string | undefined;
468
- alt?: string | undefined;
469
- }, {
470
- word?: string | undefined;
471
- alt?: string | undefined;
472
- }>, "many">;
473
- audio: z.ZodArray<z.ZodObject<{
474
- author: z.ZodString;
475
- link: z.ZodString;
476
- }, "strip", z.ZodTypeAny, {
477
- author: string;
478
- link: string;
479
- }, {
480
- author: string;
481
- link: string;
482
- }>, "many">;
483
- pu_verbatim: z.ZodOptional<z.ZodObject<{
484
- en: z.ZodString;
485
- fr: z.ZodString;
486
- de: z.ZodString;
487
- eo: z.ZodString;
488
- }, "strip", z.ZodTypeAny, {
489
- en: string;
490
- fr: string;
491
- de: string;
492
- eo: string;
493
- }, {
494
- en: string;
495
- fr: string;
496
- de: string;
497
- eo: string;
498
- }>>;
499
- usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
500
- translations: z.ZodRecord<z.ZodString, z.ZodObject<{
501
- commentary: z.ZodString;
502
- definition: z.ZodString;
503
- etymology: z.ZodArray<z.ZodObject<{
504
- definition: z.ZodOptional<z.ZodString>;
505
- language: z.ZodString;
506
- }, "strip", z.ZodTypeAny, {
507
- language: string;
508
- definition?: string | undefined;
509
- }, {
510
- language: string;
511
- definition?: string | undefined;
512
- }>, "many">;
513
- sp_etymology: z.ZodString;
514
- }, "strip", z.ZodTypeAny, {
515
- etymology: {
516
- language: string;
517
- definition?: string | undefined;
518
- }[];
519
- definition: string;
520
- commentary: string;
521
- sp_etymology: string;
522
- }, {
523
- etymology: {
524
- language: string;
525
- definition?: string | undefined;
526
- }[];
527
- definition: string;
528
- commentary: string;
529
- sp_etymology: string;
530
- }>>;
531
- }, "strip", z.ZodTypeAny, {
532
- id: string;
533
- author_verbatim: string;
534
- author_verbatim_source: string;
535
- book: "pu" | "ku suli" | "ku lili" | "none";
536
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
537
- coined_year: string;
538
- creator: string[];
539
- see_also: string[];
540
- source_language: string;
541
- usage_category: "core" | "widespread" | "common" | "uncommon" | "rare" | "obscure";
542
- word: string;
543
- etymology: {
544
- word?: string | undefined;
545
- alt?: string | undefined;
546
- }[];
547
- audio: {
548
- author: string;
549
- link: string;
550
- }[];
551
- usage: Record<string, number>;
552
- translations: Record<string, {
553
- etymology: {
554
- language: string;
555
- definition?: string | undefined;
556
- }[];
557
- definition: string;
558
- commentary: string;
559
- sp_etymology: string;
560
- }>;
561
- ku_data?: Record<string, number> | undefined;
562
- resources?: {
563
- sona_pona?: string | undefined;
564
- lipamanka_semantic?: string | undefined;
565
- } | undefined;
566
- representations?: {
567
- sitelen_emosi?: string | undefined;
568
- ligatures?: string[] | undefined;
569
- sitelen_sitelen?: string | undefined;
570
- ucsur?: string | undefined;
571
- } | undefined;
572
- pu_verbatim?: {
573
- en: string;
574
- fr: string;
575
- de: string;
576
- eo: string;
577
- } | undefined;
578
- }, {
579
- id: string;
580
- author_verbatim: string;
581
- author_verbatim_source: string;
582
- book: "pu" | "ku suli" | "ku lili" | "none";
583
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
584
- coined_year: string;
585
- creator: string[];
586
- see_also: string[];
587
- source_language: string;
588
- usage_category: "core" | "widespread" | "common" | "uncommon" | "rare" | "obscure";
589
- word: string;
590
- etymology: {
591
- word?: string | undefined;
592
- alt?: string | undefined;
593
- }[];
594
- audio: {
595
- author: string;
596
- link: string;
597
- }[];
598
- usage: Record<string, number>;
599
- translations: Record<string, {
600
- etymology: {
601
- language: string;
602
- definition?: string | undefined;
603
- }[];
604
- definition: string;
605
- commentary: string;
606
- sp_etymology: string;
607
- }>;
608
- ku_data?: Record<string, number> | undefined;
609
- resources?: {
610
- sona_pona?: string | undefined;
611
- lipamanka_semantic?: string | undefined;
612
- } | undefined;
613
- representations?: {
614
- sitelen_emosi?: string | undefined;
615
- ligatures?: string[] | undefined;
616
- sitelen_sitelen?: string | undefined;
617
- ucsur?: string | undefined;
618
- } | undefined;
619
- pu_verbatim?: {
620
- en: string;
621
- fr: string;
622
- de: string;
623
- eo: string;
624
- } | undefined;
625
- }>>;
626
- type Words = z.infer<typeof Words>;
627
- type LocalizedWord = Words[string];
628
- declare const Sandbox: z.ZodRecord<z.ZodString, z.ZodObject<{
629
- id: z.ZodString;
630
- author_verbatim: z.ZodString;
631
- author_verbatim_source: z.ZodString;
632
- book: z.ZodUnion<[z.ZodLiteral<"pu">, z.ZodLiteral<"ku suli">, z.ZodLiteral<"ku lili">, z.ZodLiteral<"none">]>;
633
- coined_era: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"pre-pu">, z.ZodLiteral<"post-pu">, z.ZodLiteral<"post-ku">]>, z.ZodLiteral<"">]>;
634
- coined_year: z.ZodString;
635
- creator: z.ZodArray<z.ZodString, "many">;
636
- ku_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
637
- see_also: z.ZodArray<z.ZodString, "many">;
638
- resources: z.ZodOptional<z.ZodObject<{
639
- sona_pona: z.ZodOptional<z.ZodString>;
640
- lipamanka_semantic: z.ZodOptional<z.ZodString>;
641
- }, "strip", z.ZodTypeAny, {
642
- sona_pona?: string | undefined;
643
- lipamanka_semantic?: string | undefined;
644
- }, {
645
- sona_pona?: string | undefined;
646
- lipamanka_semantic?: string | undefined;
647
- }>>;
648
- representations: z.ZodOptional<z.ZodObject<{
649
- sitelen_emosi: z.ZodOptional<z.ZodString>;
650
- ligatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
651
- sitelen_sitelen: z.ZodOptional<z.ZodString>;
652
- ucsur: z.ZodOptional<z.ZodString>;
653
- }, "strip", z.ZodTypeAny, {
654
- sitelen_emosi?: string | undefined;
655
- ligatures?: string[] | undefined;
656
- sitelen_sitelen?: string | undefined;
657
- ucsur?: string | undefined;
658
- }, {
659
- sitelen_emosi?: string | undefined;
660
- ligatures?: string[] | undefined;
661
- sitelen_sitelen?: string | undefined;
662
- ucsur?: string | undefined;
663
- }>>;
664
- source_language: z.ZodString;
665
- usage_category: z.ZodUnion<[z.ZodLiteral<"core">, z.ZodLiteral<"widespread">, z.ZodLiteral<"common">, z.ZodLiteral<"uncommon">, z.ZodLiteral<"rare">, z.ZodLiteral<"obscure">]>;
666
- word: z.ZodString;
667
- etymology: z.ZodArray<z.ZodObject<{
668
- word: z.ZodOptional<z.ZodString>;
669
- alt: z.ZodOptional<z.ZodString>;
670
- }, "strip", z.ZodTypeAny, {
671
- word?: string | undefined;
672
- alt?: string | undefined;
673
- }, {
674
- word?: string | undefined;
675
- alt?: string | undefined;
676
- }>, "many">;
677
- audio: z.ZodArray<z.ZodObject<{
678
- author: z.ZodString;
679
- link: z.ZodString;
680
- }, "strip", z.ZodTypeAny, {
681
- author: string;
682
- link: string;
683
- }, {
684
- author: string;
685
- link: string;
686
- }>, "many">;
687
- pu_verbatim: z.ZodOptional<z.ZodObject<{
688
- en: z.ZodString;
689
- fr: z.ZodString;
690
- de: z.ZodString;
691
- eo: z.ZodString;
692
- }, "strip", z.ZodTypeAny, {
693
- en: string;
694
- fr: string;
695
- de: string;
696
- eo: string;
697
- }, {
698
- en: string;
699
- fr: string;
700
- de: string;
701
- eo: string;
702
- }>>;
703
- usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
704
- translations: z.ZodRecord<z.ZodString, z.ZodObject<{
705
- commentary: z.ZodString;
706
- definition: z.ZodString;
707
- etymology: z.ZodArray<z.ZodObject<{
708
- definition: z.ZodOptional<z.ZodString>;
709
- language: z.ZodString;
710
- }, "strip", z.ZodTypeAny, {
711
- language: string;
712
- definition?: string | undefined;
713
- }, {
714
- language: string;
715
- definition?: string | undefined;
716
- }>, "many">;
717
- sp_etymology: z.ZodString;
718
- }, "strip", z.ZodTypeAny, {
719
- etymology: {
720
- language: string;
721
- definition?: string | undefined;
722
- }[];
723
- definition: string;
724
- commentary: string;
725
- sp_etymology: string;
726
- }, {
727
- etymology: {
728
- language: string;
729
- definition?: string | undefined;
730
- }[];
731
- definition: string;
732
- commentary: string;
733
- sp_etymology: string;
734
- }>>;
735
- }, "strip", z.ZodTypeAny, {
736
- id: string;
737
- author_verbatim: string;
738
- author_verbatim_source: string;
739
- book: "pu" | "ku suli" | "ku lili" | "none";
740
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
741
- coined_year: string;
742
- creator: string[];
743
- see_also: string[];
744
- source_language: string;
745
- usage_category: "core" | "widespread" | "common" | "uncommon" | "rare" | "obscure";
746
- word: string;
747
- etymology: {
748
- word?: string | undefined;
749
- alt?: string | undefined;
750
- }[];
751
- audio: {
752
- author: string;
753
- link: string;
754
- }[];
755
- usage: Record<string, number>;
756
- translations: Record<string, {
757
- etymology: {
758
- language: string;
759
- definition?: string | undefined;
760
- }[];
761
- definition: string;
762
- commentary: string;
763
- sp_etymology: string;
764
- }>;
765
- ku_data?: Record<string, number> | undefined;
766
- resources?: {
767
- sona_pona?: string | undefined;
768
- lipamanka_semantic?: string | undefined;
769
- } | undefined;
770
- representations?: {
771
- sitelen_emosi?: string | undefined;
772
- ligatures?: string[] | undefined;
773
- sitelen_sitelen?: string | undefined;
774
- ucsur?: string | undefined;
775
- } | undefined;
776
- pu_verbatim?: {
777
- en: string;
778
- fr: string;
779
- de: string;
780
- eo: string;
781
- } | undefined;
782
- }, {
783
- id: string;
784
- author_verbatim: string;
785
- author_verbatim_source: string;
786
- book: "pu" | "ku suli" | "ku lili" | "none";
787
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
788
- coined_year: string;
789
- creator: string[];
790
- see_also: string[];
791
- source_language: string;
792
- usage_category: "core" | "widespread" | "common" | "uncommon" | "rare" | "obscure";
793
- word: string;
794
- etymology: {
795
- word?: string | undefined;
796
- alt?: string | undefined;
797
- }[];
798
- audio: {
799
- author: string;
800
- link: string;
801
- }[];
802
- usage: Record<string, number>;
803
- translations: Record<string, {
804
- etymology: {
805
- language: string;
806
- definition?: string | undefined;
807
- }[];
808
- definition: string;
809
- commentary: string;
810
- sp_etymology: string;
811
- }>;
812
- ku_data?: Record<string, number> | undefined;
813
- resources?: {
814
- sona_pona?: string | undefined;
815
- lipamanka_semantic?: string | undefined;
816
- } | undefined;
817
- representations?: {
818
- sitelen_emosi?: string | undefined;
819
- ligatures?: string[] | undefined;
820
- sitelen_sitelen?: string | undefined;
821
- ucsur?: string | undefined;
822
- } | undefined;
823
- pu_verbatim?: {
824
- en: string;
825
- fr: string;
826
- de: string;
827
- eo: string;
828
- } | undefined;
829
- }>>;
830
- type Sandbox = z.infer<typeof Sandbox>;
831
- declare const Signs: z.ZodRecord<z.ZodString, z.ZodObject<{
832
- id: z.ZodString;
833
- etymology: z.ZodArray<z.ZodObject<{
834
- language: z.ZodString;
835
- sign: z.ZodOptional<z.ZodString>;
836
- }, "strip", z.ZodTypeAny, {
837
- language: string;
838
- sign?: string | undefined;
839
- }, {
840
- language: string;
841
- sign?: string | undefined;
842
- }>, "many">;
843
- definition: z.ZodString;
844
- is_two_handed: z.ZodBoolean;
845
- new_gloss: z.ZodString;
846
- old_gloss: z.ZodString;
847
- signwriting: z.ZodObject<{
848
- fsw: z.ZodString;
849
- swu: z.ZodString;
850
- }, "strip", z.ZodTypeAny, {
851
- fsw: string;
852
- swu: string;
853
- }, {
854
- fsw: string;
855
- swu: string;
856
- }>;
857
- video: z.ZodObject<{
858
- gif: z.ZodString;
859
- mp4: z.ZodString;
860
- }, "strip", z.ZodTypeAny, {
861
- gif: string;
862
- mp4: string;
863
- }, {
864
- gif: string;
865
- mp4: string;
866
- }>;
867
- translations: z.ZodRecord<z.ZodString, z.ZodObject<{
868
- parameters: z.ZodObject<{
869
- handshape: z.ZodOptional<z.ZodString>;
870
- movement: z.ZodOptional<z.ZodString>;
871
- placement: z.ZodOptional<z.ZodString>;
872
- orientation: z.ZodOptional<z.ZodString>;
873
- }, "strip", z.ZodTypeAny, {
874
- handshape?: string | undefined;
875
- movement?: string | undefined;
876
- placement?: string | undefined;
877
- orientation?: string | undefined;
878
- }, {
879
- handshape?: string | undefined;
880
- movement?: string | undefined;
881
- placement?: string | undefined;
882
- orientation?: string | undefined;
883
- }>;
884
- icons: z.ZodString;
885
- }, "strip", z.ZodTypeAny, {
886
- parameters: {
887
- handshape?: string | undefined;
888
- movement?: string | undefined;
889
- placement?: string | undefined;
890
- orientation?: string | undefined;
891
- };
892
- icons: string;
893
- }, {
894
- parameters: {
895
- handshape?: string | undefined;
896
- movement?: string | undefined;
897
- placement?: string | undefined;
898
- orientation?: string | undefined;
899
- };
900
- icons: string;
901
- }>>;
902
- }, "strip", z.ZodTypeAny, {
903
- id: string;
904
- etymology: {
905
- language: string;
906
- sign?: string | undefined;
907
- }[];
908
- definition: string;
909
- is_two_handed: boolean;
910
- new_gloss: string;
911
- old_gloss: string;
912
- signwriting: {
913
- fsw: string;
914
- swu: string;
915
- };
916
- video: {
917
- gif: string;
918
- mp4: string;
919
- };
920
- translations: Record<string, {
921
- parameters: {
922
- handshape?: string | undefined;
923
- movement?: string | undefined;
924
- placement?: string | undefined;
925
- orientation?: string | undefined;
926
- };
927
- icons: string;
928
- }>;
929
- }, {
930
- id: string;
931
- etymology: {
932
- language: string;
933
- sign?: string | undefined;
934
- }[];
935
- definition: string;
936
- is_two_handed: boolean;
937
- new_gloss: string;
938
- old_gloss: string;
939
- signwriting: {
940
- fsw: string;
941
- swu: string;
942
- };
943
- video: {
944
- gif: string;
945
- mp4: string;
946
- };
947
- translations: Record<string, {
948
- parameters: {
949
- handshape?: string | undefined;
950
- movement?: string | undefined;
951
- placement?: string | undefined;
952
- orientation?: string | undefined;
953
- };
954
- icons: string;
955
- }>;
956
- }>>;
957
- type Signs = z.infer<typeof Signs>;
958
- type LocalizedSign = Signs[string];
959
- declare const Fingerspelling: z.ZodRecord<z.ZodString, z.ZodObject<{
960
- id: z.ZodString;
961
- etymology: z.ZodArray<z.ZodObject<{
962
- language: z.ZodString;
963
- sign: z.ZodString;
964
- }, "strip", z.ZodTypeAny, {
965
- language: string;
966
- sign: string;
967
- }, {
968
- language: string;
969
- sign: string;
970
- }>, "many">;
971
- is_two_handed: z.ZodBoolean;
972
- signwriting: z.ZodObject<{
973
- fsw: z.ZodString;
974
- swu: z.ZodString;
975
- }, "strip", z.ZodTypeAny, {
976
- fsw: string;
977
- swu: string;
978
- }, {
979
- fsw: string;
980
- swu: string;
981
- }>;
982
- video: z.ZodObject<{
983
- gif: z.ZodOptional<z.ZodString>;
984
- mp4: z.ZodOptional<z.ZodString>;
985
- }, "strip", z.ZodTypeAny, {
986
- gif?: string | undefined;
987
- mp4?: string | undefined;
988
- }, {
989
- gif?: string | undefined;
990
- mp4?: string | undefined;
991
- }>;
992
- translations: z.ZodRecord<z.ZodString, z.ZodObject<{
993
- parameters: z.ZodObject<{
994
- handshape: z.ZodOptional<z.ZodString>;
995
- movement: z.ZodOptional<z.ZodString>;
996
- placement: z.ZodOptional<z.ZodString>;
997
- orientation: z.ZodOptional<z.ZodString>;
998
- }, "strip", z.ZodTypeAny, {
999
- handshape?: string | undefined;
1000
- movement?: string | undefined;
1001
- placement?: string | undefined;
1002
- orientation?: string | undefined;
1003
- }, {
1004
- handshape?: string | undefined;
1005
- movement?: string | undefined;
1006
- placement?: string | undefined;
1007
- orientation?: string | undefined;
1008
- }>;
1009
- }, "strip", z.ZodTypeAny, {
1010
- parameters: {
1011
- handshape?: string | undefined;
1012
- movement?: string | undefined;
1013
- placement?: string | undefined;
1014
- orientation?: string | undefined;
1015
- };
1016
- }, {
1017
- parameters: {
1018
- handshape?: string | undefined;
1019
- movement?: string | undefined;
1020
- placement?: string | undefined;
1021
- orientation?: string | undefined;
1022
- };
1023
- }>>;
1024
- }, "strip", z.ZodTypeAny, {
1025
- id: string;
1026
- etymology: {
1027
- language: string;
1028
- sign: string;
1029
- }[];
1030
- is_two_handed: boolean;
1031
- signwriting: {
1032
- fsw: string;
1033
- swu: string;
1034
- };
1035
- video: {
1036
- gif?: string | undefined;
1037
- mp4?: string | undefined;
1038
- };
1039
- translations: Record<string, {
1040
- parameters: {
1041
- handshape?: string | undefined;
1042
- movement?: string | undefined;
1043
- placement?: string | undefined;
1044
- orientation?: string | undefined;
1045
- };
1046
- }>;
1047
- }, {
1048
- id: string;
1049
- etymology: {
1050
- language: string;
1051
- sign: string;
1052
- }[];
1053
- is_two_handed: boolean;
1054
- signwriting: {
1055
- fsw: string;
1056
- swu: string;
1057
- };
1058
- video: {
1059
- gif?: string | undefined;
1060
- mp4?: string | undefined;
1061
- };
1062
- translations: Record<string, {
1063
- parameters: {
1064
- handshape?: string | undefined;
1065
- movement?: string | undefined;
1066
- placement?: string | undefined;
1067
- orientation?: string | undefined;
1068
- };
1069
- }>;
1070
- }>>;
1071
- type Fingerspelling = z.infer<typeof Fingerspelling>;
1072
- type LocalizedFingerspellingSign = Fingerspelling[string];
1073
- declare const Fonts: z.ZodRecord<z.ZodString, z.ZodObject<{
1074
- id: z.ZodString;
1075
- creator: z.ZodArray<z.ZodString, "many">;
1076
- features: z.ZodArray<z.ZodString, "many">;
1077
- filename: z.ZodString;
1078
- last_updated: z.ZodOptional<z.ZodString>;
1079
- license: z.ZodString;
1080
- ligatures: z.ZodBoolean;
1081
- name: z.ZodString;
1082
- style: z.ZodString;
1083
- ucsur: z.ZodBoolean;
1084
- version: z.ZodString;
1085
- writing_system: z.ZodEnum<["sitelen pona", "sitelen sitelen", "alphabet", "syllabary", "logography", "tokiponido alphabet", "tokiponido syllabary", "tokiponido logography"]>;
1086
- links: z.ZodObject<{
1087
- fontfile: z.ZodOptional<z.ZodString>;
1088
- repo: z.ZodOptional<z.ZodString>;
1089
- webpage: z.ZodOptional<z.ZodString>;
1090
- }, "strip", z.ZodTypeAny, {
1091
- fontfile?: string | undefined;
1092
- repo?: string | undefined;
1093
- webpage?: string | undefined;
1094
- }, {
1095
- fontfile?: string | undefined;
1096
- repo?: string | undefined;
1097
- webpage?: string | undefined;
1098
- }>;
1099
- }, "strip", z.ZodTypeAny, {
1100
- id: string;
1101
- creator: string[];
1102
- ligatures: boolean;
1103
- ucsur: boolean;
1104
- features: string[];
1105
- filename: string;
1106
- license: string;
1107
- name: string;
1108
- style: string;
1109
- version: string;
1110
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
1111
- links: {
1112
- fontfile?: string | undefined;
1113
- repo?: string | undefined;
1114
- webpage?: string | undefined;
1115
- };
1116
- last_updated?: string | undefined;
1117
- }, {
1118
- id: string;
1119
- creator: string[];
1120
- ligatures: boolean;
1121
- ucsur: boolean;
1122
- features: string[];
1123
- filename: string;
1124
- license: string;
1125
- name: string;
1126
- style: string;
1127
- version: string;
1128
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
1129
- links: {
1130
- fontfile?: string | undefined;
1131
- repo?: string | undefined;
1132
- webpage?: string | undefined;
1133
- };
1134
- last_updated?: string | undefined;
1135
- }>>;
1136
- type Fonts = z.infer<typeof Fonts>;
1137
- declare const Languages: z.ZodRecord<z.ZodString, z.ZodObject<{
1138
- locale: z.ZodString;
1139
- name: z.ZodObject<{
1140
- en: z.ZodString;
1141
- tok: z.ZodOptional<z.ZodString>;
1142
- endonym: z.ZodOptional<z.ZodString>;
1143
- }, "strip", z.ZodTypeAny, {
1144
- en: string;
1145
- tok?: string | undefined;
1146
- endonym?: string | undefined;
1147
- }, {
1148
- en: string;
1149
- tok?: string | undefined;
1150
- endonym?: string | undefined;
1151
- }>;
1152
- }, "strip", z.ZodTypeAny, {
1153
- name: {
1154
- en: string;
1155
- tok?: string | undefined;
1156
- endonym?: string | undefined;
1157
- };
1158
- locale: string;
1159
- }, {
1160
- name: {
1161
- en: string;
1162
- tok?: string | undefined;
1163
- endonym?: string | undefined;
1164
- };
1165
- locale: string;
1166
- }>>;
1167
- type Languages = z.infer<typeof Languages>;
1168
- type Language = Languages[string];
1169
-
1170
- export { Book, CoinedEra, CommentaryTranslation, DefinitionTranslation, EtymologyTranslation, Fingerspelling, FingerspellingSign, Font, type FontLinks, Fonts, IconTranslation, type Language, Languages, type LocalizedFingerspellingSign, type LocalizedSign, type LocalizedSignParameters, type LocalizedWord, type LocalizedWordCommentary, type LocalizedWordDefinition, type LocalizedWordEtymology, type LocalizedWordSitelenEtymology, ParametersTranslation, Sandbox, Sign, type SignEtymology, type SignVideo, type SignWriting, Signs, SitelenPonaTranslation, UsageCategory, Word, type WordAudio, type WordKuData, type WordPuVerbatim, type WordRepresentations, type WordTranslation, type WordTranslations, type WordUsage, Words, WritingSystem, getTranslatedData };
1
+ export * from './lib/index'