@cravery/core 0.0.16 → 0.0.18

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.
Files changed (50) hide show
  1. package/dist/types/ai/recipe.d.ts +2 -1
  2. package/dist/types/ai/recipe.d.ts.map +1 -1
  3. package/dist/types/ai/translation.d.ts +2 -1
  4. package/dist/types/ai/translation.d.ts.map +1 -1
  5. package/dist/types/core/asset.d.ts +2 -1
  6. package/dist/types/core/asset.d.ts.map +1 -1
  7. package/dist/types/core/settings.d.ts +4 -2
  8. package/dist/types/core/settings.d.ts.map +1 -1
  9. package/dist/types/iam/profile.d.ts +4 -2
  10. package/dist/types/iam/profile.d.ts.map +1 -1
  11. package/dist/types/iam/subscription.d.ts +4 -2
  12. package/dist/types/iam/subscription.d.ts.map +1 -1
  13. package/dist/types/iam/user.d.ts +2 -1
  14. package/dist/types/iam/user.d.ts.map +1 -1
  15. package/dist/types/moderation/moderation.d.ts +8 -4
  16. package/dist/types/moderation/moderation.d.ts.map +1 -1
  17. package/dist/types/recipe/equipment.d.ts +6 -3
  18. package/dist/types/recipe/equipment.d.ts.map +1 -1
  19. package/dist/types/recipe/filters.d.ts +2 -1
  20. package/dist/types/recipe/filters.d.ts.map +1 -1
  21. package/dist/types/recipe/ingredient.d.ts +10 -5
  22. package/dist/types/recipe/ingredient.d.ts.map +1 -1
  23. package/dist/types/recipe/instruction.d.ts +6 -3
  24. package/dist/types/recipe/instruction.d.ts.map +1 -1
  25. package/dist/types/recipe/nutrition.d.ts +2 -1
  26. package/dist/types/recipe/nutrition.d.ts.map +1 -1
  27. package/dist/types/recipe/recipe.d.ts +8 -4
  28. package/dist/types/recipe/recipe.d.ts.map +1 -1
  29. package/dist/types/recipe/temperature.d.ts +2 -1
  30. package/dist/types/recipe/temperature.d.ts.map +1 -1
  31. package/dist/types/report/report.d.ts +4 -2
  32. package/dist/types/report/report.d.ts.map +1 -1
  33. package/package.json +1 -1
  34. package/src/types/ai/recipe.ts +1 -1
  35. package/src/types/ai/translation.ts +1 -1
  36. package/src/types/core/asset.ts +1 -1
  37. package/src/types/core/settings.ts +2 -2
  38. package/src/types/iam/profile.ts +2 -2
  39. package/src/types/iam/subscription.ts +2 -2
  40. package/src/types/iam/user.ts +1 -1
  41. package/src/types/moderation/moderation.ts +4 -4
  42. package/src/types/recipe/equipment.ts +3 -3
  43. package/src/types/recipe/filters.ts +1 -1
  44. package/src/types/recipe/ingredient.ts +5 -5
  45. package/src/types/recipe/instruction.ts +3 -3
  46. package/src/types/recipe/nutrition.ts +1 -1
  47. package/src/types/recipe/recipe.ts +4 -4
  48. package/src/types/recipe/temperature.ts +1 -1
  49. package/src/types/report/report.ts +2 -2
  50. package/src/nul +0 -0
@@ -241,5 +241,6 @@ export declare const AIRecipeSchema: z.ZodObject<{
241
241
  } | undefined;
242
242
  tips?: string[] | undefined;
243
243
  }>;
244
- export type AIRecipe = z.infer<typeof AIRecipeSchema>;
244
+ export interface AIRecipe extends z.infer<typeof AIRecipeSchema> {
245
+ }
245
246
  //# sourceMappingURL=recipe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../../src/types/ai/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../../src/types/ai/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBzB,CAAC;AACH,MAAM,WAAW,QAAS,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC;CAAG"}
@@ -104,5 +104,6 @@ export declare const AIRecipeTranslationSchema: z.ZodObject<{
104
104
  }[] | undefined;
105
105
  tips?: string[] | undefined;
106
106
  }>;
107
- export type AIRecipeTranslation = z.infer<typeof AIRecipeTranslationSchema>;
107
+ export interface AIRecipeTranslation extends z.infer<typeof AIRecipeTranslationSchema> {
108
+ }
108
109
  //# sourceMappingURL=translation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../src/types/ai/translation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
1
+ {"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../src/types/ai/translation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAC;AACH,MAAM,WAAW,mBAAoB,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC;CAAG"}
@@ -15,5 +15,6 @@ export declare const AssetSchema: z.ZodObject<{
15
15
  imageUrl?: string | undefined;
16
16
  updatedAt?: any;
17
17
  }>;
18
- export type Asset = z.infer<typeof AssetSchema>;
18
+ export interface Asset extends z.infer<typeof AssetSchema> {
19
+ }
19
20
  //# sourceMappingURL=asset.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"asset.d.ts","sourceRoot":"","sources":["../../../src/types/core/asset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;EAKtB,CAAC;AACH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
