@kulupu-linku/sona 0.3.1 → 0.3.4

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.
@@ -8,6 +8,8 @@ export declare const client: (args?: {
8
8
  $get: {
9
9
  input: {};
10
10
  output: {};
11
+ outputFormat: string;
12
+ status: import('hono/utils/http-status').StatusCode;
11
13
  };
12
14
  }>;
13
15
  } & {
@@ -19,88 +21,8 @@ export declare const client: (args?: {
19
21
  lang?: string | string[] | undefined;
20
22
  };
21
23
  };
22
- output: Record<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: Record<string, number>;
44
- translations: Record<string, {
45
- etymology: {
46
- language: string;
47
- definition?: string | undefined;
48
- }[];
49
- commentary: string;
50
- definition: string;
51
- sp_etymology: string;
52
- }>;
53
- ku_data?: Record<string, number> | undefined;
54
- resources?: {
55
- sona_pona?: string | undefined;
56
- lipamanka_semantic?: string | undefined;
57
- } | undefined;
58
- representations?: {
59
- sitelen_emosi?: string | undefined;
60
- sitelen_jelo?: string[] | undefined;
61
- ligatures?: string[] | undefined;
62
- sitelen_sitelen?: string | undefined;
63
- ucsur?: string | undefined;
64
- } | undefined;
65
- pu_verbatim?: {
66
- en: string;
67
- fr: string;
68
- de: string;
69
- eo: string;
70
- } | undefined;
71
- }>;
72
- };
73
- }>;
74
- };
75
- } & {
76
- v1: import('hono/client').ClientRequest<{
77
- $get: {
78
- input: {};
79
- output: {};
80
- };
81
- }>;
82
- } & {
83
- jasima: import('hono/client').ClientRequest<{
84
- $get: {
85
- input: {};
86
- output: never;
87
- };
88
- }>;
89
- } & {
90
- v1: {
91
- words: {
92
- ":word": import('hono/client').ClientRequest<{
93
- $get: {
94
- input: {
95
- query: {
96
- lang?: string | string[] | undefined;
97
- };
98
- } & {
99
- param: {
100
- word: string;
101
- };
102
- };
103
- output: import('../server/utils').Result<{
24
+ output: {
25
+ [x: string]: {
104
26
  id: string;
105
27
  author_verbatim: string;
106
28
  author_verbatim_source: string;
@@ -121,17 +43,23 @@ export declare const client: (args?: {
121
43
  author: string;
122
44
  link: string;
123
45
  }[];
124
- usage: Record<string, number>;
125
- translations: Record<string, {
126
- etymology: {
127
- language: string;
128
- definition?: string | undefined;
129
- }[];
130
- commentary: string;
131
- definition: string;
132
- sp_etymology: string;
133
- }>;
134
- ku_data?: Record<string, number> | undefined;
46
+ usage: {
47
+ [x: string]: number;
48
+ };
49
+ translations: {
50
+ [x: string]: {
51
+ etymology: {
52
+ language: string;
53
+ definition?: string | undefined;
54
+ }[];
55
+ commentary: string;
56
+ definition: string;
57
+ sp_etymology: string;
58
+ };
59
+ };
60
+ ku_data?: {
61
+ [x: string]: number;
62
+ } | undefined;
135
63
  resources?: {
136
64
  sona_pona?: string | undefined;
137
65
  lipamanka_semantic?: string | undefined;
@@ -149,76 +77,34 @@ export declare const client: (args?: {
149
77
  de: string;
150
78
  eo: string;
151
79
  } | undefined;
152
- }>;
153
- };
154
- }>;
155
- };
156
- };
157
- } & {
158
- v1: {
159
- sandbox: import('hono/client').ClientRequest<{
160
- $get: {
161
- input: {
162
- query: {
163
- lang?: string | string[] | undefined;
164
80
  };
165
81
  };
166
- output: Record<string, {
167
- id: string;
168
- author_verbatim: string;
169
- author_verbatim_source: string;
170
- book: "pu" | "ku suli" | "ku lili" | "none";
171
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
172
- coined_year: string;
173
- creator: string[];
174
- see_also: string[];
175
- source_language: string;
176
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
177
- word: string;
178
- deprecated: boolean;
179
- etymology: {
180
- word?: string | undefined;
181
- alt?: string | undefined;
182
- }[];
183
- audio: {
184
- author: string;
185
- link: string;
186
- }[];
187
- usage: Record<string, number>;
188
- translations: Record<string, {
189
- etymology: {
190
- language: string;
191
- definition?: string | undefined;
192
- }[];
193
- commentary: string;
194
- definition: string;
195
- sp_etymology: string;
196
- }>;
197
- ku_data?: Record<string, number> | undefined;
198
- resources?: {
199
- sona_pona?: string | undefined;
200
- lipamanka_semantic?: string | undefined;
201
- } | undefined;
202
- representations?: {
203
- sitelen_emosi?: string | undefined;
204
- sitelen_jelo?: string[] | undefined;
205
- ligatures?: string[] | undefined;
206
- sitelen_sitelen?: string | undefined;
207
- ucsur?: string | undefined;
208
- } | undefined;
209
- pu_verbatim?: {
210
- en: string;
211
- fr: string;
212
- de: string;
213
- eo: string;
214
- } | undefined;
215
- }>;
82
+ outputFormat: "json";
83
+ 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;
216
84
  };
217
85
  }>;
218
86
  };
87
+ } & {
88
+ v1: import('hono/client').ClientRequest<{
89
+ $get: {
90
+ input: {};
91
+ output: {};
92
+ outputFormat: string;
93
+ status: import('hono/utils/http-status').StatusCode;
94
+ };
95
+ }>;
96
+ } & {
97
+ jasima: import('hono/client').ClientRequest<{
98
+ $get: {
99
+ input: {};
100
+ output: {};
101
+ outputFormat: "json";
102
+ 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;
103
+ };
104
+ }>;
219
105
  } & {
220
106
  v1: {
221
- sandbox: {
107
+ words: {
222
108
  ":word": import('hono/client').ClientRequest<{
223
109
  $get: {
224
110
  input: {
@@ -227,10 +113,101 @@ export declare const client: (args?: {
227
113
  };
228
114
  } & {
229
115
  param: {
116
+ word: string | undefined;
117
+ };
118
+ };
119
+ output: {
120
+ ok: true;
121
+ data: {
122
+ id: string;
123
+ author_verbatim: string;
124
+ author_verbatim_source: string;
125
+ book: "pu" | "ku suli" | "ku lili" | "none";
126
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
127
+ coined_year: string;
128
+ creator: string[];
129
+ see_also: string[];
130
+ source_language: string;
131
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
230
132
  word: string;
133
+ deprecated: boolean;
134
+ etymology: {
135
+ word?: string | undefined;
136
+ alt?: string | undefined;
137
+ }[];
138
+ audio: {
139
+ author: string;
140
+ link: string;
141
+ }[];
142
+ usage: {
143
+ [x: string]: number;
144
+ };
145
+ translations: {
146
+ [x: string]: {
147
+ etymology: {
148
+ language: string;
149
+ definition?: string | undefined;
150
+ }[];
151
+ commentary: string;
152
+ definition: string;
153
+ sp_etymology: string;
154
+ };
155
+ };
156
+ ku_data?: {
157
+ [x: string]: number;
158
+ } | undefined;
159
+ resources?: {
160
+ sona_pona?: string | undefined;
161
+ lipamanka_semantic?: string | undefined;
162
+ } | undefined;
163
+ representations?: {
164
+ sitelen_emosi?: string | undefined;
165
+ sitelen_jelo?: string[] | undefined;
166
+ ligatures?: string[] | undefined;
167
+ sitelen_sitelen?: string | undefined;
168
+ ucsur?: string | undefined;
169
+ } | undefined;
170
+ pu_verbatim?: {
171
+ en: string;
172
+ fr: string;
173
+ de: string;
174
+ eo: string;
175
+ } | undefined;
176
+ };
177
+ };
178
+ outputFormat: "json";
179
+ 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;
180
+ } | {
181
+ input: {
182
+ query: {
183
+ lang?: string | string[] | undefined;
231
184
  };
185
+ } & {
186
+ param: {
187
+ word: string | undefined;
188
+ };
189
+ };
190
+ output: {
191
+ ok: false;
192
+ message: string;
193
+ };
194
+ outputFormat: "json";
195
+ status: 400;
196
+ };
197
+ }>;
198
+ };
199
+ };
200
+ } & {
201
+ v1: {
202
+ sandbox: import('hono/client').ClientRequest<{
203
+ $get: {
204
+ input: {
205
+ query: {
206
+ lang?: string | string[] | undefined;
232
207
  };
233
- output: import('../server/utils').Result<{
208
+ };
209
+ output: {
210
+ [x: string]: {
234
211
  id: string;
235
212
  author_verbatim: string;
236
213
  author_verbatim_source: string;
@@ -251,17 +228,23 @@ export declare const client: (args?: {
251
228
  author: string;
252
229
  link: string;
253
230
  }[];
254
- usage: Record<string, number>;
255
- translations: Record<string, {
256
- etymology: {
257
- language: string;
258
- definition?: string | undefined;
259
- }[];
260
- commentary: string;
261
- definition: string;
262
- sp_etymology: string;
263
- }>;
264
- ku_data?: Record<string, number> | undefined;
231
+ usage: {
232
+ [x: string]: number;
233
+ };
234
+ translations: {
235
+ [x: string]: {
236
+ etymology: {
237
+ language: string;
238
+ definition?: string | undefined;
239
+ }[];
240
+ commentary: string;
241
+ definition: string;
242
+ sp_etymology: string;
243
+ };
244
+ };
245
+ ku_data?: {
246
+ [x: string]: number;
247
+ } | undefined;
265
248
  resources?: {
266
249
  sona_pona?: string | undefined;
267
250
  lipamanka_semantic?: string | undefined;
@@ -279,45 +262,104 @@ export declare const client: (args?: {
279
262
  de: string;
280
263
  eo: string;
281
264
  } | undefined;
282
- }>;
265
+ };
283
266
  };
284
- }>;
285
- };
267
+ outputFormat: "json";
268
+ 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;
269
+ };
270
+ }>;
286
271
  };
287
272
  } & {
288
273
  v1: {
289
- luka_pona: {
290
- fingerspelling: import('hono/client').ClientRequest<{
274
+ sandbox: {
275
+ ":word": import('hono/client').ClientRequest<{
291
276
  $get: {
292
277
  input: {
293
278
  query: {
294
279
  lang?: string | string[] | undefined;
295
280
  };
281
+ } & {
282
+ param: {
283
+ word: string | undefined;
284
+ };
296
285
  };
297
- output: Record<string, {
298
- id: string;
299
- etymology: {
300
- language: string;
301
- sign: string;
302
- }[];
303
- translations: Record<string, {
304
- parameters: {
305
- handshape?: string | undefined;
306
- movement?: string | undefined;
307
- placement?: string | undefined;
308
- orientation?: string | undefined;
286
+ output: {
287
+ ok: true;
288
+ data: {
289
+ id: string;
290
+ author_verbatim: string;
291
+ author_verbatim_source: string;
292
+ book: "pu" | "ku suli" | "ku lili" | "none";
293
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
294
+ coined_year: string;
295
+ creator: string[];
296
+ see_also: string[];
297
+ source_language: string;
298
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
299
+ word: string;
300
+ deprecated: boolean;
301
+ etymology: {
302
+ word?: string | undefined;
303
+ alt?: string | undefined;
304
+ }[];
305
+ audio: {
306
+ author: string;
307
+ link: string;
308
+ }[];
309
+ usage: {
310
+ [x: string]: number;
311
+ };
312
+ translations: {
313
+ [x: string]: {
314
+ etymology: {
315
+ language: string;
316
+ definition?: string | undefined;
317
+ }[];
318
+ commentary: string;
319
+ definition: string;
320
+ sp_etymology: string;
321
+ };
309
322
  };
310
- }>;
311
- is_two_handed: boolean;
312
- signwriting: {
313
- fsw: string;
314
- swu: string;
323
+ ku_data?: {
324
+ [x: string]: number;
325
+ } | undefined;
326
+ resources?: {
327
+ sona_pona?: string | undefined;
328
+ lipamanka_semantic?: string | undefined;
329
+ } | undefined;
330
+ representations?: {
331
+ sitelen_emosi?: string | undefined;
332
+ sitelen_jelo?: string[] | undefined;
333
+ ligatures?: string[] | undefined;
334
+ sitelen_sitelen?: string | undefined;
335
+ ucsur?: string | undefined;
336
+ } | undefined;
337
+ pu_verbatim?: {
338
+ en: string;
339
+ fr: string;
340
+ de: string;
341
+ eo: string;
342
+ } | undefined;
343
+ };
344
+ };
345
+ outputFormat: "json";
346
+ 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;
347
+ } | {
348
+ input: {
349
+ query: {
350
+ lang?: string | string[] | undefined;
315
351
  };
316
- video: {
317
- gif?: string | undefined;
318
- mp4?: string | undefined;
352
+ } & {
353
+ param: {
354
+ word: string | undefined;
319
355
  };
320
- }>;
356
+ };
357
+ output: {
358
+ ok: false;
359
+ message: string;
360
+ };
361
+ outputFormat: "json";
362
+ status: 400;
321
363
  };
322
364
  }>;
323
365
  };
@@ -325,32 +367,30 @@ export declare const client: (args?: {
325
367
  } & {
326
368
  v1: {
327
369
  luka_pona: {
328
- fingerspelling: {
329
- ":sign": import('hono/client').ClientRequest<{
330
- $get: {
331
- input: {
332
- query: {
333
- lang?: string | string[] | undefined;
334
- };
335
- } & {
336
- param: {
337
- sign: string;
338
- };
370
+ fingerspelling: import('hono/client').ClientRequest<{
371
+ $get: {
372
+ input: {
373
+ query: {
374
+ lang?: string | string[] | undefined;
339
375
  };
340
- output: import('../server/utils').Result<{
376
+ };
377
+ output: {
378
+ [x: string]: {
341
379
  id: string;
342
380
  etymology: {
343
381
  language: string;
344
382
  sign: string;
345
383
  }[];
346
- translations: Record<string, {
347
- parameters: {
348
- handshape?: string | undefined;
349
- movement?: string | undefined;
350
- placement?: string | undefined;
351
- orientation?: string | undefined;
384
+ translations: {
385
+ [x: string]: {
386
+ parameters: {
387
+ handshape?: string | undefined;
388
+ movement?: string | undefined;
389
+ placement?: string | undefined;
390
+ orientation?: string | undefined;
391
+ };
352
392
  };
353
- }>;
393
+ };
354
394
  is_two_handed: boolean;
355
395
  signwriting: {
356
396
  fsw: string;
@@ -360,50 +400,10 @@ export declare const client: (args?: {
360
400
  gif?: string | undefined;
361
401
  mp4?: string | undefined;
362
402
  };
363
- }>;
364
- };
365
- }>;
366
- };
367
- };
368
- };
369
- } & {
370
- v1: {
371
- luka_pona: {
372
- signs: import('hono/client').ClientRequest<{
373
- $get: {
374
- input: {
375
- query: {
376
- lang?: string | string[] | undefined;
377
403
  };
378
404
  };
379
- output: Record<string, {
380
- id: string;
381
- etymology: {
382
- language: string;
383
- sign?: string | undefined;
384
- }[];
385
- translations: Record<string, {
386
- parameters: {
387
- handshape?: string | undefined;
388
- movement?: string | undefined;
389
- placement?: string | undefined;
390
- orientation?: string | undefined;
391
- };
392
- icons: string;
393
- }>;
394
- definition: string;
395
- is_two_handed: boolean;
396
- new_gloss: string;
397
- old_gloss: string;
398
- signwriting: {
399
- fsw: string;
400
- swu: string;
401
- };
402
- video: {
403
- gif?: string | undefined;
404
- mp4?: string | undefined;
405
- };
406
- }>;
405
+ outputFormat: "json";
406
+ 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;
407
407
  };
408
408
  }>;
409
409
  };
@@ -411,7 +411,7 @@ export declare const client: (args?: {
411
411
  } & {
412
412
  v1: {
413
413
  luka_pona: {
414
- signs: {
414
+ fingerspelling: {
415
415
  ":sign": import('hono/client').ClientRequest<{
416
416
  $get: {
417
417
  input: {
@@ -420,24 +420,89 @@ export declare const client: (args?: {
420
420
  };
421
421
  } & {
422
422
  param: {
423
- sign: string;
423
+ sign: string | undefined;
424
+ };
425
+ };
426
+ output: {
427
+ ok: true;
428
+ data: {
429
+ id: string;
430
+ etymology: {
431
+ language: string;
432
+ sign: string;
433
+ }[];
434
+ translations: {
435
+ [x: string]: {
436
+ parameters: {
437
+ handshape?: string | undefined;
438
+ movement?: string | undefined;
439
+ placement?: string | undefined;
440
+ orientation?: string | undefined;
441
+ };
442
+ };
443
+ };
444
+ is_two_handed: boolean;
445
+ signwriting: {
446
+ fsw: string;
447
+ swu: string;
448
+ };
449
+ video: {
450
+ gif?: string | undefined;
451
+ mp4?: string | undefined;
452
+ };
453
+ };
454
+ };
455
+ outputFormat: "json";
456
+ 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;
457
+ } | {
458
+ input: {
459
+ query: {
460
+ lang?: string | string[] | undefined;
461
+ };
462
+ } & {
463
+ param: {
464
+ sign: string | undefined;
424
465
  };
425
466
  };
426
- output: import('../server/utils').Result<{
467
+ output: {
468
+ ok: false;
469
+ message: string;
470
+ };
471
+ outputFormat: "json";
472
+ status: 400;
473
+ };
474
+ }>;
475
+ };
476
+ };
477
+ };
478
+ } & {
479
+ v1: {
480
+ luka_pona: {
481
+ signs: import('hono/client').ClientRequest<{
482
+ $get: {
483
+ input: {
484
+ query: {
485
+ lang?: string | string[] | undefined;
486
+ };
487
+ };
488
+ output: {
489
+ [x: string]: {
427
490
  id: string;
428
491
  etymology: {
429
492
  language: string;
430
493
  sign?: string | undefined;
431
494
  }[];
432
- translations: Record<string, {
433
- parameters: {
434
- handshape?: string | undefined;
435
- movement?: string | undefined;
436
- placement?: string | undefined;
437
- orientation?: string | undefined;
495
+ translations: {
496
+ [x: string]: {
497
+ parameters: {
498
+ handshape?: string | undefined;
499
+ movement?: string | undefined;
500
+ placement?: string | undefined;
501
+ orientation?: string | undefined;
502
+ };
503
+ icons: string;
438
504
  };
439
- icons: string;
440
- }>;
505
+ };
441
506
  definition: string;
442
507
  is_two_handed: boolean;
443
508
  new_gloss: string;
@@ -450,50 +515,92 @@ export declare const client: (args?: {
450
515
  gif?: string | undefined;
451
516
  mp4?: string | undefined;
452
517
  };
453
- }>;
518
+ };
454
519
  };
455
- }>;
456
- };
520
+ outputFormat: "json";
521
+ 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;
522
+ };
523
+ }>;
457
524
  };
458
525
  };
459
526
  } & {
460
527
  v1: {
461
- fonts: import('hono/client').ClientRequest<{
462
- $get: {
463
- input: {};
464
- output: Record<string, {
465
- id: string;
466
- creator: string[];
467
- ligatures: boolean;
468
- ucsur: boolean;
469
- features: string[];
470
- filename: string;
471
- license: string;
472
- name: string;
473
- style: string;
474
- version: string;
475
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
476
- links: {
477
- fontfile?: string | undefined;
478
- repo?: string | undefined;
479
- webpage?: string | undefined;
528
+ luka_pona: {
529
+ signs: {
530
+ ":sign": import('hono/client').ClientRequest<{
531
+ $get: {
532
+ input: {
533
+ query: {
534
+ lang?: string | string[] | undefined;
535
+ };
536
+ } & {
537
+ param: {
538
+ sign: string | undefined;
539
+ };
540
+ };
541
+ output: {
542
+ ok: true;
543
+ data: {
544
+ id: string;
545
+ etymology: {
546
+ language: string;
547
+ sign?: string | undefined;
548
+ }[];
549
+ translations: {
550
+ [x: string]: {
551
+ parameters: {
552
+ handshape?: string | undefined;
553
+ movement?: string | undefined;
554
+ placement?: string | undefined;
555
+ orientation?: string | undefined;
556
+ };
557
+ icons: string;
558
+ };
559
+ };
560
+ definition: string;
561
+ is_two_handed: boolean;
562
+ new_gloss: string;
563
+ old_gloss: string;
564
+ signwriting: {
565
+ fsw: string;
566
+ swu: string;
567
+ };
568
+ video: {
569
+ gif?: string | undefined;
570
+ mp4?: string | undefined;
571
+ };
572
+ };
573
+ };
574
+ outputFormat: "json";
575
+ 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;
576
+ } | {
577
+ input: {
578
+ query: {
579
+ lang?: string | string[] | undefined;
580
+ };
581
+ } & {
582
+ param: {
583
+ sign: string | undefined;
584
+ };
585
+ };
586
+ output: {
587
+ ok: false;
588
+ message: string;
589
+ };
590
+ outputFormat: "json";
591
+ status: 400;
480
592
  };
481
- last_updated?: string | undefined;
482
593
  }>;
483
594
  };
484
- }>;
595
+ };
485
596
  };
486
597
  } & {
487
598
  v1: {
488
- fonts: {
489
- ":font": import('hono/client').ClientRequest<{
490
- $get: {
491
- input: {
492
- param: {
493
- font: string;
494
- };
495
- };
496
- output: import('../server/utils').Result<{
599
+ fonts: import('hono/client').ClientRequest<{
600
+ $get: {
601
+ input: {};
602
+ output: {
603
+ [x: string]: {
497
604
  id: string;
498
605
  creator: string[];
499
606
  ligatures: boolean;
@@ -511,7 +618,59 @@ export declare const client: (args?: {
511
618
  webpage?: string | undefined;
512
619
  };
513
620
  last_updated?: string | undefined;
514
- }>;
621
+ };
622
+ };
623
+ outputFormat: "json";
624
+ 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;
625
+ };
626
+ }>;
627
+ };
628
+ } & {
629
+ v1: {
630
+ fonts: {
631
+ ":font": import('hono/client').ClientRequest<{
632
+ $get: {
633
+ input: {
634
+ param: {
635
+ font: string | undefined;
636
+ };
637
+ };
638
+ output: {
639
+ ok: true;
640
+ data: {
641
+ id: string;
642
+ creator: string[];
643
+ ligatures: boolean;
644
+ ucsur: boolean;
645
+ features: string[];
646
+ filename: string;
647
+ license: string;
648
+ name: string;
649
+ style: string;
650
+ version: string;
651
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
652
+ links: {
653
+ fontfile?: string | undefined;
654
+ repo?: string | undefined;
655
+ webpage?: string | undefined;
656
+ };
657
+ last_updated?: string | undefined;
658
+ };
659
+ };
660
+ outputFormat: "json";
661
+ 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;
662
+ } | {
663
+ input: {
664
+ param: {
665
+ font: string | undefined;
666
+ };
667
+ };
668
+ output: {
669
+ ok: false;
670
+ message: string;
671
+ };
672
+ outputFormat: "json";
673
+ status: 400;
515
674
  };
516
675
  }>;
517
676
  };
@@ -521,16 +680,20 @@ export declare const client: (args?: {
521
680
  languages: import('hono/client').ClientRequest<{
522
681
  $get: {
523
682
  input: {};
524
- output: Record<string, {
525
- id: string;
526
- name: {
527
- en: string;
528
- tok?: string | undefined;
529
- endonym?: string | undefined;
683
+ output: {
684
+ [x: string]: {
685
+ id: string;
686
+ name: {
687
+ en: string;
688
+ tok?: string | undefined;
689
+ endonym?: string | undefined;
690
+ };
691
+ locale: string;
692
+ direction: "ltr" | "rtl";
530
693
  };
531
- locale: string;
532
- direction: "ltr" | "rtl";
533
- }>;
694
+ };
695
+ outputFormat: "json";
696
+ 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;
534
697
  };
535
698
  }>;
536
699
  };
@@ -541,19 +704,36 @@ export declare const client: (args?: {
541
704
  $get: {
542
705
  input: {
543
706
  param: {
544
- language: string;
707
+ language: string | undefined;
545
708
  };
546
709
  };
547
- output: import('../server/utils').Result<{
548
- id: string;
549
- name: {
550
- en: string;
551
- tok?: string | undefined;
552
- endonym?: string | undefined;
710
+ output: {
711
+ ok: true;
712
+ data: {
713
+ id: string;
714
+ name: {
715
+ en: string;
716
+ tok?: string | undefined;
717
+ endonym?: string | undefined;
718
+ };
719
+ locale: string;
720
+ direction: "ltr" | "rtl";
553
721
  };
554
- locale: string;
555
- direction: "ltr" | "rtl";
556
- }>;
722
+ };
723
+ outputFormat: "json";
724
+ 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;
725
+ } | {
726
+ input: {
727
+ param: {
728
+ language: string | undefined;
729
+ };
730
+ };
731
+ output: {
732
+ ok: false;
733
+ message: string;
734
+ };
735
+ outputFormat: "json";
736
+ status: 400;
557
737
  };
558
738
  }>;
559
739
  };