@kulupu-linku/sona 0.3.5 → 2.0.2

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 (84) hide show
  1. package/dist/.assetsignore +0 -0
  2. package/dist/client-BSyS8F5a.d.ts +1612 -0
  3. package/dist/client-BitJ28pJ.js +10 -0
  4. package/dist/client-CUMo53JZ.d.ts +1612 -0
  5. package/dist/client-DNWH1gFt.js +10 -0
  6. package/dist/index-1jX6YIBj.d.ts +1497 -0
  7. package/dist/index-DObG_APy.d.ts +398 -0
  8. package/dist/index-DsVEVr6r.d.ts +300 -0
  9. package/dist/lib/v1/client.d.ts +3 -0
  10. package/dist/lib/v1/client.js +3 -0
  11. package/dist/lib/v1/client.test.d.ts +31 -0
  12. package/dist/lib/v1/client.test.js +3 -0
  13. package/dist/lib/v1/index.d.ts +2 -0
  14. package/dist/lib/v1/index.js +4 -0
  15. package/dist/lib/v1/types.d.ts +2 -0
  16. package/dist/lib/v1/types.js +1 -0
  17. package/dist/lib/v1/utils.d.ts +26 -0
  18. package/dist/lib/v1/utils.js +3 -0
  19. package/dist/lib/v2/client.d.ts +3 -0
  20. package/dist/lib/v2/client.js +3 -0
  21. package/dist/lib/v2/client.test.d.ts +36 -0
  22. package/dist/lib/v2/client.test.js +3 -0
  23. package/dist/lib/v2/index.d.ts +2 -0
  24. package/dist/lib/v2/index.js +4 -0
  25. package/dist/lib/v2/types.d.ts +2 -0
  26. package/dist/lib/v2/types.js +1 -0
  27. package/dist/lib/v2/utils.d.ts +44 -0
  28. package/dist/lib/v2/utils.js +3 -0
  29. package/dist/server/index.d.ts +2 -684
  30. package/dist/server/index.js +43 -0
  31. package/dist/server/utils.d.ts +22 -15
  32. package/dist/server/utils.js +3 -0
  33. package/dist/server/v1/index.d.ts +863 -639
  34. package/dist/server/v1/index.js +8 -0
  35. package/dist/server/v2/index.d.ts +1112 -0
  36. package/dist/server/v2/index.js +8 -0
  37. package/dist/server/versioning.d.ts +1964 -2369
  38. package/dist/server/versioning.js +8 -0
  39. package/dist/utils-DkAaVBMs.js +33 -0
  40. package/dist/utils-QiKwNnnL.js +37 -0
  41. package/dist/utils-Z1o5sWsW.js +40 -0
  42. package/dist/v1-DkHVwPCI.js +139 -0
  43. package/dist/v1-obRCoWWK.js +267 -0
  44. package/dist/v2-CDtbJFxV.js +194 -0
  45. package/generated/v2/fingerspelling.json +124 -0
  46. package/generated/v2/fingerspellings.json +135 -0
  47. package/generated/v2/font.json +119 -0
  48. package/generated/v2/fonts.json +130 -0
  49. package/generated/v2/glyph.json +160 -0
  50. package/generated/v2/glyphs.json +167 -0
  51. package/generated/v2/language.json +58 -0
  52. package/generated/v2/languages.json +67 -0
  53. package/generated/v2/sign.json +149 -0
  54. package/generated/v2/signs.json +160 -0
  55. package/generated/v2/word.json +306 -0
  56. package/generated/v2/words.json +313 -0
  57. package/package.json +47 -28
  58. package/dist/client.d.ts +0 -1
  59. package/dist/client.js +0 -165
  60. package/dist/index.d.ts +0 -1
  61. package/dist/index.js +0 -223
  62. package/dist/lib/client.d.ts +0 -742
  63. package/dist/lib/client.test.d.ts +0 -28
  64. package/dist/lib/index.d.ts +0 -963
  65. package/dist/lib/types.d.ts +0 -18
  66. package/dist/lib/utils.d.ts +0 -14
  67. package/dist/utils-GfUvEzD4.js +0 -2905
  68. package/dist/utils.d.ts +0 -1
  69. package/dist/utils.js +0 -9
  70. package/generated/words.json +0 -315
  71. /package/generated/{commentary_translation.json → v1/commentary_translation.json} +0 -0
  72. /package/generated/{definition_translation.json → v1/definition_translation.json} +0 -0
  73. /package/generated/{etymology_translation.json → v1/etymology_translation.json} +0 -0
  74. /package/generated/{fingerspelling.json → v1/fingerspelling.json} +0 -0
  75. /package/generated/{fingerspelling_sign.json → v1/fingerspelling_sign.json} +0 -0
  76. /package/generated/{font.json → v1/font.json} +0 -0
  77. /package/generated/{fonts.json → v1/fonts.json} +0 -0
  78. /package/generated/{icon_translation.json → v1/icon_translation.json} +0 -0
  79. /package/generated/{languages.json → v1/languages.json} +0 -0
  80. /package/generated/{parameters_translation.json → v1/parameters_translation.json} +0 -0
  81. /package/generated/{sign.json → v1/sign.json} +0 -0
  82. /package/generated/{signs.json → v1/signs.json} +0 -0
  83. /package/generated/{sitelen_pona_translation.json → v1/sitelen_pona_translation.json} +0 -0
  84. /package/generated/{word.json → v1/word.json} +0 -0
@@ -1,678 +1,902 @@
1
- import { Hono, MiddlewareHandler } from 'hono';
1
+ import { MiddlewareHandler } from "hono";
2
+ import { z } from "zod/v4";
3
+ import * as hono_types4 from "hono/types";
4
+ import * as hono_hono_base3 from "hono/hono-base";
2
5
 
