@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.
- package/LICENSE +674 -0
- package/dist/client.js +93 -88
- package/dist/index.js +2 -2
- package/dist/lib/client.d.ts +499 -319
- package/dist/lib/client.test.d.ts +3 -3
- package/dist/lib/index.d.ts +14 -11
- package/dist/lib/types.d.ts +1 -1
- package/dist/server/index.d.ts +541 -359
- package/dist/server/utils.d.ts +0 -9
- package/dist/server/v1/index.d.ts +534 -359
- package/dist/server/versioning.d.ts +554 -371
- package/dist/utils-GfUvEzD4.js +2905 -0
- package/dist/utils.js +1 -1
- package/package.json +14 -14
- package/dist/utils-CnA4OULt.js +0 -2777
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ClientResponse } from 'hono/client';
|
|
1
|
+
import { Fingerspelling, Font, Fonts, Language, Languages, LocalizedFingerspellingSign, LocalizedSign, LocalizedWord, Signs, Words } from './index';
|
|
3
2
|
import { client } from './client';
|
|
4
|
-
import {
|
|
3
|
+
import { ClientResponse } from 'hono/client';
|
|
4
|
+
import { Equal, Expect } from 'hono/utils/types';
|
|
5
5
|
|
|
6
6
|
type ResponseType<F> = F extends {
|
|
7
7
|
$get: (...args: any[]) => Promise<ClientResponse<infer O>>;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -402,7 +402,7 @@ export declare const Font: z.ZodObject<{
|
|
|
402
402
|
last_updated?: string | undefined;
|
|
403
403
|
}>;
|
|
404
404
|
export type Font = z.infer<typeof Font>;
|
|
405
|
-
export declare const Words: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
405
|
+
export declare const Words: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
|
|
406
406
|
id: z.ZodString;
|
|
407
407
|
author_verbatim: z.ZodString;
|
|
408
408
|
author_verbatim_source: z.ZodString;
|
|
@@ -482,6 +482,7 @@ export declare const Words: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
482
482
|
eo: string;
|
|
483
483
|
}>>;
|
|
484
484
|
usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
485
|
+
}, {
|
|
485
486
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
486
487
|
commentary: z.ZodString;
|
|
487
488
|
definition: z.ZodString;
|
|
@@ -513,7 +514,7 @@ export declare const Words: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
513
514
|
definition: string;
|
|
514
515
|
sp_etymology: string;
|
|
515
516
|
}>>;
|
|
516
|
-
}
|
|
517
|
+
}>, "strip", z.ZodTypeAny, {
|
|
517
518
|
id: string;
|
|
518
519
|
author_verbatim: string;
|
|
519
520
|
author_verbatim_source: string;
|
|
@@ -614,8 +615,12 @@ export declare const Words: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
614
615
|
}>>;
|
|
615
616
|
export type Words = z.infer<typeof Words>;
|
|
616
617
|
export type LocalizedWord = Words[string];
|
|
617
|
-
export declare const Signs: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
618
|
+
export declare const Signs: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
|
|
619
|
+
definition: z.ZodString;
|
|
618
620
|
id: z.ZodString;
|
|
621
|
+
is_two_handed: z.ZodBoolean;
|
|
622
|
+
new_gloss: z.ZodString;
|
|
623
|
+
old_gloss: z.ZodString;
|
|
619
624
|
etymology: z.ZodArray<z.ZodObject<{
|
|
620
625
|
language: z.ZodString;
|
|
621
626
|
sign: z.ZodOptional<z.ZodString>;
|
|
@@ -626,10 +631,6 @@ export declare const Signs: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
626
631
|
language: string;
|
|
627
632
|
sign?: string | undefined;
|
|
628
633
|
}>, "many">;
|
|
629
|
-
definition: z.ZodString;
|
|
630
|
-
is_two_handed: z.ZodBoolean;
|
|
631
|
-
new_gloss: z.ZodString;
|
|
632
|
-
old_gloss: z.ZodString;
|
|
633
634
|
signwriting: z.ZodObject<{
|
|
634
635
|
fsw: z.ZodString;
|
|
635
636
|
swu: z.ZodString;
|
|
@@ -650,6 +651,7 @@ export declare const Signs: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
650
651
|
gif?: string | undefined;
|
|
651
652
|
mp4?: string | undefined;
|
|
652
653
|
}>;
|
|
654
|
+
}, {
|
|
653
655
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
654
656
|
parameters: z.ZodObject<{
|
|
655
657
|
handshape: z.ZodOptional<z.ZodString>;
|
|
@@ -685,7 +687,7 @@ export declare const Signs: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
685
687
|
};
|
|
686
688
|
icons: string;
|
|
687
689
|
}>>;
|
|
688
|
-
}
|
|
690
|
+
}>, "strip", z.ZodTypeAny, {
|
|
689
691
|
id: string;
|
|
690
692
|
etymology: {
|
|
691
693
|
language: string;
|
|
@@ -742,8 +744,9 @@ export declare const Signs: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
742
744
|
}>>;
|
|
743
745
|
export type Signs = z.infer<typeof Signs>;
|
|
744
746
|
export type LocalizedSign = Signs[string];
|
|
745
|
-
export declare const Fingerspelling: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
747
|
+
export declare const Fingerspelling: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
|
|
746
748
|
id: z.ZodString;
|
|
749
|
+
is_two_handed: z.ZodBoolean;
|
|
747
750
|
etymology: z.ZodArray<z.ZodObject<{
|
|
748
751
|
language: z.ZodString;
|
|
749
752
|
sign: z.ZodString;
|
|
@@ -754,7 +757,6 @@ export declare const Fingerspelling: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
754
757
|
language: string;
|
|
755
758
|
sign: string;
|
|
756
759
|
}>, "many">;
|
|
757
|
-
is_two_handed: z.ZodBoolean;
|
|
758
760
|
signwriting: z.ZodObject<{
|
|
759
761
|
fsw: z.ZodString;
|
|
760
762
|
swu: z.ZodString;
|
|
@@ -775,6 +777,7 @@ export declare const Fingerspelling: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
775
777
|
gif?: string | undefined;
|
|
776
778
|
mp4?: string | undefined;
|
|
777
779
|
}>;
|
|
780
|
+
}, {
|
|
778
781
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
779
782
|
parameters: z.ZodObject<{
|
|
780
783
|
handshape: z.ZodOptional<z.ZodString>;
|
|
@@ -807,7 +810,7 @@ export declare const Fingerspelling: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
807
810
|
orientation?: string | undefined;
|
|
808
811
|
};
|
|
809
812
|
}>>;
|
|
810
|
-
}
|
|
813
|
+
}>, "strip", z.ZodTypeAny, {
|
|
811
814
|
id: string;
|
|
812
815
|
etymology: {
|
|
813
816
|
language: string;
|
package/dist/lib/types.d.ts
CHANGED