1
+ {"version":3,"file":"asset.d.ts","sourceRoot":"","sources":["../../../src/types/core/asset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;EAKtB,CAAC;AACH,MAAM,WAAW,KAAM,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC;CAAG"}
@@ -15,7 +15,8 @@ export declare const NotificationSettingsSchema: z.ZodObject<{
15
15
  marketing: boolean;
16
16
  weeklyDigest: boolean;
17
17
  }>;
18
- export type NotificationSettings = z.infer<typeof NotificationSettingsSchema>;
18
+ export interface NotificationSettings extends z.infer<typeof NotificationSettingsSchema> {
19
+ }
19
20
  export declare const SettingsSchema: z.ZodObject<{
20
21
  id: z.ZodString;
21
22
  allergens: z.ZodArray<z.ZodEnum<["celery", "dairy", "eggs", "fish", "gluten", "lupin", "mustard", "nuts", "peanuts", "sesame", "shellfish", "soy", "sulfites"]>, "many">;
@@ -84,5 +85,6 @@ export declare const SettingsSchema: z.ZodObject<{
84
85
  createdAt?: any;
85
86
  updatedAt?: any;
86
87
  }>;
87
- export type Settings = z.infer<typeof SettingsSchema>;
88
+ export interface Settings extends z.infer<typeof SettingsSchema> {
89
+ }
88
90
  //# sourceMappingURL=settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/types/core/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAKrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAczB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/types/core/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAKrC,CAAC;AACH,MAAM,WAAW,oBAAqB,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC;CAAG;AAE3F,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAczB,CAAC;AACH,MAAM,WAAW,QAAS,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC;CAAG"}
@@ -30,7 +30,8 @@ export declare const ProfileSchema: z.ZodObject<{
30
30
  updatedAt?: any;
31
31
  bio?: string | undefined;
32
32
  }>;
33
- export type Profile = z.infer<typeof ProfileSchema>;
33
+ export interface Profile extends z.infer<typeof ProfileSchema> {
34
+ }
34
35
  export declare const ProfileStatsSchema: z.ZodObject<{
35
36
  followers: z.ZodNumber;
36
37
  following: z.ZodNumber;
@@ -53,5 +54,6 @@ export declare const ProfileStatsSchema: z.ZodObject<{
53
54
  following: number;
54
55
  recipes: number;
55
56
  }>;
56
- export type ProfileStats = z.infer<typeof ProfileStatsSchema>;
57
+ export interface ProfileStats extends z.infer<typeof ProfileStatsSchema> {
58
+ }
57
59
  //# sourceMappingURL=profile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../src/types/iam/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUxB,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;EAO7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../src/types/iam/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUxB,CAAC;AACH,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC;CAAG;AAEjE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;EAO7B,CAAC;AACH,MAAM,WAAW,YAAa,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC;CAAG"}
@@ -20,7 +20,8 @@ export declare const MemberSchema: z.ZodObject<{
20
20
  invitedAt?: unknown;
21
21
  joinedAt?: unknown;
22
22
  }>;
23
- export type Member = z.infer<typeof MemberSchema>;
23
+ export interface Member extends z.infer<typeof MemberSchema> {
24
+ }
24
25
  export declare const SubscriptionSchema: z.ZodObject<{
25
26
  expiresAt: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
26
27
  id: z.ZodString;
@@ -77,5 +78,6 @@ export declare const SubscriptionSchema: z.ZodObject<{
77
78
  joinedAt?: unknown;
78
79
  }[] | undefined;
79
80
  }>;
80
- export type Subscription = z.infer<typeof SubscriptionSchema>;
81
+ export interface Subscription extends z.infer<typeof SubscriptionSchema> {
82
+ }
81
83
  //# sourceMappingURL=subscription.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../src/types/iam/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;EAMvB,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../src/types/iam/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;EAMvB,CAAC;AACH,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC;CAAG;AAE/D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO7B,CAAC;AACH,MAAM,WAAW,YAAa,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC;CAAG"}
@@ -35,5 +35,6 @@ export declare const UserSchema: z.ZodObject<{
35
35
  updatedAt?: unknown;
36
36
  verified?: unknown;
37
37
  }>;
38
- export type User = z.infer<typeof UserSchema>;
38
+ export interface User extends z.infer<typeof UserSchema> {
39
+ }
39
40
  //# sourceMappingURL=user.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/types/iam/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWrB,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/types/iam/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWrB,CAAC;AACH,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC;CAAG"}
@@ -15,7 +15,8 @@ export declare const ModerationSuggestionSchema: z.ZodObject<{
15
15
  severity: "medium" | "low" | "high";
16
16
  suggestion: string;
17
17
  }>;
18
- export type ModerationSuggestion = z.infer<typeof ModerationSuggestionSchema>;
18
+ export interface ModerationSuggestion extends z.infer<typeof ModerationSuggestionSchema> {
19
+ }
19
20
  export declare const ModerationSchema: z.ZodObject<{
20
21
  assessedAt: z.ZodOptional<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>>;
21
22
  createdAt: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
@@ -76,7 +77,8 @@ export declare const ModerationSchema: z.ZodObject<{
76
77
  suggestions?: unknown;
77
78
  userId?: unknown;
78
79
  }>;
79
- export type Moderation = z.infer<typeof ModerationSchema>;
80
+ export interface Moderation extends z.infer<typeof ModerationSchema> {
81
+ }
80
82
  export declare const ModerateRecipeInputSchema: z.ZodObject<{
81
83
  moderationId: z.ZodString;
82
84
  recipeId: z.ZodString;
@@ -90,7 +92,8 @@ export declare const ModerateRecipeInputSchema: z.ZodObject<{
90
92
  recipeId: string;
91
93
  moderationId: string;
92
94
  }>;
93
- export type ModerateRecipeInput = z.infer<typeof ModerateRecipeInputSchema>;
95
+ export interface ModerateRecipeInput extends z.infer<typeof ModerateRecipeInputSchema> {
96
+ }
94
97
  export declare const ModerateRecipeOutputSchema: z.ZodObject<{
95
98
  autoApproved: z.ZodBoolean;
96
99
  autoRejected: z.ZodBoolean;
@@ -135,5 +138,6 @@ export declare const ModerateRecipeOutputSchema: z.ZodObject<{
135
138
  autoRejected: boolean;
136
139
  rejectionReason?: string | undefined;
137
140
  }>;
138
- export type ModerateRecipeOutput = z.infer<typeof ModerateRecipeOutputSchema>;
141
+ export interface ModerateRecipeOutput extends z.infer<typeof ModerateRecipeOutputSchema> {
142
+ }
139
143
  //# sourceMappingURL=moderation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"moderation.d.ts","sourceRoot":"","sources":["../../../src/types/moderation/moderation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAKrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC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H,MAAM,WAAW,oBAAqB,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC;CAAG"}
@@ -9,7 +9,8 @@ export declare const EquipmentMetaSchema: z.ZodObject<{
9
9
  slug: string;
10
10
  required?: boolean | undefined;
11
11
  }>;
12
- export type EquipmentMeta = z.infer<typeof EquipmentMetaSchema>;
12
+ export interface EquipmentMeta extends z.infer<typeof EquipmentMetaSchema> {
13
+ }
13
14
  export declare const EquipmentContentSchema: z.ZodObject<{
14
15
  name: z.ZodString;
15
16
  notes: z.ZodOptional<z.ZodString>;
@@ -23,7 +24,8 @@ export declare const EquipmentContentSchema: z.ZodObject<{
23
24
  name: string;
24
25
  notes?: string | undefined;
25
26
  }>;
26
- export type EquipmentContent = z.infer<typeof EquipmentContentSchema>;
27
+ export interface EquipmentContent extends z.infer<typeof EquipmentContentSchema> {
28
+ }
27
29
  export declare const EquipmentSchema: z.ZodObject<{
28
30
  name: z.ZodString;
29
31
  notes: z.ZodOptional<z.ZodString>;
@@ -40,5 +42,6 @@ export declare const EquipmentSchema: z.ZodObject<{
40
42
  required?: boolean | undefined;
41
43
  notes?: string | undefined;
42
44
  }>;
43
- export type Equipment = z.infer<typeof EquipmentSchema>;
45
+ export interface Equipment extends z.infer<typeof EquipmentSchema> {
46
+ }
44
47
  //# sourceMappingURL=equipment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"equipment.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/equipment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;EAG1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"equipment.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/equipment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AACH,MAAM,WAAW,aAAc,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC;CAAG;AAE7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAC;AACH,MAAM,WAAW,gBAAiB,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC;CAAG;AAEnF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;EAG1B,CAAC;AACH,MAAM,WAAW,SAAU,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC;CAAG"}
@@ -27,5 +27,6 @@ export declare const RecipeFiltersSchema: z.ZodObject<{
27
27
  spiciness?: "none" | "mild" | "medium" | "hot" | undefined;
28
28
  timeLimit?: number | undefined;
29
29
  }>;
30
- export type RecipeFilters = z.infer<typeof RecipeFiltersSchema>;
30
+ export interface RecipeFilters extends z.infer<typeof RecipeFiltersSchema> {
31
+ }
31
32
  //# sourceMappingURL=filters.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS9B,CAAC;AACH,MAAM,WAAW,aAAc,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC;CAAG"}
@@ -15,7 +15,8 @@ export declare const IngredientMetaSchema: z.ZodObject<{
15
15
  quantity?: number | undefined;
16
16
  unit?: "ml" | "l" | "tsp" | "tbsp" | "fl_oz" | "cup" | "pint" | "quart" | "gallon" | "mg" | "g" | "kg" | "oz" | "lb" | "piece" | "whole" | "half" | "quarter" | "slice" | "serving" | "clove" | "stalk" | "sprig" | "leaf" | "bunch" | "head" | "fillet" | "stick" | "sheet" | "can" | "package" | "bottle" | "jar" | "handful" | "pinch" | "dash" | "drop" | undefined;
17
17
  }>;
18
- export type IngredientMeta = z.infer<typeof IngredientMetaSchema>;
18
+ export interface IngredientMeta extends z.infer<typeof IngredientMetaSchema> {
19
+ }
19
20
  export declare const IngredientContentSchema: z.ZodObject<{
20
21
  name: z.ZodString;
21
22
  notes: z.ZodOptional<z.ZodString>;
@@ -29,7 +30,8 @@ export declare const IngredientContentSchema: z.ZodObject<{
29
30
  name: string;
30
31
  notes?: string | undefined;
31
32
  }>;
32
- export type IngredientContent = z.infer<typeof IngredientContentSchema>;
33
+ export interface IngredientContent extends z.infer<typeof IngredientContentSchema> {
34
+ }
33
35
  export declare const IngredientSchema: z.ZodObject<{
34
36
  name: z.ZodString;
35
37
  notes: z.ZodOptional<z.ZodString>;
@@ -52,7 +54,8 @@ export declare const IngredientSchema: z.ZodObject<{
52
54
  quantity?: number | undefined;
53
55
  unit?: "ml" | "l" | "tsp" | "tbsp" | "fl_oz" | "cup" | "pint" | "quart" | "gallon" | "mg" | "g" | "kg" | "oz" | "lb" | "piece" | "whole" | "half" | "quarter" | "slice" | "serving" | "clove" | "stalk" | "sprig" | "leaf" | "bunch" | "head" | "fillet" | "stick" | "sheet" | "can" | "package" | "bottle" | "jar" | "handful" | "pinch" | "dash" | "drop" | undefined;
54
56
  }>;
55
- export type Ingredient = z.infer<typeof IngredientSchema>;
57
+ export interface Ingredient extends z.infer<typeof IngredientSchema> {
58
+ }
56
59
  export declare const IngredientSectionMetaSchema: z.ZodObject<{
57
60
  ingredients: z.ZodArray<z.ZodObject<{
58
61
  quantity: z.ZodOptional<z.ZodNumber>;
@@ -88,7 +91,8 @@ export declare const IngredientSectionMetaSchema: z.ZodObject<{
88
91
  unit?: "ml" | "l" | "tsp" | "tbsp" | "fl_oz" | "cup" | "pint" | "quart" | "gallon" | "mg" | "g" | "kg" | "oz" | "lb" | "piece" | "whole" | "half" | "quarter" | "slice" | "serving" | "clove" | "stalk" | "sprig" | "leaf" | "bunch" | "head" | "fillet" | "stick" | "sheet" | "can" | "package" | "bottle" | "jar" | "handful" | "pinch" | "dash" | "drop" | undefined;
89
92
  }[];
90
93
  }>;
91
- export type IngredientSectionMeta = z.infer<typeof IngredientSectionMetaSchema>;
94
+ export interface IngredientSectionMeta extends z.infer<typeof IngredientSectionMetaSchema> {
95
+ }
92
96
  export declare const IngredientSectionContentSchema: z.ZodObject<{
93
97
  ingredients: z.ZodArray<z.ZodObject<{
94
98
  name: z.ZodString;
@@ -171,5 +175,6 @@ export declare const IngredientSectionSchema: z.ZodObject<{
171
175
  }[];
172
176
  title?: string | undefined;
173
177
  }>;
174
- export type IngredientSection = z.infer<typeof IngredientSectionSchema>;
178
+ export interface IngredientSection extends z.infer<typeof IngredientSectionSchema> {
179
+ }
175
180
  //# sourceMappingURL=ingredient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ingredient.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/ingredient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;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AAkB,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC;CAAG;AAErF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;EAG3B,CAAC;AACH,MAAM,WAAW,UAAW,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC;CAAG;AAEvE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGtC,CAAC;AACH,MAAM,WAAW,qBAAsB,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC;CAAG;AAE7F,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8BAA8B,CACtC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlC,CAAC;AACH,MAAM,WAAW,iBAAkB,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC;CAAG"}
@@ -27,7 +27,8 @@ export declare const InstructionMetaSchema: z.ZodObject<{
27
27
  unit: "celsius" | "fahrenheit";
28
28
  } | undefined;
29
29
  }>;
30
- export type InstructionMeta = z.infer<typeof InstructionMetaSchema>;
30
+ export interface InstructionMeta extends z.infer<typeof InstructionMetaSchema> {
31
+ }
31
32
  export declare const InstructionContentSchema: z.ZodObject<{
32
33
  step: z.ZodNumber;
33
34
  text: z.ZodString;
@@ -38,7 +39,8 @@ export declare const InstructionContentSchema: z.ZodObject<{
38
39
  text: string;
39
40
  step: number;
40
41
  }>;
41
- export type InstructionContent = z.infer<typeof InstructionContentSchema>;
42
+ export interface InstructionContent extends z.infer<typeof InstructionContentSchema> {
43
+ }
42
44
  export declare const InstructionSchema: z.ZodObject<{
43
45
  step: z.ZodNumber;
44
46
  text: z.ZodString;
@@ -70,5 +72,6 @@ export declare const InstructionSchema: z.ZodObject<{
70
72
  unit: "celsius" | "fahrenheit";
71
73
  } | undefined;
72
74
  }>;
73
- export type Instruction = z.infer<typeof InstructionSchema>;
75
+ export interface Instruction extends z.infer<typeof InstructionSchema> {
76
+ }
74
77
  //# sourceMappingURL=instruction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"instruction.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/instruction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"instruction.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/instruction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIhC,CAAC;AACH,MAAM,WAAW,eAAgB,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC;CAAG;AAEjF,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAC;AACH,MAAM,WAAW,kBAAmB,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC;CAAG;AAEvF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG5B,CAAC;AACH,MAAM,WAAW,WAAY,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC;CAAG"}
@@ -34,5 +34,6 @@ export declare const NutritionSchema: z.ZodObject<{
34
34
  sodium?: number | undefined;
35
35
  sugar?: number | undefined;
36
36
  }>;
37
- export type Nutrition = z.infer<typeof NutritionSchema>;
37
+ export interface Nutrition extends z.infer<typeof NutritionSchema> {
38
+ }
38
39
  //# sourceMappingURL=nutrition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nutrition.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/nutrition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"nutrition.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/nutrition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU1B,CAAC;AACH,MAAM,WAAW,SAAU,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC;CAAG"}
@@ -174,7 +174,8 @@ export declare const RecipeMetaSchema: z.ZodObject<{
174
174
  time?: unknown;
175
175
  updatedAt?: unknown;
176
176
  }>;
177
- export type RecipeMeta = z.infer<typeof RecipeMetaSchema>;
177
+ export interface RecipeMeta extends z.infer<typeof RecipeMetaSchema> {
178
+ }
178
179
  export declare const RecipeContentSchema: z.ZodObject<{
179
180
  description: z.ZodString;
180
181
  equipment: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -283,7 +284,8 @@ export declare const RecipeContentSchema: z.ZodObject<{
283
284
  }[] | undefined;
284
285
  tips?: string[] | undefined;
285
286
  }>;
286
- export type RecipeContent = z.infer<typeof RecipeContentSchema>;
287
+ export interface RecipeContent extends z.infer<typeof RecipeContentSchema> {
288
+ }
287
289
  export declare const RecipeSchema: z.ZodObject<{
288
290
  allergens: z.ZodArray<z.ZodEnum<["celery", "dairy", "eggs", "fish", "gluten", "lupin", "mustard", "nuts", "peanuts", "sesame", "shellfish", "soy", "sulfites"]>, "many">;
289
291
  confidence: z.ZodNumber;
@@ -493,7 +495,8 @@ export declare const RecipeSchema: z.ZodObject<{
493
495
  title?: unknown;
494
496
  updatedAt?: unknown;
495
497
  }>;
496
- export type Recipe = z.infer<typeof RecipeSchema>;
498
+ export interface Recipe extends z.infer<typeof RecipeSchema> {
499
+ }
497
500
  export declare const RecipeStatsSchema: z.ZodObject<{
498
501
  comments: z.ZodNumber;
499
502
  likes: z.ZodNumber;
@@ -519,5 +522,6 @@ export declare const RecipeStatsSchema: z.ZodObject<{
519
522
  saves: number;
520
523
  views: number;
521
524
  }>;
522
- export type RecipeStats = z.infer<typeof RecipeStatsSchema>;
525
+ export interface RecipeStats extends z.infer<typeof RecipeStatsSchema> {
526
+ }
523
527
  //# sourceMappingURL=recipe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA8BxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG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CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC;CAAG;AAEvE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ9B,CAAC;AACH,MAAM,WAAW,aAAc,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC;CAAG;AAE7E,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BvB,CAAC;AACH,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC;CAAG;AAE/D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;EAQ5B,CAAC;AACH,MAAM,WAAW,WAAY,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC;CAAG"}
@@ -9,5 +9,6 @@ export declare const TemperatureSchema: z.ZodObject<{
9
9
  value: number;
10
10
  unit: "celsius" | "fahrenheit";
11
11
  }>;
12
- export type Temperature = z.infer<typeof TemperatureSchema>;
12
+ export interface Temperature extends z.infer<typeof TemperatureSchema> {
13
+ }
13
14
  //# sourceMappingURL=temperature.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"temperature.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/temperature.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,iBAAiB;;;;;;;;;EAG5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"temperature.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/temperature.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,iBAAiB;;;;;;;;;EAG5B,CAAC;AACH,MAAM,WAAW,WAAY,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC;CAAG"}
@@ -15,7 +15,8 @@ export declare const ReportEvidenceSchema: z.ZodObject<{
15
15
  contentSnapshot?: string | undefined;
16
16
  imageHashes?: string[] | undefined;
17
17
  }>;
18
- export type ReportEvidence = z.infer<typeof ReportEvidenceSchema>;
18
+ export interface ReportEvidence extends z.infer<typeof ReportEvidenceSchema> {
19
+ }
19
20
  export declare const ReportSchema: z.ZodObject<{
20
21
  categories: z.ZodArray<z.ZodString, "many">;
21
22
  createdAt: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
@@ -91,5 +92,6 @@ export declare const ReportSchema: z.ZodObject<{
91
92
  updatedAt?: unknown;
92
93
  userId?: unknown;
93
94
  }>;
94
- export type Report = z.infer<typeof ReportSchema>;
95
+ export interface Report extends z.infer<typeof ReportSchema> {
96
+ }
95
97
  //# sourceMappingURL=report.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../src/types/report/report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAK/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBvB,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../src/types/report/report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAK/B,CAAC;AACH,MAAM,WAAW,cAAe,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC;CAAG;AAE/E,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBvB,CAAC;AACH,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC;CAAG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cravery/core",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "description": "Clean architecture foundation for Cravery",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -31,4 +31,4 @@ export const AIRecipeSchema = z.object({
31
31
  tips: z.array(z.string().max(500)).max(10).optional(),
32
32
  title: z.string().min(3).max(200),
33
33
  });
34
- export type AIRecipe = z.infer<typeof AIRecipeSchema>;
34
+ export interface AIRecipe extends z.infer<typeof AIRecipeSchema> {}
@@ -13,4 +13,4 @@ export const AIRecipeTranslationSchema = z.object({
13
13
  tips: z.array(z.string().max(500)).optional(),
14
14
  title: z.string().min(3).max(200),
15
15
  });
16
- export type AIRecipeTranslation = z.infer<typeof AIRecipeTranslationSchema>;
16
+ export interface AIRecipeTranslation extends z.infer<typeof AIRecipeTranslationSchema> {}
@@ -8,4 +8,4 @@ export const AssetSchema = z.object({
8
8
  imageUrl: z.string().optional(),
9
9
  updatedAt: z.custom<Timestamp>(),
10
10
  });
11
- export type Asset = z.infer<typeof AssetSchema>;
11
+ export interface Asset extends z.infer<typeof AssetSchema> {}
@@ -15,7 +15,7 @@ export const NotificationSettingsSchema = z.object({
15
15
  marketing: z.boolean(),
16
16
  weeklyDigest: z.boolean(),
17
17
  });
18
- export type NotificationSettings = z.infer<typeof NotificationSettingsSchema>;
18
+ export interface NotificationSettings extends z.infer<typeof NotificationSettingsSchema> {}
19
19
 
20
20
  export const SettingsSchema = z.object({
21
21
  id: z.string(),
@@ -32,4 +32,4 @@ export const SettingsSchema = z.object({
32
32
  createdAt: z.custom<Timestamp>(),
33
33
  updatedAt: z.custom<Timestamp>(),
34
34
  });
35
- export type Settings = z.infer<typeof SettingsSchema>;
35
+ export interface Settings extends z.infer<typeof SettingsSchema> {}
@@ -13,7 +13,7 @@ export const ProfileSchema = z.object({
13
13
  updatedAt: z.custom<Timestamp>(),
14
14
  verified: z.boolean(),
15
15
  });
16
- export type Profile = z.infer<typeof ProfileSchema>;
16
+ export interface Profile extends z.infer<typeof ProfileSchema> {}
17
17
 
18
18
  export const ProfileStatsSchema = z.object({
19
19
  followers: z.number().int().nonnegative(),
@@ -23,4 +23,4 @@ export const ProfileStatsSchema = z.object({
23
23
  saves: z.number().int().nonnegative(),
24
24
  updatedAt: z.number().int(),
25
25
  });
26
- export type ProfileStats = z.infer<typeof ProfileStatsSchema>;
26
+ export interface ProfileStats extends z.infer<typeof ProfileStatsSchema> {}
@@ -14,7 +14,7 @@ export const MemberSchema = z.object({
14
14
  invitedAt: z.custom<Timestamp>(),
15
15
  joinedAt: z.custom<Timestamp>().optional(),
16
16
  });
17
- export type Member = z.infer<typeof MemberSchema>;
17
+ export interface Member extends z.infer<typeof MemberSchema> {}
18
18
 
19
19
  export const SubscriptionSchema = z.object({
20
20
  expiresAt: z.custom<Timestamp>(),
@@ -24,4 +24,4 @@ export const SubscriptionSchema = z.object({
24
24
  tier: SubscriptionTierSchema,
25
25
  updatedAt: z.custom<Timestamp>(),
26
26
  });
27
- export type Subscription = z.infer<typeof SubscriptionSchema>;
27
+ export interface Subscription extends z.infer<typeof SubscriptionSchema> {}
@@ -14,4 +14,4 @@ export const UserSchema = z.object({
14
14
  updatedAt: z.custom<Timestamp>(),
15
15
  verified: z.boolean(),
16
16
  });
17
- export type User = z.infer<typeof UserSchema>;
17
+ export interface User extends z.infer<typeof UserSchema> {}
@@ -14,7 +14,7 @@ export const ModerationSuggestionSchema = z.object({
14
14
  severity: SeveritySchema,
15
15
  suggestion: z.string(),
16
16
  });
17
- export type ModerationSuggestion = z.infer<typeof ModerationSuggestionSchema>;
17
+ export interface ModerationSuggestion extends z.infer<typeof ModerationSuggestionSchema> {}
18
18
 
19
19
  export const ModerationSchema = z.object({
20
20
  assessedAt: z.custom<Timestamp>().optional(),
@@ -31,14 +31,14 @@ export const ModerationSchema = z.object({
31
31
  suggestions: z.array(ModerationSuggestionSchema).optional(),
32
32
  userId: z.string(),
33
33
  });
34
- export type Moderation = z.infer<typeof ModerationSchema>;
34
+ export interface Moderation extends z.infer<typeof ModerationSchema> {}
35
35
 
36
36
  export const ModerateRecipeInputSchema = z.object({
37
37
  moderationId: z.string(),
38
38
  recipeId: z.string(),
39
39
  userId: z.string(),
40
40
  });
41
- export type ModerateRecipeInput = z.infer<typeof ModerateRecipeInputSchema>;
41
+ export interface ModerateRecipeInput extends z.infer<typeof ModerateRecipeInputSchema> {}
42
42
 
43
43
  export const ModerateRecipeOutputSchema = z.object({
44
44
  autoApproved: z.boolean(),
@@ -47,4 +47,4 @@ export const ModerateRecipeOutputSchema = z.object({
47
47
  rejectionReason: z.string().optional(),
48
48
  suggestions: z.array(ModerationSuggestionSchema),
49
49
  });
50
- export type ModerateRecipeOutput = z.infer<typeof ModerateRecipeOutputSchema>;
50
+ export interface ModerateRecipeOutput extends z.infer<typeof ModerateRecipeOutputSchema> {}
@@ -5,17 +5,17 @@ export const EquipmentMetaSchema = z.object({
5
5
  required: z.boolean().optional(),
6
6
  slug: z.string().regex(SLUG_REGEX),
7
7
  });
8
- export type EquipmentMeta = z.infer<typeof EquipmentMetaSchema>;
8
+ export interface EquipmentMeta extends z.infer<typeof EquipmentMetaSchema> {}
9
9
 
10
10
  export const EquipmentContentSchema = z.object({
11
11
  name: z.string().min(1).max(100),
12
12
  notes: z.string().max(200).optional(),
13
13
  slug: z.string().regex(SLUG_REGEX),
14
14
  });
15
- export type EquipmentContent = z.infer<typeof EquipmentContentSchema>;
15
+ export interface EquipmentContent extends z.infer<typeof EquipmentContentSchema> {}
16
16
 
17
17
  export const EquipmentSchema = z.object({
18
18
  ...EquipmentMetaSchema.shape,
19
19
  ...EquipmentContentSchema.shape,
20
20
  });
21
- export type Equipment = z.infer<typeof EquipmentSchema>;
21
+ export interface Equipment extends z.infer<typeof EquipmentSchema> {}
@@ -17,4 +17,4 @@ export const RecipeFiltersSchema = z.object({
17
17
  spiciness: SpicinessSchema.optional(),
18
18
  timeLimit: z.number().int().min(5).max(300).optional(),
19
19
  });
20
- export type RecipeFilters = z.infer<typeof RecipeFiltersSchema>;
20
+ export interface RecipeFilters extends z.infer<typeof RecipeFiltersSchema> {}
@@ -8,26 +8,26 @@ export const IngredientMetaSchema = z.object({
8
8
  slug: z.string().regex(SLUG_REGEX),
9
9
  unit: UnitSchema.optional(),
10
10
  });
11
- export type IngredientMeta = z.infer<typeof IngredientMetaSchema>;
11
+ export interface IngredientMeta extends z.infer<typeof IngredientMetaSchema> {}
12
12
 
13
13
  export const IngredientContentSchema = z.object({
14
14
  name: z.string().min(1).max(100),
15
15
  notes: z.string().max(200).optional(),
16
16
  slug: z.string().regex(SLUG_REGEX),
17
17
  });
18
- export type IngredientContent = z.infer<typeof IngredientContentSchema>;
18
+ export interface IngredientContent extends z.infer<typeof IngredientContentSchema> {}
19
19
 
20
20
  export const IngredientSchema = z.object({
21
21
  ...IngredientMetaSchema.shape,
22
22
  ...IngredientContentSchema.shape,
23
23
  });
24
- export type Ingredient = z.infer<typeof IngredientSchema>;
24
+ export interface Ingredient extends z.infer<typeof IngredientSchema> {}
25
25
 
26
26
  export const IngredientSectionMetaSchema = z.object({
27
27
  ingredients: z.array(IngredientMetaSchema).min(1),
28
28
  slug: z.string().regex(SLUG_REGEX),
29
29
  });
30
- export type IngredientSectionMeta = z.infer<typeof IngredientSectionMetaSchema>;
30
+ export interface IngredientSectionMeta extends z.infer<typeof IngredientSectionMetaSchema> {}
31
31
 
32
32
  export const IngredientSectionContentSchema = z.object({
33
33
  ingredients: z.array(IngredientContentSchema).min(1),
@@ -43,4 +43,4 @@ export const IngredientSectionSchema = z.object({
43
43
  slug: z.string().regex(SLUG_REGEX),
44
44
  title: z.string().max(100).optional(),
45
45
  });
46
- export type IngredientSection = z.infer<typeof IngredientSectionSchema>;
46
+ export interface IngredientSection extends z.infer<typeof IngredientSectionSchema> {}
@@ -6,16 +6,16 @@ export const InstructionMetaSchema = z.object({
6
6
  step: z.number().int().positive(),
7
7
  temperature: TemperatureSchema.optional(),
8
8
  });
9
- export type InstructionMeta = z.infer<typeof InstructionMetaSchema>;
9
+ export interface InstructionMeta extends z.infer<typeof InstructionMetaSchema> {}
10
10
 
11
11
  export const InstructionContentSchema = z.object({
12
12
  step: z.number().int().positive(),
13
13
  text: z.string().min(1).max(1000),
14
14
  });
15
- export type InstructionContent = z.infer<typeof InstructionContentSchema>;
15
+ export interface InstructionContent extends z.infer<typeof InstructionContentSchema> {}
16
16
 
17
17
  export const InstructionSchema = z.object({
18
18
  ...InstructionMetaSchema.shape,
19
19
  ...InstructionContentSchema.shape,
20
20
  });
21
- export type Instruction = z.infer<typeof InstructionSchema>;
21
+ export interface Instruction extends z.infer<typeof InstructionSchema> {}
@@ -15,4 +15,4 @@ export const NutritionSchema = z.object({
15
15
  sodium: z.number().nonnegative().optional(),
16
16
  sugar: z.number().nonnegative().optional(),
17
17
  });
18
- export type Nutrition = z.infer<typeof NutritionSchema>;
18
+ export interface Nutrition extends z.infer<typeof NutritionSchema> {}
@@ -53,7 +53,7 @@ export const RecipeMetaSchema = z.object({
53
53
  time: z.number().int().min(1).max(1440),
54
54
  updatedAt: z.custom<Timestamp>(),
55
55
  });
56
- export type RecipeMeta = z.infer<typeof RecipeMetaSchema>;
56
+ export interface RecipeMeta extends z.infer<typeof RecipeMetaSchema> {}
57
57
 
58
58
  export const RecipeContentSchema = z.object({
59
59
  description: z.string().min(10).max(2000),
@@ -64,7 +64,7 @@ export const RecipeContentSchema = z.object({
64
64
  tips: z.array(z.string().max(500)).max(20).optional(),
65
65
  title: z.string().min(3).max(200),
66
66
  });
67
- export type RecipeContent = z.infer<typeof RecipeContentSchema>;
67
+ export interface RecipeContent extends z.infer<typeof RecipeContentSchema> {}
68
68
 
69
69
  export const RecipeSchema = z.object({
70
70
  allergens: z.array(AllergenSchema),
@@ -95,7 +95,7 @@ export const RecipeSchema = z.object({
95
95
  title: z.string().min(3).max(200),
96
96
  updatedAt: z.custom<Timestamp>(),
97
97
  });
98
- export type Recipe = z.infer<typeof RecipeSchema>;
98
+ export interface Recipe extends z.infer<typeof RecipeSchema> {}
99
99
 
100
100
  export const RecipeStatsSchema = z.object({
101
101
  comments: z.number().int().nonnegative(),
@@ -106,4 +106,4 @@ export const RecipeStatsSchema = z.object({
106
106
  updatedAt: z.number().int(),
107
107
  views: z.number().int().nonnegative(),
108
108
  });
109
- export type RecipeStats = z.infer<typeof RecipeStatsSchema>;
109
+ export interface RecipeStats extends z.infer<typeof RecipeStatsSchema> {}
@@ -5,4 +5,4 @@ export const TemperatureSchema = z.object({
5
5
  unit: TemperatureUnitSchema,
6
6
  value: z.number().min(-50).max(1000),
7
7
  });
8
- export type Temperature = z.infer<typeof TemperatureSchema>;
8
+ export interface Temperature extends z.infer<typeof TemperatureSchema> {}
@@ -13,7 +13,7 @@ export const ReportEvidenceSchema = z.object({
13
13
  contentSnapshot: z.string().optional(),
14
14
  imageHashes: z.array(z.string()).optional(),
15
15
  });
16
- export type ReportEvidence = z.infer<typeof ReportEvidenceSchema>;
16
+ export interface ReportEvidence extends z.infer<typeof ReportEvidenceSchema> {}
17
17
 
18
18
  export const ReportSchema = z.object({
19
19
  categories: z.array(z.string()),
@@ -35,4 +35,4 @@ export const ReportSchema = z.object({
35
35
  updatedAt: z.custom<Timestamp>(),
36
36
  userId: z.string(),
37
37
  });
38
- export type Report = z.infer<typeof ReportSchema>;
38
+ export interface Report extends z.infer<typeof ReportSchema> {}
package/src/nul DELETED
File without changes