hh-contracts 0.0.39 → 0.0.40

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.
@@ -7,9 +7,12 @@ export const TranslationItemSchema = z.object({
7
7
  field: z.enum(TRANSLATABLE_FIELD_VALUES),
8
8
  text: z.string().min(1, { message: 'translationRequired' }),
9
9
  });
10
+ export type TTranslationItem = z.infer<typeof TranslationItemSchema>;
10
11
 
11
12
  export const TranslationsArraySchema = z.array(TranslationItemSchema);
13
+ export type TTranslationsArray = z.infer<typeof TranslationsArraySchema>;
12
14
 
13
15
  export const TranslationsSchema = z.object({
14
16
  translations: TranslationsArraySchema,
15
17
  });
18
+ export type TTranslations = z.infer<typeof TranslationsSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hh-contracts",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {