@kulupu-linku/sona 0.3.7 → 2.1.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.
Files changed (78) hide show
  1. package/dist/index-7uKIarVW.d.mts +1495 -0
  2. package/dist/index-N8h8E1s6.d.mts +398 -0
  3. package/dist/index-nmyNJa57.d.mts +300 -0
  4. package/dist/lib/v1/client.d.mts +1610 -0
  5. package/dist/lib/v1/client.mjs +8 -0
  6. package/dist/lib/v1/client.test.d.mts +30 -0
  7. package/dist/lib/v1/client.test.mjs +2 -0
  8. package/dist/lib/v1/index.d.mts +2 -0
  9. package/dist/lib/v1/index.mjs +137 -0
  10. package/dist/lib/v1/types.d.mts +2 -0
  11. package/dist/lib/v1/types.mjs +1 -0
  12. package/dist/lib/v1/utils.d.mts +26 -0
  13. package/dist/lib/v1/utils.mjs +35 -0
  14. package/dist/lib/v2/client.d.mts +1610 -0
  15. package/dist/lib/v2/client.mjs +8 -0
  16. package/dist/lib/v2/client.test.d.mts +35 -0
  17. package/dist/lib/v2/client.test.mjs +2 -0
  18. package/dist/lib/v2/index.d.mts +2 -0
  19. package/dist/lib/v2/index.mjs +192 -0
  20. package/dist/lib/v2/types.d.mts +2 -0
  21. package/dist/lib/v2/types.mjs +1 -0
  22. package/dist/lib/v2/utils.d.mts +44 -0
  23. package/dist/lib/v2/utils.mjs +38 -0
  24. package/dist/server/index.d.mts +2 -0
  25. package/dist/server/index.mjs +35 -0
  26. package/dist/server/utils.d.mts +27 -0
  27. package/dist/server/utils.mjs +31 -0
  28. package/dist/server/v1/index.d.mts +902 -0
  29. package/dist/server/v1/index.mjs +2 -0
  30. package/dist/server/v2/index.d.mts +1112 -0
  31. package/dist/server/v2/index.mjs +2 -0
  32. package/dist/server/versioning.d.mts +2019 -0
  33. package/dist/server/versioning.mjs +2 -0
  34. package/dist/v1-Da4_o5R1.mjs +261 -0
  35. package/generated/{commentary_translation.json → v1/commentary_translation.json} +1 -1
  36. package/generated/{definition_translation.json → v1/definition_translation.json} +1 -1
  37. package/generated/{etymology_translation.json → v1/etymology_translation.json} +2 -4
  38. package/generated/{fingerspelling.json → v1/fingerspelling.json} +5 -20
  39. package/generated/{fingerspelling_sign.json → v1/fingerspelling_sign.json} +4 -16
  40. package/generated/{font.json → v1/font.json} +1 -1
  41. package/generated/{fonts.json → v1/fonts.json} +1 -1
  42. package/generated/{icon_translation.json → v1/icon_translation.json} +1 -1
  43. package/generated/{languages.json → v1/languages.json} +4 -14
  44. package/generated/{parameters_translation.json → v1/parameters_translation.json} +1 -1
  45. package/generated/{sign.json → v1/sign.json} +3 -8
  46. package/generated/{signs.json → v1/signs.json} +4 -12
  47. package/generated/{sitelen_pona_translation.json → v1/sitelen_pona_translation.json} +1 -1
  48. package/generated/{word.json → v1/word.json} +6 -29
  49. package/generated/v2/fingerspelling.json +184 -0
  50. package/generated/v2/fingerspellings.json +198 -0
  51. package/generated/v2/font.json +164 -0
  52. package/generated/v2/fonts.json +178 -0
  53. package/generated/v2/glyph.json +186 -0
  54. package/generated/v2/glyphs.json +196 -0
  55. package/generated/v2/language.json +76 -0
  56. package/generated/v2/languages.json +86 -0
  57. package/generated/v2/sign.json +221 -0
  58. package/generated/v2/signs.json +235 -0
  59. package/generated/v2/word.json +449 -0
  60. package/generated/v2/words.json +459 -0
  61. package/package.json +66 -35
  62. package/dist/client.d.ts +0 -2
  63. package/dist/client.js +0 -172
  64. package/dist/index.d.ts +0 -2
  65. package/dist/index.js +0 -223
  66. package/dist/lib/client.d.ts +0 -743
  67. package/dist/lib/client.test.d.ts +0 -27
  68. package/dist/lib/index.d.ts +0 -962
  69. package/dist/lib/types.d.ts +0 -17
  70. package/dist/lib/utils.d.ts +0 -13
  71. package/dist/server/index.d.ts +0 -685
  72. package/dist/server/utils.d.ts +0 -19
  73. package/dist/server/v1/index.d.ts +0 -677
  74. package/dist/server/versioning.d.ts +0 -2423
  75. package/dist/utils-B3Jq5OVZ.js +0 -2899
  76. package/dist/utils.d.ts +0 -2
  77. package/dist/utils.js +0 -9
  78. package/generated/words.json +0 -315
