@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,7 +1,7 @@
1
- import { Equal, Expect } from 'hono/utils/types';
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 { Fingerspelling, Font, Fonts, Language, Languages, LocalizedFingerspellingSign, LocalizedSign, LocalizedWord, Signs, Words } from '.';
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>>;
@@ -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
- }, "strip", z.ZodTypeAny, {
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
- }, "strip", z.ZodTypeAny, {
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
- }, "strip", z.ZodTypeAny, {
813
+ }>, "strip", z.ZodTypeAny, {
811
814
  id: string;
812
815
  etymology: {
813
816
  language: string;
@@ -1,4 +1,4 @@
1
- import { Font, LocalizedWord, ParametersTranslation, Sign } from '.';
1
+ import { Font, LocalizedWord, ParametersTranslation, Sign } from './index';
2
2
 
3
3
  export type WordRepresentations = LocalizedWord["representations"];
4
4
  export type WordAudio = LocalizedWord["audio"];