@kulupu-linku/sona 0.2.3 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
- import { Hono } from "hono";
2
- import type { z } from "zod";
1
+ import { z } from 'zod';
2
+ import { Hono } from 'hono';
3
+
3
4
  export declare const BASE_URL = "https://raw.githubusercontent.com/lipu-linku/sona";
4
5
  export type ApiVersion = "v1";
5
6
  export type Versions = {
@@ -427,14 +428,14 @@ export declare const versions: {
427
428
  swu: string;
428
429
  }>;
429
430
  video: z.ZodObject<{
430
- gif: z.ZodString;
431
- mp4: z.ZodString;
431
+ gif: z.ZodOptional<z.ZodString>;
432
+ mp4: z.ZodOptional<z.ZodString>;
432
433
  }, "strip", z.ZodTypeAny, {
433
- gif: string;
434
- mp4: string;
434
+ gif?: string | undefined;
435
+ mp4?: string | undefined;
435
436
  }, {
436
- gif: string;
437
- mp4: string;
437
+ gif?: string | undefined;
438
+ mp4?: string | undefined;
438
439
  }>;
439
440
  translations: z.ZodRecord<z.ZodString, z.ZodObject<{
440
441
  parameters: z.ZodObject<{
@@ -495,8 +496,8 @@ export declare const versions: {
495
496
  swu: string;
496
497
  };
497
498
  video: {
498
- gif: string;
499
- mp4: string;
499
+ gif?: string | undefined;
500
+ mp4?: string | undefined;
500
501
  };
501
502
  }, {
502
503
  id: string;
@@ -522,8 +523,8 @@ export declare const versions: {
522
523
  swu: string;
523
524
  };
524
525
  video: {
525
- gif: string;
526
- mp4: string;
526
+ gif?: string | undefined;
527
+ mp4?: string | undefined;
527
528
  };
528
529
  }>>;
529
530
  readonly sign: z.ZodObject<{
@@ -553,14 +554,14 @@ export declare const versions: {
553
554
  swu: string;
554
555
  }>;
555
556
  video: z.ZodObject<{
556
- gif: z.ZodString;
557
- mp4: z.ZodString;
557
+ gif: z.ZodOptional<z.ZodString>;
558
+ mp4: z.ZodOptional<z.ZodString>;
558
559
  }, "strip", z.ZodTypeAny, {
559
- gif: string;
560
- mp4: string;
560
+ gif?: string | undefined;
561
+ mp4?: string | undefined;
561
562
  }, {
562
- gif: string;
563
- mp4: string;
563
+ gif?: string | undefined;
564
+ mp4?: string | undefined;
564
565
  }>;
565
566
  }, "strip", z.ZodTypeAny, {
566
567
  id: string;
@@ -577,8 +578,8 @@ export declare const versions: {
577
578
  swu: string;
578
579
  };
579
580
  video: {
580
- gif: string;
581
- mp4: string;
581
+ gif?: string | undefined;
582
+ mp4?: string | undefined;
582
583
  };
583
584
  }, {
584
585
  id: string;
@@ -595,8 +596,8 @@ export declare const versions: {
595
596
  swu: string;
596
597
  };
597
598
  video: {
598
- gif: string;
599
- mp4: string;
599
+ gif?: string | undefined;
600
+ mp4?: string | undefined;
600
601
  };
601
602
  }>;
602
603
  readonly fingerspelling: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -1526,14 +1527,14 @@ export declare const versions: {
1526
1527
  swu: string;
1527
1528
  }>;
1528
1529
  video: z.ZodObject<{
1529
- gif: z.ZodString;
1530
- mp4: z.ZodString;
1530
+ gif: z.ZodOptional<z.ZodString>;
1531
+ mp4: z.ZodOptional<z.ZodString>;
1531
1532
  }, "strip", z.ZodTypeAny, {
1532
- gif: string;
1533
- mp4: string;
1533
+ gif?: string | undefined;
1534
+ mp4?: string | undefined;
1534
1535
  }, {
1535
- gif: string;
1536
- mp4: string;
1536
+ gif?: string | undefined;
1537
+ mp4?: string | undefined;
1537
1538
  }>;
1538
1539
  translations: z.ZodRecord<z.ZodString, z.ZodObject<{
1539
1540
  parameters: z.ZodObject<{
@@ -1594,8 +1595,8 @@ export declare const versions: {
1594
1595
  swu: string;
1595
1596
  };
1596
1597
  video: {
1597
- gif: string;
1598
- mp4: string;
1598
+ gif?: string | undefined;
1599
+ mp4?: string | undefined;
1599
1600
  };
1600
1601
  }, {
1601
1602
  id: string;
@@ -1621,8 +1622,8 @@ export declare const versions: {
1621
1622
  swu: string;
1622
1623
  };
1623
1624
  video: {
1624
- gif: string;
1625
- mp4: string;
1625
+ gif?: string | undefined;
1626
+ mp4?: string | undefined;
1626
1627
  };
1627
1628
  }>>;
1628
1629
  };
@@ -1738,395 +1739,486 @@ export type FilesToVariables<V extends ApiVersion, T extends Versions[ApiVersion
1738
1739
  [K in keyof T]: T[K]["schema"] extends z.ZodType ? T[K]["schema"]["_output"] : never;
1739
1740
  };
1740
1741
  export declare const apps: {
1741
- readonly v1: Hono<import("hono").Env, import("hono").ToSchema<"get", "/", unknown, unknown> & import("hono").ToSchema<"get", "/words", {
1742
- query: {
1743
- lang?: string | string[] | undefined;
1744
- };
1745
- }, Record<string, {
1746
- id: string;
1747
- author_verbatim: string;
1748
- author_verbatim_source: string;
1749
- book: "pu" | "ku suli" | "ku lili" | "none";
1750
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1751
- coined_year: string;
1752
- creator: string[];
1753
- see_also: string[];
1754
- source_language: string;
1755
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1756
- word: string;
1757
- deprecated: boolean;
1758
- etymology: {
1759
- word?: string | undefined;
1760
- alt?: string | undefined;
1761
- }[];
1762
- audio: {
1763
- author: string;
1764
- link: string;
1765
- }[];
1766
- usage: Record<string, number>;
1767
- translations: Record<string, {
1768
- etymology: {
1769
- language: string;
1770
- definition?: string | undefined;
1771
- }[];
1772
- commentary: string;
1773
- definition: string;
1774
- sp_etymology: string;
1775
- }>;
1776
- ku_data?: Record<string, number> | undefined;
1777
- resources?: {
1778
- sona_pona?: string | undefined;
1779
- lipamanka_semantic?: string | undefined;
1780
- } | undefined;
1781
- representations?: {
1782
- sitelen_emosi?: string | undefined;
1783
- sitelen_jelo?: string[] | undefined;
1784
- ligatures?: string[] | undefined;
1785
- sitelen_sitelen?: string | undefined;
1786
- ucsur?: string | undefined;
1787
- } | undefined;
1788
- pu_verbatim?: {
1789
- en: string;
1790
- fr: string;
1791
- de: string;
1792
- eo: string;
1793
- } | undefined;
1794
- }>> & import("hono").ToSchema<"get", "/words/:word", {
1795
- query: {
1796
- lang?: string | string[] | undefined;
1742
+ readonly v1: Hono<{}, {
1743
+ "/": {
1744
+ $get: {
1745
+ input: {};
1746
+ output: {};
1747
+ };
1797
1748
  };
1798
1749
  } & {
1799
- param: {
1800
- word: string;
1801
- };
1802
- }, import("./utils").Result<{
1803
- id: string;
1804
- author_verbatim: string;
1805
- author_verbatim_source: string;
1806
- book: "pu" | "ku suli" | "ku lili" | "none";
1807
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1808
- coined_year: string;
1809
- creator: string[];
1810
- see_also: string[];
1811
- source_language: string;
1812
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1813
- word: string;
1814
- deprecated: boolean;
1815
- etymology: {
1816
- word?: string | undefined;
1817
- alt?: string | undefined;
1818
- }[];
1819
- audio: {
1820
- author: string;
1821
- link: string;
1822
- }[];
1823
- usage: Record<string, number>;
1824
- translations: Record<string, {
1825
- etymology: {
1826
- language: string;
1827
- definition?: string | undefined;
1828
- }[];
1829
- commentary: string;
1830
- definition: string;
1831
- sp_etymology: string;
1832
- }>;
1833
- ku_data?: Record<string, number> | undefined;
1834
- resources?: {
1835
- sona_pona?: string | undefined;
1836
- lipamanka_semantic?: string | undefined;
1837
- } | undefined;
1838
- representations?: {
1839
- sitelen_emosi?: string | undefined;
1840
- sitelen_jelo?: string[] | undefined;
1841
- ligatures?: string[] | undefined;
1842
- sitelen_sitelen?: string | undefined;
1843
- ucsur?: string | undefined;
1844
- } | undefined;
1845
- pu_verbatim?: {
1846
- en: string;
1847
- fr: string;
1848
- de: string;
1849
- eo: string;
1850
- } | undefined;
1851
- }>> & import("hono").ToSchema<"get", "/sandbox", {
1852
- query: {
1853
- lang?: string | string[] | undefined;
1854
- };
1855
- }, Record<string, {
1856
- id: string;
1857
- author_verbatim: string;
1858
- author_verbatim_source: string;
1859
- book: "pu" | "ku suli" | "ku lili" | "none";
1860
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1861
- coined_year: string;
1862
- creator: string[];
1863
- see_also: string[];
1864
- source_language: string;
1865
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1866
- word: string;
1867
- deprecated: boolean;
1868
- etymology: {
1869
- word?: string | undefined;
1870
- alt?: string | undefined;
1871
- }[];
1872
- audio: {
1873
- author: string;
1874
- link: string;
1875
- }[];
1876
- usage: Record<string, number>;
1877
- translations: Record<string, {
1878
- etymology: {
1879
- language: string;
1880
- definition?: string | undefined;
1881
- }[];
1882
- commentary: string;
1883
- definition: string;
1884
- sp_etymology: string;
1885
- }>;
1886
- ku_data?: Record<string, number> | undefined;
1887
- resources?: {
1888
- sona_pona?: string | undefined;
1889
- lipamanka_semantic?: string | undefined;
1890
- } | undefined;
1891
- representations?: {
1892
- sitelen_emosi?: string | undefined;
1893
- sitelen_jelo?: string[] | undefined;
1894
- ligatures?: string[] | undefined;
1895
- sitelen_sitelen?: string | undefined;
1896
- ucsur?: string | undefined;
1897
- } | undefined;
1898
- pu_verbatim?: {
1899
- en: string;
1900
- fr: string;
1901
- de: string;
1902
- eo: string;
1903
- } | undefined;
1904
- }>> & import("hono").ToSchema<"get", "/sandbox/:word", {
1905
- query: {
1906
- lang?: string | string[] | undefined;
1750
+ "/words": {
1751
+ $get: {
1752
+ input: {
1753
+ query: {
1754
+ lang?: string | string[] | undefined;
1755
+ };
1756
+ };
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, {
1780
+ etymology: {
1781
+ language: string;
1782
+ definition?: string | undefined;
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
+ }>;
1807
+ };
1907
1808
  };
1908
1809
  } & {
1909
- param: {
1910
- word: string;
1911
- };
1912
- }, import("./utils").Result<{
1913
- id: string;
1914
- author_verbatim: string;
1915
- author_verbatim_source: string;
1916
- book: "pu" | "ku suli" | "ku lili" | "none";
1917
- coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
1918
- coined_year: string;
1919
- creator: string[];
1920
- see_also: string[];
1921
- source_language: string;
1922
- usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1923
- word: string;
1924
- deprecated: boolean;
1925
- etymology: {
1926
- word?: string | undefined;
1927
- alt?: string | undefined;
1928
- }[];
1929
- audio: {
1930
- author: string;
1931
- link: string;
1932
- }[];
1933
- usage: Record<string, number>;
1934
- translations: Record<string, {
1935
- etymology: {
1936
- language: string;
1937
- definition?: string | undefined;
1938
- }[];
1939
- commentary: string;
1940
- definition: string;
1941
- sp_etymology: string;
1942
- }>;
1943
- ku_data?: Record<string, number> | undefined;
1944
- resources?: {
1945
- sona_pona?: string | undefined;
1946
- lipamanka_semantic?: string | undefined;
1947
- } | undefined;
1948
- representations?: {
1949
- sitelen_emosi?: string | undefined;
1950
- sitelen_jelo?: string[] | undefined;
1951
- ligatures?: string[] | undefined;
1952
- sitelen_sitelen?: string | undefined;
1953
- ucsur?: string | undefined;
1954
- } | undefined;
1955
- pu_verbatim?: {
1956
- en: string;
1957
- fr: string;
1958
- de: string;
1959
- eo: string;
1960
- } | undefined;
1961
- }>> & import("hono").ToSchema<"get", "/luka_pona/fingerspelling", {
1962
- query: {
1963
- lang?: string | string[] | undefined;
1964
- };
1965
- }, Record<string, {
1966
- id: string;
1967
- etymology: {
1968
- language: string;
1969
- sign: string;
1970
- }[];
1971
- translations: Record<string, {
1972
- parameters: {
1973
- handshape?: string | undefined;
1974
- movement?: string | undefined;
1975
- placement?: string | undefined;
1976
- orientation?: string | undefined;
1810
+ "/words/:word": {
1811
+ $get: {
1812
+ input: {
1813
+ query: {
1814
+ lang?: string | string[] | undefined;
1815
+ };
1816
+ } & {
1817
+ param: {
1818
+ word: string;
1819
+ };
1820
+ };
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, {
1844
+ etymology: {
1845
+ language: string;
1846
+ definition?: string | undefined;
1847
+ }[];
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
+ }>;
1977
1871
  };
1978
- }>;
1979
- is_two_handed: boolean;
1980
- signwriting: {
1981
- fsw: string;
1982
- swu: string;
1983
- };
1984
- video: {
1985
- gif?: string | undefined;
1986
- mp4?: string | undefined;
1987
- };
1988
- }>> & import("hono").ToSchema<"get", "/luka_pona/fingerspelling/:sign", {
1989
- query: {
1990
- lang?: string | string[] | undefined;
1991
1872
  };
1992
1873
  } & {
1993
- param: {
1994
- sign: string;
1995
- };
1996
- }, import("./utils").Result<{
1997
- id: string;
1998
- etymology: {
1999
- language: string;
2000
- sign: string;
2001
- }[];
2002
- is_two_handed: boolean;
2003
- signwriting: {
2004
- fsw: string;
2005
- swu: string;
2006
- };
2007
- video: {
2008
- gif?: string | undefined;
2009
- mp4?: string | undefined;
2010
- };
2011
- }>> & import("hono").ToSchema<"get", "/luka_pona/signs", {
2012
- query: {
2013
- lang?: string | string[] | undefined;
2014
- };
2015
- }, Record<string, {
2016
- id: string;
2017
- etymology: {
2018
- language: string;
2019
- sign?: string | undefined;
2020
- }[];
2021
- translations: Record<string, {
2022
- parameters: {
2023
- handshape?: string | undefined;
2024
- movement?: string | undefined;
2025
- placement?: string | undefined;
2026
- orientation?: string | undefined;
1874
+ "/sandbox": {
1875
+ $get: {
1876
+ input: {
1877
+ query: {
1878
+ lang?: string | string[] | undefined;
1879
+ };
1880
+ };
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, {
1904
+ etymology: {
1905
+ language: string;
1906
+ definition?: string | undefined;
1907
+ }[];
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
+ }>;
2027
1931
  };
2028
- icons: string;
2029
- }>;
2030
- definition: string;
2031
- is_two_handed: boolean;
2032
- new_gloss: string;
2033
- old_gloss: string;
2034
- signwriting: {
2035
- fsw: string;
2036
- swu: string;
2037
- };
2038
- video: {
2039
- gif: string;
2040
- mp4: string;
2041
- };
2042
- }>> & import("hono").ToSchema<"get", "/luka_pona/signs/:sign", {
2043
- query: {
2044
- lang?: string | string[] | undefined;
2045
1932
  };
2046
1933
  } & {
2047
- param: {
2048
- sign: string;
1934
+ "/sandbox/:word": {
1935
+ $get: {
1936
+ input: {
1937
+ query: {
1938
+ lang?: string | string[] | undefined;
1939
+ };
1940
+ } & {
1941
+ param: {
1942
+ word: string;
1943
+ };
1944
+ };
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, {
1968
+ etymology: {
1969
+ language: string;
1970
+ definition?: string | undefined;
1971
+ }[];
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
+ }>;
1995
+ };
2049
1996
  };
2050
- }, import("./utils").Result<{
2051
- id: string;
2052
- etymology: {
2053
- language: string;
2054
- sign?: string | undefined;
2055
- }[];
2056
- definition: string;
2057
- is_two_handed: boolean;
2058
- new_gloss: string;
2059
- old_gloss: string;
2060
- signwriting: {
2061
- fsw: string;
2062
- swu: string;
1997
+ } & {
1998
+ "/luka_pona/fingerspelling": {
1999
+ $get: {
2000
+ input: {
2001
+ query: {
2002
+ lang?: string | string[] | undefined;
2003
+ };
2004
+ };
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;
2017
+ };
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
+ };
2028
+ }>;
2029
+ };
2063
2030
  };
2064
- video: {
2065
- gif: string;
2066
- mp4: string;
2031
+ } & {
2032
+ "/luka_pona/fingerspelling/:sign": {
2033
+ $get: {
2034
+ input: {
2035
+ query: {
2036
+ lang?: string | string[] | undefined;
2037
+ };
2038
+ } & {
2039
+ param: {
2040
+ sign: string;
2041
+ };
2042
+ };
2043
+ output: import('./utils').Result<{
2044
+ id: string;
2045
+ etymology: {
2046
+ language: string;
2047
+ sign: string;
2048
+ }[];
2049
+ is_two_handed: boolean;
2050
+ signwriting: {
2051
+ fsw: string;
2052
+ swu: string;
2053
+ };
2054
+ video: {
2055
+ gif?: string | undefined;
2056
+ mp4?: string | undefined;
2057
+ };
2058
+ }>;
2059
+ };
2067
2060
  };
2068
- }>> & import("hono").ToSchema<"get", "/fonts", unknown, Record<string, {
2069
- id: string;
2070
- creator: string[];
2071
- ligatures: boolean;
2072
- ucsur: boolean;
2073
- features: string[];
2074
- filename: string;
2075
- license: string;
2076
- name: string;
2077
- style: string;
2078
- version: string;
2079
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
2080
- links: {
2081
- fontfile?: string | undefined;
2082
- repo?: string | undefined;
2083
- webpage?: string | undefined;
2061
+ } & {
2062
+ "/luka_pona/signs": {
2063
+ $get: {
2064
+ input: {
2065
+ query: {
2066
+ lang?: string | string[] | undefined;
2067
+ };
2068
+ };
2069
+ output: Record<string, {
2070
+ id: string;
2071
+ etymology: {
2072
+ language: string;
2073
+ sign?: string | undefined;
2074
+ }[];
2075
+ translations: Record<string, {
2076
+ parameters: {
2077
+ handshape?: string | undefined;
2078
+ movement?: string | undefined;
2079
+ placement?: string | undefined;
2080
+ orientation?: string | undefined;
2081
+ };
2082
+ icons: string;
2083
+ }>;
2084
+ definition: string;
2085
+ is_two_handed: boolean;
2086
+ new_gloss: string;
2087
+ old_gloss: string;
2088
+ signwriting: {
2089
+ fsw: string;
2090
+ swu: string;
2091
+ };
2092
+ video: {
2093
+ gif?: string | undefined;
2094
+ mp4?: string | undefined;
2095
+ };
2096
+ }>;
2097
+ };
2084
2098
  };
2085
- last_updated?: string | undefined;
2086
- }>> & import("hono").ToSchema<"get", "/fonts/:font", {
2087
- param: {
2088
- font: string;
2099
+ } & {
2100
+ "/luka_pona/signs/:sign": {
2101
+ $get: {
2102
+ input: {
2103
+ query: {
2104
+ lang?: string | string[] | undefined;
2105
+ };
2106
+ } & {
2107
+ param: {
2108
+ sign: string;
2109
+ };
2110
+ };
2111
+ output: import('./utils').Result<{
2112
+ id: string;
2113
+ etymology: {
2114
+ language: string;
2115
+ sign?: string | undefined;
2116
+ }[];
2117
+ definition: string;
2118
+ is_two_handed: boolean;
2119
+ new_gloss: string;
2120
+ old_gloss: string;
2121
+ signwriting: {
2122
+ fsw: string;
2123
+ swu: string;
2124
+ };
2125
+ video: {
2126
+ gif?: string | undefined;
2127
+ mp4?: string | undefined;
2128
+ };
2129
+ }>;
2130
+ };
2089
2131
  };
2090
- }, import("./utils").Result<{
2091
- id: string;
2092
- creator: string[];
2093
- ligatures: boolean;
2094
- ucsur: boolean;
2095
- features: string[];
2096
- filename: string;
2097
- license: string;
2098
- name: string;
2099
- style: string;
2100
- version: string;
2101
- writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
2102
- links: {
2103
- fontfile?: string | undefined;
2104
- repo?: string | undefined;
2105
- webpage?: string | undefined;
2132
+ } & {
2133
+ "/fonts": {
2134
+ $get: {
2135
+ input: {};
2136
+ output: Record<string, {
2137
+ id: string;
2138
+ creator: string[];
2139
+ ligatures: boolean;
2140
+ ucsur: boolean;
2141
+ features: string[];
2142
+ filename: string;
2143
+ license: string;
2144
+ name: string;
2145
+ style: string;
2146
+ version: string;
2147
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
2148
+ links: {
2149
+ fontfile?: string | undefined;
2150
+ repo?: string | undefined;
2151
+ webpage?: string | undefined;
2152
+ };
2153
+ last_updated?: string | undefined;
2154
+ }>;
2155
+ };
2106
2156
  };
2107
- last_updated?: string | undefined;
2108
- }>> & import("hono").ToSchema<"get", "/languages", unknown, Record<string, {
2109
- id: string;
2110
- name: {
2111
- en: string;
2112
- tok?: string | undefined;
2113
- endonym?: string | undefined;
2157
+ } & {
2158
+ "/fonts/:font": {
2159
+ $get: {
2160
+ input: {
2161
+ param: {
2162
+ font: string;
2163
+ };
2164
+ };
2165
+ output: import('./utils').Result<{
2166
+ id: string;
2167
+ creator: string[];
2168
+ ligatures: boolean;
2169
+ ucsur: boolean;
2170
+ features: string[];
2171
+ filename: string;
2172
+ license: string;
2173
+ name: string;
2174
+ style: string;
2175
+ version: string;
2176
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
2177
+ links: {
2178
+ fontfile?: string | undefined;
2179
+ repo?: string | undefined;
2180
+ webpage?: string | undefined;
2181
+ };
2182
+ last_updated?: string | undefined;
2183
+ }>;
2184
+ };
2114
2185
  };
2115
- locale: string;
2116
- direction: "ltr" | "rtl";
2117
- }>> & import("hono").ToSchema<"get", "/languages/:language", {
2118
- param: {
2119
- language: string;
2186
+ } & {
2187
+ "/languages": {
2188
+ $get: {
2189
+ input: {};
2190
+ output: Record<string, {
2191
+ id: string;
2192
+ name: {
2193
+ en: string;
2194
+ tok?: string | undefined;
2195
+ endonym?: string | undefined;
2196
+ };
2197
+ locale: string;
2198
+ direction: "ltr" | "rtl";
2199
+ }>;
2200
+ };
2120
2201
  };
2121
- }, import("./utils").Result<{
2122
- id: string;
2123
- name: {
2124
- en: string;
2125
- tok?: string | undefined;
2126
- endonym?: string | undefined;
2202
+ } & {
2203
+ "/languages/:language": {
2204
+ $get: {
2205
+ input: {
2206
+ param: {
2207
+ language: string;
2208
+ };
2209
+ };
2210
+ output: import('./utils').Result<{
2211
+ id: string;
2212
+ name: {
2213
+ en: string;
2214
+ tok?: string | undefined;
2215
+ endonym?: string | undefined;
2216
+ };
2217
+ locale: string;
2218
+ direction: "ltr" | "rtl";
2219
+ }>;
2220
+ };
2127
2221
  };
2128
- locale: string;
2129
- direction: "ltr" | "rtl";
2130
- }>>, "/">;
2222
+ }, "/">;
2131
2223
  };
2132
2224
  export declare const fetchFile: <S extends z.ZodType<any, z.ZodTypeDef, any>>(version: ApiVersion, schema: S, filename: string) => Promise<z.SafeParseReturnType<z.input<S>, z.output<S>>>;