3
- export declare const languagesFilter: (nested: boolean) => MiddlewareHandler;
4
- declare const app: Hono<{}, {
5
- "/": {
6
- $get: {
7
- input: {};
8
- output: {};
9
- outputFormat: string;
10
- status: import('hono/utils/http-status').StatusCode;
11
- };
6
+ //#region src/server/v1/index.d.ts
7
+ declare const config: {
8
+ readonly words: {
9
+ readonly filename: "words.json";
10
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
11
+ id: z.ZodString;
12
+ author_verbatim: z.ZodString;
13
+ author_verbatim_source: z.ZodString;
14
+ book: z.ZodUnion<readonly [z.ZodLiteral<"pu">, z.ZodLiteral<"ku suli">, z.ZodLiteral<"ku lili">, z.ZodLiteral<"none">]>;
15
+ coined_era: z.ZodUnion<[z.ZodUnion<readonly [z.ZodLiteral<"pre-pu">, z.ZodLiteral<"post-pu">, z.ZodLiteral<"post-ku">]>, z.ZodLiteral<"">]>;
16
+ coined_year: z.ZodString;
17
+ creator: z.ZodArray<z.ZodString>;
18
+ ku_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
19
+ see_also: z.ZodArray<z.ZodString>;
20
+ resources: z.ZodOptional<z.ZodObject<{
21
+ sona_pona: z.ZodOptional<z.ZodString>;
22
+ lipamanka_semantic: z.ZodOptional<z.ZodString>;
23
+ }, z.core.$strip>>;
24
+ representations: z.ZodOptional<z.ZodObject<{
25
+ sitelen_emosi: z.ZodOptional<z.ZodString>;
26
+ sitelen_jelo: z.ZodOptional<z.ZodArray<z.ZodString>>;
27
+ ligatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
+ sitelen_sitelen: z.ZodOptional<z.ZodString>;
29
+ ucsur: z.ZodOptional<z.ZodString>;
30
+ }, z.core.$strip>>;
31
+ source_language: z.ZodString;
32
+ usage_category: z.ZodUnion<readonly [z.ZodLiteral<"core">, z.ZodLiteral<"common">, z.ZodLiteral<"uncommon">, z.ZodLiteral<"obscure">, z.ZodLiteral<"sandbox">]>;
33
+ word: z.ZodString;
34
+ deprecated: z.ZodBoolean;
35
+ etymology: z.ZodArray<z.ZodObject<{
36
+ word: z.ZodOptional<z.ZodString>;
37
+ alt: z.ZodOptional<z.ZodString>;
38
+ }, z.core.$strip>>;
39
+ audio: z.ZodArray<z.ZodObject<{
40
+ author: z.ZodString;
41
+ link: z.ZodString;
42
+ }, z.core.$strip>>;
43
+ pu_verbatim: z.ZodOptional<z.ZodObject<{
44
+ en: z.ZodString;
45
+ fr: z.ZodString;
46
+ de: z.ZodString;
47
+ eo: z.ZodString;
48
+ }, z.core.$strip>>;
49
+ usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
50
+ translations: z.ZodRecord<z.ZodString, z.ZodObject<{
51
+ commentary: z.ZodString;
52
+ definition: z.ZodString;
53
+ etymology: z.ZodArray<z.ZodObject<{
54
+ definition: z.ZodOptional<z.ZodString>;
55
+ language: z.ZodString;
56
+ }, z.core.$strip>>;
57
+ sp_etymology: z.ZodString;
58
+ }, z.core.$strip>>;
59
+ }, z.core.$strip>>;
60
+ };
61
+ readonly sandbox: {
62
+ readonly filename: "sandbox.json";
63
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
64
+ id: z.ZodString;
65
+ author_verbatim: z.ZodString;
66
+ author_verbatim_source: z.ZodString;
67
+ book: z.ZodUnion<readonly [z.ZodLiteral<"pu">, z.ZodLiteral<"ku suli">, z.ZodLiteral<"ku lili">, z.ZodLiteral<"none">]>;
68
+ coined_era: z.ZodUnion<[z.ZodUnion<readonly [z.ZodLiteral<"pre-pu">, z.ZodLiteral<"post-pu">, z.ZodLiteral<"post-ku">]>, z.ZodLiteral<"">]>;
69
+ coined_year: z.ZodString;
70
+ creator: z.ZodArray<z.ZodString>;
71
+ ku_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
72
+ see_also: z.ZodArray<z.ZodString>;
73
+ resources: z.ZodOptional<z.ZodObject<{
74
+ sona_pona: z.ZodOptional<z.ZodString>;
75
+ lipamanka_semantic: z.ZodOptional<z.ZodString>;
76
+ }, z.core.$strip>>;
77
+ representations: z.ZodOptional<z.ZodObject<{
78
+ sitelen_emosi: z.ZodOptional<z.ZodString>;
79
+ sitelen_jelo: z.ZodOptional<z.ZodArray<z.ZodString>>;
80
+ ligatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
81
+ sitelen_sitelen: z.ZodOptional<z.ZodString>;
82
+ ucsur: z.ZodOptional<z.ZodString>;
83
+ }, z.core.$strip>>;
84
+ source_language: z.ZodString;
85
+ usage_category: z.ZodUnion<readonly [z.ZodLiteral<"core">, z.ZodLiteral<"common">, z.ZodLiteral<"uncommon">, z.ZodLiteral<"obscure">, z.ZodLiteral<"sandbox">]>;
86
+ word: z.ZodString;
87
+ deprecated: z.ZodBoolean;
88
+ etymology: z.ZodArray<z.ZodObject<{
89
+ word: z.ZodOptional<z.ZodString>;
90
+ alt: z.ZodOptional<z.ZodString>;
91
+ }, z.core.$strip>>;
92
+ audio: z.ZodArray<z.ZodObject<{
93
+ author: z.ZodString;
94
+ link: z.ZodString;
95
+ }, z.core.$strip>>;
96
+ pu_verbatim: z.ZodOptional<z.ZodObject<{
97
+ en: z.ZodString;
98
+ fr: z.ZodString;
99
+ de: z.ZodString;
100
+ eo: z.ZodString;
101
+ }, z.core.$strip>>;
102
+ usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
103
+ translations: z.ZodRecord<z.ZodString, z.ZodObject<{
104
+ commentary: z.ZodString;
105
+ definition: z.ZodString;
106
+ etymology: z.ZodArray<z.ZodObject<{
107
+ definition: z.ZodOptional<z.ZodString>;
108
+ language: z.ZodString;
109
+ }, z.core.$strip>>;
110
+ sp_etymology: z.ZodString;
111
+ }, z.core.$strip>>;
112
+ }, z.core.$strip>>;
113
+ };
114
+ readonly fingerspellings: {
115
+ readonly filename: "fingerspelling.json";
116
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
117
+ id: z.ZodString;
118
+ is_two_handed: z.ZodBoolean;
119
+ etymology: z.ZodArray<z.ZodObject<{
120
+ language: z.ZodString;
121
+ sign: z.ZodString;
122
+ }, z.core.$strip>>;
123
+ signwriting: z.ZodObject<{
124
+ fsw: z.ZodString;
125
+ swu: z.ZodString;
126
+ }, z.core.$strip>;
127
+ video: z.ZodObject<{
128
+ gif: z.ZodOptional<z.ZodString>;
129
+ mp4: z.ZodOptional<z.ZodString>;
130
+ }, z.core.$strip>;
131
+ translations: z.ZodRecord<z.ZodString, z.ZodObject<{
132
+ parameters: z.ZodObject<{
133
+ handshape: z.ZodOptional<z.ZodString>;
134
+ movement: z.ZodOptional<z.ZodString>;
135
+ placement: z.ZodOptional<z.ZodString>;
136
+ orientation: z.ZodOptional<z.ZodString>;
137
+ }, z.core.$strip>;
138
+ }, z.core.$strip>>;
139
+ }, z.core.$strip>>;
140
+ };
141
+ readonly signs: {
142
+ readonly filename: "signs.json";
143
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
144
+ definition: z.ZodString;
145
+ id: z.ZodString;
146
+ is_two_handed: z.ZodBoolean;
147
+ new_gloss: z.ZodString;
148
+ old_gloss: z.ZodString;
149
+ etymology: z.ZodArray<z.ZodObject<{
150
+ language: z.ZodString;
151
+ sign: z.ZodOptional<z.ZodString>;
152
+ }, z.core.$strip>>;
153
+ signwriting: z.ZodObject<{
154
+ fsw: z.ZodString;
155
+ swu: z.ZodString;
156
+ }, z.core.$strip>;
157
+ video: z.ZodObject<{
158
+ gif: z.ZodOptional<z.ZodString>;
159
+ mp4: z.ZodOptional<z.ZodString>;
160
+ }, z.core.$strip>;
161
+ translations: z.ZodRecord<z.ZodString, z.ZodObject<{
162
+ parameters: z.ZodObject<{
163
+ handshape: z.ZodOptional<z.ZodString>;
164
+ movement: z.ZodOptional<z.ZodString>;
165
+ placement: z.ZodOptional<z.ZodString>;
166
+ orientation: z.ZodOptional<z.ZodString>;
167
+ }, z.core.$strip>;
168
+ icons: z.ZodString;
169
+ }, z.core.$strip>>;
170
+ }, z.core.$strip>>;
171
+ };
172
+ readonly fonts: {
173
+ readonly filename: "fonts.json";
174
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
175
+ id: z.ZodString;
176
+ creator: z.ZodArray<z.ZodString>;
177
+ features: z.ZodArray<z.ZodString>;
178
+ filename: z.ZodString;
179
+ last_updated: z.ZodOptional<z.ZodString>;
180
+ license: z.ZodString;
181
+ ligatures: z.ZodBoolean;
182
+ name: z.ZodString;
183
+ style: z.ZodString;
184
+ ucsur: z.ZodBoolean;
185
+ version: z.ZodString;
186
+ writing_system: z.ZodEnum<{
187
+ "sitelen pona": "sitelen pona";
188
+ "sitelen sitelen": "sitelen sitelen";
189
+ alphabet: "alphabet";
190
+ syllabary: "syllabary";
191
+ logography: "logography";
192
+ "tokiponido alphabet": "tokiponido alphabet";
193
+ "tokiponido syllabary": "tokiponido syllabary";
194
+ "tokiponido logography": "tokiponido logography";
195
+ }>;
196
+ links: z.ZodObject<{
197
+ fontfile: z.ZodOptional<z.ZodString>;
198
+ repo: z.ZodOptional<z.ZodString>;
199
+ webpage: z.ZodOptional<z.ZodString>;
200
+ }, z.core.$strip>;
201
+ }, z.core.$strip>>;
202
+ };
203
+ readonly languages: {
204
+ readonly filename: "languages.json";
205
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
206
+ id: z.ZodString;
207
+ locale: z.ZodString;
208
+ direction: z.ZodUnion<readonly [z.ZodLiteral<"ltr">, z.ZodLiteral<"rtl">]>;
209
+ name: z.ZodObject<{
210
+ en: z.ZodString;
211
+ tok: z.ZodOptional<z.ZodString>;
212
+ endonym: z.ZodOptional<z.ZodString>;
213
+ }, z.core.$strip>;
214
+ }, z.core.$strip>>;
215
+ };
216
+ };
217
+ declare const languagesFilter: (nested: boolean) => MiddlewareHandler;
218
+ declare const app: hono_hono_base3.HonoBase<hono_types4.BlankEnv, {
219
+ "/": {
220
+ $get: {
221
+ input: {};
222
+ output: undefined;
223
+ outputFormat: "redirect";
224
+ status: 302;
12
225
  };
226
+ };
13
227
  } & {
14
- "/words": {
15
- $get: {
16
- input: {
17
- query: {
18
- lang?: string | string[] | undefined;
19
- };
20
- };
21
- output: {
22
- [x: string]: {
23
- id: string;
24
- author_verbatim: string;
25
- author_verbatim_source: string;
26
- book: "pu" | "ku suli" | "ku lili" | "none";
27
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
28
- coined_year: string;
29
- creator: string[];
30
- see_also: string[];
31
- source_language: string;
32
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
33
- word: string;
34
- deprecated: boolean;
35
- etymology: {
36
- word?: string | undefined;
37
- alt?: string | undefined;
38
- }[];
39
- audio: {
40
- author: string;
41
- link: string;
42
- }[];
43
- usage: {
44
- [x: string]: number;
45
- };
46
- translations: {
47
- [x: string]: {
48
- etymology: {
49
- language: string;
50
- definition?: string | undefined;
51
- }[];
52
- commentary: string;
53
- definition: string;
54
- sp_etymology: string;
55
- };
56
- };
57
- ku_data?: {
58
- [x: string]: number;
59
- } | undefined;
60
- resources?: {
61
- sona_pona?: string | undefined;
62
- lipamanka_semantic?: string | undefined;
63
- } | undefined;
64
- representations?: {
65
- sitelen_emosi?: string | undefined;
66
- sitelen_jelo?: string[] | undefined;
67
- ligatures?: string[] | undefined;
68
- sitelen_sitelen?: string | undefined;
69
- ucsur?: string | undefined;
70
- } | undefined;
71
- pu_verbatim?: {
72
- en: string;
73
- fr: string;
74
- de: string;
75
- eo: string;
76
- } | undefined;
77
- };
78
- };
79
- outputFormat: "json";
80
- status: 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | -1;
228
+ "/words": {
229
+ $get: {
230
+ input: {
231
+ query: {
232
+ lang?: string | undefined;
233
+ };
234
+ };
235
+ output: {
236
+ [x: string]: {
237
+ id: string;
238
+ author_verbatim: string;
239
+ author_verbatim_source: string;
240
+ book: "pu" | "ku suli" | "ku lili" | "none";
241
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
242
+ coined_year: string;
243
+ creator: string[];
244
+ see_also: string[];
245
+ source_language: string;
246
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
247
+ word: string;
248
+ deprecated: boolean;
249
+ etymology: {
250
+ word?: string | undefined;
251
+ alt?: string | undefined;
252
+ }[];
253
+ audio: {
254
+ author: string;
255
+ link: string;
256
+ }[];
257
+ usage: {
258
+ [x: string]: number;
259
+ };
260
+ translations: {
261
+ [x: string]: {
262
+ commentary: string;
263
+ definition: string;
264
+ etymology: {
265
+ language: string;
266
+ definition?: string | undefined;
267
+ }[];
268
+ sp_etymology: string;
269
+ };
270
+ };
271
+ ku_data?: {
272
+ [x: string]: number;
273
+ } | undefined;
274
+ resources?: {
275
+ sona_pona?: string | undefined;
276
+ lipamanka_semantic?: string | undefined;
277
+ } | undefined;
278
+ representations?: {
279
+ sitelen_emosi?: string | undefined;
280
+ sitelen_jelo?: string[] | undefined;
281
+ ligatures?: string[] | undefined;
282
+ sitelen_sitelen?: string | undefined;
283
+ ucsur?: string | undefined;
284
+ } | undefined;
285
+ pu_verbatim?: {
286
+ en: string;
287
+ fr: string;
288
+ de: string;
289
+ eo: string;
290
+ } | undefined;
81
291
  };
292
+ };
293
+ outputFormat: "json";
294
+ status: 200;
82
295
  };
296
+ };
83
297
  } & {
84
- "/words/:word": {
85
- $get: {
86
- input: {
87
- query: {
88
- lang?: string | string[] | undefined;
89
- };
90
- } & {
91
- param: {
92
- word: string | undefined;
93
- };
94
- };
95
- output: {
96
- ok: true;
97
- data: {
98
- id: string;
99
- author_verbatim: string;
100
- author_verbatim_source: string;
101
- book: "pu" | "ku suli" | "ku lili" | "none";
102
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
103
- coined_year: string;
104
- creator: string[];
105
- see_also: string[];
106
- source_language: string;
107
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
108
- word: string;
109
- deprecated: boolean;
110
- etymology: {
111
- word?: string | undefined;
112
- alt?: string | undefined;
113
- }[];
114
- audio: {
115
- author: string;
116
- link: string;
117
- }[];
118
- usage: {
119
- [x: string]: number;
120
- };
121
- translations: {
122
- [x: string]: {
123
- etymology: {
124
- language: string;
125
- definition?: string | undefined;
126
- }[];
127
- commentary: string;
128
- definition: string;
129
- sp_etymology: string;
130
- };
131
- };
132
- ku_data?: {
133
- [x: string]: number;
134
- } | undefined;
135
- resources?: {
136
- sona_pona?: string | undefined;
137
- lipamanka_semantic?: string | undefined;
138
- } | undefined;
139
- representations?: {
140
- sitelen_emosi?: string | undefined;
141
- sitelen_jelo?: string[] | undefined;
142
- ligatures?: string[] | undefined;
143
- sitelen_sitelen?: string | undefined;
144
- ucsur?: string | undefined;
145
- } | undefined;
146
- pu_verbatim?: {
147
- en: string;
148
- fr: string;
149
- de: string;
150
- eo: string;
151
- } | undefined;
152
- };
153
- };
154
- outputFormat: "json";
155
- status: 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | -1;
156
- } | {
157
- input: {
158
- query: {
159
- lang?: string | string[] | undefined;
160
- };
161
- } & {
162
- param: {
163
- word: string | undefined;
164
- };
165
- };
166
- output: {
167
- ok: false;
168
- message: string;
169
- };
170
- outputFormat: "json";
171
- status: 400;
298
+ "/words/:word": {
299
+ $get: {
300
+ input: {
301
+ query: {
302
+ lang?: string | undefined;
172
303
  };
304
+ } & {
305
+ param: {
306
+ word: string;
307
+ };
308
+ };
309
+ output: {
310
+ ok: true;
311
+ data: {
312
+ id: string;
313
+ author_verbatim: string;
314
+ author_verbatim_source: string;
315
+ book: "pu" | "ku suli" | "ku lili" | "none";
316
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
317
+ coined_year: string;
318
+ creator: string[];
319
+ see_also: string[];
320
+ source_language: string;
321
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
322
+ word: string;
323
+ deprecated: boolean;
324
+ etymology: {
325
+ word?: string | undefined;
326
+ alt?: string | undefined;
327
+ }[];
328
+ audio: {
329
+ author: string;
330
+ link: string;
331
+ }[];
332
+ usage: {
333
+ [x: string]: number;
334
+ };
335
+ translations: {
336
+ [x: string]: {
337
+ commentary: string;
338
+ definition: string;
339
+ etymology: {
340
+ language: string;
341
+ definition?: string | undefined;
342
+ }[];
343
+ sp_etymology: string;
344
+ };
345
+ };
346
+ ku_data?: {
347
+ [x: string]: number;
348
+ } | undefined;
349
+ resources?: {
350
+ sona_pona?: string | undefined;
351
+ lipamanka_semantic?: string | undefined;
352
+ } | undefined;
353
+ representations?: {
354
+ sitelen_emosi?: string | undefined;
355
+ sitelen_jelo?: string[] | undefined;
356
+ ligatures?: string[] | undefined;
357
+ sitelen_sitelen?: string | undefined;
358
+ ucsur?: string | undefined;
359
+ } | undefined;
360
+ pu_verbatim?: {
361
+ en: string;
362
+ fr: string;
363
+ de: string;
364
+ eo: string;
365
+ } | undefined;
366
+ };
367
+ };
368
+ outputFormat: "json";
369
+ status: 200;
370
+ } | {
371
+ input: {
372
+ query: {
373
+ lang?: string | undefined;
374
+ };
375
+ } & {
376
+ param: {
377
+ word: string;
378
+ };
379
+ };
380
+ output: {
381
+ ok: false;
382
+ message: string;
383
+ };
384
+ outputFormat: "json";
385
+ status: 400;
173
386
  };
387
+ };
174
388
  } & {
175
- "/sandbox": {
176
- $get: {
177
- input: {
178
- query: {
179
- lang?: string | string[] | undefined;
180
- };
181
- };
182
- output: {
183
- [x: string]: {
184
- id: string;
185
- author_verbatim: string;
186
- author_verbatim_source: string;
187
- book: "pu" | "ku suli" | "ku lili" | "none";
188
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
189
- coined_year: string;
190
- creator: string[];
191
- see_also: string[];
192
- source_language: string;
193
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
194
- word: string;
195
- deprecated: boolean;
196
- etymology: {
197
- word?: string | undefined;
198
- alt?: string | undefined;
199
- }[];
200
- audio: {
201
- author: string;
202
- link: string;
203
- }[];
204
- usage: {
205
- [x: string]: number;
206
- };
207
- translations: {
208
- [x: string]: {
209
- etymology: {
210
- language: string;
211
- definition?: string | undefined;
212
- }[];
213
- commentary: string;
214
- definition: string;
215
- sp_etymology: string;
216
- };
217
- };
218
- ku_data?: {
219
- [x: string]: number;
220
- } | undefined;
221
- resources?: {
222
- sona_pona?: string | undefined;
223
- lipamanka_semantic?: string | undefined;
224
- } | undefined;
225
- representations?: {
226
- sitelen_emosi?: string | undefined;
227
- sitelen_jelo?: string[] | undefined;
228
- ligatures?: string[] | undefined;
229
- sitelen_sitelen?: string | undefined;
230
- ucsur?: string | undefined;
231
- } | undefined;
232
- pu_verbatim?: {
233
- en: string;
234
- fr: string;
235
- de: string;
236
- eo: string;
237
- } | undefined;
238
- };
239
- };
240
- outputFormat: "json";
241
- status: 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | -1;
389
+ "/sandbox": {
390
+ $get: {
391
+ input: {
392
+ query: {
393
+ lang?: string | undefined;
242
394
  };
395
+ };
396
+ output: {
397
+ [x: string]: {
398
+ id: string;
399
+ author_verbatim: string;
400
+ author_verbatim_source: string;
401
+ book: "pu" | "ku suli" | "ku lili" | "none";
402
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
403
+ coined_year: string;
404
+ creator: string[];
405
+ see_also: string[];
406
+ source_language: string;
407
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
408
+ word: string;
409
+ deprecated: boolean;
410
+ etymology: {
411
+ word?: string | undefined;
412
+ alt?: string | undefined;
413
+ }[];
414
+ audio: {
415
+ author: string;
416
+ link: string;
417
+ }[];
418
+ usage: {
419
+ [x: string]: number;
420
+ };
421
+ translations: {
422
+ [x: string]: {
423
+ commentary: string;
424
+ definition: string;
425
+ etymology: {
426
+ language: string;
427
+ definition?: string | undefined;
428
+ }[];
429
+ sp_etymology: string;
430
+ };
431
+ };
432
+ ku_data?: {
433
+ [x: string]: number;
434
+ } | undefined;
435
+ resources?: {
436
+ sona_pona?: string | undefined;
437
+ lipamanka_semantic?: string | undefined;
438
+ } | undefined;
439
+ representations?: {
440
+ sitelen_emosi?: string | undefined;
441
+ sitelen_jelo?: string[] | undefined;
442
+ ligatures?: string[] | undefined;
443
+ sitelen_sitelen?: string | undefined;
444
+ ucsur?: string | undefined;
445
+ } | undefined;
446
+ pu_verbatim?: {
447
+ en: string;
448
+ fr: string;
449
+ de: string;
450
+ eo: string;
451
+ } | undefined;
452
+ };
453
+ };
454
+ outputFormat: "json";
455
+ status: 200;
243
456
  };
457
+ };
244
458
  } & {
245
- "/sandbox/:word": {
246
- $get: {
247
- input: {
248
- query: {
249
- lang?: string | string[] | undefined;
250
- };
251
- } & {
252
- param: {
253
- word: string | undefined;
254
- };
255
- };
256
- output: {
257
- ok: true;
258
- data: {
259
- id: string;
260
- author_verbatim: string;
261
- author_verbatim_source: string;
262
- book: "pu" | "ku suli" | "ku lili" | "none";
263
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
264
- coined_year: string;
265
- creator: string[];
266
- see_also: string[];
267
- source_language: string;
268
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
269
- word: string;
270
- deprecated: boolean;
271
- etymology: {
272
- word?: string | undefined;
273
- alt?: string | undefined;
274
- }[];
275
- audio: {
276
- author: string;
277
- link: string;
278
- }[];
279
- usage: {
280
- [x: string]: number;
281
- };
282
- translations: {
283
- [x: string]: {
284
- etymology: {
285
- language: string;
286
- definition?: string | undefined;
287
- }[];
288
- commentary: string;
289
- definition: string;
290
- sp_etymology: string;
291
- };
292
- };
293
- ku_data?: {
294
- [x: string]: number;
295
- } | undefined;
296
- resources?: {
297
- sona_pona?: string | undefined;
298
- lipamanka_semantic?: string | undefined;
299
- } | undefined;
300
- representations?: {
301
- sitelen_emosi?: string | undefined;
302
- sitelen_jelo?: string[] | undefined;
303
- ligatures?: string[] | undefined;
304
- sitelen_sitelen?: string | undefined;
305
- ucsur?: string | undefined;
306
- } | undefined;
307
- pu_verbatim?: {
308
- en: string;
309
- fr: string;
310
- de: string;
311
- eo: string;
312
- } | undefined;
313
- };
314
- };
315
- outputFormat: "json";
316
- status: 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | -1;
317
- } | {
318
- input: {
319
- query: {
320
- lang?: string | string[] | undefined;
321
- };
322
- } & {
323
- param: {
324
- word: string | undefined;
325
- };
326
- };
327
- output: {
328
- ok: false;
329
- message: string;
330
- };
331
- outputFormat: "json";
332
- status: 400;
459
+ "/sandbox/:word": {
460
+ $get: {
461
+ input: {
462
+ query: {
463
+ lang?: string | undefined;
464
+ };
465
+ } & {
466
+ param: {
467
+ word: string;
333
468
  };
469
+ };
470
+ output: {
471
+ ok: true;
472
+ data: {
473
+ id: string;
474
+ author_verbatim: string;
475
+ author_verbatim_source: string;
476
+ book: "pu" | "ku suli" | "ku lili" | "none";
477
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
478
+ coined_year: string;
479
+ creator: string[];
480
+ see_also: string[];
481
+ source_language: string;
482
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
483
+ word: string;
484
+ deprecated: boolean;
485
+ etymology: {
486
+ word?: string | undefined;
487
+ alt?: string | undefined;
488
+ }[];
489
+ audio: {
490
+ author: string;
491
+ link: string;
492
+ }[];
493
+ usage: {
494
+ [x: string]: number;
495
+ };
496
+ translations: {
497
+ [x: string]: {
498
+ commentary: string;
499
+ definition: string;
500
+ etymology: {
501
+ language: string;
502
+ definition?: string | undefined;
503
+ }[];
504
+ sp_etymology: string;
505
+ };
506
+ };
507
+ ku_data?: {
508
+ [x: string]: number;
509
+ } | undefined;
510
+ resources?: {
511
+ sona_pona?: string | undefined;
512
+ lipamanka_semantic?: string | undefined;
513
+ } | undefined;
514
+ representations?: {
515
+ sitelen_emosi?: string | undefined;
516
+ sitelen_jelo?: string[] | undefined;
517
+ ligatures?: string[] | undefined;
518
+ sitelen_sitelen?: string | undefined;
519
+ ucsur?: string | undefined;
520
+ } | undefined;
521
+ pu_verbatim?: {
522
+ en: string;
523
+ fr: string;
524
+ de: string;
525
+ eo: string;
526
+ } | undefined;
527
+ };
528
+ };
529
+ outputFormat: "json";
530
+ status: 200;
531
+ } | {
532
+ input: {
533
+ query: {
534
+ lang?: string | undefined;
535
+ };
536
+ } & {
537
+ param: {
538
+ word: string;
539
+ };
540
+ };
541
+ output: {
542
+ ok: false;
543
+ message: string;
544
+ };
545
+ outputFormat: "json";
546
+ status: 400;
334
547
  };
548
+ };
335
549
  } & {
336
- "/luka_pona/fingerspelling": {
337
- $get: {
338
- input: {
339
- query: {
340
- lang?: string | string[] | undefined;
341
- };
342
- };
343
- output: {
344
- [x: string]: {
345
- id: string;
346
- etymology: {
347
- language: string;
348
- sign: string;
349
- }[];
350
- translations: {
351
- [x: string]: {
352
- parameters: {
353
- handshape?: string | undefined;
354
- movement?: string | undefined;
355
- placement?: string | undefined;
356
- orientation?: string | undefined;
357
- };
358
- };
359
- };
360
- is_two_handed: boolean;
361
- signwriting: {
362
- fsw: string;
363
- swu: string;
364
- };
365
- video: {
366
- gif?: string | undefined;
367
- mp4?: string | undefined;
368
- };
369
- };
370
- };
371
- outputFormat: "json";
372
- status: 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | -1;
550
+ "/luka_pona": {
551
+ $get: {
552
+ input: {};
553
+ output: undefined;
554
+ outputFormat: "redirect";
555
+ status: 302;
556
+ };
557
+ };
558
+ } & {
559
+ "/luka_pona/fingerspelling": {
560
+ $get: {
561
+ input: {
562
+ query: {
563
+ lang?: string | undefined;
564
+ };
565
+ };
566
+ output: {
567
+ [x: string]: {
568
+ id: string;
569
+ is_two_handed: boolean;
570
+ etymology: {
571
+ language: string;
572
+ sign: string;
573
+ }[];
574
+ signwriting: {
575
+ fsw: string;
576
+ swu: string;
577
+ };
578
+ video: {
579
+ gif?: string | undefined;
580
+ mp4?: string | undefined;
581
+ };
582
+ translations: {
583
+ [x: string]: {
584
+ parameters: {
585
+ handshape?: string | undefined;
586
+ movement?: string | undefined;
587
+ placement?: string | undefined;
588
+ orientation?: string | undefined;
589
+ };
590
+ };
591
+ };
373
592
  };
593
+ };
594
+ outputFormat: "json";
595
+ status: 200;
374
596
  };
597
+ };
375
598
  } & {
376
- "/luka_pona/fingerspelling/:sign": {
377
- $get: {
378
- input: {
379
- query: {
380
- lang?: string | string[] | undefined;
381
- };
382
- } & {
383
- param: {
384
- sign: string | undefined;
385
- };
386
- };
387
- output: {
388
- ok: true;
389
- data: {
390
- id: string;
391
- etymology: {
392
- language: string;
393
- sign: string;
394
- }[];
395
- translations: {
396
- [x: string]: {
397
- parameters: {
398
- handshape?: string | undefined;
399
- movement?: string | undefined;
400
- placement?: string | undefined;
401
- orientation?: string | undefined;
402
- };
403
- };
404
- };
405
- is_two_handed: boolean;
406
- signwriting: {
407
- fsw: string;
408
- swu: string;
409
- };
410
- video: {
411
- gif?: string | undefined;
412
- mp4?: string | undefined;
413
- };
414
- };
415
- };
416
- outputFormat: "json";
417
- status: 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | -1;
418
- } | {
419
- input: {
420
- query: {
421
- lang?: string | string[] | undefined;
422
- };
423
- } & {
424
- param: {
425
- sign: string | undefined;
426
- };
427
- };
428
- output: {
429
- ok: false;
430
- message: string;
431
- };
432
- outputFormat: "json";
433
- status: 400;
599
+ "/luka_pona/fingerspelling/:sign": {
600
+ $get: {
601
+ input: {
602
+ query: {
603
+ lang?: string | undefined;
604
+ };
605
+ } & {
606
+ param: {
607
+ sign: string;
608
+ };
609
+ };
610
+ output: {
611
+ ok: true;
612
+ data: {
613
+ id: string;
614
+ is_two_handed: boolean;
615
+ etymology: {
616
+ language: string;
617
+ sign: string;
618
+ }[];
619
+ signwriting: {
620
+ fsw: string;
621
+ swu: string;
622
+ };
623
+ video: {
624
+ gif?: string | undefined;
625
+ mp4?: string | undefined;
626
+ };
627
+ translations: {
628
+ [x: string]: {
629
+ parameters: {
630
+ handshape?: string | undefined;
631
+ movement?: string | undefined;
632
+ placement?: string | undefined;
633
+ orientation?: string | undefined;
634
+ };
635
+ };
636
+ };
637
+ };
638
+ };
639
+ outputFormat: "json";
640
+ status: 200;
641
+ } | {
642
+ input: {
643
+ query: {
644
+ lang?: string | undefined;
434
645
  };
646
+ } & {
647
+ param: {
648
+ sign: string;
649
+ };
650
+ };
651
+ output: {
652
+ ok: false;
653
+ message: string;
654
+ };
655
+ outputFormat: "json";
656
+ status: 400;
435
657
  };
658
+ };
436
659
  } & {
437
- "/luka_pona/signs": {
438
- $get: {
439
- input: {
440
- query: {
441
- lang?: string | string[] | undefined;
442
- };
443
- };
444
- output: {
445
- [x: string]: {
446
- id: string;
447
- etymology: {
448
- language: string;
449
- sign?: string | undefined;
450
- }[];
451
- translations: {
452
- [x: string]: {
453
- parameters: {
454
- handshape?: string | undefined;
455
- movement?: string | undefined;
456
- placement?: string | undefined;
457
- orientation?: string | undefined;
458
- };
459
- icons: string;
460
- };
461
- };
462
- definition: string;
463
- is_two_handed: boolean;
464
- new_gloss: string;
465
- old_gloss: string;
466
- signwriting: {
467
- fsw: string;
468
- swu: string;
469
- };
470
- video: {
471
- gif?: string | undefined;
472
- mp4?: string | undefined;
473
- };
474
- };
475
- };
476
- outputFormat: "json";
477
- status: 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | -1;
660
+ "/luka_pona/signs": {
661
+ $get: {
662
+ input: {
663
+ query: {
664
+ lang?: string | undefined;
665
+ };
666
+ };
667
+ output: {
668
+ [x: string]: {
669
+ definition: string;
670
+ id: string;
671
+ is_two_handed: boolean;
672
+ new_gloss: string;
673
+ old_gloss: string;
674
+ etymology: {
675
+ language: string;
676
+ sign?: string | undefined;
677
+ }[];
678
+ signwriting: {
679
+ fsw: string;
680
+ swu: string;
681
+ };
682
+ video: {
683
+ gif?: string | undefined;
684
+ mp4?: string | undefined;
685
+ };
686
+ translations: {
687
+ [x: string]: {
688
+ parameters: {
689
+ handshape?: string | undefined;
690
+ movement?: string | undefined;
691
+ placement?: string | undefined;
692
+ orientation?: string | undefined;
693
+ };
694
+ icons: string;
695
+ };
696
+ };
478
697
  };
698
+ };
699
+ outputFormat: "json";
700
+ status: 200;
479
701
  };
702
+ };
480
703
  } & {
481
- "/luka_pona/signs/:sign": {
482
- $get: {
483
- input: {
484
- query: {
485
- lang?: string | string[] | undefined;
486
- };
487
- } & {
488
- param: {
489
- sign: string | undefined;
490
- };
491
- };
492
- output: {
493
- ok: true;
494
- data: {
495
- id: string;
496
- etymology: {
497
- language: string;
498
- sign?: string | undefined;
499
- }[];
500
- translations: {
501
- [x: string]: {
502
- parameters: {
503
- handshape?: string | undefined;
504
- movement?: string | undefined;
505
- placement?: string | undefined;
506
- orientation?: string | undefined;
507
- };
508
- icons: string;
509
- };
510
- };
511
- definition: string;
512
- is_two_handed: boolean;
513
- new_gloss: string;
514
- old_gloss: string;
515
- signwriting: {
516
- fsw: string;
517
- swu: string;
518
- };
519
- video: {
520
- gif?: string | undefined;
521
- mp4?: string | undefined;
522
- };
523
- };
524
- };
525
- outputFormat: "json";
526
- status: 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | -1;
527
- } | {
528
- input: {
529
- query: {
530
- lang?: string | string[] | undefined;
531
- };
532
- } & {
533
- param: {
534
- sign: string | undefined;
535
- };
536
- };
537
- output: {
538
- ok: false;
539
- message: string;
540
- };
541
- outputFormat: "json";
542
- status: 400;
704
+ "/luka_pona/signs/:sign": {
705
+ $get: {
706
+ input: {
707
+ query: {
708
+ lang?: string | undefined;
709
+ };
710
+ } & {
711
+ param: {
712
+ sign: string;
713
+ };
714
+ };
715
+ output: {
716
+ ok: true;
717
+ data: {
718
+ definition: string;
719
+ id: string;
720
+ is_two_handed: boolean;
721
+ new_gloss: string;
722
+ old_gloss: string;
723
+ etymology: {
724
+ language: string;
725
+ sign?: string | undefined;
726
+ }[];
727
+ signwriting: {
728
+ fsw: string;
729
+ swu: string;
730
+ };
731
+ video: {
732
+ gif?: string | undefined;
733
+ mp4?: string | undefined;
734
+ };
735
+ translations: {
736
+ [x: string]: {
737
+ parameters: {
738
+ handshape?: string | undefined;
739
+ movement?: string | undefined;
740
+ placement?: string | undefined;
741
+ orientation?: string | undefined;
742
+ };
743
+ icons: string;
744
+ };
745
+ };
746
+ };
747
+ };
748
+ outputFormat: "json";
749
+ status: 200;
750
+ } | {
751
+ input: {
752
+ query: {
753
+ lang?: string | undefined;
543
754
  };
755
+ } & {
756
+ param: {
757
+ sign: string;
758
+ };
759
+ };
760
+ output: {
761
+ ok: false;
762
+ message: string;
763
+ };
764
+ outputFormat: "json";
765
+ status: 400;
544
766
  };
767
+ };
545
768
  } & {
546
- "/fonts": {
547
- $get: {
548
- input: {};
549
- output: {
550
- [x: string]: {
551
- id: string;
552
- creator: string[];
553
- ligatures: boolean;
554
- ucsur: boolean;
555
- features: string[];
556
- filename: string;
557
- license: string;
558
- name: string;
559
- style: string;
560
- version: string;
561
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
562
- links: {
563
- fontfile?: string | undefined;
564
- repo?: string | undefined;
565
- webpage?: string | undefined;
566
- };
567
- last_updated?: string | undefined;
568
- };
569
- };
570
- outputFormat: "json";
571
- status: 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | -1;
769
+ "/fonts": {
770
+ $get: {
771
+ input: {};
772
+ output: {
773
+ [x: string]: {
774
+ id: string;
775
+ creator: string[];
776
+ features: string[];
777
+ filename: string;
778
+ license: string;
779
+ ligatures: boolean;
780
+ name: string;
781
+ style: string;
782
+ ucsur: boolean;
783
+ version: string;
784
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
785
+ links: {
786
+ fontfile?: string | undefined;
787
+ repo?: string | undefined;
788
+ webpage?: string | undefined;
789
+ };
790
+ last_updated?: string | undefined;
572
791
  };
792
+ };
793
+ outputFormat: "json";
794
+ status: 200;
573
795
  };
796
+ };
574
797
  } & {
575
- "/fonts/:font": {
576
- $get: {
577
- input: {
578
- param: {
579
- font: string | undefined;
580
- };
581
- };
582
- output: {
583
- ok: true;
584
- data: {
585
- id: string;
586
- creator: string[];
587
- ligatures: boolean;
588
- ucsur: boolean;
589
- features: string[];
590
- filename: string;
591
- license: string;
592
- name: string;
593
- style: string;
594
- version: string;
595
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
596
- links: {
597
- fontfile?: string | undefined;
598
- repo?: string | undefined;
599
- webpage?: string | undefined;
600
- };
601
- last_updated?: string | undefined;
602
- };
603
- };
604
- outputFormat: "json";
605
- status: 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | -1;
606
- } | {
607
- input: {
608
- param: {
609
- font: string | undefined;
610
- };
611
- };
612
- output: {
613
- ok: false;
614
- message: string;
615
- };
616
- outputFormat: "json";
617
- status: 400;
798
+ "/fonts/:font": {
799
+ $get: {
800
+ input: {
801
+ param: {
802
+ font: string;
803
+ };
804
+ };
805
+ output: {
806
+ ok: true;
807
+ data: {
808
+ id: string;
809
+ creator: string[];
810
+ features: string[];
811
+ filename: string;
812
+ license: string;
813
+ ligatures: boolean;
814
+ name: string;
815
+ style: string;
816
+ ucsur: boolean;
817
+ version: string;
818
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
819
+ links: {
820
+ fontfile?: string | undefined;
821
+ repo?: string | undefined;
822
+ webpage?: string | undefined;
823
+ };
824
+ last_updated?: string | undefined;
825
+ };
826
+ };
827
+ outputFormat: "json";
828
+ status: 200;
829
+ } | {
830
+ input: {
831
+ param: {
832
+ font: string;
618
833
  };
834
+ };
835
+ output: {
836
+ ok: false;
837
+ message: string;
838
+ };
839
+ outputFormat: "json";
840
+ status: 400;
619
841
  };
842
+ };
620
843
  } & {
621
- "/languages": {
622
- $get: {
623
- input: {};
624
- output: {
625
- [x: string]: {
626
- id: string;
627
- name: {
628
- en: string;
629
- tok?: string | undefined;
630
- endonym?: string | undefined;
631
- };
632
- locale: string;
633
- direction: "ltr" | "rtl";
634
- };
635
- };
636
- outputFormat: "json";
637
- status: 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | -1;
844
+ "/languages": {
845
+ $get: {
846
+ input: {};
847
+ output: {
848
+ [x: string]: {
849
+ id: string;
850
+ locale: string;
851
+ direction: "ltr" | "rtl";
852
+ name: {
853
+ en: string;
854
+ tok?: string | undefined;
855
+ endonym?: string | undefined;
856
+ };
638
857
  };
858
+ };
859
+ outputFormat: "json";
860
+ status: 200;
639
861
  };
862
+ };
640
863
  } & {
641
- "/languages/:language": {
642
- $get: {
643
- input: {
644
- param: {
645
- language: string | undefined;
646
- };
647
- };
648
- output: {
649
- ok: true;
650
- data: {
651
- id: string;
652
- name: {
653
- en: string;
654
- tok?: string | undefined;
655
- endonym?: string | undefined;
656
- };
657
- locale: string;
658
- direction: "ltr" | "rtl";
659
- };
660
- };
661
- outputFormat: "json";
662
- status: 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | -1;
663
- } | {
664
- input: {
665
- param: {
666
- language: string | undefined;
667
- };
668
- };
669
- output: {
670
- ok: false;
671
- message: string;
672
- };
673
- outputFormat: "json";
674
- status: 400;
864
+ "/languages/:language": {
865
+ $get: {
866
+ input: {
867
+ param: {
868
+ language: string;
869
+ };
870
+ };
871
+ output: {
872
+ ok: true;
873
+ data: {
874
+ id: string;
875
+ locale: string;
876
+ direction: "ltr" | "rtl";
877
+ name: {
878
+ en: string;
879
+ tok?: string | undefined;
880
+ endonym?: string | undefined;
881
+ };
882
+ };
883
+ };
884
+ outputFormat: "json";
885
+ status: 200;
886
+ } | {
887
+ input: {
888
+ param: {
889
+ language: string;
675
890
  };
891
+ };
892
+ output: {
893
+ ok: false;
894
+ message: string;
895
+ };
896
+ outputFormat: "json";
897
+ status: 400;
676
898
  };
899
+ };
677
900
  }, "/">;
678
- export default app;
901
+ //#endregion
902
+ export { config, app as default, languagesFilter };