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