@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.
@@ -1,5 +1,5 @@
1
- import { z } from 'zod';
2
1
  import { Hono } from 'hono';
2
+ import { z } from 'zod';
3
3
 
4
4
  export declare const BASE_URL = "https://raw.githubusercontent.com/lipu-linku/sona";
5
5
  export type ApiVersion = "v1";
@@ -17,7 +17,7 @@ export declare const versions: {
17
17
  readonly v1: {
18
18
  readonly branch: string;
19
19
  readonly schemas: {
20
- readonly words: z.ZodRecord<z.ZodString, z.ZodObject<{
20
+ readonly words: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
21
21
  id: z.ZodString;
22
22
  author_verbatim: z.ZodString;
23
23
  author_verbatim_source: z.ZodString;
@@ -97,6 +97,7 @@ export declare const versions: {
97
97
  eo: string;
98
98
  }>>;
99
99
  usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
100
+ }, {
100
101
  translations: z.ZodRecord<z.ZodString, z.ZodObject<{
101
102
  commentary: z.ZodString;
102
103
  definition: z.ZodString;
@@ -128,7 +129,7 @@ export declare const versions: {
128
129
  definition: string;
129
130
  sp_etymology: string;
130
131
  }>>;
131
- }, "strip", z.ZodTypeAny, {
132
+ }>, "strip", z.ZodTypeAny, {
132
133
  id: string;
133
134
  author_verbatim: string;
134
135
  author_verbatim_source: string;
@@ -401,8 +402,12 @@ export declare const versions: {
401
402
  definition?: string | undefined;
402
403
  }>, "many">>;
403
404
  readonly sitelen_pona: z.ZodRecord<z.ZodString, z.ZodString>;
404
- readonly signs: z.ZodRecord<z.ZodString, z.ZodObject<{
405
+ readonly signs: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
406
+ definition: z.ZodString;
405
407
  id: z.ZodString;
408
+ is_two_handed: z.ZodBoolean;
409
+ new_gloss: z.ZodString;
410
+ old_gloss: z.ZodString;
406
411
  etymology: z.ZodArray<z.ZodObject<{
407
412
  language: z.ZodString;
408
413
  sign: z.ZodOptional<z.ZodString>;
@@ -413,10 +418,6 @@ export declare const versions: {
413
418
  language: string;
414
419
  sign?: string | undefined;
415
420
  }>, "many">;
416
- definition: z.ZodString;
417
- is_two_handed: z.ZodBoolean;
418
- new_gloss: z.ZodString;
419
- old_gloss: z.ZodString;
420
421
  signwriting: z.ZodObject<{
421
422
  fsw: z.ZodString;
422
423
  swu: z.ZodString;
@@ -437,6 +438,7 @@ export declare const versions: {
437
438
  gif?: string | undefined;
438
439
  mp4?: string | undefined;
439
440
  }>;
441
+ }, {
440
442
  translations: z.ZodRecord<z.ZodString, z.ZodObject<{
441
443
  parameters: z.ZodObject<{
442
444
  handshape: z.ZodOptional<z.ZodString>;
@@ -472,7 +474,7 @@ export declare const versions: {
472
474
  };
473
475
  icons: string;
474
476
  }>>;
475
- }, "strip", z.ZodTypeAny, {
477
+ }>, "strip", z.ZodTypeAny, {
476
478
  id: string;
477
479
  etymology: {
478
480
  language: string;
@@ -600,8 +602,9 @@ export declare const versions: {
600
602
  mp4?: string | undefined;
601
603
  };
602
604
  }>;
603
- readonly fingerspelling: z.ZodRecord<z.ZodString, z.ZodObject<{
605
+ readonly fingerspelling: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
604
606
  id: z.ZodString;
607
+ is_two_handed: z.ZodBoolean;
605
608
  etymology: z.ZodArray<z.ZodObject<{
606
609
  language: z.ZodString;
607
610
  sign: z.ZodString;
@@ -612,7 +615,6 @@ export declare const versions: {
612
615
  language: string;
613
616
  sign: string;
614
617
  }>, "many">;
615
- is_two_handed: z.ZodBoolean;
616
618
  signwriting: z.ZodObject<{
617
619
  fsw: z.ZodString;
618
620
  swu: z.ZodString;
@@ -633,6 +635,7 @@ export declare const versions: {
633
635
  gif?: string | undefined;
634
636
  mp4?: string | undefined;
635
637
  }>;
638
+ }, {
636
639
  translations: z.ZodRecord<z.ZodString, z.ZodObject<{
637
640
  parameters: z.ZodObject<{
638
641
  handshape: z.ZodOptional<z.ZodString>;
@@ -665,7 +668,7 @@ export declare const versions: {
665
668
  orientation?: string | undefined;
666
669
  };
667
670
  }>>;
668
- }, "strip", z.ZodTypeAny, {
671
+ }>, "strip", z.ZodTypeAny, {
669
672
  id: string;
670
673
  etymology: {
671
674
  language: string;
@@ -959,7 +962,7 @@ export declare const versions: {
959
962
  readonly raw: {
960
963
  readonly words: {
961
964
  readonly filename: "words.json";
962
- readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
965
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
963
966
  id: z.ZodString;
964
967
  author_verbatim: z.ZodString;
965
968
  author_verbatim_source: z.ZodString;
@@ -1039,6 +1042,7 @@ export declare const versions: {
1039
1042
  eo: string;
1040
1043
  }>>;
1041
1044
  usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
1045
+ }, {
1042
1046
  translations: z.ZodRecord<z.ZodString, z.ZodObject<{
1043
1047
  commentary: z.ZodString;
1044
1048
  definition: z.ZodString;
@@ -1070,7 +1074,7 @@ export declare const versions: {
1070
1074
  definition: string;
1071
1075
  sp_etymology: string;
1072
1076
  }>>;
1073
- }, "strip", z.ZodTypeAny, {
1077
+ }>, "strip", z.ZodTypeAny, {
1074
1078
  id: string;
1075
1079
  author_verbatim: string;
1076
1080
  author_verbatim_source: string;
@@ -1172,7 +1176,7 @@ export declare const versions: {
1172
1176
  };
1173
1177
  readonly sandbox: {
1174
1178
  readonly filename: "sandbox.json";
1175
- readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
1179
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
1176
1180
  id: z.ZodString;
1177
1181
  author_verbatim: z.ZodString;
1178
1182
  author_verbatim_source: z.ZodString;
@@ -1252,6 +1256,7 @@ export declare const versions: {
1252
1256
  eo: string;
1253
1257
  }>>;
1254
1258
  usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
1259
+ }, {
1255
1260
  translations: z.ZodRecord<z.ZodString, z.ZodObject<{
1256
1261
  commentary: z.ZodString;
1257
1262
  definition: z.ZodString;
@@ -1283,7 +1288,7 @@ export declare const versions: {
1283
1288
  definition: string;
1284
1289
  sp_etymology: string;
1285
1290
  }>>;
1286
- }, "strip", z.ZodTypeAny, {
1291
+ }>, "strip", z.ZodTypeAny, {
1287
1292
  id: string;
1288
1293
  author_verbatim: string;
1289
1294
  author_verbatim_source: string;
@@ -1385,8 +1390,9 @@ export declare const versions: {
1385
1390
  };
1386
1391
  readonly fingerspelling: {
1387
1392
  readonly filename: "fingerspelling.json";
1388
- readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
1393
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
1389
1394
  id: z.ZodString;
1395
+ is_two_handed: z.ZodBoolean;
1390
1396
  etymology: z.ZodArray<z.ZodObject<{
1391
1397
  language: z.ZodString;
1392
1398
  sign: z.ZodString;
@@ -1397,7 +1403,6 @@ export declare const versions: {
1397
1403
  language: string;
1398
1404
  sign: string;
1399
1405
  }>, "many">;
1400
- is_two_handed: z.ZodBoolean;
1401
1406
  signwriting: z.ZodObject<{
1402
1407
  fsw: z.ZodString;
1403
1408
  swu: z.ZodString;
@@ -1418,6 +1423,7 @@ export declare const versions: {
1418
1423
  gif?: string | undefined;
1419
1424
  mp4?: string | undefined;
1420
1425
  }>;
1426
+ }, {
1421
1427
  translations: z.ZodRecord<z.ZodString, z.ZodObject<{
1422
1428
  parameters: z.ZodObject<{
1423
1429
  handshape: z.ZodOptional<z.ZodString>;
@@ -1450,7 +1456,7 @@ export declare const versions: {
1450
1456
  orientation?: string | undefined;
1451
1457
  };
1452
1458
  }>>;
1453
- }, "strip", z.ZodTypeAny, {
1459
+ }>, "strip", z.ZodTypeAny, {
1454
1460
  id: string;
1455
1461
  etymology: {
1456
1462
  language: string;
@@ -1500,8 +1506,12 @@ export declare const versions: {
1500
1506
  };
1501
1507
  readonly signs: {
1502
1508
  readonly filename: "signs.json";
1503
- readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
1509
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
1510
+ definition: z.ZodString;
1504
1511
  id: z.ZodString;
1512
+ is_two_handed: z.ZodBoolean;
1513
+ new_gloss: z.ZodString;
1514
+ old_gloss: z.ZodString;
1505
1515
  etymology: z.ZodArray<z.ZodObject<{
1506
1516
  language: z.ZodString;
1507
1517
  sign: z.ZodOptional<z.ZodString>;
@@ -1512,10 +1522,6 @@ export declare const versions: {
1512
1522
  language: string;
1513
1523
  sign?: string | undefined;
1514
1524
  }>, "many">;
1515
- definition: z.ZodString;
1516
- is_two_handed: z.ZodBoolean;
1517
- new_gloss: z.ZodString;
1518
- old_gloss: z.ZodString;
1519
1525
  signwriting: z.ZodObject<{
1520
1526
  fsw: z.ZodString;
1521
1527
  swu: z.ZodString;
@@ -1536,6 +1542,7 @@ export declare const versions: {
1536
1542
  gif?: string | undefined;
1537
1543
  mp4?: string | undefined;
1538
1544
  }>;
1545
+ }, {
1539
1546
  translations: z.ZodRecord<z.ZodString, z.ZodObject<{
1540
1547
  parameters: z.ZodObject<{
1541
1548
  handshape: z.ZodOptional<z.ZodString>;
@@ -1571,7 +1578,7 @@ export declare const versions: {
1571
1578
  };
1572
1579
  icons: string;
1573
1580
  }>>;
1574
- }, "strip", z.ZodTypeAny, {
1581
+ }>, "strip", z.ZodTypeAny, {
1575
1582
  id: string;
1576
1583
  etymology: {
1577
1584
  language: string;
@@ -1744,6 +1751,8 @@ export declare const apps: {
1744
1751
  $get: {
1745
1752
  input: {};
1746
1753
  output: {};
1754
+ outputFormat: string;
1755
+ status: import('hono/utils/http-status').StatusCode;
1747
1756
  };
1748
1757
  };
1749
1758
  } & {
@@ -1754,56 +1763,66 @@ export declare const apps: {
1754
1763
  lang?: string | string[] | undefined;
1755
1764
  };
1756
1765
  };
1757
- output: Record<string, {
1758
- id: string;
1759
- author_verbatim: string;
1760
- author_verbatim_source: string;
1761
- book: "pu" | "ku suli" | "ku lili" | "none";
1762
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1763
- coined_year: string;
1764
- creator: string[];
1765
- see_also: string[];
1766
- source_language: string;
1767
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1768
- word: string;
1769
- deprecated: boolean;
1770
- etymology: {
1771
- word?: string | undefined;
1772
- alt?: string | undefined;
1773
- }[];
1774
- audio: {
1775
- author: string;
1776
- link: string;
1777
- }[];
1778
- usage: Record<string, number>;
1779
- translations: Record<string, {
1766
+ output: {
1767
+ [x: string]: {
1768
+ id: string;
1769
+ author_verbatim: string;
1770
+ author_verbatim_source: string;
1771
+ book: "pu" | "ku suli" | "ku lili" | "none";
1772
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1773
+ coined_year: string;
1774
+ creator: string[];
1775
+ see_also: string[];
1776
+ source_language: string;
1777
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1778
+ word: string;
1779
+ deprecated: boolean;
1780
1780
  etymology: {
1781
- language: string;
1782
- definition?: string | undefined;
1781
+ word?: string | undefined;
1782
+ alt?: string | undefined;
1783
1783
  }[];
1784
- commentary: string;
1785
- definition: string;
1786
- sp_etymology: string;
1787
- }>;
1788
- ku_data?: Record<string, number> | undefined;
1789
- resources?: {
1790
- sona_pona?: string | undefined;
1791
- lipamanka_semantic?: string | undefined;
1792
- } | undefined;
1793
- representations?: {
1794
- sitelen_emosi?: string | undefined;
1795
- sitelen_jelo?: string[] | undefined;
1796
- ligatures?: string[] | undefined;
1797
- sitelen_sitelen?: string | undefined;
1798
- ucsur?: string | undefined;
1799
- } | undefined;
1800
- pu_verbatim?: {
1801
- en: string;
1802
- fr: string;
1803
- de: string;
1804
- eo: string;
1805
- } | undefined;
1806
- }>;
1784
+ audio: {
1785
+ author: string;
1786
+ link: string;
1787
+ }[];
1788
+ usage: {
1789
+ [x: string]: number;
1790
+ };
1791
+ translations: {
1792
+ [x: string]: {
1793
+ etymology: {
1794
+ language: string;
1795
+ definition?: string | undefined;
1796
+ }[];
1797
+ commentary: string;
1798
+ definition: string;
1799
+ sp_etymology: string;
1800
+ };
1801
+ };
1802
+ ku_data?: {
1803
+ [x: string]: number;
1804
+ } | undefined;
1805
+ resources?: {
1806
+ sona_pona?: string | undefined;
1807
+ lipamanka_semantic?: string | undefined;
1808
+ } | undefined;
1809
+ representations?: {
1810
+ sitelen_emosi?: string | undefined;
1811
+ sitelen_jelo?: string[] | undefined;
1812
+ ligatures?: string[] | undefined;
1813
+ sitelen_sitelen?: string | undefined;
1814
+ ucsur?: string | undefined;
1815
+ } | undefined;
1816
+ pu_verbatim?: {
1817
+ en: string;
1818
+ fr: string;
1819
+ de: string;
1820
+ eo: string;
1821
+ } | undefined;
1822
+ };
1823
+ };
1824
+ outputFormat: "json";
1825
+ 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;
1807
1826
  };
1808
1827
  };
1809
1828
  } & {
@@ -1815,59 +1834,86 @@ export declare const apps: {
1815
1834
  };
1816
1835
  } & {
1817
1836
  param: {
1818
- word: string;
1837
+ word: string | undefined;
1819
1838
  };
1820
1839
  };
1821
- output: import('./utils').Result<{
1822
- id: string;
1823
- author_verbatim: string;
1824
- author_verbatim_source: string;
1825
- book: "pu" | "ku suli" | "ku lili" | "none";
1826
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1827
- coined_year: string;
1828
- creator: string[];
1829
- see_also: string[];
1830
- source_language: string;
1831
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1832
- word: string;
1833
- deprecated: boolean;
1834
- etymology: {
1835
- word?: string | undefined;
1836
- alt?: string | undefined;
1837
- }[];
1838
- audio: {
1839
- author: string;
1840
- link: string;
1841
- }[];
1842
- usage: Record<string, number>;
1843
- translations: Record<string, {
1840
+ output: {
1841
+ ok: true;
1842
+ data: {
1843
+ id: string;
1844
+ author_verbatim: string;
1845
+ author_verbatim_source: string;
1846
+ book: "pu" | "ku suli" | "ku lili" | "none";
1847
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1848
+ coined_year: string;
1849
+ creator: string[];
1850
+ see_also: string[];
1851
+ source_language: string;
1852
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1853
+ word: string;
1854
+ deprecated: boolean;
1844
1855
  etymology: {
1845
- language: string;
1846
- definition?: string | undefined;
1856
+ word?: string | undefined;
1857
+ alt?: string | undefined;
1847
1858
  }[];
1848
- commentary: string;
1849
- definition: string;
1850
- sp_etymology: string;
1851
- }>;
1852
- ku_data?: Record<string, number> | undefined;
1853
- resources?: {
1854
- sona_pona?: string | undefined;
1855
- lipamanka_semantic?: string | undefined;
1856
- } | undefined;
1857
- representations?: {
1858
- sitelen_emosi?: string | undefined;
1859
- sitelen_jelo?: string[] | undefined;
1860
- ligatures?: string[] | undefined;
1861
- sitelen_sitelen?: string | undefined;
1862
- ucsur?: string | undefined;
1863
- } | undefined;
1864
- pu_verbatim?: {
1865
- en: string;
1866
- fr: string;
1867
- de: string;
1868
- eo: string;
1869
- } | undefined;
1870
- }>;
1859
+ audio: {
1860
+ author: string;
1861
+ link: string;
1862
+ }[];
1863
+ usage: {
1864
+ [x: string]: number;
1865
+ };
1866
+ translations: {
1867
+ [x: string]: {
1868
+ etymology: {
1869
+ language: string;
1870
+ definition?: string | undefined;
1871
+ }[];
1872
+ commentary: string;
1873
+ definition: string;
1874
+ sp_etymology: string;
1875
+ };
1876
+ };
1877
+ ku_data?: {
1878
+ [x: string]: number;
1879
+ } | undefined;
1880
+ resources?: {
1881
+ sona_pona?: string | undefined;
1882
+ lipamanka_semantic?: string | undefined;
1883
+ } | undefined;
1884
+ representations?: {
1885
+ sitelen_emosi?: string | undefined;
1886
+ sitelen_jelo?: string[] | undefined;
1887
+ ligatures?: string[] | undefined;
1888
+ sitelen_sitelen?: string | undefined;
1889
+ ucsur?: string | undefined;
1890
+ } | undefined;
1891
+ pu_verbatim?: {
1892
+ en: string;
1893
+ fr: string;
1894
+ de: string;
1895
+ eo: string;
1896
+ } | undefined;
1897
+ };
1898
+ };
1899
+ outputFormat: "json";
1900
+ 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;
1901
+ } | {
1902
+ input: {
1903
+ query: {
1904
+ lang?: string | string[] | undefined;
1905
+ };
1906
+ } & {
1907
+ param: {
1908
+ word: string | undefined;
1909
+ };
1910
+ };
1911
+ output: {
1912
+ ok: false;
1913
+ message: string;
1914
+ };
1915
+ outputFormat: "json";
1916
+ status: 400;
1871
1917
  };
1872
1918
  };
1873
1919
  } & {
@@ -1878,56 +1924,66 @@ export declare const apps: {
1878
1924
  lang?: string | string[] | undefined;
1879
1925
  };
1880
1926
  };
1881
- output: Record<string, {
1882
- id: string;
1883
- author_verbatim: string;
1884
- author_verbatim_source: string;
1885
- book: "pu" | "ku suli" | "ku lili" | "none";
1886
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1887
- coined_year: string;
1888
- creator: string[];
1889
- see_also: string[];
1890
- source_language: string;
1891
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1892
- word: string;
1893
- deprecated: boolean;
1894
- etymology: {
1895
- word?: string | undefined;
1896
- alt?: string | undefined;
1897
- }[];
1898
- audio: {
1899
- author: string;
1900
- link: string;
1901
- }[];
1902
- usage: Record<string, number>;
1903
- translations: Record<string, {
1927
+ output: {
1928
+ [x: string]: {
1929
+ id: string;
1930
+ author_verbatim: string;
1931
+ author_verbatim_source: string;
1932
+ book: "pu" | "ku suli" | "ku lili" | "none";
1933
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1934
+ coined_year: string;
1935
+ creator: string[];
1936
+ see_also: string[];
1937
+ source_language: string;
1938
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1939
+ word: string;
1940
+ deprecated: boolean;
1904
1941
  etymology: {
1905
- language: string;
1906
- definition?: string | undefined;
1942
+ word?: string | undefined;
1943
+ alt?: string | undefined;
1907
1944
  }[];
1908
- commentary: string;
1909
- definition: string;
1910
- sp_etymology: string;
1911
- }>;
1912
- ku_data?: Record<string, number> | undefined;
1913
- resources?: {
1914
- sona_pona?: string | undefined;
1915
- lipamanka_semantic?: string | undefined;
1916
- } | undefined;
1917
- representations?: {
1918
- sitelen_emosi?: string | undefined;
1919
- sitelen_jelo?: string[] | undefined;
1920
- ligatures?: string[] | undefined;
1921
- sitelen_sitelen?: string | undefined;
1922
- ucsur?: string | undefined;
1923
- } | undefined;
1924
- pu_verbatim?: {
1925
- en: string;
1926
- fr: string;
1927
- de: string;
1928
- eo: string;
1929
- } | undefined;
1930
- }>;
1945
+ audio: {
1946
+ author: string;
1947
+ link: string;
1948
+ }[];
1949
+ usage: {
1950
+ [x: string]: number;
1951
+ };
1952
+ translations: {
1953
+ [x: string]: {
1954
+ etymology: {
1955
+ language: string;
1956
+ definition?: string | undefined;
1957
+ }[];
1958
+ commentary: string;
1959
+ definition: string;
1960
+ sp_etymology: string;
1961
+ };
1962
+ };
1963
+ ku_data?: {
1964
+ [x: string]: number;
1965
+ } | undefined;
1966
+ resources?: {
1967
+ sona_pona?: string | undefined;
1968
+ lipamanka_semantic?: string | undefined;
1969
+ } | undefined;
1970
+ representations?: {
1971
+ sitelen_emosi?: string | undefined;
1972
+ sitelen_jelo?: string[] | undefined;
1973
+ ligatures?: string[] | undefined;
1974
+ sitelen_sitelen?: string | undefined;
1975
+ ucsur?: string | undefined;
1976
+ } | undefined;
1977
+ pu_verbatim?: {
1978
+ en: string;
1979
+ fr: string;
1980
+ de: string;
1981
+ eo: string;
1982
+ } | undefined;
1983
+ };
1984
+ };
1985
+ outputFormat: "json";
1986
+ 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;
1931
1987
  };
1932
1988
  };
1933
1989
  } & {
@@ -1939,59 +1995,86 @@ export declare const apps: {
1939
1995
  };
1940
1996
  } & {
1941
1997
  param: {
1942
- word: string;
1998
+ word: string | undefined;
1943
1999
  };
1944
2000
  };
1945
- output: import('./utils').Result<{
1946
- id: string;
1947
- author_verbatim: string;
1948
- author_verbatim_source: string;
1949
- book: "pu" | "ku suli" | "ku lili" | "none";
1950
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1951
- coined_year: string;
1952
- creator: string[];
1953
- see_also: string[];
1954
- source_language: string;
1955
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1956
- word: string;
1957
- deprecated: boolean;
1958
- etymology: {
1959
- word?: string | undefined;
1960
- alt?: string | undefined;
1961
- }[];
1962
- audio: {
1963
- author: string;
1964
- link: string;
1965
- }[];
1966
- usage: Record<string, number>;
1967
- translations: Record<string, {
2001
+ output: {
2002
+ ok: true;
2003
+ data: {
2004
+ id: string;
2005
+ author_verbatim: string;
2006
+ author_verbatim_source: string;
2007
+ book: "pu" | "ku suli" | "ku lili" | "none";
2008
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
2009
+ coined_year: string;
2010
+ creator: string[];
2011
+ see_also: string[];
2012
+ source_language: string;
2013
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
2014
+ word: string;
2015
+ deprecated: boolean;
1968
2016
  etymology: {
1969
- language: string;
1970
- definition?: string | undefined;
2017
+ word?: string | undefined;
2018
+ alt?: string | undefined;
1971
2019
  }[];
1972
- commentary: string;
1973
- definition: string;
1974
- sp_etymology: string;
1975
- }>;
1976
- ku_data?: Record<string, number> | undefined;
1977
- resources?: {
1978
- sona_pona?: string | undefined;
1979
- lipamanka_semantic?: string | undefined;
1980
- } | undefined;
1981
- representations?: {
1982
- sitelen_emosi?: string | undefined;
1983
- sitelen_jelo?: string[] | undefined;
1984
- ligatures?: string[] | undefined;
1985
- sitelen_sitelen?: string | undefined;
1986
- ucsur?: string | undefined;
1987
- } | undefined;
1988
- pu_verbatim?: {
1989
- en: string;
1990
- fr: string;
1991
- de: string;
1992
- eo: string;
1993
- } | undefined;
1994
- }>;
2020
+ audio: {
2021
+ author: string;
2022
+ link: string;
2023
+ }[];
2024
+ usage: {
2025
+ [x: string]: number;
2026
+ };
2027
+ translations: {
2028
+ [x: string]: {
2029
+ etymology: {
2030
+ language: string;
2031
+ definition?: string | undefined;
2032
+ }[];
2033
+ commentary: string;
2034
+ definition: string;
2035
+ sp_etymology: string;
2036
+ };
2037
+ };
2038
+ ku_data?: {
2039
+ [x: string]: number;
2040
+ } | undefined;
2041
+ resources?: {
2042
+ sona_pona?: string | undefined;
2043
+ lipamanka_semantic?: string | undefined;
2044
+ } | undefined;
2045
+ representations?: {
2046
+ sitelen_emosi?: string | undefined;
2047
+ sitelen_jelo?: string[] | undefined;
2048
+ ligatures?: string[] | undefined;
2049
+ sitelen_sitelen?: string | undefined;
2050
+ ucsur?: string | undefined;
2051
+ } | undefined;
2052
+ pu_verbatim?: {
2053
+ en: string;
2054
+ fr: string;
2055
+ de: string;
2056
+ eo: string;
2057
+ } | undefined;
2058
+ };
2059
+ };
2060
+ outputFormat: "json";
2061
+ 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;
2062
+ } | {
2063
+ input: {
2064
+ query: {
2065
+ lang?: string | string[] | undefined;
2066
+ };
2067
+ } & {
2068
+ param: {
2069
+ word: string | undefined;
2070
+ };
2071
+ };
2072
+ output: {
2073
+ ok: false;
2074
+ message: string;
2075
+ };
2076
+ outputFormat: "json";
2077
+ status: 400;
1995
2078
  };
1996
2079
  };
1997
2080
  } & {
@@ -2002,30 +2085,36 @@ export declare const apps: {
2002
2085
  lang?: string | string[] | undefined;
2003
2086
  };
2004
2087
  };
2005
- output: Record<string, {
2006
- id: string;
2007
- etymology: {
2008
- language: string;
2009
- sign: string;
2010
- }[];
2011
- translations: Record<string, {
2012
- parameters: {
2013
- handshape?: string | undefined;
2014
- movement?: string | undefined;
2015
- placement?: string | undefined;
2016
- orientation?: string | undefined;
2088
+ output: {
2089
+ [x: string]: {
2090
+ id: string;
2091
+ etymology: {
2092
+ language: string;
2093
+ sign: string;
2094
+ }[];
2095
+ translations: {
2096
+ [x: string]: {
2097
+ parameters: {
2098
+ handshape?: string | undefined;
2099
+ movement?: string | undefined;
2100
+ placement?: string | undefined;
2101
+ orientation?: string | undefined;
2102
+ };
2103
+ };
2104
+ };
2105
+ is_two_handed: boolean;
2106
+ signwriting: {
2107
+ fsw: string;
2108
+ swu: string;
2109
+ };
2110
+ video: {
2111
+ gif?: string | undefined;
2112
+ mp4?: string | undefined;
2017
2113
  };
2018
- }>;
2019
- is_two_handed: boolean;
2020
- signwriting: {
2021
- fsw: string;
2022
- swu: string;
2023
- };
2024
- video: {
2025
- gif?: string | undefined;
2026
- mp4?: string | undefined;
2027
2114
  };
2028
- }>;
2115
+ };
2116
+ outputFormat: "json";
2117
+ 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;
2029
2118
  };
2030
2119
  };
2031
2120
  } & {
@@ -2037,33 +2126,56 @@ export declare const apps: {
2037
2126
  };
2038
2127
  } & {
2039
2128
  param: {
2040
- sign: string;
2129
+ sign: string | undefined;
2041
2130
  };
2042
2131
  };
2043
- output: import('./utils').Result<{
2044
- id: string;
2045
- etymology: {
2046
- language: string;
2047
- sign: string;
2048
- }[];
2049
- translations: Record<string, {
2050
- parameters: {
2051
- handshape?: string | undefined;
2052
- movement?: string | undefined;
2053
- placement?: string | undefined;
2054
- orientation?: string | undefined;
2132
+ output: {
2133
+ ok: true;
2134
+ data: {
2135
+ id: string;
2136
+ etymology: {
2137
+ language: string;
2138
+ sign: string;
2139
+ }[];
2140
+ translations: {
2141
+ [x: string]: {
2142
+ parameters: {
2143
+ handshape?: string | undefined;
2144
+ movement?: string | undefined;
2145
+ placement?: string | undefined;
2146
+ orientation?: string | undefined;
2147
+ };
2148
+ };
2149
+ };
2150
+ is_two_handed: boolean;
2151
+ signwriting: {
2152
+ fsw: string;
2153
+ swu: string;
2154
+ };
2155
+ video: {
2156
+ gif?: string | undefined;
2157
+ mp4?: string | undefined;
2055
2158
  };
2056
- }>;
2057
- is_two_handed: boolean;
2058
- signwriting: {
2059
- fsw: string;
2060
- swu: string;
2061
2159
  };
2062
- video: {
2063
- gif?: string | undefined;
2064
- mp4?: string | undefined;
2160
+ };
2161
+ outputFormat: "json";
2162
+ 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;
2163
+ } | {
2164
+ input: {
2165
+ query: {
2166
+ lang?: string | string[] | undefined;
2065
2167
  };
2066
- }>;
2168
+ } & {
2169
+ param: {
2170
+ sign: string | undefined;
2171
+ };
2172
+ };
2173
+ output: {
2174
+ ok: false;
2175
+ message: string;
2176
+ };
2177
+ outputFormat: "json";
2178
+ status: 400;
2067
2179
  };
2068
2180
  };
2069
2181
  } & {
@@ -2074,34 +2186,40 @@ export declare const apps: {
2074
2186
  lang?: string | string[] | undefined;
2075
2187
  };
2076
2188
  };
2077
- output: Record<string, {
2078
- id: string;
2079
- etymology: {
2080
- language: string;
2081
- sign?: string | undefined;
2082
- }[];
2083
- translations: Record<string, {
2084
- parameters: {
2085
- handshape?: string | undefined;
2086
- movement?: string | undefined;
2087
- placement?: string | undefined;
2088
- orientation?: string | undefined;
2189
+ output: {
2190
+ [x: string]: {
2191
+ id: string;
2192
+ etymology: {
2193
+ language: string;
2194
+ sign?: string | undefined;
2195
+ }[];
2196
+ translations: {
2197
+ [x: string]: {
2198
+ parameters: {
2199
+ handshape?: string | undefined;
2200
+ movement?: string | undefined;
2201
+ placement?: string | undefined;
2202
+ orientation?: string | undefined;
2203
+ };
2204
+ icons: string;
2205
+ };
2206
+ };
2207
+ definition: string;
2208
+ is_two_handed: boolean;
2209
+ new_gloss: string;
2210
+ old_gloss: string;
2211
+ signwriting: {
2212
+ fsw: string;
2213
+ swu: string;
2214
+ };
2215
+ video: {
2216
+ gif?: string | undefined;
2217
+ mp4?: string | undefined;
2089
2218
  };
2090
- icons: string;
2091
- }>;
2092
- definition: string;
2093
- is_two_handed: boolean;
2094
- new_gloss: string;
2095
- old_gloss: string;
2096
- signwriting: {
2097
- fsw: string;
2098
- swu: string;
2099
- };
2100
- video: {
2101
- gif?: string | undefined;
2102
- mp4?: string | undefined;
2103
2219
  };
2104
- }>;
2220
+ };
2221
+ outputFormat: "json";
2222
+ 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;
2105
2223
  };
2106
2224
  };
2107
2225
  } & {
@@ -2113,62 +2231,89 @@ export declare const apps: {
2113
2231
  };
2114
2232
  } & {
2115
2233
  param: {
2116
- sign: string;
2234
+ sign: string | undefined;
2117
2235
  };
2118
2236
  };
2119
- output: import('./utils').Result<{
2120
- id: string;
2121
- etymology: {
2122
- language: string;
2123
- sign?: string | undefined;
2124
- }[];
2125
- translations: Record<string, {
2126
- parameters: {
2127
- handshape?: string | undefined;
2128
- movement?: string | undefined;
2129
- placement?: string | undefined;
2130
- orientation?: string | undefined;
2237
+ output: {
2238
+ ok: true;
2239
+ data: {
2240
+ id: string;
2241
+ etymology: {
2242
+ language: string;
2243
+ sign?: string | undefined;
2244
+ }[];
2245
+ translations: {
2246
+ [x: string]: {
2247
+ parameters: {
2248
+ handshape?: string | undefined;
2249
+ movement?: string | undefined;
2250
+ placement?: string | undefined;
2251
+ orientation?: string | undefined;
2252
+ };
2253
+ icons: string;
2254
+ };
2255
+ };
2256
+ definition: string;
2257
+ is_two_handed: boolean;
2258
+ new_gloss: string;
2259
+ old_gloss: string;
2260
+ signwriting: {
2261
+ fsw: string;
2262
+ swu: string;
2263
+ };
2264
+ video: {
2265
+ gif?: string | undefined;
2266
+ mp4?: string | undefined;
2131
2267
  };
2132
- icons: string;
2133
- }>;
2134
- definition: string;
2135
- is_two_handed: boolean;
2136
- new_gloss: string;
2137
- old_gloss: string;
2138
- signwriting: {
2139
- fsw: string;
2140
- swu: string;
2141
2268
  };
2142
- video: {
2143
- gif?: string | undefined;
2144
- mp4?: string | undefined;
2269
+ };
2270
+ outputFormat: "json";
2271
+ 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;
2272
+ } | {
2273
+ input: {
2274
+ query: {
2275
+ lang?: string | string[] | undefined;
2145
2276
  };
2146
- }>;
2277
+ } & {
2278
+ param: {
2279
+ sign: string | undefined;
2280
+ };
2281
+ };
2282
+ output: {
2283
+ ok: false;
2284
+ message: string;
2285
+ };
2286
+ outputFormat: "json";
2287
+ status: 400;
2147
2288
  };
2148
2289
  };
2149
2290
  } & {
2150
2291
  "/fonts": {
2151
2292
  $get: {
2152
2293
  input: {};
2153
- output: Record<string, {
2154
- id: string;
2155
- creator: string[];
2156
- ligatures: boolean;
2157
- ucsur: boolean;
2158
- features: string[];
2159
- filename: string;
2160
- license: string;
2161
- name: string;
2162
- style: string;
2163
- version: string;
2164
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
2165
- links: {
2166
- fontfile?: string | undefined;
2167
- repo?: string | undefined;
2168
- webpage?: string | undefined;
2294
+ output: {
2295
+ [x: string]: {
2296
+ id: string;
2297
+ creator: string[];
2298
+ ligatures: boolean;
2299
+ ucsur: boolean;
2300
+ features: string[];
2301
+ filename: string;
2302
+ license: string;
2303
+ name: string;
2304
+ style: string;
2305
+ version: string;
2306
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
2307
+ links: {
2308
+ fontfile?: string | undefined;
2309
+ repo?: string | undefined;
2310
+ webpage?: string | undefined;
2311
+ };
2312
+ last_updated?: string | undefined;
2169
2313
  };
2170
- last_updated?: string | undefined;
2171
- }>;
2314
+ };
2315
+ outputFormat: "json";
2316
+ 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;
2172
2317
  };
2173
2318
  };
2174
2319
  } & {
@@ -2176,44 +2321,65 @@ export declare const apps: {
2176
2321
  $get: {
2177
2322
  input: {
2178
2323
  param: {
2179
- font: string;
2324
+ font: string | undefined;
2180
2325
  };
2181
2326
  };
2182
- output: import('./utils').Result<{
2183
- id: string;
2184
- creator: string[];
2185
- ligatures: boolean;
2186
- ucsur: boolean;
2187
- features: string[];
2188
- filename: string;
2189
- license: string;
2190
- name: string;
2191
- style: string;
2192
- version: string;
2193
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
2194
- links: {
2195
- fontfile?: string | undefined;
2196
- repo?: string | undefined;
2197
- webpage?: string | undefined;
2327
+ output: {
2328
+ ok: true;
2329
+ data: {
2330
+ id: string;
2331
+ creator: string[];
2332
+ ligatures: boolean;
2333
+ ucsur: boolean;
2334
+ features: string[];
2335
+ filename: string;
2336
+ license: string;
2337
+ name: string;
2338
+ style: string;
2339
+ version: string;
2340
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
2341
+ links: {
2342
+ fontfile?: string | undefined;
2343
+ repo?: string | undefined;
2344
+ webpage?: string | undefined;
2345
+ };
2346
+ last_updated?: string | undefined;
2198
2347
  };
2199
- last_updated?: string | undefined;
2200
- }>;
2348
+ };
2349
+ outputFormat: "json";
2350
+ 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;
2351
+ } | {
2352
+ input: {
2353
+ param: {
2354
+ font: string | undefined;
2355
+ };
2356
+ };
2357
+ output: {
2358
+ ok: false;
2359
+ message: string;
2360
+ };
2361
+ outputFormat: "json";
2362
+ status: 400;
2201
2363
  };
2202
2364
  };
2203
2365
  } & {
2204
2366
  "/languages": {
2205
2367
  $get: {
2206
2368
  input: {};
2207
- output: Record<string, {
2208
- id: string;
2209
- name: {
2210
- en: string;
2211
- tok?: string | undefined;
2212
- endonym?: string | undefined;
2369
+ output: {
2370
+ [x: string]: {
2371
+ id: string;
2372
+ name: {
2373
+ en: string;
2374
+ tok?: string | undefined;
2375
+ endonym?: string | undefined;
2376
+ };
2377
+ locale: string;
2378
+ direction: "ltr" | "rtl";
2213
2379
  };
2214
- locale: string;
2215
- direction: "ltr" | "rtl";
2216
- }>;
2380
+ };
2381
+ outputFormat: "json";
2382
+ 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;
2217
2383
  };
2218
2384
  };
2219
2385
  } & {
@@ -2221,19 +2387,36 @@ export declare const apps: {
2221
2387
  $get: {
2222
2388
  input: {
2223
2389
  param: {
2224
- language: string;
2390
+ language: string | undefined;
2225
2391
  };
2226
2392
  };
2227
- output: import('./utils').Result<{
2228
- id: string;
2229
- name: {
2230
- en: string;
2231
- tok?: string | undefined;
2232
- endonym?: string | undefined;
2393
+ output: {
2394
+ ok: true;
2395
+ data: {
2396
+ id: string;
2397
+ name: {
2398
+ en: string;
2399
+ tok?: string | undefined;
2400
+ endonym?: string | undefined;
2401
+ };
2402
+ locale: string;
2403
+ direction: "ltr" | "rtl";
2233
2404
  };
2234
- locale: string;
2235
- direction: "ltr" | "rtl";
2236
- }>;
2405
+ };
2406
+ outputFormat: "json";
2407
+ 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;
2408
+ } | {
2409
+ input: {
2410
+ param: {
2411
+ language: string | undefined;
2412
+ };
2413
+ };
2414
+ output: {
2415
+ ok: false;
2416
+ message: string;
2417
+ };
2418
+ outputFormat: "json";
2419
+ status: 400;
2237
2420
  };
2238
2421
  };
2239
2422
  }, "/">;