@@ -1,2423 +0,0 @@
1
- import { Hono } from 'hono';
2
- import { z } from 'zod';
3
- export declare const BASE_URL = "https://raw.githubusercontent.com/lipu-linku/sona";
4
- export type ApiVersion = "v1";
5
- export type Versions = {
6
- [version in ApiVersion]: {
7
- branch: string;
8
- schemas: Record<string, z.ZodType>;
9
- raw: Record<string, {
10
- filename: `${string}.${string}`;
11
- schema: z.ZodType;
12
- }>;
13
- };
14
- };
15
- export declare const versions: {
16
- readonly v1: {
17
- readonly branch: string;
18
- readonly schemas: {
19
- readonly words: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
20
- id: z.ZodString;
21
- author_verbatim: z.ZodString;
22
- author_verbatim_source: z.ZodString;
23
- book: z.ZodUnion<[z.ZodLiteral<"pu">, z.ZodLiteral<"ku suli">, z.ZodLiteral<"ku lili">, z.ZodLiteral<"none">]>;
24
- coined_era: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"pre-pu">, z.ZodLiteral<"post-pu">, z.ZodLiteral<"post-ku">]>, z.ZodLiteral<"">]>;
25
- coined_year: z.ZodString;
26
- creator: z.ZodArray<z.ZodString, "many">;
27
- ku_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
28
- see_also: z.ZodArray<z.ZodString, "many">;
29
- resources: z.ZodOptional<z.ZodObject<{
30
- sona_pona: z.ZodOptional<z.ZodString>;
31
- lipamanka_semantic: z.ZodOptional<z.ZodString>;
32
- }, "strip", z.ZodTypeAny, {
33
- sona_pona?: string | undefined;
34
- lipamanka_semantic?: string | undefined;
35
- }, {
36
- sona_pona?: string | undefined;
37
- lipamanka_semantic?: string | undefined;
38
- }>>;
39
- representations: z.ZodOptional<z.ZodObject<{
40
- sitelen_emosi: z.ZodOptional<z.ZodString>;
41
- sitelen_jelo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
42
- ligatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43
- sitelen_sitelen: z.ZodOptional<z.ZodString>;
44
- ucsur: z.ZodOptional<z.ZodString>;
45
- }, "strip", z.ZodTypeAny, {
46
- sitelen_emosi?: string | undefined;
47
- sitelen_jelo?: string[] | undefined;
48
- ligatures?: string[] | undefined;
49
- sitelen_sitelen?: string | undefined;
50
- ucsur?: string | undefined;
51
- }, {
52
- sitelen_emosi?: string | undefined;
53
- sitelen_jelo?: string[] | undefined;
54
- ligatures?: string[] | undefined;
55
- sitelen_sitelen?: string | undefined;
56
- ucsur?: string | undefined;
57
- }>>;
58
- source_language: z.ZodString;
59
- usage_category: z.ZodUnion<[z.ZodLiteral<"core">, z.ZodLiteral<"common">, z.ZodLiteral<"uncommon">, z.ZodLiteral<"obscure">, z.ZodLiteral<"sandbox">]>;
60
- word: z.ZodString;
61
- deprecated: z.ZodBoolean;
62
- etymology: z.ZodArray<z.ZodObject<{
63
- word: z.ZodOptional<z.ZodString>;
64
- alt: z.ZodOptional<z.ZodString>;
65
- }, "strip", z.ZodTypeAny, {
66
- word?: string | undefined;
67
- alt?: string | undefined;
68
- }, {
69
- word?: string | undefined;
70
- alt?: string | undefined;
71
- }>, "many">;
72
- audio: z.ZodArray<z.ZodObject<{
73
- author: z.ZodString;
74
- link: z.ZodString;
75
- }, "strip", z.ZodTypeAny, {
76
- author: string;
77
- link: string;
78
- }, {
79
- author: string;
80
- link: string;
81
- }>, "many">;
82
- pu_verbatim: z.ZodOptional<z.ZodObject<{
83
- en: z.ZodString;
84
- fr: z.ZodString;
85
- de: z.ZodString;
86
- eo: z.ZodString;
87
- }, "strip", z.ZodTypeAny, {
88
- en: string;
89
- fr: string;
90
- de: string;
91
- eo: string;
92
- }, {
93
- en: string;
94
- fr: string;
95
- de: string;
96
- eo: string;
97
- }>>;
98
- usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
99
- }, {
100
- translations: z.ZodRecord<z.ZodString, z.ZodObject<{
101
- commentary: z.ZodString;
102
- definition: z.ZodString;
103
- etymology: z.ZodArray<z.ZodObject<{
104
- definition: z.ZodOptional<z.ZodString>;
105
- language: z.ZodString;
106
- }, "strip", z.ZodTypeAny, {
107
- language: string;
108
- definition?: string | undefined;
109
- }, {
110
- language: string;
111
- definition?: string | undefined;
112
- }>, "many">;
113
- sp_etymology: z.ZodString;
114
- }, "strip", z.ZodTypeAny, {
115
- etymology: {
116
- language: string;
117
- definition?: string | undefined;
118
- }[];
119
- commentary: string;
120
- definition: string;
121
- sp_etymology: string;
122
- }, {
123
- etymology: {
124
- language: string;
125
- definition?: string | undefined;
126
- }[];
127
- commentary: string;
128
- definition: string;
129
- sp_etymology: string;
130
- }>>;
131
- }>, "strip", z.ZodTypeAny, {
132
- id: string;
133
- author_verbatim: string;
134
- author_verbatim_source: string;
135
- book: "pu" | "ku suli" | "ku lili" | "none";
136
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
137
- coined_year: string;
138
- creator: string[];
139
- see_also: string[];
140
- source_language: string;
141
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
142
- word: string;
143
- deprecated: boolean;
144
- etymology: {
145
- word?: string | undefined;
146
- alt?: string | undefined;
147
- }[];
148
- audio: {
149
- author: string;
150
- link: string;
151
- }[];
152
- usage: Record<string, number>;
153
- translations: Record<string, {
154
- etymology: {
155
- language: string;
156
- definition?: string | undefined;
157
- }[];
158
- commentary: string;
159
- definition: string;
160
- sp_etymology: string;
161
- }>;
162
- ku_data?: Record<string, number> | undefined;
163
- resources?: {
164
- sona_pona?: string | undefined;
165
- lipamanka_semantic?: string | undefined;
166
- } | undefined;
167
- representations?: {
168
- sitelen_emosi?: string | undefined;
169
- sitelen_jelo?: string[] | undefined;
170
- ligatures?: string[] | undefined;
171
- sitelen_sitelen?: string | undefined;
172
- ucsur?: string | undefined;
173
- } | undefined;
174
- pu_verbatim?: {
175
- en: string;
176
- fr: string;
177
- de: string;
178
- eo: string;
179
- } | undefined;
180
- }, {
181
- id: string;
182
- author_verbatim: string;
183
- author_verbatim_source: string;
184
- book: "pu" | "ku suli" | "ku lili" | "none";
185
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
186
- coined_year: string;
187
- creator: string[];
188
- see_also: string[];
189
- source_language: string;
190
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
191
- word: string;
192
- deprecated: boolean;
193
- etymology: {
194
- word?: string | undefined;
195
- alt?: string | undefined;
196
- }[];
197
- audio: {
198
- author: string;
199
- link: string;
200
- }[];
201
- usage: Record<string, number>;
202
- translations: Record<string, {
203
- etymology: {
204
- language: string;
205
- definition?: string | undefined;
206
- }[];
207
- commentary: string;
208
- definition: string;
209
- sp_etymology: string;
210
- }>;
211
- ku_data?: Record<string, number> | undefined;
212
- resources?: {
213
- sona_pona?: string | undefined;
214
- lipamanka_semantic?: string | undefined;
215
- } | undefined;
216
- representations?: {
217
- sitelen_emosi?: string | undefined;
218
- sitelen_jelo?: string[] | undefined;
219
- ligatures?: string[] | undefined;
220
- sitelen_sitelen?: string | undefined;
221
- ucsur?: string | undefined;
222
- } | undefined;
223
- pu_verbatim?: {
224
- en: string;
225
- fr: string;
226
- de: string;
227
- eo: string;
228
- } | undefined;
229
- }>>;
230
- readonly word: z.ZodObject<{
231
- id: z.ZodString;
232
- author_verbatim: z.ZodString;
233
- author_verbatim_source: z.ZodString;
234
- book: z.ZodUnion<[z.ZodLiteral<"pu">, z.ZodLiteral<"ku suli">, z.ZodLiteral<"ku lili">, z.ZodLiteral<"none">]>;
235
- coined_era: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"pre-pu">, z.ZodLiteral<"post-pu">, z.ZodLiteral<"post-ku">]>, z.ZodLiteral<"">]>;
236
- coined_year: z.ZodString;
237
- creator: z.ZodArray<z.ZodString, "many">;
238
- ku_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
239
- see_also: z.ZodArray<z.ZodString, "many">;
240
- resources: z.ZodOptional<z.ZodObject<{
241
- sona_pona: z.ZodOptional<z.ZodString>;
242
- lipamanka_semantic: z.ZodOptional<z.ZodString>;
243
- }, "strip", z.ZodTypeAny, {
244
- sona_pona?: string | undefined;
245
- lipamanka_semantic?: string | undefined;
246
- }, {
247
- sona_pona?: string | undefined;
248
- lipamanka_semantic?: string | undefined;
249
- }>>;
250
- representations: z.ZodOptional<z.ZodObject<{
251
- sitelen_emosi: z.ZodOptional<z.ZodString>;
252
- sitelen_jelo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
253
- ligatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
254
- sitelen_sitelen: z.ZodOptional<z.ZodString>;
255
- ucsur: z.ZodOptional<z.ZodString>;
256
- }, "strip", z.ZodTypeAny, {
257
- sitelen_emosi?: string | undefined;
258
- sitelen_jelo?: string[] | undefined;
259
- ligatures?: string[] | undefined;
260
- sitelen_sitelen?: string | undefined;
261
- ucsur?: string | undefined;
262
- }, {
263
- sitelen_emosi?: string | undefined;
264
- sitelen_jelo?: string[] | undefined;
265
- ligatures?: string[] | undefined;
266
- sitelen_sitelen?: string | undefined;
267
- ucsur?: string | undefined;
268
- }>>;
269
- source_language: z.ZodString;
270
- usage_category: z.ZodUnion<[z.ZodLiteral<"core">, z.ZodLiteral<"common">, z.ZodLiteral<"uncommon">, z.ZodLiteral<"obscure">, z.ZodLiteral<"sandbox">]>;
271
- word: z.ZodString;
272
- deprecated: z.ZodBoolean;
273
- etymology: z.ZodArray<z.ZodObject<{
274
- word: z.ZodOptional<z.ZodString>;
275
- alt: z.ZodOptional<z.ZodString>;
276
- }, "strip", z.ZodTypeAny, {
277
- word?: string | undefined;
278
- alt?: string | undefined;
279
- }, {
280
- word?: string | undefined;
281
- alt?: string | undefined;
282
- }>, "many">;
283
- audio: z.ZodArray<z.ZodObject<{
284
- author: z.ZodString;
285
- link: z.ZodString;
286
- }, "strip", z.ZodTypeAny, {
287
- author: string;
288
- link: string;
289
- }, {
290
- author: string;
291
- link: string;
292
- }>, "many">;
293
- pu_verbatim: z.ZodOptional<z.ZodObject<{
294
- en: z.ZodString;
295
- fr: z.ZodString;
296
- de: z.ZodString;
297
- eo: z.ZodString;
298
- }, "strip", z.ZodTypeAny, {
299
- en: string;
300
- fr: string;
301
- de: string;
302
- eo: string;
303
- }, {
304
- en: string;
305
- fr: string;
306
- de: string;
307
- eo: string;
308
- }>>;
309
- usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
310
- }, "strip", z.ZodTypeAny, {
311
- id: string;
312
- author_verbatim: string;
313
- author_verbatim_source: string;
314
- book: "pu" | "ku suli" | "ku lili" | "none";
315
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
316
- coined_year: string;
317
- creator: string[];
318
- see_also: string[];
319
- source_language: string;
320
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
321
- word: string;
322
- deprecated: boolean;
323
- etymology: {
324
- word?: string | undefined;
325
- alt?: string | undefined;
326
- }[];
327
- audio: {
328
- author: string;
329
- link: string;
330
- }[];
331
- usage: Record<string, number>;
332
- ku_data?: Record<string, number> | undefined;
333
- resources?: {
334
- sona_pona?: string | undefined;
335
- lipamanka_semantic?: string | undefined;
336
- } | undefined;
337
- representations?: {
338
- sitelen_emosi?: string | undefined;
339
- sitelen_jelo?: string[] | undefined;
340
- ligatures?: string[] | undefined;
341
- sitelen_sitelen?: string | undefined;
342
- ucsur?: string | undefined;
343
- } | undefined;
344
- pu_verbatim?: {
345
- en: string;
346
- fr: string;
347
- de: string;
348
- eo: string;
349
- } | undefined;
350
- }, {
351
- id: string;
352
- author_verbatim: string;
353
- author_verbatim_source: string;
354
- book: "pu" | "ku suli" | "ku lili" | "none";
355
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
356
- coined_year: string;
357
- creator: string[];
358
- see_also: string[];
359
- source_language: string;
360
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
361
- word: string;
362
- deprecated: boolean;
363
- etymology: {
364
- word?: string | undefined;
365
- alt?: string | undefined;
366
- }[];
367
- audio: {
368
- author: string;
369
- link: string;
370
- }[];
371
- usage: Record<string, number>;
372
- ku_data?: Record<string, number> | undefined;
373
- resources?: {
374
- sona_pona?: string | undefined;
375
- lipamanka_semantic?: string | undefined;
376
- } | undefined;
377
- representations?: {
378
- sitelen_emosi?: string | undefined;
379
- sitelen_jelo?: string[] | undefined;
380
- ligatures?: string[] | undefined;
381
- sitelen_sitelen?: string | undefined;
382
- ucsur?: string | undefined;
383
- } | undefined;
384
- pu_verbatim?: {
385
- en: string;
386
- fr: string;
387
- de: string;
388
- eo: string;
389
- } | undefined;
390
- }>;
391
- readonly definition: z.ZodRecord<z.ZodString, z.ZodString>;
392
- readonly commentary: z.ZodRecord<z.ZodString, z.ZodString>;
393
- readonly etymology: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
394
- definition: z.ZodOptional<z.ZodString>;
395
- language: z.ZodString;
396
- }, "strip", z.ZodTypeAny, {
397
- language: string;
398
- definition?: string | undefined;
399
- }, {
400
- language: string;
401
- definition?: string | undefined;
402
- }>, "many">>;
403
- readonly sitelen_pona: z.ZodRecord<z.ZodString, z.ZodString>;
404
- readonly signs: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
405
- definition: z.ZodString;
406
- id: z.ZodString;
407
- is_two_handed: z.ZodBoolean;
408
- new_gloss: z.ZodString;
409
- old_gloss: z.ZodString;
410
- etymology: z.ZodArray<z.ZodObject<{
411
- language: z.ZodString;
412
- sign: z.ZodOptional<z.ZodString>;
413
- }, "strip", z.ZodTypeAny, {
414
- language: string;
415
- sign?: string | undefined;
416
- }, {
417
- language: string;
418
- sign?: string | undefined;
419
- }>, "many">;
420
- signwriting: z.ZodObject<{
421
- fsw: z.ZodString;
422
- swu: z.ZodString;
423
- }, "strip", z.ZodTypeAny, {
424
- fsw: string;
425
- swu: string;
426
- }, {
427
- fsw: string;
428
- swu: string;
429
- }>;
430
- video: z.ZodObject<{
431
- gif: z.ZodOptional<z.ZodString>;
432
- mp4: z.ZodOptional<z.ZodString>;
433
- }, "strip", z.ZodTypeAny, {
434
- gif?: string | undefined;
435
- mp4?: string | undefined;
436
- }, {
437
- gif?: string | undefined;
438
- mp4?: string | undefined;
439
- }>;
440
- }, {
441
- translations: z.ZodRecord<z.ZodString, z.ZodObject<{
442
- parameters: z.ZodObject<{
443
- handshape: z.ZodOptional<z.ZodString>;
444
- movement: z.ZodOptional<z.ZodString>;
445
- placement: z.ZodOptional<z.ZodString>;
446
- orientation: z.ZodOptional<z.ZodString>;
447
- }, "strip", z.ZodTypeAny, {
448
- handshape?: string | undefined;
449
- movement?: string | undefined;
450
- placement?: string | undefined;
451
- orientation?: string | undefined;
452
- }, {
453
- handshape?: string | undefined;
454
- movement?: string | undefined;
455
- placement?: string | undefined;
456
- orientation?: string | undefined;
457
- }>;
458
- icons: z.ZodString;
459
- }, "strip", z.ZodTypeAny, {
460
- parameters: {
461
- handshape?: string | undefined;
462
- movement?: string | undefined;
463
- placement?: string | undefined;
464
- orientation?: string | undefined;
465
- };
466
- icons: string;
467
- }, {
468
- parameters: {
469
- handshape?: string | undefined;
470
- movement?: string | undefined;
471
- placement?: string | undefined;
472
- orientation?: string | undefined;
473
- };
474
- icons: string;
475
- }>>;
476
- }>, "strip", z.ZodTypeAny, {
477
- id: string;
478
- etymology: {
479
- language: string;
480
- sign?: string | undefined;
481
- }[];
482
- translations: Record<string, {
483
- parameters: {
484
- handshape?: string | undefined;
485
- movement?: string | undefined;
486
- placement?: string | undefined;
487
- orientation?: string | undefined;
488
- };
489
- icons: string;
490
- }>;
491
- definition: string;
492
- is_two_handed: boolean;
493
- new_gloss: string;
494
- old_gloss: string;
495
- signwriting: {
496
- fsw: string;
497
- swu: string;
498
- };
499
- video: {
500
- gif?: string | undefined;
501
- mp4?: string | undefined;
502
- };
503
- }, {
504
- id: string;
505
- etymology: {
506
- language: string;
507
- sign?: string | undefined;
508
- }[];
509
- translations: Record<string, {
510
- parameters: {
511
- handshape?: string | undefined;
512
- movement?: string | undefined;
513
- placement?: string | undefined;
514
- orientation?: string | undefined;
515
- };
516
- icons: string;
517
- }>;
518
- definition: string;
519
- is_two_handed: boolean;
520
- new_gloss: string;
521
- old_gloss: string;
522
- signwriting: {
523
- fsw: string;
524
- swu: string;
525
- };
526
- video: {
527
- gif?: string | undefined;
528
- mp4?: string | undefined;
529
- };
530
- }>>;
531
- readonly sign: z.ZodObject<{
532
- definition: z.ZodString;
533
- id: z.ZodString;
534
- is_two_handed: z.ZodBoolean;
535
- new_gloss: z.ZodString;
536
- old_gloss: z.ZodString;
537
- etymology: z.ZodArray<z.ZodObject<{
538
- language: z.ZodString;
539
- sign: z.ZodOptional<z.ZodString>;
540
- }, "strip", z.ZodTypeAny, {
541
- language: string;
542
- sign?: string | undefined;
543
- }, {
544
- language: string;
545
- sign?: string | undefined;
546
- }>, "many">;
547
- signwriting: z.ZodObject<{
548
- fsw: z.ZodString;
549
- swu: z.ZodString;
550
- }, "strip", z.ZodTypeAny, {
551
- fsw: string;
552
- swu: string;
553
- }, {
554
- fsw: string;
555
- swu: string;
556
- }>;
557
- video: z.ZodObject<{
558
- gif: z.ZodOptional<z.ZodString>;
559
- mp4: z.ZodOptional<z.ZodString>;
560
- }, "strip", z.ZodTypeAny, {
561
- gif?: string | undefined;
562
- mp4?: string | undefined;
563
- }, {
564
- gif?: string | undefined;
565
- mp4?: string | undefined;
566
- }>;
567
- }, "strip", z.ZodTypeAny, {
568
- id: string;
569
- etymology: {
570
- language: string;
571
- sign?: string | undefined;
572
- }[];
573
- definition: string;
574
- is_two_handed: boolean;
575
- new_gloss: string;
576
- old_gloss: string;
577
- signwriting: {
578
- fsw: string;
579
- swu: string;
580
- };
581
- video: {
582
- gif?: string | undefined;
583
- mp4?: string | undefined;
584
- };
585
- }, {
586
- id: string;
587
- etymology: {
588
- language: string;
589
- sign?: string | undefined;
590
- }[];
591
- definition: string;
592
- is_two_handed: boolean;
593
- new_gloss: string;
594
- old_gloss: string;
595
- signwriting: {
596
- fsw: string;
597
- swu: string;
598
- };
599
- video: {
600
- gif?: string | undefined;
601
- mp4?: string | undefined;
602
- };
603
- }>;
604
- readonly fingerspelling: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
605
- id: z.ZodString;
606
- is_two_handed: z.ZodBoolean;
607
- etymology: z.ZodArray<z.ZodObject<{
608
- language: z.ZodString;
609
- sign: z.ZodString;
610
- }, "strip", z.ZodTypeAny, {
611
- language: string;
612
- sign: string;
613
- }, {
614
- language: string;
615
- sign: string;
616
- }>, "many">;
617
- signwriting: z.ZodObject<{
618
- fsw: z.ZodString;
619
- swu: z.ZodString;
620
- }, "strip", z.ZodTypeAny, {
621
- fsw: string;
622
- swu: string;
623
- }, {
624
- fsw: string;
625
- swu: string;
626
- }>;
627
- video: z.ZodObject<{
628
- gif: z.ZodOptional<z.ZodString>;
629
- mp4: z.ZodOptional<z.ZodString>;
630
- }, "strip", z.ZodTypeAny, {
631
- gif?: string | undefined;
632
- mp4?: string | undefined;
633
- }, {
634
- gif?: string | undefined;
635
- mp4?: string | undefined;
636
- }>;
637
- }, {
638
- translations: z.ZodRecord<z.ZodString, z.ZodObject<{
639
- parameters: z.ZodObject<{
640
- handshape: z.ZodOptional<z.ZodString>;
641
- movement: z.ZodOptional<z.ZodString>;
642
- placement: z.ZodOptional<z.ZodString>;
643
- orientation: z.ZodOptional<z.ZodString>;
644
- }, "strip", z.ZodTypeAny, {
645
- handshape?: string | undefined;
646
- movement?: string | undefined;
647
- placement?: string | undefined;
648
- orientation?: string | undefined;
649
- }, {
650
- handshape?: string | undefined;
651
- movement?: string | undefined;
652
- placement?: string | undefined;
653
- orientation?: string | undefined;
654
- }>;
655
- }, "strip", z.ZodTypeAny, {
656
- parameters: {
657
- handshape?: string | undefined;
658
- movement?: string | undefined;
659
- placement?: string | undefined;
660
- orientation?: string | undefined;
661
- };
662
- }, {
663
- parameters: {
664
- handshape?: string | undefined;
665
- movement?: string | undefined;
666
- placement?: string | undefined;
667
- orientation?: string | undefined;
668
- };
669
- }>>;
670
- }>, "strip", z.ZodTypeAny, {
671
- id: string;
672
- etymology: {
673
- language: string;
674
- sign: string;
675
- }[];
676
- translations: Record<string, {
677
- parameters: {
678
- handshape?: string | undefined;
679
- movement?: string | undefined;
680
- placement?: string | undefined;
681
- orientation?: string | undefined;
682
- };
683
- }>;
684
- is_two_handed: boolean;
685
- signwriting: {
686
- fsw: string;
687
- swu: string;
688
- };
689
- video: {
690
- gif?: string | undefined;
691
- mp4?: string | undefined;
692
- };
693
- }, {
694
- id: string;
695
- etymology: {
696
- language: string;
697
- sign: string;
698
- }[];
699
- translations: Record<string, {
700
- parameters: {
701
- handshape?: string | undefined;
702
- movement?: string | undefined;
703
- placement?: string | undefined;
704
- orientation?: string | undefined;
705
- };
706
- }>;
707
- is_two_handed: boolean;
708
- signwriting: {
709
- fsw: string;
710
- swu: string;
711
- };
712
- video: {
713
- gif?: string | undefined;
714
- mp4?: string | undefined;
715
- };
716
- }>>;
717
- readonly fingerspelling_sign: z.ZodObject<{
718
- id: z.ZodString;
719
- is_two_handed: z.ZodBoolean;
720
- etymology: z.ZodArray<z.ZodObject<{
721
- language: z.ZodString;
722
- sign: z.ZodString;
723
- }, "strip", z.ZodTypeAny, {
724
- language: string;
725
- sign: string;
726
- }, {
727
- language: string;
728
- sign: string;
729
- }>, "many">;
730
- signwriting: z.ZodObject<{
731
- fsw: z.ZodString;
732
- swu: z.ZodString;
733
- }, "strip", z.ZodTypeAny, {
734
- fsw: string;
735
- swu: string;
736
- }, {
737
- fsw: string;
738
- swu: string;
739
- }>;
740
- video: z.ZodObject<{
741
- gif: z.ZodOptional<z.ZodString>;
742
- mp4: z.ZodOptional<z.ZodString>;
743
- }, "strip", z.ZodTypeAny, {
744
- gif?: string | undefined;
745
- mp4?: string | undefined;
746
- }, {
747
- gif?: string | undefined;
748
- mp4?: string | undefined;
749
- }>;
750
- }, "strip", z.ZodTypeAny, {
751
- id: string;
752
- etymology: {
753
- language: string;
754
- sign: string;
755
- }[];
756
- is_two_handed: boolean;
757
- signwriting: {
758
- fsw: string;
759
- swu: string;
760
- };
761
- video: {
762
- gif?: string | undefined;
763
- mp4?: string | undefined;
764
- };
765
- }, {
766
- id: string;
767
- etymology: {
768
- language: string;
769
- sign: string;
770
- }[];
771
- is_two_handed: boolean;
772
- signwriting: {
773
- fsw: string;
774
- swu: string;
775
- };
776
- video: {
777
- gif?: string | undefined;
778
- mp4?: string | undefined;
779
- };
780
- }>;
781
- readonly sign_parameters: z.ZodRecord<z.ZodString, z.ZodObject<{
782
- handshape: z.ZodOptional<z.ZodString>;
783
- movement: z.ZodOptional<z.ZodString>;
784
- placement: z.ZodOptional<z.ZodString>;
785
- orientation: z.ZodOptional<z.ZodString>;
786
- }, "strip", z.ZodTypeAny, {
787
- handshape?: string | undefined;
788
- movement?: string | undefined;
789
- placement?: string | undefined;
790
- orientation?: string | undefined;
791
- }, {
792
- handshape?: string | undefined;
793
- movement?: string | undefined;
794
- placement?: string | undefined;
795
- orientation?: string | undefined;
796
- }>>;
797
- readonly sign_icons: z.ZodRecord<z.ZodString, z.ZodString>;
798
- readonly fonts: z.ZodRecord<z.ZodString, z.ZodObject<{
799
- id: z.ZodString;
800
- creator: z.ZodArray<z.ZodString, "many">;
801
- features: z.ZodArray<z.ZodString, "many">;
802
- filename: z.ZodString;
803
- last_updated: z.ZodOptional<z.ZodString>;
804
- license: z.ZodString;
805
- ligatures: z.ZodBoolean;
806
- name: z.ZodString;
807
- style: z.ZodString;
808
- ucsur: z.ZodBoolean;
809
- version: z.ZodString;
810
- writing_system: z.ZodEnum<["sitelen pona", "sitelen sitelen", "alphabet", "syllabary", "logography", "tokiponido alphabet", "tokiponido syllabary", "tokiponido logography"]>;
811
- links: z.ZodObject<{
812
- fontfile: z.ZodOptional<z.ZodString>;
813
- repo: z.ZodOptional<z.ZodString>;
814
- webpage: z.ZodOptional<z.ZodString>;
815
- }, "strip", z.ZodTypeAny, {
816
- fontfile?: string | undefined;
817
- repo?: string | undefined;
818
- webpage?: string | undefined;
819
- }, {
820
- fontfile?: string | undefined;
821
- repo?: string | undefined;
822
- webpage?: string | undefined;
823
- }>;
824
- }, "strip", z.ZodTypeAny, {
825
- id: string;
826
- creator: string[];
827
- ligatures: boolean;
828
- ucsur: boolean;
829
- features: string[];
830
- filename: string;
831
- license: string;
832
- name: string;
833
- style: string;
834
- version: string;
835
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
836
- links: {
837
- fontfile?: string | undefined;
838
- repo?: string | undefined;
839
- webpage?: string | undefined;
840
- };
841
- last_updated?: string | undefined;
842
- }, {
843
- id: string;
844
- creator: string[];
845
- ligatures: boolean;
846
- ucsur: boolean;
847
- features: string[];
848
- filename: string;
849
- license: string;
850
- name: string;
851
- style: string;
852
- version: string;
853
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
854
- links: {
855
- fontfile?: string | undefined;
856
- repo?: string | undefined;
857
- webpage?: string | undefined;
858
- };
859
- last_updated?: string | undefined;
860
- }>>;
861
- readonly font: z.ZodObject<{
862
- id: z.ZodString;
863
- creator: z.ZodArray<z.ZodString, "many">;
864
- features: z.ZodArray<z.ZodString, "many">;
865
- filename: z.ZodString;
866
- last_updated: z.ZodOptional<z.ZodString>;
867
- license: z.ZodString;
868
- ligatures: z.ZodBoolean;
869
- name: z.ZodString;
870
- style: z.ZodString;
871
- ucsur: z.ZodBoolean;
872
- version: z.ZodString;
873
- writing_system: z.ZodEnum<["sitelen pona", "sitelen sitelen", "alphabet", "syllabary", "logography", "tokiponido alphabet", "tokiponido syllabary", "tokiponido logography"]>;
874
- links: z.ZodObject<{
875
- fontfile: z.ZodOptional<z.ZodString>;
876
- repo: z.ZodOptional<z.ZodString>;
877
- webpage: z.ZodOptional<z.ZodString>;
878
- }, "strip", z.ZodTypeAny, {
879
- fontfile?: string | undefined;
880
- repo?: string | undefined;
881
- webpage?: string | undefined;
882
- }, {
883
- fontfile?: string | undefined;
884
- repo?: string | undefined;
885
- webpage?: string | undefined;
886
- }>;
887
- }, "strip", z.ZodTypeAny, {
888
- id: string;
889
- creator: string[];
890
- ligatures: boolean;
891
- ucsur: boolean;
892
- features: string[];
893
- filename: string;
894
- license: string;
895
- name: string;
896
- style: string;
897
- version: string;
898
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
899
- links: {
900
- fontfile?: string | undefined;
901
- repo?: string | undefined;
902
- webpage?: string | undefined;
903
- };
904
- last_updated?: string | undefined;
905
- }, {
906
- id: string;
907
- creator: string[];
908
- ligatures: boolean;
909
- ucsur: boolean;
910
- features: string[];
911
- filename: string;
912
- license: string;
913
- name: string;
914
- style: string;
915
- version: string;
916
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
917
- links: {
918
- fontfile?: string | undefined;
919
- repo?: string | undefined;
920
- webpage?: string | undefined;
921
- };
922
- last_updated?: string | undefined;
923
- }>;
924
- readonly languages: z.ZodRecord<z.ZodString, z.ZodObject<{
925
- id: z.ZodString;
926
- locale: z.ZodString;
927
- direction: z.ZodUnion<[z.ZodLiteral<"ltr">, z.ZodLiteral<"rtl">]>;
928
- name: z.ZodObject<{
929
- en: z.ZodString;
930
- tok: z.ZodOptional<z.ZodString>;
931
- endonym: z.ZodOptional<z.ZodString>;
932
- }, "strip", z.ZodTypeAny, {
933
- en: string;
934
- tok?: string | undefined;
935
- endonym?: string | undefined;
936
- }, {
937
- en: string;
938
- tok?: string | undefined;
939
- endonym?: string | undefined;
940
- }>;
941
- }, "strip", z.ZodTypeAny, {
942
- id: string;
943
- name: {
944
- en: string;
945
- tok?: string | undefined;
946
- endonym?: string | undefined;
947
- };
948
- locale: string;
949
- direction: "ltr" | "rtl";
950
- }, {
951
- id: string;
952
- name: {
953
- en: string;
954
- tok?: string | undefined;
955
- endonym?: string | undefined;
956
- };
957
- locale: string;
958
- direction: "ltr" | "rtl";
959
- }>>;
960
- };
961
- readonly raw: {
962
- readonly words: {
963
- readonly filename: "words.json";
964
- readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
965
- id: z.ZodString;
966
- author_verbatim: z.ZodString;
967
- author_verbatim_source: z.ZodString;
968
- book: z.ZodUnion<[z.ZodLiteral<"pu">, z.ZodLiteral<"ku suli">, z.ZodLiteral<"ku lili">, z.ZodLiteral<"none">]>;
969
- coined_era: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"pre-pu">, z.ZodLiteral<"post-pu">, z.ZodLiteral<"post-ku">]>, z.ZodLiteral<"">]>;
970
- coined_year: z.ZodString;
971
- creator: z.ZodArray<z.ZodString, "many">;
972
- ku_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
973
- see_also: z.ZodArray<z.ZodString, "many">;
974
- resources: z.ZodOptional<z.ZodObject<{
975
- sona_pona: z.ZodOptional<z.ZodString>;
976
- lipamanka_semantic: z.ZodOptional<z.ZodString>;
977
- }, "strip", z.ZodTypeAny, {
978
- sona_pona?: string | undefined;
979
- lipamanka_semantic?: string | undefined;
980
- }, {
981
- sona_pona?: string | undefined;
982
- lipamanka_semantic?: string | undefined;
983
- }>>;
984
- representations: z.ZodOptional<z.ZodObject<{
985
- sitelen_emosi: z.ZodOptional<z.ZodString>;
986
- sitelen_jelo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
987
- ligatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
988
- sitelen_sitelen: z.ZodOptional<z.ZodString>;
989
- ucsur: z.ZodOptional<z.ZodString>;
990
- }, "strip", z.ZodTypeAny, {
991
- sitelen_emosi?: string | undefined;
992
- sitelen_jelo?: string[] | undefined;
993
- ligatures?: string[] | undefined;
994
- sitelen_sitelen?: string | undefined;
995
- ucsur?: string | undefined;
996
- }, {
997
- sitelen_emosi?: string | undefined;
998
- sitelen_jelo?: string[] | undefined;
999
- ligatures?: string[] | undefined;
1000
- sitelen_sitelen?: string | undefined;
1001
- ucsur?: string | undefined;
1002
- }>>;
1003
- source_language: z.ZodString;
1004
- usage_category: z.ZodUnion<[z.ZodLiteral<"core">, z.ZodLiteral<"common">, z.ZodLiteral<"uncommon">, z.ZodLiteral<"obscure">, z.ZodLiteral<"sandbox">]>;
1005
- word: z.ZodString;
1006
- deprecated: z.ZodBoolean;
1007
- etymology: z.ZodArray<z.ZodObject<{
1008
- word: z.ZodOptional<z.ZodString>;
1009
- alt: z.ZodOptional<z.ZodString>;
1010
- }, "strip", z.ZodTypeAny, {
1011
- word?: string | undefined;
1012
- alt?: string | undefined;
1013
- }, {
1014
- word?: string | undefined;
1015
- alt?: string | undefined;
1016
- }>, "many">;
1017
- audio: z.ZodArray<z.ZodObject<{
1018
- author: z.ZodString;
1019
- link: z.ZodString;
1020
- }, "strip", z.ZodTypeAny, {
1021
- author: string;
1022
- link: string;
1023
- }, {
1024
- author: string;
1025
- link: string;
1026
- }>, "many">;
1027
- pu_verbatim: z.ZodOptional<z.ZodObject<{
1028
- en: z.ZodString;
1029
- fr: z.ZodString;
1030
- de: z.ZodString;
1031
- eo: z.ZodString;
1032
- }, "strip", z.ZodTypeAny, {
1033
- en: string;
1034
- fr: string;
1035
- de: string;
1036
- eo: string;
1037
- }, {
1038
- en: string;
1039
- fr: string;
1040
- de: string;
1041
- eo: string;
1042
- }>>;
1043
- usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
1044
- }, {
1045
- translations: z.ZodRecord<z.ZodString, z.ZodObject<{
1046
- commentary: z.ZodString;
1047
- definition: z.ZodString;
1048
- etymology: z.ZodArray<z.ZodObject<{
1049
- definition: z.ZodOptional<z.ZodString>;
1050
- language: z.ZodString;
1051
- }, "strip", z.ZodTypeAny, {
1052
- language: string;
1053
- definition?: string | undefined;
1054
- }, {
1055
- language: string;
1056
- definition?: string | undefined;
1057
- }>, "many">;
1058
- sp_etymology: z.ZodString;
1059
- }, "strip", z.ZodTypeAny, {
1060
- etymology: {
1061
- language: string;
1062
- definition?: string | undefined;
1063
- }[];
1064
- commentary: string;
1065
- definition: string;
1066
- sp_etymology: string;
1067
- }, {
1068
- etymology: {
1069
- language: string;
1070
- definition?: string | undefined;
1071
- }[];
1072
- commentary: string;
1073
- definition: string;
1074
- sp_etymology: string;
1075
- }>>;
1076
- }>, "strip", z.ZodTypeAny, {
1077
- id: string;
1078
- author_verbatim: string;
1079
- author_verbatim_source: string;
1080
- book: "pu" | "ku suli" | "ku lili" | "none";
1081
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1082
- coined_year: string;
1083
- creator: string[];
1084
- see_also: string[];
1085
- source_language: string;
1086
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1087
- word: string;
1088
- deprecated: boolean;
1089
- etymology: {
1090
- word?: string | undefined;
1091
- alt?: string | undefined;
1092
- }[];
1093
- audio: {
1094
- author: string;
1095
- link: string;
1096
- }[];
1097
- usage: Record<string, number>;
1098
- translations: Record<string, {
1099
- etymology: {
1100
- language: string;
1101
- definition?: string | undefined;
1102
- }[];
1103
- commentary: string;
1104
- definition: string;
1105
- sp_etymology: string;
1106
- }>;
1107
- ku_data?: Record<string, number> | undefined;
1108
- resources?: {
1109
- sona_pona?: string | undefined;
1110
- lipamanka_semantic?: string | undefined;
1111
- } | undefined;
1112
- representations?: {
1113
- sitelen_emosi?: string | undefined;
1114
- sitelen_jelo?: string[] | undefined;
1115
- ligatures?: string[] | undefined;
1116
- sitelen_sitelen?: string | undefined;
1117
- ucsur?: string | undefined;
1118
- } | undefined;
1119
- pu_verbatim?: {
1120
- en: string;
1121
- fr: string;
1122
- de: string;
1123
- eo: string;
1124
- } | undefined;
1125
- }, {
1126
- id: string;
1127
- author_verbatim: string;
1128
- author_verbatim_source: string;
1129
- book: "pu" | "ku suli" | "ku lili" | "none";
1130
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1131
- coined_year: string;
1132
- creator: string[];
1133
- see_also: string[];
1134
- source_language: string;
1135
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1136
- word: string;
1137
- deprecated: boolean;
1138
- etymology: {
1139
- word?: string | undefined;
1140
- alt?: string | undefined;
1141
- }[];
1142
- audio: {
1143
- author: string;
1144
- link: string;
1145
- }[];
1146
- usage: Record<string, number>;
1147
- translations: Record<string, {
1148
- etymology: {
1149
- language: string;
1150
- definition?: string | undefined;
1151
- }[];
1152
- commentary: string;
1153
- definition: string;
1154
- sp_etymology: string;
1155
- }>;
1156
- ku_data?: Record<string, number> | undefined;
1157
- resources?: {
1158
- sona_pona?: string | undefined;
1159
- lipamanka_semantic?: string | undefined;
1160
- } | undefined;
1161
- representations?: {
1162
- sitelen_emosi?: string | undefined;
1163
- sitelen_jelo?: string[] | undefined;
1164
- ligatures?: string[] | undefined;
1165
- sitelen_sitelen?: string | undefined;
1166
- ucsur?: string | undefined;
1167
- } | undefined;
1168
- pu_verbatim?: {
1169
- en: string;
1170
- fr: string;
1171
- de: string;
1172
- eo: string;
1173
- } | undefined;
1174
- }>>;
1175
- };
1176
- readonly sandbox: {
1177
- readonly filename: "sandbox.json";
1178
- readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
1179
- id: z.ZodString;
1180
- author_verbatim: z.ZodString;
1181
- author_verbatim_source: z.ZodString;
1182
- book: z.ZodUnion<[z.ZodLiteral<"pu">, z.ZodLiteral<"ku suli">, z.ZodLiteral<"ku lili">, z.ZodLiteral<"none">]>;
1183
- coined_era: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"pre-pu">, z.ZodLiteral<"post-pu">, z.ZodLiteral<"post-ku">]>, z.ZodLiteral<"">]>;
1184
- coined_year: z.ZodString;
1185
- creator: z.ZodArray<z.ZodString, "many">;
1186
- ku_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1187
- see_also: z.ZodArray<z.ZodString, "many">;
1188
- resources: z.ZodOptional<z.ZodObject<{
1189
- sona_pona: z.ZodOptional<z.ZodString>;
1190
- lipamanka_semantic: z.ZodOptional<z.ZodString>;
1191
- }, "strip", z.ZodTypeAny, {
1192
- sona_pona?: string | undefined;
1193
- lipamanka_semantic?: string | undefined;
1194
- }, {
1195
- sona_pona?: string | undefined;
1196
- lipamanka_semantic?: string | undefined;
1197
- }>>;
1198
- representations: z.ZodOptional<z.ZodObject<{
1199
- sitelen_emosi: z.ZodOptional<z.ZodString>;
1200
- sitelen_jelo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1201
- ligatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1202
- sitelen_sitelen: z.ZodOptional<z.ZodString>;
1203
- ucsur: z.ZodOptional<z.ZodString>;
1204
- }, "strip", z.ZodTypeAny, {
1205
- sitelen_emosi?: string | undefined;
1206
- sitelen_jelo?: string[] | undefined;
1207
- ligatures?: string[] | undefined;
1208
- sitelen_sitelen?: string | undefined;
1209
- ucsur?: string | undefined;
1210
- }, {
1211
- sitelen_emosi?: string | undefined;
1212
- sitelen_jelo?: string[] | undefined;
1213
- ligatures?: string[] | undefined;
1214
- sitelen_sitelen?: string | undefined;
1215
- ucsur?: string | undefined;
1216
- }>>;
1217
- source_language: z.ZodString;
1218
- usage_category: z.ZodUnion<[z.ZodLiteral<"core">, z.ZodLiteral<"common">, z.ZodLiteral<"uncommon">, z.ZodLiteral<"obscure">, z.ZodLiteral<"sandbox">]>;
1219
- word: z.ZodString;
1220
- deprecated: z.ZodBoolean;
1221
- etymology: z.ZodArray<z.ZodObject<{
1222
- word: z.ZodOptional<z.ZodString>;
1223
- alt: z.ZodOptional<z.ZodString>;
1224
- }, "strip", z.ZodTypeAny, {
1225
- word?: string | undefined;
1226
- alt?: string | undefined;
1227
- }, {
1228
- word?: string | undefined;
1229
- alt?: string | undefined;
1230
- }>, "many">;
1231
- audio: z.ZodArray<z.ZodObject<{
1232
- author: z.ZodString;
1233
- link: z.ZodString;
1234
- }, "strip", z.ZodTypeAny, {
1235
- author: string;
1236
- link: string;
1237
- }, {
1238
- author: string;
1239
- link: string;
1240
- }>, "many">;
1241
- pu_verbatim: z.ZodOptional<z.ZodObject<{
1242
- en: z.ZodString;
1243
- fr: z.ZodString;
1244
- de: z.ZodString;
1245
- eo: z.ZodString;
1246
- }, "strip", z.ZodTypeAny, {
1247
- en: string;
1248
- fr: string;
1249
- de: string;
1250
- eo: string;
1251
- }, {
1252
- en: string;
1253
- fr: string;
1254
- de: string;
1255
- eo: string;
1256
- }>>;
1257
- usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
1258
- }, {
1259
- translations: z.ZodRecord<z.ZodString, z.ZodObject<{
1260
- commentary: z.ZodString;
1261
- definition: z.ZodString;
1262
- etymology: z.ZodArray<z.ZodObject<{
1263
- definition: z.ZodOptional<z.ZodString>;
1264
- language: z.ZodString;
1265
- }, "strip", z.ZodTypeAny, {
1266
- language: string;
1267
- definition?: string | undefined;
1268
- }, {
1269
- language: string;
1270
- definition?: string | undefined;
1271
- }>, "many">;
1272
- sp_etymology: z.ZodString;
1273
- }, "strip", z.ZodTypeAny, {
1274
- etymology: {
1275
- language: string;
1276
- definition?: string | undefined;
1277
- }[];
1278
- commentary: string;
1279
- definition: string;
1280
- sp_etymology: string;
1281
- }, {
1282
- etymology: {
1283
- language: string;
1284
- definition?: string | undefined;
1285
- }[];
1286
- commentary: string;
1287
- definition: string;
1288
- sp_etymology: string;
1289
- }>>;
1290
- }>, "strip", z.ZodTypeAny, {
1291
- id: string;
1292
- author_verbatim: string;
1293
- author_verbatim_source: string;
1294
- book: "pu" | "ku suli" | "ku lili" | "none";
1295
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1296
- coined_year: string;
1297
- creator: string[];
1298
- see_also: string[];
1299
- source_language: string;
1300
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1301
- word: string;
1302
- deprecated: boolean;
1303
- etymology: {
1304
- word?: string | undefined;
1305
- alt?: string | undefined;
1306
- }[];
1307
- audio: {
1308
- author: string;
1309
- link: string;
1310
- }[];
1311
- usage: Record<string, number>;
1312
- translations: Record<string, {
1313
- etymology: {
1314
- language: string;
1315
- definition?: string | undefined;
1316
- }[];
1317
- commentary: string;
1318
- definition: string;
1319
- sp_etymology: string;
1320
- }>;
1321
- ku_data?: Record<string, number> | undefined;
1322
- resources?: {
1323
- sona_pona?: string | undefined;
1324
- lipamanka_semantic?: string | undefined;
1325
- } | undefined;
1326
- representations?: {
1327
- sitelen_emosi?: string | undefined;
1328
- sitelen_jelo?: string[] | undefined;
1329
- ligatures?: string[] | undefined;
1330
- sitelen_sitelen?: string | undefined;
1331
- ucsur?: string | undefined;
1332
- } | undefined;
1333
- pu_verbatim?: {
1334
- en: string;
1335
- fr: string;
1336
- de: string;
1337
- eo: string;
1338
- } | undefined;
1339
- }, {
1340
- id: string;
1341
- author_verbatim: string;
1342
- author_verbatim_source: string;
1343
- book: "pu" | "ku suli" | "ku lili" | "none";
1344
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1345
- coined_year: string;
1346
- creator: string[];
1347
- see_also: string[];
1348
- source_language: string;
1349
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1350
- word: string;
1351
- deprecated: boolean;
1352
- etymology: {
1353
- word?: string | undefined;
1354
- alt?: string | undefined;
1355
- }[];
1356
- audio: {
1357
- author: string;
1358
- link: string;
1359
- }[];
1360
- usage: Record<string, number>;
1361
- translations: Record<string, {
1362
- etymology: {
1363
- language: string;
1364
- definition?: string | undefined;
1365
- }[];
1366
- commentary: string;
1367
- definition: string;
1368
- sp_etymology: string;
1369
- }>;
1370
- ku_data?: Record<string, number> | undefined;
1371
- resources?: {
1372
- sona_pona?: string | undefined;
1373
- lipamanka_semantic?: string | undefined;
1374
- } | undefined;
1375
- representations?: {
1376
- sitelen_emosi?: string | undefined;
1377
- sitelen_jelo?: string[] | undefined;
1378
- ligatures?: string[] | undefined;
1379
- sitelen_sitelen?: string | undefined;
1380
- ucsur?: string | undefined;
1381
- } | undefined;
1382
- pu_verbatim?: {
1383
- en: string;
1384
- fr: string;
1385
- de: string;
1386
- eo: string;
1387
- } | undefined;
1388
- }>>;
1389
- };
1390
- readonly fingerspelling: {
1391
- readonly filename: "fingerspelling.json";
1392
- readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
1393
- id: z.ZodString;
1394
- is_two_handed: z.ZodBoolean;
1395
- etymology: z.ZodArray<z.ZodObject<{
1396
- language: z.ZodString;
1397
- sign: z.ZodString;
1398
- }, "strip", z.ZodTypeAny, {
1399
- language: string;
1400
- sign: string;
1401
- }, {
1402
- language: string;
1403
- sign: string;
1404
- }>, "many">;
1405
- signwriting: z.ZodObject<{
1406
- fsw: z.ZodString;
1407
- swu: z.ZodString;
1408
- }, "strip", z.ZodTypeAny, {
1409
- fsw: string;
1410
- swu: string;
1411
- }, {
1412
- fsw: string;
1413
- swu: string;
1414
- }>;
1415
- video: z.ZodObject<{
1416
- gif: z.ZodOptional<z.ZodString>;
1417
- mp4: z.ZodOptional<z.ZodString>;
1418
- }, "strip", z.ZodTypeAny, {
1419
- gif?: string | undefined;
1420
- mp4?: string | undefined;
1421
- }, {
1422
- gif?: string | undefined;
1423
- mp4?: string | undefined;
1424
- }>;
1425
- }, {
1426
- translations: z.ZodRecord<z.ZodString, z.ZodObject<{
1427
- parameters: z.ZodObject<{
1428
- handshape: z.ZodOptional<z.ZodString>;
1429
- movement: z.ZodOptional<z.ZodString>;
1430
- placement: z.ZodOptional<z.ZodString>;
1431
- orientation: z.ZodOptional<z.ZodString>;
1432
- }, "strip", z.ZodTypeAny, {
1433
- handshape?: string | undefined;
1434
- movement?: string | undefined;
1435
- placement?: string | undefined;
1436
- orientation?: string | undefined;
1437
- }, {
1438
- handshape?: string | undefined;
1439
- movement?: string | undefined;
1440
- placement?: string | undefined;
1441
- orientation?: string | undefined;
1442
- }>;
1443
- }, "strip", z.ZodTypeAny, {
1444
- parameters: {
1445
- handshape?: string | undefined;
1446
- movement?: string | undefined;
1447
- placement?: string | undefined;
1448
- orientation?: string | undefined;
1449
- };
1450
- }, {
1451
- parameters: {
1452
- handshape?: string | undefined;
1453
- movement?: string | undefined;
1454
- placement?: string | undefined;
1455
- orientation?: string | undefined;
1456
- };
1457
- }>>;
1458
- }>, "strip", z.ZodTypeAny, {
1459
- id: string;
1460
- etymology: {
1461
- language: string;
1462
- sign: string;
1463
- }[];
1464
- translations: Record<string, {
1465
- parameters: {
1466
- handshape?: string | undefined;
1467
- movement?: string | undefined;
1468
- placement?: string | undefined;
1469
- orientation?: string | undefined;
1470
- };
1471
- }>;
1472
- is_two_handed: boolean;
1473
- signwriting: {
1474
- fsw: string;
1475
- swu: string;
1476
- };
1477
- video: {
1478
- gif?: string | undefined;
1479
- mp4?: string | undefined;
1480
- };
1481
- }, {
1482
- id: string;
1483
- etymology: {
1484
- language: string;
1485
- sign: string;
1486
- }[];
1487
- translations: Record<string, {
1488
- parameters: {
1489
- handshape?: string | undefined;
1490
- movement?: string | undefined;
1491
- placement?: string | undefined;
1492
- orientation?: string | undefined;
1493
- };
1494
- }>;
1495
- is_two_handed: boolean;
1496
- signwriting: {
1497
- fsw: string;
1498
- swu: string;
1499
- };
1500
- video: {
1501
- gif?: string | undefined;
1502
- mp4?: string | undefined;
1503
- };
1504
- }>>;
1505
- };
1506
- readonly signs: {
1507
- readonly filename: "signs.json";
1508
- readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
1509
- definition: z.ZodString;
1510
- id: z.ZodString;
1511
- is_two_handed: z.ZodBoolean;
1512
- new_gloss: z.ZodString;
1513
- old_gloss: z.ZodString;
1514
- etymology: z.ZodArray<z.ZodObject<{
1515
- language: z.ZodString;
1516
- sign: z.ZodOptional<z.ZodString>;
1517
- }, "strip", z.ZodTypeAny, {
1518
- language: string;
1519
- sign?: string | undefined;
1520
- }, {
1521
- language: string;
1522
- sign?: string | undefined;
1523
- }>, "many">;
1524
- signwriting: z.ZodObject<{
1525
- fsw: z.ZodString;
1526
- swu: z.ZodString;
1527
- }, "strip", z.ZodTypeAny, {
1528
- fsw: string;
1529
- swu: string;
1530
- }, {
1531
- fsw: string;
1532
- swu: string;
1533
- }>;
1534
- video: z.ZodObject<{
1535
- gif: z.ZodOptional<z.ZodString>;
1536
- mp4: z.ZodOptional<z.ZodString>;
1537
- }, "strip", z.ZodTypeAny, {
1538
- gif?: string | undefined;
1539
- mp4?: string | undefined;
1540
- }, {
1541
- gif?: string | undefined;
1542
- mp4?: string | undefined;
1543
- }>;
1544
- }, {
1545
- translations: z.ZodRecord<z.ZodString, z.ZodObject<{
1546
- parameters: z.ZodObject<{
1547
- handshape: z.ZodOptional<z.ZodString>;
1548
- movement: z.ZodOptional<z.ZodString>;
1549
- placement: z.ZodOptional<z.ZodString>;
1550
- orientation: z.ZodOptional<z.ZodString>;
1551
- }, "strip", z.ZodTypeAny, {
1552
- handshape?: string | undefined;
1553
- movement?: string | undefined;
1554
- placement?: string | undefined;
1555
- orientation?: string | undefined;
1556
- }, {
1557
- handshape?: string | undefined;
1558
- movement?: string | undefined;
1559
- placement?: string | undefined;
1560
- orientation?: string | undefined;
1561
- }>;
1562
- icons: z.ZodString;
1563
- }, "strip", z.ZodTypeAny, {
1564
- parameters: {
1565
- handshape?: string | undefined;
1566
- movement?: string | undefined;
1567
- placement?: string | undefined;
1568
- orientation?: string | undefined;
1569
- };
1570
- icons: string;
1571
- }, {
1572
- parameters: {
1573
- handshape?: string | undefined;
1574
- movement?: string | undefined;
1575
- placement?: string | undefined;
1576
- orientation?: string | undefined;
1577
- };
1578
- icons: string;
1579
- }>>;
1580
- }>, "strip", z.ZodTypeAny, {
1581
- id: string;
1582
- etymology: {
1583
- language: string;
1584
- sign?: string | undefined;
1585
- }[];
1586
- translations: Record<string, {
1587
- parameters: {
1588
- handshape?: string | undefined;
1589
- movement?: string | undefined;
1590
- placement?: string | undefined;
1591
- orientation?: string | undefined;
1592
- };
1593
- icons: string;
1594
- }>;
1595
- definition: string;
1596
- is_two_handed: boolean;
1597
- new_gloss: string;
1598
- old_gloss: string;
1599
- signwriting: {
1600
- fsw: string;
1601
- swu: string;
1602
- };
1603
- video: {
1604
- gif?: string | undefined;
1605
- mp4?: string | undefined;
1606
- };
1607
- }, {
1608
- id: string;
1609
- etymology: {
1610
- language: string;
1611
- sign?: string | undefined;
1612
- }[];
1613
- translations: Record<string, {
1614
- parameters: {
1615
- handshape?: string | undefined;
1616
- movement?: string | undefined;
1617
- placement?: string | undefined;
1618
- orientation?: string | undefined;
1619
- };
1620
- icons: string;
1621
- }>;
1622
- definition: string;
1623
- is_two_handed: boolean;
1624
- new_gloss: string;
1625
- old_gloss: string;
1626
- signwriting: {
1627
- fsw: string;
1628
- swu: string;
1629
- };
1630
- video: {
1631
- gif?: string | undefined;
1632
- mp4?: string | undefined;
1633
- };
1634
- }>>;
1635
- };
1636
- readonly fonts: {
1637
- readonly filename: "fonts.json";
1638
- readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
1639
- id: z.ZodString;
1640
- creator: z.ZodArray<z.ZodString, "many">;
1641
- features: z.ZodArray<z.ZodString, "many">;
1642
- filename: z.ZodString;
1643
- last_updated: z.ZodOptional<z.ZodString>;
1644
- license: z.ZodString;
1645
- ligatures: z.ZodBoolean;
1646
- name: z.ZodString;
1647
- style: z.ZodString;
1648
- ucsur: z.ZodBoolean;
1649
- version: z.ZodString;
1650
- writing_system: z.ZodEnum<["sitelen pona", "sitelen sitelen", "alphabet", "syllabary", "logography", "tokiponido alphabet", "tokiponido syllabary", "tokiponido logography"]>;
1651
- links: z.ZodObject<{
1652
- fontfile: z.ZodOptional<z.ZodString>;
1653
- repo: z.ZodOptional<z.ZodString>;
1654
- webpage: z.ZodOptional<z.ZodString>;
1655
- }, "strip", z.ZodTypeAny, {
1656
- fontfile?: string | undefined;
1657
- repo?: string | undefined;
1658
- webpage?: string | undefined;
1659
- }, {
1660
- fontfile?: string | undefined;
1661
- repo?: string | undefined;
1662
- webpage?: string | undefined;
1663
- }>;
1664
- }, "strip", z.ZodTypeAny, {
1665
- id: string;
1666
- creator: string[];
1667
- ligatures: boolean;
1668
- ucsur: boolean;
1669
- features: string[];
1670
- filename: string;
1671
- license: string;
1672
- name: string;
1673
- style: string;
1674
- version: string;
1675
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
1676
- links: {
1677
- fontfile?: string | undefined;
1678
- repo?: string | undefined;
1679
- webpage?: string | undefined;
1680
- };
1681
- last_updated?: string | undefined;
1682
- }, {
1683
- id: string;
1684
- creator: string[];
1685
- ligatures: boolean;
1686
- ucsur: boolean;
1687
- features: string[];
1688
- filename: string;
1689
- license: string;
1690
- name: string;
1691
- style: string;
1692
- version: string;
1693
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
1694
- links: {
1695
- fontfile?: string | undefined;
1696
- repo?: string | undefined;
1697
- webpage?: string | undefined;
1698
- };
1699
- last_updated?: string | undefined;
1700
- }>>;
1701
- };
1702
- readonly languages: {
1703
- readonly filename: "languages.json";
1704
- readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
1705
- id: z.ZodString;
1706
- locale: z.ZodString;
1707
- direction: z.ZodUnion<[z.ZodLiteral<"ltr">, z.ZodLiteral<"rtl">]>;
1708
- name: z.ZodObject<{
1709
- en: z.ZodString;
1710
- tok: z.ZodOptional<z.ZodString>;
1711
- endonym: z.ZodOptional<z.ZodString>;
1712
- }, "strip", z.ZodTypeAny, {
1713
- en: string;
1714
- tok?: string | undefined;
1715
- endonym?: string | undefined;
1716
- }, {
1717
- en: string;
1718
- tok?: string | undefined;
1719
- endonym?: string | undefined;
1720
- }>;
1721
- }, "strip", z.ZodTypeAny, {
1722
- id: string;
1723
- name: {
1724
- en: string;
1725
- tok?: string | undefined;
1726
- endonym?: string | undefined;
1727
- };
1728
- locale: string;
1729
- direction: "ltr" | "rtl";
1730
- }, {
1731
- id: string;
1732
- name: {
1733
- en: string;
1734
- tok?: string | undefined;
1735
- endonym?: string | undefined;
1736
- };
1737
- locale: string;
1738
- direction: "ltr" | "rtl";
1739
- }>>;
1740
- };
1741
- };
1742
- };
1743
- };
1744
- export type FilesToVariables<V extends ApiVersion, T extends Versions[ApiVersion]["raw"] = (typeof versions)[V]["raw"]> = {
1745
- [K in keyof T]: T[K]["schema"] extends z.ZodType ? T[K]["schema"]["_output"] : never;
1746
- };
1747
- export declare const apps: {
1748
- readonly v1: Hono<import('hono/types').BlankEnv, {
1749
- "/": {
1750
- $get: {
1751
- input: {};
1752
- output: undefined;
1753
- outputFormat: "redirect";
1754
- status: 302;
1755
- };
1756
- };
1757
- } & {
1758
- "/words": {
1759
- $get: {
1760
- input: {
1761
- query: {
1762
- lang?: string | string[] | undefined;
1763
- };
1764
- };
1765
- output: {
1766
- [x: string]: {
1767
- id: string;
1768
- author_verbatim: string;
1769
- author_verbatim_source: string;
1770
- book: "pu" | "ku suli" | "ku lili" | "none";
1771
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1772
- coined_year: string;
1773
- creator: string[];
1774
- see_also: string[];
1775
- source_language: string;
1776
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1777
- word: string;
1778
- deprecated: boolean;
1779
- etymology: {
1780
- word?: string | undefined;
1781
- alt?: string | undefined;
1782
- }[];
1783
- audio: {
1784
- author: string;
1785
- link: string;
1786
- }[];
1787
- usage: {
1788
- [x: string]: number;
1789
- };
1790
- translations: {
1791
- [x: string]: {
1792
- etymology: {
1793
- language: string;
1794
- definition?: string | undefined;
1795
- }[];
1796
- commentary: string;
1797
- definition: string;
1798
- sp_etymology: string;
1799
- };
1800
- };
1801
- ku_data?: {
1802
- [x: string]: number;
1803
- } | undefined;
1804
- resources?: {
1805
- sona_pona?: string | undefined;
1806
- lipamanka_semantic?: string | undefined;
1807
- } | undefined;
1808
- representations?: {
1809
- sitelen_emosi?: string | undefined;
1810
- sitelen_jelo?: string[] | undefined;
1811
- ligatures?: string[] | undefined;
1812
- sitelen_sitelen?: string | undefined;
1813
- ucsur?: string | undefined;
1814
- } | undefined;
1815
- pu_verbatim?: {
1816
- en: string;
1817
- fr: string;
1818
- de: string;
1819
- eo: string;
1820
- } | undefined;
1821
- };
1822
- };
1823
- outputFormat: "json";
1824
- status: 200;
1825
- };
1826
- };
1827
- } & {
1828
- "/words/:word": {
1829
- $get: {
1830
- input: {
1831
- query: {
1832
- lang?: string | string[] | undefined;
1833
- };
1834
- } & {
1835
- param: {
1836
- word: string;
1837
- };
1838
- };
1839
- output: {
1840
- ok: true;
1841
- data: {
1842
- id: string;
1843
- author_verbatim: string;
1844
- author_verbatim_source: string;
1845
- book: "pu" | "ku suli" | "ku lili" | "none";
1846
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1847
- coined_year: string;
1848
- creator: string[];
1849
- see_also: string[];
1850
- source_language: string;
1851
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1852
- word: string;
1853
- deprecated: boolean;
1854
- etymology: {
1855
- word?: string | undefined;
1856
- alt?: string | undefined;
1857
- }[];
1858
- audio: {
1859
- author: string;
1860
- link: string;
1861
- }[];
1862
- usage: {
1863
- [x: string]: number;
1864
- };
1865
- translations: {
1866
- [x: string]: {
1867
- etymology: {
1868
- language: string;
1869
- definition?: string | undefined;
1870
- }[];
1871
- commentary: string;
1872
- definition: string;
1873
- sp_etymology: string;
1874
- };
1875
- };
1876
- ku_data?: {
1877
- [x: string]: number;
1878
- } | undefined;
1879
- resources?: {
1880
- sona_pona?: string | undefined;
1881
- lipamanka_semantic?: string | undefined;
1882
- } | undefined;
1883
- representations?: {
1884
- sitelen_emosi?: string | undefined;
1885
- sitelen_jelo?: string[] | undefined;
1886
- ligatures?: string[] | undefined;
1887
- sitelen_sitelen?: string | undefined;
1888
- ucsur?: string | undefined;
1889
- } | undefined;
1890
- pu_verbatim?: {
1891
- en: string;
1892
- fr: string;
1893
- de: string;
1894
- eo: string;
1895
- } | undefined;
1896
- };
1897
- };
1898
- outputFormat: "json";
1899
- status: 200;
1900
- } | {
1901
- input: {
1902
- query: {
1903
- lang?: string | string[] | undefined;
1904
- };
1905
- } & {
1906
- param: {
1907
- word: string;
1908
- };
1909
- };
1910
- output: {
1911
- ok: false;
1912
- message: string;
1913
- };
1914
- outputFormat: "json";
1915
- status: 400;
1916
- };
1917
- };
1918
- } & {
1919
- "/sandbox": {
1920
- $get: {
1921
- input: {
1922
- query: {
1923
- lang?: string | string[] | undefined;
1924
- };
1925
- };
1926
- output: {
1927
- [x: string]: {
1928
- id: string;
1929
- author_verbatim: string;
1930
- author_verbatim_source: string;
1931
- book: "pu" | "ku suli" | "ku lili" | "none";
1932
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1933
- coined_year: string;
1934
- creator: string[];
1935
- see_also: string[];
1936
- source_language: string;
1937
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1938
- word: string;
1939
- deprecated: boolean;
1940
- etymology: {
1941
- word?: string | undefined;
1942
- alt?: string | undefined;
1943
- }[];
1944
- audio: {
1945
- author: string;
1946
- link: string;
1947
- }[];
1948
- usage: {
1949
- [x: string]: number;
1950
- };
1951
- translations: {
1952
- [x: string]: {
1953
- etymology: {
1954
- language: string;
1955
- definition?: string | undefined;
1956
- }[];
1957
- commentary: string;
1958
- definition: string;
1959
- sp_etymology: string;
1960
- };
1961
- };
1962
- ku_data?: {
1963
- [x: string]: number;
1964
- } | undefined;
1965
- resources?: {
1966
- sona_pona?: string | undefined;
1967
- lipamanka_semantic?: string | undefined;
1968
- } | undefined;
1969
- representations?: {
1970
- sitelen_emosi?: string | undefined;
1971
- sitelen_jelo?: string[] | undefined;
1972
- ligatures?: string[] | undefined;
1973
- sitelen_sitelen?: string | undefined;
1974
- ucsur?: string | undefined;
1975
- } | undefined;
1976
- pu_verbatim?: {
1977
- en: string;
1978
- fr: string;
1979
- de: string;
1980
- eo: string;
1981
- } | undefined;
1982
- };
1983
- };
1984
- outputFormat: "json";
1985
- status: 200;
1986
- };
1987
- };
1988
- } & {
1989
- "/sandbox/:word": {
1990
- $get: {
1991
- input: {
1992
- query: {
1993
- lang?: string | string[] | undefined;
1994
- };
1995
- } & {
1996
- param: {
1997
- word: string;
1998
- };
1999
- };
2000
- output: {
2001
- ok: true;
2002
- data: {
2003
- id: string;
2004
- author_verbatim: string;
2005
- author_verbatim_source: string;
2006
- book: "pu" | "ku suli" | "ku lili" | "none";
2007
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
2008
- coined_year: string;
2009
- creator: string[];
2010
- see_also: string[];
2011
- source_language: string;
2012
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
2013
- word: string;
2014
- deprecated: boolean;
2015
- etymology: {
2016
- word?: string | undefined;
2017
- alt?: string | undefined;
2018
- }[];
2019
- audio: {
2020
- author: string;
2021
- link: string;
2022
- }[];
2023
- usage: {
2024
- [x: string]: number;
2025
- };
2026
- translations: {
2027
- [x: string]: {
2028
- etymology: {
2029
- language: string;
2030
- definition?: string | undefined;
2031
- }[];
2032
- commentary: string;
2033
- definition: string;
2034
- sp_etymology: string;
2035
- };
2036
- };
2037
- ku_data?: {
2038
- [x: string]: number;
2039
- } | undefined;
2040
- resources?: {
2041
- sona_pona?: string | undefined;
2042
- lipamanka_semantic?: string | undefined;
2043
- } | undefined;
2044
- representations?: {
2045
- sitelen_emosi?: string | undefined;
2046
- sitelen_jelo?: string[] | undefined;
2047
- ligatures?: string[] | undefined;
2048
- sitelen_sitelen?: string | undefined;
2049
- ucsur?: string | undefined;
2050
- } | undefined;
2051
- pu_verbatim?: {
2052
- en: string;
2053
- fr: string;
2054
- de: string;
2055
- eo: string;
2056
- } | undefined;
2057
- };
2058
- };
2059
- outputFormat: "json";
2060
- status: 200;
2061
- } | {
2062
- input: {
2063
- query: {
2064
- lang?: string | string[] | undefined;
2065
- };
2066
- } & {
2067
- param: {
2068
- word: string;
2069
- };
2070
- };
2071
- output: {
2072
- ok: false;
2073
- message: string;
2074
- };
2075
- outputFormat: "json";
2076
- status: 400;
2077
- };
2078
- };
2079
- } & {
2080
- "/luka_pona/fingerspelling": {
2081
- $get: {
2082
- input: {
2083
- query: {
2084
- lang?: string | string[] | undefined;
2085
- };
2086
- };
2087
- output: {
2088
- [x: string]: {
2089
- id: string;
2090
- etymology: {
2091
- language: string;
2092
- sign: string;
2093
- }[];
2094
- translations: {
2095
- [x: string]: {
2096
- parameters: {
2097
- handshape?: string | undefined;
2098
- movement?: string | undefined;
2099
- placement?: string | undefined;
2100
- orientation?: string | undefined;
2101
- };
2102
- };
2103
- };
2104
- is_two_handed: boolean;
2105
- signwriting: {
2106
- fsw: string;
2107
- swu: string;
2108
- };
2109
- video: {
2110
- gif?: string | undefined;
2111
- mp4?: string | undefined;
2112
- };
2113
- };
2114
- };
2115
- outputFormat: "json";
2116
- status: 200;
2117
- };
2118
- };
2119
- } & {
2120
- "/luka_pona/fingerspelling/:sign": {
2121
- $get: {
2122
- input: {
2123
- query: {
2124
- lang?: string | string[] | undefined;
2125
- };
2126
- } & {
2127
- param: {
2128
- sign: string;
2129
- };
2130
- };
2131
- output: {
2132
- ok: true;
2133
- data: {
2134
- id: string;
2135
- etymology: {
2136
- language: string;
2137
- sign: string;
2138
- }[];
2139
- translations: {
2140
- [x: string]: {
2141
- parameters: {
2142
- handshape?: string | undefined;
2143
- movement?: string | undefined;
2144
- placement?: string | undefined;
2145
- orientation?: string | undefined;
2146
- };
2147
- };
2148
- };
2149
- is_two_handed: boolean;
2150
- signwriting: {
2151
- fsw: string;
2152
- swu: string;
2153
- };
2154
- video: {
2155
- gif?: string | undefined;
2156
- mp4?: string | undefined;
2157
- };
2158
- };
2159
- };
2160
- outputFormat: "json";
2161
- status: 200;
2162
- } | {
2163
- input: {
2164
- query: {
2165
- lang?: string | string[] | undefined;
2166
- };
2167
- } & {
2168
- param: {
2169
- sign: string;
2170
- };
2171
- };
2172
- output: {
2173
- ok: false;
2174
- message: string;
2175
- };
2176
- outputFormat: "json";
2177
- status: 400;
2178
- };
2179
- };
2180
- } & {
2181
- "/luka_pona/signs": {
2182
- $get: {
2183
- input: {
2184
- query: {
2185
- lang?: string | string[] | undefined;
2186
- };
2187
- };
2188
- output: {
2189
- [x: string]: {
2190
- id: string;
2191
- etymology: {
2192
- language: string;
2193
- sign?: string | undefined;
2194
- }[];
2195
- translations: {
2196
- [x: string]: {
2197
- parameters: {
2198
- handshape?: string | undefined;
2199
- movement?: string | undefined;
2200
- placement?: string | undefined;
2201
- orientation?: string | undefined;
2202
- };
2203
- icons: string;
2204
- };
2205
- };
2206
- definition: string;
2207
- is_two_handed: boolean;
2208
- new_gloss: string;
2209
- old_gloss: string;
2210
- signwriting: {
2211
- fsw: string;
2212
- swu: string;
2213
- };
2214
- video: {
2215
- gif?: string | undefined;
2216
- mp4?: string | undefined;
2217
- };
2218
- };
2219
- };
2220
- outputFormat: "json";
2221
- status: 200;
2222
- };
2223
- };
2224
- } & {
2225
- "/luka_pona/signs/:sign": {
2226
- $get: {
2227
- input: {
2228
- query: {
2229
- lang?: string | string[] | undefined;
2230
- };
2231
- } & {
2232
- param: {
2233
- sign: string;
2234
- };
2235
- };
2236
- output: {
2237
- ok: true;
2238
- data: {
2239
- id: string;
2240
- etymology: {
2241
- language: string;
2242
- sign?: string | undefined;
2243
- }[];
2244
- translations: {
2245
- [x: string]: {
2246
- parameters: {
2247
- handshape?: string | undefined;
2248
- movement?: string | undefined;
2249
- placement?: string | undefined;
2250
- orientation?: string | undefined;
2251
- };
2252
- icons: string;
2253
- };
2254
- };
2255
- definition: string;
2256
- is_two_handed: boolean;
2257
- new_gloss: string;
2258
- old_gloss: string;
2259
- signwriting: {
2260
- fsw: string;
2261
- swu: string;
2262
- };
2263
- video: {
2264
- gif?: string | undefined;
2265
- mp4?: string | undefined;
2266
- };
2267
- };
2268
- };
2269
- outputFormat: "json";
2270
- status: 200;
2271
- } | {
2272
- input: {
2273
- query: {
2274
- lang?: string | string[] | undefined;
2275
- };
2276
- } & {
2277
- param: {
2278
- sign: string;
2279
- };
2280
- };
2281
- output: {
2282
- ok: false;
2283
- message: string;
2284
- };
2285
- outputFormat: "json";
2286
- status: 400;
2287
- };
2288
- };
2289
- } & {
2290
- "/fonts": {
2291
- $get: {
2292
- input: {};
2293
- output: {
2294
- [x: string]: {
2295
- id: string;
2296
- creator: string[];
2297
- ligatures: boolean;
2298
- ucsur: boolean;
2299
- features: string[];
2300
- filename: string;
2301
- license: string;
2302
- name: string;
2303
- style: string;
2304
- version: string;
2305
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
2306
- links: {
2307
- fontfile?: string | undefined;
2308
- repo?: string | undefined;
2309
- webpage?: string | undefined;
2310
- };
2311
- last_updated?: string | undefined;
2312
- };
2313
- };
2314
- outputFormat: "json";
2315
- status: 200;
2316
- };
2317
- };
2318
- } & {
2319
- "/fonts/:font": {
2320
- $get: {
2321
- input: {
2322
- param: {
2323
- font: string;
2324
- };
2325
- };
2326
- output: {
2327
- ok: true;
2328
- data: {
2329
- id: string;
2330
- creator: string[];
2331
- ligatures: boolean;
2332
- ucsur: boolean;
2333
- features: string[];
2334
- filename: string;
2335
- license: string;
2336
- name: string;
2337
- style: string;
2338
- version: string;
2339
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
2340
- links: {
2341
- fontfile?: string | undefined;
2342
- repo?: string | undefined;
2343
- webpage?: string | undefined;
2344
- };
2345
- last_updated?: string | undefined;
2346
- };
2347
- };
2348
- outputFormat: "json";
2349
- status: 200;
2350
- } | {
2351
- input: {
2352
- param: {
2353
- font: string;
2354
- };
2355
- };
2356
- output: {
2357
- ok: false;
2358
- message: string;
2359
- };
2360
- outputFormat: "json";
2361
- status: 400;
2362
- };
2363
- };
2364
- } & {
2365
- "/languages": {
2366
- $get: {
2367
- input: {};
2368
- output: {
2369
- [x: string]: {
2370
- id: string;
2371
- name: {
2372
- en: string;
2373
- tok?: string | undefined;
2374
- endonym?: string | undefined;
2375
- };
2376
- locale: string;
2377
- direction: "ltr" | "rtl";
2378
- };
2379
- };
2380
- outputFormat: "json";
2381
- status: 200;
2382
- };
2383
- };
2384
- } & {
2385
- "/languages/:language": {
2386
- $get: {
2387
- input: {
2388
- param: {
2389
- language: string;
2390
- };
2391
- };
2392
- output: {
2393
- ok: true;
2394
- data: {
2395
- id: string;
2396
- name: {
2397
- en: string;
2398
- tok?: string | undefined;
2399
- endonym?: string | undefined;
2400
- };
2401
- locale: string;
2402
- direction: "ltr" | "rtl";
2403
- };
2404
- };
2405
- outputFormat: "json";
2406
- status: 200;
2407
- } | {
2408
- input: {
2409
- param: {
2410
- language: string;
2411
- };
2412
- };
2413
- output: {
2414
- ok: false;
2415
- message: string;
2416
- };
2417
- outputFormat: "json";
2418
- status: 400;
2419
- };
2420
- };
2421
- }, "/">;
2422
- };
2423
- export declare const fetchFile: <S extends z.ZodType>(version: ApiVersion, schema: S, filename: string) => Promise<z.SafeParseReturnType<z.input<S>, z.output<S>>>;