@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
@@ -0,0 +1,1610 @@
1
+ import { t as AppType } from "../../index-7uKIarVW.mjs";
2
+ import * as _$hono_client0 from "hono/client";
3
+ import * as _$hono_utils_http_status0 from "hono/utils/http-status";
4
+
5
+ //#region src/lib/v1/client.d.ts
6
+ declare const client: (args?: {
7
+ baseUrl?: string;
8
+ fetch?: (typeof globalThis)["fetch"];
9
+ }) => {
10
+ index: _$hono_client0.ClientRequest<string, "/", {
11
+ $get: {
12
+ input: {};
13
+ output: undefined;
14
+ outputFormat: "redirect";
15
+ status: 302;
16
+ };
17
+ }>;
18
+ } & {
19
+ jasima: _$hono_client0.ClientRequest<string, "/jasima", {
20
+ $get: {
21
+ input: {};
22
+ output: {};
23
+ outputFormat: "json";
24
+ status: _$hono_utils_http_status0.ContentfulStatusCode;
25
+ };
26
+ }>;
27
+ } & {
28
+ v1: _$hono_client0.ClientRequest<string, "/v1", {
29
+ $get: {
30
+ input: {};
31
+ output: undefined;
32
+ outputFormat: "redirect";
33
+ status: 302;
34
+ };
35
+ }>;
36
+ } & {
37
+ v1: {
38
+ words: _$hono_client0.ClientRequest<string, "/v1/words", {
39
+ $get: {
40
+ input: {
41
+ query: {
42
+ lang?: string | undefined;
43
+ };
44
+ };
45
+ output: {
46
+ [x: string]: {
47
+ id: string;
48
+ author_verbatim: string;
49
+ author_verbatim_source: string;
50
+ book: "pu" | "ku suli" | "ku lili" | "none";
51
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
52
+ coined_year: string;
53
+ creator: string[];
54
+ see_also: string[];
55
+ source_language: string;
56
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
57
+ word: string;
58
+ deprecated: boolean;
59
+ etymology: {
60
+ word?: string | undefined;
61
+ alt?: string | undefined;
62
+ }[];
63
+ audio: {
64
+ author: string;
65
+ link: string;
66
+ }[];
67
+ usage: {
68
+ [x: string]: number;
69
+ };
70
+ translations: {
71
+ [x: string]: {
72
+ commentary: string;
73
+ definition: string;
74
+ etymology: {
75
+ language: string;
76
+ definition?: string | undefined;
77
+ }[];
78
+ sp_etymology: string;
79
+ };
80
+ };
81
+ ku_data?: {
82
+ [x: string]: number;
83
+ } | undefined;
84
+ resources?: {
85
+ sona_pona?: string | undefined;
86
+ lipamanka_semantic?: string | undefined;
87
+ } | undefined;
88
+ representations?: {
89
+ sitelen_emosi?: string | undefined;
90
+ sitelen_jelo?: string[] | undefined;
91
+ ligatures?: string[] | undefined;
92
+ sitelen_sitelen?: string | undefined;
93
+ ucsur?: string | undefined;
94
+ } | undefined;
95
+ pu_verbatim?: {
96
+ en: string;
97
+ fr: string;
98
+ de: string;
99
+ eo: string;
100
+ } | undefined;
101
+ };
102
+ };
103
+ outputFormat: "json";
104
+ status: 200;
105
+ };
106
+ }>;
107
+ };
108
+ } & {
109
+ v1: {
110
+ luka_pona: {
111
+ signs: _$hono_client0.ClientRequest<string, "/v1/luka_pona/signs", {
112
+ $get: {
113
+ input: {
114
+ query: {
115
+ lang?: string | undefined;
116
+ };
117
+ };
118
+ output: {
119
+ [x: string]: {
120
+ definition: string;
121
+ id: string;
122
+ is_two_handed: boolean;
123
+ new_gloss: string;
124
+ old_gloss: string;
125
+ etymology: {
126
+ language: string;
127
+ sign?: string | undefined;
128
+ }[];
129
+ signwriting: {
130
+ fsw: string;
131
+ swu: string;
132
+ };
133
+ video: {
134
+ gif?: string | undefined;
135
+ mp4?: string | undefined;
136
+ };
137
+ translations: {
138
+ [x: string]: {
139
+ parameters: {
140
+ handshape?: string | undefined;
141
+ movement?: string | undefined;
142
+ placement?: string | undefined;
143
+ orientation?: string | undefined;
144
+ };
145
+ icons: string;
146
+ };
147
+ };
148
+ };
149
+ };
150
+ outputFormat: "json";
151
+ status: 200;
152
+ };
153
+ }>;
154
+ };
155
+ };
156
+ } & {
157
+ v1: {
158
+ words: {
159
+ ":word": _$hono_client0.ClientRequest<string, "/v1/words/:word", {
160
+ $get: {
161
+ input: {
162
+ query: {
163
+ lang?: string | undefined;
164
+ };
165
+ } & {
166
+ param: {
167
+ word: string;
168
+ };
169
+ };
170
+ output: {
171
+ ok: true;
172
+ data: {
173
+ id: string;
174
+ author_verbatim: string;
175
+ author_verbatim_source: string;
176
+ book: "pu" | "ku suli" | "ku lili" | "none";
177
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
178
+ coined_year: string;
179
+ creator: string[];
180
+ see_also: string[];
181
+ source_language: string;
182
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
183
+ word: string;
184
+ deprecated: boolean;
185
+ etymology: {
186
+ word?: string | undefined;
187
+ alt?: string | undefined;
188
+ }[];
189
+ audio: {
190
+ author: string;
191
+ link: string;
192
+ }[];
193
+ usage: {
194
+ [x: string]: number;
195
+ };
196
+ translations: {
197
+ [x: string]: {
198
+ commentary: string;
199
+ definition: string;
200
+ etymology: {
201
+ language: string;
202
+ definition?: string | undefined;
203
+ }[];
204
+ sp_etymology: string;
205
+ };
206
+ };
207
+ ku_data?: {
208
+ [x: string]: number;
209
+ } | undefined;
210
+ resources?: {
211
+ sona_pona?: string | undefined;
212
+ lipamanka_semantic?: string | undefined;
213
+ } | undefined;
214
+ representations?: {
215
+ sitelen_emosi?: string | undefined;
216
+ sitelen_jelo?: string[] | undefined;
217
+ ligatures?: string[] | undefined;
218
+ sitelen_sitelen?: string | undefined;
219
+ ucsur?: string | undefined;
220
+ } | undefined;
221
+ pu_verbatim?: {
222
+ en: string;
223
+ fr: string;
224
+ de: string;
225
+ eo: string;
226
+ } | undefined;
227
+ };
228
+ };
229
+ outputFormat: "json";
230
+ status: 200;
231
+ } | {
232
+ input: {
233
+ query: {
234
+ lang?: string | undefined;
235
+ };
236
+ } & {
237
+ param: {
238
+ word: string;
239
+ };
240
+ };
241
+ output: {
242
+ ok: false;
243
+ message: string;
244
+ };
245
+ outputFormat: "json";
246
+ status: 400;
247
+ };
248
+ }>;
249
+ };
250
+ };
251
+ } & {
252
+ v1: {
253
+ sandbox: _$hono_client0.ClientRequest<string, "/v1/sandbox", {
254
+ $get: {
255
+ input: {
256
+ query: {
257
+ lang?: string | undefined;
258
+ };
259
+ };
260
+ output: {
261
+ [x: string]: {
262
+ id: string;
263
+ author_verbatim: string;
264
+ author_verbatim_source: string;
265
+ book: "pu" | "ku suli" | "ku lili" | "none";
266
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
267
+ coined_year: string;
268
+ creator: string[];
269
+ see_also: string[];
270
+ source_language: string;
271
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
272
+ word: string;
273
+ deprecated: boolean;
274
+ etymology: {
275
+ word?: string | undefined;
276
+ alt?: string | undefined;
277
+ }[];
278
+ audio: {
279
+ author: string;
280
+ link: string;
281
+ }[];
282
+ usage: {
283
+ [x: string]: number;
284
+ };
285
+ translations: {
286
+ [x: string]: {
287
+ commentary: string;
288
+ definition: string;
289
+ etymology: {
290
+ language: string;
291
+ definition?: string | undefined;
292
+ }[];
293
+ sp_etymology: string;
294
+ };
295
+ };
296
+ ku_data?: {
297
+ [x: string]: number;
298
+ } | undefined;
299
+ resources?: {
300
+ sona_pona?: string | undefined;
301
+ lipamanka_semantic?: string | undefined;
302
+ } | undefined;
303
+ representations?: {
304
+ sitelen_emosi?: string | undefined;
305
+ sitelen_jelo?: string[] | undefined;
306
+ ligatures?: string[] | undefined;
307
+ sitelen_sitelen?: string | undefined;
308
+ ucsur?: string | undefined;
309
+ } | undefined;
310
+ pu_verbatim?: {
311
+ en: string;
312
+ fr: string;
313
+ de: string;
314
+ eo: string;
315
+ } | undefined;
316
+ };
317
+ };
318
+ outputFormat: "json";
319
+ status: 200;
320
+ };
321
+ }>;
322
+ };
323
+ } & {
324
+ v1: {
325
+ sandbox: {
326
+ ":word": _$hono_client0.ClientRequest<string, "/v1/sandbox/:word", {
327
+ $get: {
328
+ input: {
329
+ query: {
330
+ lang?: string | undefined;
331
+ };
332
+ } & {
333
+ param: {
334
+ word: string;
335
+ };
336
+ };
337
+ output: {
338
+ ok: true;
339
+ data: {
340
+ id: string;
341
+ author_verbatim: string;
342
+ author_verbatim_source: string;
343
+ book: "pu" | "ku suli" | "ku lili" | "none";
344
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
345
+ coined_year: string;
346
+ creator: string[];
347
+ see_also: string[];
348
+ source_language: string;
349
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
350
+ word: string;
351
+ deprecated: boolean;
352
+ etymology: {
353
+ word?: string | undefined;
354
+ alt?: string | undefined;
355
+ }[];
356
+ audio: {
357
+ author: string;
358
+ link: string;
359
+ }[];
360
+ usage: {
361
+ [x: string]: number;
362
+ };
363
+ translations: {
364
+ [x: string]: {
365
+ commentary: string;
366
+ definition: string;
367
+ etymology: {
368
+ language: string;
369
+ definition?: string | undefined;
370
+ }[];
371
+ sp_etymology: string;
372
+ };
373
+ };
374
+ ku_data?: {
375
+ [x: string]: number;
376
+ } | undefined;
377
+ resources?: {
378
+ sona_pona?: string | undefined;
379
+ lipamanka_semantic?: string | undefined;
380
+ } | undefined;
381
+ representations?: {
382
+ sitelen_emosi?: string | undefined;
383
+ sitelen_jelo?: string[] | undefined;
384
+ ligatures?: string[] | undefined;
385
+ sitelen_sitelen?: string | undefined;
386
+ ucsur?: string | undefined;
387
+ } | undefined;
388
+ pu_verbatim?: {
389
+ en: string;
390
+ fr: string;
391
+ de: string;
392
+ eo: string;
393
+ } | undefined;
394
+ };
395
+ };
396
+ outputFormat: "json";
397
+ status: 200;
398
+ } | {
399
+ input: {
400
+ query: {
401
+ lang?: string | undefined;
402
+ };
403
+ } & {
404
+ param: {
405
+ word: string;
406
+ };
407
+ };
408
+ output: {
409
+ ok: false;
410
+ message: string;
411
+ };
412
+ outputFormat: "json";
413
+ status: 400;
414
+ };
415
+ }>;
416
+ };
417
+ };
418
+ } & {
419
+ v1: {
420
+ luka_pona: _$hono_client0.ClientRequest<string, "/v1/luka_pona", {
421
+ $get: {
422
+ input: {};
423
+ output: undefined;
424
+ outputFormat: "redirect";
425
+ status: 302;
426
+ };
427
+ }>;
428
+ };
429
+ } & {
430
+ v1: {
431
+ luka_pona: {
432
+ fingerspelling: _$hono_client0.ClientRequest<string, "/v1/luka_pona/fingerspelling", {
433
+ $get: {
434
+ input: {
435
+ query: {
436
+ lang?: string | undefined;
437
+ };
438
+ };
439
+ output: {
440
+ [x: string]: {
441
+ id: string;
442
+ is_two_handed: boolean;
443
+ etymology: {
444
+ language: string;
445
+ sign: string;
446
+ }[];
447
+ signwriting: {
448
+ fsw: string;
449
+ swu: string;
450
+ };
451
+ video: {
452
+ gif?: string | undefined;
453
+ mp4?: string | undefined;
454
+ };
455
+ translations: {
456
+ [x: string]: {
457
+ parameters: {
458
+ handshape?: string | undefined;
459
+ movement?: string | undefined;
460
+ placement?: string | undefined;
461
+ orientation?: string | undefined;
462
+ };
463
+ };
464
+ };
465
+ };
466
+ };
467
+ outputFormat: "json";
468
+ status: 200;
469
+ };
470
+ }>;
471
+ };
472
+ };
473
+ } & {
474
+ v1: {
475
+ luka_pona: {
476
+ fingerspelling: {
477
+ ":sign": _$hono_client0.ClientRequest<string, "/v1/luka_pona/fingerspelling/:sign", {
478
+ $get: {
479
+ input: {
480
+ query: {
481
+ lang?: string | undefined;
482
+ };
483
+ } & {
484
+ param: {
485
+ sign: string;
486
+ };
487
+ };
488
+ output: {
489
+ ok: true;
490
+ data: {
491
+ id: string;
492
+ is_two_handed: boolean;
493
+ etymology: {
494
+ language: string;
495
+ sign: string;
496
+ }[];
497
+ signwriting: {
498
+ fsw: string;
499
+ swu: string;
500
+ };
501
+ video: {
502
+ gif?: string | undefined;
503
+ mp4?: string | undefined;
504
+ };
505
+ translations: {
506
+ [x: string]: {
507
+ parameters: {
508
+ handshape?: string | undefined;
509
+ movement?: string | undefined;
510
+ placement?: string | undefined;
511
+ orientation?: string | undefined;
512
+ };
513
+ };
514
+ };
515
+ };
516
+ };
517
+ outputFormat: "json";
518
+ status: 200;
519
+ } | {
520
+ input: {
521
+ query: {
522
+ lang?: string | undefined;
523
+ };
524
+ } & {
525
+ param: {
526
+ sign: string;
527
+ };
528
+ };
529
+ output: {
530
+ ok: false;
531
+ message: string;
532
+ };
533
+ outputFormat: "json";
534
+ status: 400;
535
+ };
536
+ }>;
537
+ };
538
+ };
539
+ };
540
+ } & {
541
+ v1: {
542
+ luka_pona: {
543
+ signs: {
544
+ ":sign": _$hono_client0.ClientRequest<string, "/v1/luka_pona/signs/:sign", {
545
+ $get: {
546
+ input: {
547
+ query: {
548
+ lang?: string | undefined;
549
+ };
550
+ } & {
551
+ param: {
552
+ sign: string;
553
+ };
554
+ };
555
+ output: {
556
+ ok: true;
557
+ data: {
558
+ definition: string;
559
+ id: string;
560
+ is_two_handed: boolean;
561
+ new_gloss: string;
562
+ old_gloss: string;
563
+ etymology: {
564
+ language: string;
565
+ sign?: string | undefined;
566
+ }[];
567
+ signwriting: {
568
+ fsw: string;
569
+ swu: string;
570
+ };
571
+ video: {
572
+ gif?: string | undefined;
573
+ mp4?: string | undefined;
574
+ };
575
+ translations: {
576
+ [x: string]: {
577
+ parameters: {
578
+ handshape?: string | undefined;
579
+ movement?: string | undefined;
580
+ placement?: string | undefined;
581
+ orientation?: string | undefined;
582
+ };
583
+ icons: string;
584
+ };
585
+ };
586
+ };
587
+ };
588
+ outputFormat: "json";
589
+ status: 200;
590
+ } | {
591
+ input: {
592
+ query: {
593
+ lang?: string | undefined;
594
+ };
595
+ } & {
596
+ param: {
597
+ sign: string;
598
+ };
599
+ };
600
+ output: {
601
+ ok: false;
602
+ message: string;
603
+ };
604
+ outputFormat: "json";
605
+ status: 400;
606
+ };
607
+ }>;
608
+ };
609
+ };
610
+ };
611
+ } & {
612
+ v1: {
613
+ fonts: _$hono_client0.ClientRequest<string, "/v1/fonts", {
614
+ $get: {
615
+ input: {};
616
+ output: {
617
+ [x: string]: {
618
+ id: string;
619
+ creator: string[];
620
+ features: string[];
621
+ filename: string;
622
+ license: string;
623
+ ligatures: boolean;
624
+ name: string;
625
+ style: string;
626
+ ucsur: boolean;
627
+ version: string;
628
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
629
+ links: {
630
+ fontfile?: string | undefined;
631
+ repo?: string | undefined;
632
+ webpage?: string | undefined;
633
+ };
634
+ last_updated?: string | undefined;
635
+ };
636
+ };
637
+ outputFormat: "json";
638
+ status: 200;
639
+ };
640
+ }>;
641
+ };
642
+ } & {
643
+ v1: {
644
+ fonts: {
645
+ ":font": _$hono_client0.ClientRequest<string, "/v1/fonts/:font", {
646
+ $get: {
647
+ input: {
648
+ param: {
649
+ font: string;
650
+ };
651
+ };
652
+ output: {
653
+ ok: true;
654
+ data: {
655
+ id: string;
656
+ creator: string[];
657
+ features: string[];
658
+ filename: string;
659
+ license: string;
660
+ ligatures: boolean;
661
+ name: string;
662
+ style: string;
663
+ ucsur: boolean;
664
+ version: string;
665
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
666
+ links: {
667
+ fontfile?: string | undefined;
668
+ repo?: string | undefined;
669
+ webpage?: string | undefined;
670
+ };
671
+ last_updated?: string | undefined;
672
+ };
673
+ };
674
+ outputFormat: "json";
675
+ status: 200;
676
+ } | {
677
+ input: {
678
+ param: {
679
+ font: string;
680
+ };
681
+ };
682
+ output: {
683
+ ok: false;
684
+ message: string;
685
+ };
686
+ outputFormat: "json";
687
+ status: 400;
688
+ };
689
+ }>;
690
+ };
691
+ };
692
+ } & {
693
+ v1: {
694
+ languages: _$hono_client0.ClientRequest<string, "/v1/languages", {
695
+ $get: {
696
+ input: {};
697
+ output: {
698
+ [x: string]: {
699
+ id: string;
700
+ locale: string;
701
+ direction: "ltr" | "rtl";
702
+ name: {
703
+ en: string;
704
+ tok?: string | undefined;
705
+ endonym?: string | undefined;
706
+ };
707
+ };
708
+ };
709
+ outputFormat: "json";
710
+ status: 200;
711
+ };
712
+ }>;
713
+ };
714
+ } & {
715
+ v1: {
716
+ languages: {
717
+ ":language": _$hono_client0.ClientRequest<string, "/v1/languages/:language", {
718
+ $get: {
719
+ input: {
720
+ param: {
721
+ language: string;
722
+ };
723
+ };
724
+ output: {
725
+ ok: true;
726
+ data: {
727
+ id: string;
728
+ locale: string;
729
+ direction: "ltr" | "rtl";
730
+ name: {
731
+ en: string;
732
+ tok?: string | undefined;
733
+ endonym?: string | undefined;
734
+ };
735
+ };
736
+ };
737
+ outputFormat: "json";
738
+ status: 200;
739
+ } | {
740
+ input: {
741
+ param: {
742
+ language: string;
743
+ };
744
+ };
745
+ output: {
746
+ ok: false;
747
+ message: string;
748
+ };
749
+ outputFormat: "json";
750
+ status: 400;
751
+ };
752
+ }>;
753
+ };
754
+ };
755
+ } & {
756
+ v2: _$hono_client0.ClientRequest<string, "/v2", {
757
+ $get: {
758
+ input: {};
759
+ output: undefined;
760
+ outputFormat: "redirect";
761
+ status: 302;
762
+ };
763
+ }>;
764
+ } & {
765
+ v2: {
766
+ words: _$hono_client0.ClientRequest<string, "/v2/words", {
767
+ $get: {
768
+ input: {};
769
+ output: {
770
+ [x: string]: {
771
+ id: string;
772
+ word: string;
773
+ book: "pu" | "ku suli" | "ku lili" | "none";
774
+ coined_era: "pre-pu" | "post-pu" | "post-ku";
775
+ creation_date: string;
776
+ author: string[];
777
+ see_also: string[];
778
+ resources: {
779
+ sona_pona?: string | undefined;
780
+ lipamanka_semantic?: string | undefined;
781
+ };
782
+ representations: {
783
+ sitelen_emosi?: string | undefined;
784
+ sitelen_jelo?: string[] | undefined;
785
+ ligatures?: string[] | undefined;
786
+ sitelen_sitelen?: string | undefined;
787
+ ucsur?: string | undefined;
788
+ };
789
+ source_language: string;
790
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
791
+ deprecated: boolean;
792
+ audio: {
793
+ author: string;
794
+ link: string;
795
+ }[];
796
+ usage: {
797
+ [x: string]: number;
798
+ };
799
+ glyph_ids: string[];
800
+ translations: {
801
+ commentary: string;
802
+ etymology: string;
803
+ definition: string;
804
+ };
805
+ author_verbatim?: string | undefined;
806
+ author_source?: string | undefined;
807
+ ku_data?: {
808
+ [x: string]: number;
809
+ } | undefined;
810
+ parent_id?: string | undefined;
811
+ pu_verbatim?: {
812
+ en: string;
813
+ fr: string;
814
+ de: string;
815
+ eo: string;
816
+ } | undefined;
817
+ primary_glyph_id?: string | undefined;
818
+ image?: string | undefined;
819
+ svg?: string | undefined;
820
+ };
821
+ };
822
+ outputFormat: "json";
823
+ status: 200;
824
+ };
825
+ }>;
826
+ };
827
+ } & {
828
+ v2: {
829
+ sandbox: {
830
+ words: _$hono_client0.ClientRequest<string, "/v2/sandbox/words", {
831
+ $get: {
832
+ input: {};
833
+ output: {
834
+ [x: string]: {
835
+ id: string;
836
+ word: string;
837
+ book: "pu" | "ku suli" | "ku lili" | "none";
838
+ coined_era: "pre-pu" | "post-pu" | "post-ku";
839
+ creation_date: string;
840
+ author: string[];
841
+ see_also: string[];
842
+ resources: {
843
+ sona_pona?: string | undefined;
844
+ lipamanka_semantic?: string | undefined;
845
+ };
846
+ representations: {
847
+ sitelen_emosi?: string | undefined;
848
+ sitelen_jelo?: string[] | undefined;
849
+ ligatures?: string[] | undefined;
850
+ sitelen_sitelen?: string | undefined;
851
+ ucsur?: string | undefined;
852
+ };
853
+ source_language: string;
854
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
855
+ deprecated: boolean;
856
+ audio: {
857
+ author: string;
858
+ link: string;
859
+ }[];
860
+ usage: {
861
+ [x: string]: number;
862
+ };
863
+ glyph_ids: string[];
864
+ translations: {
865
+ commentary: string;
866
+ etymology: string;
867
+ definition: string;
868
+ };
869
+ author_verbatim?: string | undefined;
870
+ author_source?: string | undefined;
871
+ ku_data?: {
872
+ [x: string]: number;
873
+ } | undefined;
874
+ parent_id?: string | undefined;
875
+ pu_verbatim?: {
876
+ en: string;
877
+ fr: string;
878
+ de: string;
879
+ eo: string;
880
+ } | undefined;
881
+ primary_glyph_id?: string | undefined;
882
+ image?: string | undefined;
883
+ svg?: string | undefined;
884
+ };
885
+ };
886
+ outputFormat: "json";
887
+ status: 200;
888
+ };
889
+ }>;
890
+ };
891
+ };
892
+ } & {
893
+ v2: {
894
+ words: {
895
+ ":word": _$hono_client0.ClientRequest<string, "/v2/words/:word", {
896
+ $get: {
897
+ input: {
898
+ param: {
899
+ word: string;
900
+ };
901
+ };
902
+ output: {
903
+ success: true;
904
+ data: {
905
+ id: string;
906
+ word: string;
907
+ book: "pu" | "ku suli" | "ku lili" | "none";
908
+ coined_era: "pre-pu" | "post-pu" | "post-ku";
909
+ creation_date: string;
910
+ author: string[];
911
+ see_also: string[];
912
+ resources: {
913
+ sona_pona?: string | undefined;
914
+ lipamanka_semantic?: string | undefined;
915
+ };
916
+ representations: {
917
+ sitelen_emosi?: string | undefined;
918
+ sitelen_jelo?: string[] | undefined;
919
+ ligatures?: string[] | undefined;
920
+ sitelen_sitelen?: string | undefined;
921
+ ucsur?: string | undefined;
922
+ };
923
+ source_language: string;
924
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
925
+ deprecated: boolean;
926
+ audio: {
927
+ author: string;
928
+ link: string;
929
+ }[];
930
+ usage: {
931
+ [x: string]: number;
932
+ };
933
+ glyph_ids: string[];
934
+ translations: {
935
+ commentary: string;
936
+ etymology: string;
937
+ definition: string;
938
+ };
939
+ author_verbatim?: string | undefined;
940
+ author_source?: string | undefined;
941
+ ku_data?: {
942
+ [x: string]: number;
943
+ } | undefined;
944
+ parent_id?: string | undefined;
945
+ pu_verbatim?: {
946
+ en: string;
947
+ fr: string;
948
+ de: string;
949
+ eo: string;
950
+ } | undefined;
951
+ primary_glyph_id?: string | undefined;
952
+ image?: string | undefined;
953
+ svg?: string | undefined;
954
+ };
955
+ };
956
+ outputFormat: "json";
957
+ status: 200;
958
+ } | {
959
+ input: {
960
+ param: {
961
+ word: string;
962
+ };
963
+ };
964
+ output: {
965
+ success: false;
966
+ message: string;
967
+ };
968
+ outputFormat: "json";
969
+ status: 400;
970
+ };
971
+ }>;
972
+ };
973
+ };
974
+ } & {
975
+ v2: {
976
+ glyphs: _$hono_client0.ClientRequest<string, "/v2/glyphs", {
977
+ $get: {
978
+ input: {};
979
+ output: {
980
+ [x: string]: {
981
+ id: string;
982
+ word: string;
983
+ word_id: string;
984
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
985
+ author: string[];
986
+ creation_date: string;
987
+ see_also: string[];
988
+ primary: boolean;
989
+ deprecated: boolean;
990
+ usage: {
991
+ [x: string]: number;
992
+ };
993
+ translations: {
994
+ commentary: string;
995
+ etymology: string;
996
+ names: string[];
997
+ };
998
+ author_source?: string | undefined;
999
+ parent_id?: string | undefined;
1000
+ image?: string | undefined;
1001
+ svg?: string | undefined;
1002
+ ligature?: string | undefined;
1003
+ alias_ligatures?: string[] | undefined;
1004
+ ucsur?: string | undefined;
1005
+ };
1006
+ };
1007
+ outputFormat: "json";
1008
+ status: 200;
1009
+ };
1010
+ }>;
1011
+ };
1012
+ } & {
1013
+ v2: {
1014
+ glyphs: {
1015
+ ":glyph": _$hono_client0.ClientRequest<string, "/v2/glyphs/:glyph", {
1016
+ $get: {
1017
+ input: {
1018
+ param: {
1019
+ glyph: string;
1020
+ };
1021
+ };
1022
+ output: {
1023
+ success: true;
1024
+ data: {
1025
+ id: string;
1026
+ word: string;
1027
+ word_id: string;
1028
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1029
+ author: string[];
1030
+ creation_date: string;
1031
+ see_also: string[];
1032
+ primary: boolean;
1033
+ deprecated: boolean;
1034
+ usage: {
1035
+ [x: string]: number;
1036
+ };
1037
+ translations: {
1038
+ commentary: string;
1039
+ etymology: string;
1040
+ names: string[];
1041
+ };
1042
+ author_source?: string | undefined;
1043
+ parent_id?: string | undefined;
1044
+ image?: string | undefined;
1045
+ svg?: string | undefined;
1046
+ ligature?: string | undefined;
1047
+ alias_ligatures?: string[] | undefined;
1048
+ ucsur?: string | undefined;
1049
+ };
1050
+ };
1051
+ outputFormat: "json";
1052
+ status: 200;
1053
+ } | {
1054
+ input: {
1055
+ param: {
1056
+ glyph: string;
1057
+ };
1058
+ };
1059
+ output: {
1060
+ success: false;
1061
+ message: string;
1062
+ };
1063
+ outputFormat: "json";
1064
+ status: 400;
1065
+ };
1066
+ }>;
1067
+ };
1068
+ };
1069
+ } & {
1070
+ v2: {
1071
+ sandbox: _$hono_client0.ClientRequest<string, "/v2/sandbox", {
1072
+ $get: {
1073
+ input: {};
1074
+ output: undefined;
1075
+ outputFormat: "redirect";
1076
+ status: 302;
1077
+ };
1078
+ }>;
1079
+ };
1080
+ } & {
1081
+ v2: {
1082
+ sandbox: {
1083
+ words: {
1084
+ ":word": _$hono_client0.ClientRequest<string, "/v2/sandbox/words/:word", {
1085
+ $get: {
1086
+ input: {
1087
+ param: {
1088
+ word: string;
1089
+ };
1090
+ };
1091
+ output: {
1092
+ success: true;
1093
+ data: {
1094
+ id: string;
1095
+ word: string;
1096
+ book: "pu" | "ku suli" | "ku lili" | "none";
1097
+ coined_era: "pre-pu" | "post-pu" | "post-ku";
1098
+ creation_date: string;
1099
+ author: string[];
1100
+ see_also: string[];
1101
+ resources: {
1102
+ sona_pona?: string | undefined;
1103
+ lipamanka_semantic?: string | undefined;
1104
+ };
1105
+ representations: {
1106
+ sitelen_emosi?: string | undefined;
1107
+ sitelen_jelo?: string[] | undefined;
1108
+ ligatures?: string[] | undefined;
1109
+ sitelen_sitelen?: string | undefined;
1110
+ ucsur?: string | undefined;
1111
+ };
1112
+ source_language: string;
1113
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1114
+ deprecated: boolean;
1115
+ audio: {
1116
+ author: string;
1117
+ link: string;
1118
+ }[];
1119
+ usage: {
1120
+ [x: string]: number;
1121
+ };
1122
+ glyph_ids: string[];
1123
+ translations: {
1124
+ commentary: string;
1125
+ etymology: string;
1126
+ definition: string;
1127
+ };
1128
+ author_verbatim?: string | undefined;
1129
+ author_source?: string | undefined;
1130
+ ku_data?: {
1131
+ [x: string]: number;
1132
+ } | undefined;
1133
+ parent_id?: string | undefined;
1134
+ pu_verbatim?: {
1135
+ en: string;
1136
+ fr: string;
1137
+ de: string;
1138
+ eo: string;
1139
+ } | undefined;
1140
+ primary_glyph_id?: string | undefined;
1141
+ image?: string | undefined;
1142
+ svg?: string | undefined;
1143
+ };
1144
+ };
1145
+ outputFormat: "json";
1146
+ status: 200;
1147
+ } | {
1148
+ input: {
1149
+ param: {
1150
+ word: string;
1151
+ };
1152
+ };
1153
+ output: {
1154
+ success: false;
1155
+ message: string;
1156
+ };
1157
+ outputFormat: "json";
1158
+ status: 400;
1159
+ };
1160
+ }>;
1161
+ };
1162
+ };
1163
+ };
1164
+ } & {
1165
+ v2: {
1166
+ sandbox: {
1167
+ glyphs: _$hono_client0.ClientRequest<string, "/v2/sandbox/glyphs", {
1168
+ $get: {
1169
+ input: {};
1170
+ output: {
1171
+ [x: string]: {
1172
+ id: string;
1173
+ word: string;
1174
+ word_id: string;
1175
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1176
+ author: string[];
1177
+ creation_date: string;
1178
+ see_also: string[];
1179
+ primary: boolean;
1180
+ deprecated: boolean;
1181
+ usage: {
1182
+ [x: string]: number;
1183
+ };
1184
+ translations: {
1185
+ commentary: string;
1186
+ etymology: string;
1187
+ names: string[];
1188
+ };
1189
+ author_source?: string | undefined;
1190
+ parent_id?: string | undefined;
1191
+ image?: string | undefined;
1192
+ svg?: string | undefined;
1193
+ ligature?: string | undefined;
1194
+ alias_ligatures?: string[] | undefined;
1195
+ ucsur?: string | undefined;
1196
+ };
1197
+ };
1198
+ outputFormat: "json";
1199
+ status: 200;
1200
+ };
1201
+ }>;
1202
+ };
1203
+ };
1204
+ } & {
1205
+ v2: {
1206
+ sandbox: {
1207
+ glyphs: {
1208
+ ":glyph": _$hono_client0.ClientRequest<string, "/v2/sandbox/glyphs/:glyph", {
1209
+ $get: {
1210
+ input: {
1211
+ param: {
1212
+ glyph: string;
1213
+ };
1214
+ };
1215
+ output: {
1216
+ success: true;
1217
+ data: {
1218
+ id: string;
1219
+ word: string;
1220
+ word_id: string;
1221
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1222
+ author: string[];
1223
+ creation_date: string;
1224
+ see_also: string[];
1225
+ primary: boolean;
1226
+ deprecated: boolean;
1227
+ usage: {
1228
+ [x: string]: number;
1229
+ };
1230
+ translations: {
1231
+ commentary: string;
1232
+ etymology: string;
1233
+ names: string[];
1234
+ };
1235
+ author_source?: string | undefined;
1236
+ parent_id?: string | undefined;
1237
+ image?: string | undefined;
1238
+ svg?: string | undefined;
1239
+ ligature?: string | undefined;
1240
+ alias_ligatures?: string[] | undefined;
1241
+ ucsur?: string | undefined;
1242
+ };
1243
+ };
1244
+ outputFormat: "json";
1245
+ status: 200;
1246
+ } | {
1247
+ input: {
1248
+ param: {
1249
+ glyph: string;
1250
+ };
1251
+ };
1252
+ output: {
1253
+ success: false;
1254
+ message: string;
1255
+ };
1256
+ outputFormat: "json";
1257
+ status: 400;
1258
+ };
1259
+ }>;
1260
+ };
1261
+ };
1262
+ };
1263
+ } & {
1264
+ v2: {
1265
+ luka_pona: {
1266
+ signs: _$hono_client0.ClientRequest<string, "/v2/luka_pona/signs", {
1267
+ $get: {
1268
+ input: {};
1269
+ output: {
1270
+ [x: string]: {
1271
+ id: string;
1272
+ is_two_handed: boolean;
1273
+ etymology: {
1274
+ language: string;
1275
+ sign?: string | undefined;
1276
+ }[];
1277
+ signwriting: {
1278
+ fsw: string;
1279
+ swu: string;
1280
+ };
1281
+ definition: string;
1282
+ new_gloss: string;
1283
+ old_gloss: string;
1284
+ old_id: string;
1285
+ translations: {
1286
+ icons: string;
1287
+ parameters: {
1288
+ handshape?: string | undefined;
1289
+ movement?: string | undefined;
1290
+ placement?: string | undefined;
1291
+ orientation?: string | undefined;
1292
+ };
1293
+ };
1294
+ video?: {
1295
+ gif: string;
1296
+ mp4: string;
1297
+ } | undefined;
1298
+ };
1299
+ };
1300
+ outputFormat: "json";
1301
+ status: 200;
1302
+ };
1303
+ }>;
1304
+ };
1305
+ };
1306
+ } & {
1307
+ v2: {
1308
+ luka_pona: {
1309
+ signs: {
1310
+ ":sign": _$hono_client0.ClientRequest<string, "/v2/luka_pona/signs/:sign", {
1311
+ $get: {
1312
+ input: {
1313
+ param: {
1314
+ sign: string;
1315
+ };
1316
+ };
1317
+ output: {
1318
+ success: true;
1319
+ data: {
1320
+ id: string;
1321
+ is_two_handed: boolean;
1322
+ etymology: {
1323
+ language: string;
1324
+ sign?: string | undefined;
1325
+ }[];
1326
+ signwriting: {
1327
+ fsw: string;
1328
+ swu: string;
1329
+ };
1330
+ definition: string;
1331
+ new_gloss: string;
1332
+ old_gloss: string;
1333
+ old_id: string;
1334
+ translations: {
1335
+ icons: string;
1336
+ parameters: {
1337
+ handshape?: string | undefined;
1338
+ movement?: string | undefined;
1339
+ placement?: string | undefined;
1340
+ orientation?: string | undefined;
1341
+ };
1342
+ };
1343
+ video?: {
1344
+ gif: string;
1345
+ mp4: string;
1346
+ } | undefined;
1347
+ };
1348
+ };
1349
+ outputFormat: "json";
1350
+ status: 200;
1351
+ } | {
1352
+ input: {
1353
+ param: {
1354
+ sign: string;
1355
+ };
1356
+ };
1357
+ output: {
1358
+ success: false;
1359
+ message: string;
1360
+ };
1361
+ outputFormat: "json";
1362
+ status: 400;
1363
+ };
1364
+ }>;
1365
+ };
1366
+ };
1367
+ };
1368
+ } & {
1369
+ v2: {
1370
+ luka_pona: {
1371
+ fingerspellings: _$hono_client0.ClientRequest<string, "/v2/luka_pona/fingerspellings", {
1372
+ $get: {
1373
+ input: {};
1374
+ output: {
1375
+ [x: string]: {
1376
+ id: string;
1377
+ is_two_handed: boolean;
1378
+ etymology: {
1379
+ language: string;
1380
+ sign?: string | undefined;
1381
+ }[];
1382
+ signwriting: {
1383
+ fsw: string;
1384
+ swu: string;
1385
+ };
1386
+ translations: {
1387
+ parameters: {
1388
+ handshape?: string | undefined;
1389
+ movement?: string | undefined;
1390
+ placement?: string | undefined;
1391
+ orientation?: string | undefined;
1392
+ };
1393
+ };
1394
+ video?: {
1395
+ gif: string;
1396
+ mp4: string;
1397
+ } | undefined;
1398
+ };
1399
+ };
1400
+ outputFormat: "json";
1401
+ status: 200;
1402
+ };
1403
+ }>;
1404
+ };
1405
+ };
1406
+ } & {
1407
+ v2: {
1408
+ luka_pona: {
1409
+ fingerspellings: {
1410
+ ":fingerspelling": _$hono_client0.ClientRequest<string, "/v2/luka_pona/fingerspellings/:fingerspelling", {
1411
+ $get: {
1412
+ input: {
1413
+ param: {
1414
+ fingerspelling: string;
1415
+ };
1416
+ };
1417
+ output: {
1418
+ success: true;
1419
+ data: {
1420
+ id: string;
1421
+ is_two_handed: boolean;
1422
+ etymology: {
1423
+ language: string;
1424
+ sign?: string | undefined;
1425
+ }[];
1426
+ signwriting: {
1427
+ fsw: string;
1428
+ swu: string;
1429
+ };
1430
+ translations: {
1431
+ parameters: {
1432
+ handshape?: string | undefined;
1433
+ movement?: string | undefined;
1434
+ placement?: string | undefined;
1435
+ orientation?: string | undefined;
1436
+ };
1437
+ };
1438
+ video?: {
1439
+ gif: string;
1440
+ mp4: string;
1441
+ } | undefined;
1442
+ };
1443
+ };
1444
+ outputFormat: "json";
1445
+ status: 200;
1446
+ } | {
1447
+ input: {
1448
+ param: {
1449
+ fingerspelling: string;
1450
+ };
1451
+ };
1452
+ output: {
1453
+ success: false;
1454
+ message: string;
1455
+ };
1456
+ outputFormat: "json";
1457
+ status: 400;
1458
+ };
1459
+ }>;
1460
+ };
1461
+ };
1462
+ };
1463
+ } & {
1464
+ v2: {
1465
+ fonts: _$hono_client0.ClientRequest<string, "/v2/fonts", {
1466
+ $get: {
1467
+ input: {};
1468
+ output: {
1469
+ [x: string]: {
1470
+ id: string;
1471
+ author: string[];
1472
+ features: string[];
1473
+ filename: string;
1474
+ last_updated: string;
1475
+ license: string;
1476
+ ligatures: boolean;
1477
+ name: string;
1478
+ style: string;
1479
+ ucsur: boolean;
1480
+ version: string;
1481
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
1482
+ links: {
1483
+ fontfile?: string | undefined;
1484
+ repo?: string | undefined;
1485
+ webpage?: string | undefined;
1486
+ };
1487
+ };
1488
+ };
1489
+ outputFormat: "json";
1490
+ status: 200;
1491
+ };
1492
+ }>;
1493
+ };
1494
+ } & {
1495
+ v2: {
1496
+ fonts: {
1497
+ ":font": _$hono_client0.ClientRequest<string, "/v2/fonts/:font", {
1498
+ $get: {
1499
+ input: {
1500
+ param: {
1501
+ font: string;
1502
+ };
1503
+ };
1504
+ output: {
1505
+ success: true;
1506
+ data: {
1507
+ id: string;
1508
+ author: string[];
1509
+ features: string[];
1510
+ filename: string;
1511
+ last_updated: string;
1512
+ license: string;
1513
+ ligatures: boolean;
1514
+ name: string;
1515
+ style: string;
1516
+ ucsur: boolean;
1517
+ version: string;
1518
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
1519
+ links: {
1520
+ fontfile?: string | undefined;
1521
+ repo?: string | undefined;
1522
+ webpage?: string | undefined;
1523
+ };
1524
+ };
1525
+ };
1526
+ outputFormat: "json";
1527
+ status: 200;
1528
+ } | {
1529
+ input: {
1530
+ param: {
1531
+ font: string;
1532
+ };
1533
+ };
1534
+ output: {
1535
+ success: false;
1536
+ message: string;
1537
+ };
1538
+ outputFormat: "json";
1539
+ status: 400;
1540
+ };
1541
+ }>;
1542
+ };
1543
+ };
1544
+ } & {
1545
+ v2: {
1546
+ languages: _$hono_client0.ClientRequest<string, "/v2/languages", {
1547
+ $get: {
1548
+ input: {};
1549
+ output: {
1550
+ [x: string]: {
1551
+ id: string;
1552
+ locale: string;
1553
+ direction: "ltr" | "rtl";
1554
+ name: {
1555
+ en: string;
1556
+ endonym: string;
1557
+ tok?: string | undefined;
1558
+ };
1559
+ };
1560
+ };
1561
+ outputFormat: "json";
1562
+ status: 200;
1563
+ };
1564
+ }>;
1565
+ };
1566
+ } & {
1567
+ v2: {
1568
+ languages: {
1569
+ ":language": _$hono_client0.ClientRequest<string, "/v2/languages/:language", {
1570
+ $get: {
1571
+ input: {
1572
+ param: {
1573
+ language: string;
1574
+ };
1575
+ };
1576
+ output: {
1577
+ success: true;
1578
+ data: {
1579
+ id: string;
1580
+ locale: string;
1581
+ direction: "ltr" | "rtl";
1582
+ name: {
1583
+ en: string;
1584
+ endonym: string;
1585
+ tok?: string | undefined;
1586
+ };
1587
+ };
1588
+ };
1589
+ outputFormat: "json";
1590
+ status: 200;
1591
+ } | {
1592
+ input: {
1593
+ param: {
1594
+ language: string;
1595
+ };
1596
+ };
1597
+ output: {
1598
+ success: false;
1599
+ message: string;
1600
+ };
1601
+ outputFormat: "json";
1602
+ status: 400;
1603
+ };
1604
+ }>;
1605
+ };
1606
+ };
1607
+ };
1608
+ type ApiType = AppType;
1609
+ //#endregion
1610
+ export { ApiType, client };