@cravery/core 0.0.19 → 0.0.20
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/dist/types/ai/recipe.d.ts +19 -1
- package/dist/types/ai/recipe.d.ts.map +1 -1
- package/dist/types/ai/recipe.js.map +1 -1
- package/dist/types/ai/translation.d.ts +9 -1
- package/dist/types/ai/translation.d.ts.map +1 -1
- package/dist/types/ai/translation.js.map +1 -1
- package/dist/types/core/asset.d.ts +7 -1
- package/dist/types/core/asset.d.ts.map +1 -1
- package/dist/types/core/asset.js.map +1 -1
- package/dist/types/core/settings.d.ts +24 -2
- package/dist/types/core/settings.d.ts.map +1 -1
- package/dist/types/core/settings.js.map +1 -1
- package/dist/types/iam/profile.d.ts +21 -2
- package/dist/types/iam/profile.d.ts.map +1 -1
- package/dist/types/iam/profile.js.map +1 -1
- package/dist/types/iam/subscription.d.ts +17 -2
- package/dist/types/iam/subscription.d.ts.map +1 -1
- package/dist/types/iam/subscription.js.map +1 -1
- package/dist/types/iam/user.d.ts +14 -1
- package/dist/types/iam/user.d.ts.map +1 -1
- package/dist/types/iam/user.js.map +1 -1
- package/dist/types/moderation/moderation.d.ts +36 -4
- package/dist/types/moderation/moderation.d.ts.map +1 -1
- package/dist/types/moderation/moderation.js.map +1 -1
- package/dist/types/recipe/equipment.d.ts +11 -3
- package/dist/types/recipe/equipment.d.ts.map +1 -1
- package/dist/types/recipe/equipment.js.map +1 -1
- package/dist/types/recipe/filters.d.ts +11 -1
- package/dist/types/recipe/filters.d.ts.map +1 -1
- package/dist/types/recipe/filters.js.map +1 -1
- package/dist/types/recipe/ingredient.d.ts +28 -6
- package/dist/types/recipe/ingredient.d.ts.map +1 -1
- package/dist/types/recipe/ingredient.js.map +1 -1
- package/dist/types/recipe/instruction.d.ts +12 -3
- package/dist/types/recipe/instruction.d.ts.map +1 -1
- package/dist/types/recipe/instruction.js.map +1 -1
- package/dist/types/recipe/nutrition.d.ts +11 -1
- package/dist/types/recipe/nutrition.d.ts.map +1 -1
- package/dist/types/recipe/nutrition.js +0 -4
- package/dist/types/recipe/nutrition.js.map +1 -1
- package/dist/types/recipe/recipe.d.ts +79 -4
- package/dist/types/recipe/recipe.d.ts.map +1 -1
- package/dist/types/recipe/recipe.js.map +1 -1
- package/dist/types/recipe/temperature.d.ts +5 -1
- package/dist/types/recipe/temperature.d.ts.map +1 -1
- package/dist/types/recipe/temperature.js.map +1 -1
- package/dist/types/report/report.d.ts +28 -2
- package/dist/types/report/report.d.ts.map +1 -1
- package/dist/types/report/report.js.map +1 -1
- package/package.json +1 -1
- package/src/types/ai/recipe.ts +30 -3
- package/src/types/ai/translation.ts +13 -2
- package/src/types/core/asset.ts +7 -1
- package/src/types/core/settings.ts +30 -4
- package/src/types/iam/profile.ts +23 -4
- package/src/types/iam/subscription.ts +20 -2
- package/src/types/iam/user.ts +14 -2
- package/src/types/moderation/moderation.ts +45 -8
- package/src/types/recipe/equipment.ts +16 -6
- package/src/types/recipe/filters.ts +17 -2
- package/src/types/recipe/ingredient.ts +39 -15
- package/src/types/recipe/instruction.ts +17 -7
- package/src/types/recipe/nutrition.ts +13 -2
- package/src/types/recipe/recipe.ts +97 -8
- package/src/types/recipe/temperature.ts +7 -3
- package/src/types/report/report.ts +33 -3
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
import { z } from "genkit";
|
|
2
|
+
import { type Allergen, type Cuisine, type DietaryTag, type Difficulty, type Equipment, type IngredientSection, type Instruction, type MealType, type Nutrition, type Spiciness } from "../recipe";
|
|
3
|
+
export interface AIRecipe {
|
|
4
|
+
allergens: Allergen[];
|
|
5
|
+
confidence: number;
|
|
6
|
+
cuisine: Cuisine;
|
|
7
|
+
description: string;
|
|
8
|
+
dietaryTags: DietaryTag[];
|
|
9
|
+
difficulty: Difficulty;
|
|
10
|
+
equipment?: Equipment[];
|
|
11
|
+
ingredientSections: IngredientSection[];
|
|
12
|
+
instructions: Instruction[];
|
|
13
|
+
mealTypes: MealType[];
|
|
14
|
+
nutrition?: Nutrition;
|
|
15
|
+
servings: number;
|
|
16
|
+
spiciness: Spiciness;
|
|
17
|
+
time: number;
|
|
18
|
+
tips?: string[];
|
|
19
|
+
title: string;
|
|
20
|
+
}
|
|
2
21
|
export declare const AIRecipeSchema: z.ZodObject<{
|
|
3
22
|
allergens: z.ZodArray<z.ZodEnum<["celery", "dairy", "eggs", "fish", "gluten", "lupin", "mustard", "nuts", "peanuts", "sesame", "shellfish", "soy", "sulfites"]>, "many">;
|
|
4
23
|
confidence: z.ZodNumber;
|
|
@@ -241,5 +260,4 @@ export declare const AIRecipeSchema: z.ZodObject<{
|
|
|
241
260
|
} | undefined;
|
|
242
261
|
tips?: string[] | undefined;
|
|
243
262
|
}>;
|
|
244
|
-
export type AIRecipe = z.infer<typeof AIRecipeSchema>;
|
|
245
263
|
//# 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,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../../src/types/ai/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAWL,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,QAAQ;IACvB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;IACxB,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IACxC,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipe.js","sourceRoot":"","sources":["../../../src/types/ai/recipe.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAC3B,
|
|
1
|
+
{"version":3,"file":"recipe.js","sourceRoot":"","sources":["../../../src/types/ai/recipe.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAC3B,sCAqBmB;AAqBN,QAAA,cAAc,GAAG,UAAC,CAAC,MAAM,CAAC;IACrC,SAAS,EAAE,UAAC,CAAC,KAAK,CAAC,uBAAc,CAAC;IAClC,UAAU,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACpC,OAAO,EAAE,sBAAa;IACtB,WAAW,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;IACzC,WAAW,EAAE,UAAC,CAAC,KAAK,CAAC,yBAAgB,CAAC;IACtC,UAAU,EAAE,yBAAgB;IAC5B,SAAS,EAAE,UAAC,CAAC,KAAK,CAAC,wBAAe,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,kBAAkB,EAAE,UAAC,CAAC,KAAK,CAAC,gCAAuB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;IACnE,YAAY,EAAE,UAAC,CAAC,KAAK,CAAC,0BAAiB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;IACvD,SAAS,EAAE,UAAC,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACzC,SAAS,EAAE,wBAAe,CAAC,QAAQ,EAAE;IACrC,QAAQ,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAC1C,SAAS,EAAE,wBAAe;IAC1B,IAAI,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;IACvC,IAAI,EAAE,UAAC,CAAC,KAAK,CAAC,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrD,KAAK,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;CAClC,CAA+B,CAAC"}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { z } from "genkit";
|
|
2
|
+
import { type EquipmentContent, type IngredientSectionContent, type InstructionContent } from "../recipe";
|
|
3
|
+
export interface AIRecipeTranslation {
|
|
4
|
+
description: string;
|
|
5
|
+
equipment?: EquipmentContent[];
|
|
6
|
+
ingredientSections: IngredientSectionContent[];
|
|
7
|
+
instructions: InstructionContent[];
|
|
8
|
+
tips?: string[];
|
|
9
|
+
title: string;
|
|
10
|
+
}
|
|
2
11
|
export declare const AIRecipeTranslationSchema: z.ZodObject<{
|
|
3
12
|
description: z.ZodString;
|
|
4
13
|
equipment: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -104,5 +113,4 @@ export declare const AIRecipeTranslationSchema: z.ZodObject<{
|
|
|
104
113
|
}[] | undefined;
|
|
105
114
|
tips?: string[] | undefined;
|
|
106
115
|
}>;
|
|
107
|
-
export type AIRecipeTranslation = z.infer<typeof AIRecipeTranslationSchema>;
|
|
108
116
|
//# 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,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../src/types/ai/translation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAIL,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACxB,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC/B,kBAAkB,EAAE,wBAAwB,EAAE,CAAC;IAC/C,YAAY,EAAE,kBAAkB,EAAE,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation.js","sourceRoot":"","sources":["../../../src/types/ai/translation.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAC3B,
|
|
1
|
+
{"version":3,"file":"translation.js","sourceRoot":"","sources":["../../../src/types/ai/translation.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAC3B,sCAOmB;AAWN,QAAA,yBAAyB,GAAG,UAAC,CAAC,MAAM,CAAC;IAChD,WAAW,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;IACzC,SAAS,EAAE,UAAC,CAAC,KAAK,CAAC,+BAAsB,CAAC,CAAC,QAAQ,EAAE;IACrD,kBAAkB,EAAE,UAAC,CAAC,KAAK,CAAC,uCAA8B,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAClE,YAAY,EAAE,UAAC,CAAC,KAAK,CAAC,iCAAwB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACtD,IAAI,EAAE,UAAC,CAAC,KAAK,CAAC,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC7C,KAAK,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;CAClC,CAA0C,CAAC"}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { z } from "genkit";
|
|
2
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
3
|
+
export interface Asset {
|
|
4
|
+
createdAt: Timestamp;
|
|
5
|
+
id: string;
|
|
6
|
+
imageUrl?: string;
|
|
7
|
+
updatedAt: Timestamp;
|
|
8
|
+
}
|
|
2
9
|
export declare const AssetSchema: z.ZodObject<{
|
|
3
10
|
createdAt: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
|
|
4
11
|
id: z.ZodString;
|
|
@@ -15,5 +22,4 @@ export declare const AssetSchema: z.ZodObject<{
|
|
|
15
22
|
imageUrl?: string | undefined;
|
|
16
23
|
updatedAt?: any;
|
|
17
24
|
}>;
|
|
18
|
-
export type Asset = z.infer<typeof AssetSchema>;
|
|
19
25
|
//# 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,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"asset.d.ts","sourceRoot":"","sources":["../../../src/types/core/asset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAG1D,MAAM,WAAW,KAAK;IACpB,SAAS,EAAE,SAAS,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;EAKtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset.js","sourceRoot":"","sources":["../../../src/types/core/asset.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAE3B,yCAA0C;
|
|
1
|
+
{"version":3,"file":"asset.js","sourceRoot":"","sources":["../../../src/types/core/asset.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAE3B,yCAA0C;AAS7B,QAAA,WAAW,GAAG,UAAC,CAAC,MAAM,CAAC;IAClC,SAAS,EAAE,UAAC,CAAC,MAAM,EAAa;IAChC,EAAE,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;IAChC,QAAQ,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,SAAS,EAAE,UAAC,CAAC,MAAM,EAAa;CACjC,CAAC,CAAC"}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { z } from "genkit";
|
|
2
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
3
|
+
import { type Locale, type MeasurementSystem, type Theme } from "./enums";
|
|
4
|
+
import { type Allergen, type Cuisine, type DietaryTag, type Spiciness, type TemperatureUnit } from "../recipe";
|
|
5
|
+
export interface NotificationSettings {
|
|
6
|
+
email: boolean;
|
|
7
|
+
push: boolean;
|
|
8
|
+
marketing: boolean;
|
|
9
|
+
weeklyDigest: boolean;
|
|
10
|
+
}
|
|
2
11
|
export declare const NotificationSettingsSchema: z.ZodObject<{
|
|
3
12
|
email: z.ZodBoolean;
|
|
4
13
|
push: z.ZodBoolean;
|
|
@@ -15,7 +24,21 @@ export declare const NotificationSettingsSchema: z.ZodObject<{
|
|
|
15
24
|
marketing: boolean;
|
|
16
25
|
weeklyDigest: boolean;
|
|
17
26
|
}>;
|
|
18
|
-
export
|
|
27
|
+
export interface Settings {
|
|
28
|
+
id: string;
|
|
29
|
+
allergens: Allergen[];
|
|
30
|
+
dietaryTags: DietaryTag[];
|
|
31
|
+
cuisines: Cuisine[];
|
|
32
|
+
spiciness?: Spiciness;
|
|
33
|
+
excludedIngredients: string[];
|
|
34
|
+
locale: Locale;
|
|
35
|
+
temperatureUnit: TemperatureUnit;
|
|
36
|
+
measurementSystem: MeasurementSystem;
|
|
37
|
+
theme: Theme;
|
|
38
|
+
notifications: NotificationSettings;
|
|
39
|
+
createdAt: Timestamp;
|
|
40
|
+
updatedAt: Timestamp;
|
|
41
|
+
}
|
|
19
42
|
export declare const SettingsSchema: z.ZodObject<{
|
|
20
43
|
id: z.ZodString;
|
|
21
44
|
allergens: z.ZodArray<z.ZodEnum<["celery", "dairy", "eggs", "fish", "gluten", "lupin", "mustard", "nuts", "peanuts", "sesame", "shellfish", "soy", "sulfites"]>, "many">;
|
|
@@ -84,5 +107,4 @@ export declare const SettingsSchema: z.ZodObject<{
|
|
|
84
107
|
createdAt?: any;
|
|
85
108
|
updatedAt?: any;
|
|
86
109
|
}>;
|
|
87
|
-
export type Settings = z.infer<typeof SettingsSchema>;
|
|
88
110
|
//# 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,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/types/core/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAsD,KAAK,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9H,OAAO,EAML,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,eAAe,EACrB,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAKK,CAAC;AAE7C,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,eAAe,CAAC;IACjC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,KAAK,EAAE,KAAK,CAAC;IACb,aAAa,EAAE,oBAAoB,CAAC;IACpC,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAczB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/types/core/settings.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAE3B,
|
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/types/core/settings.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAE3B,mCAA8H;AAC9H,sCAWmB;AASN,QAAA,0BAA0B,GAAG,UAAC,CAAC,MAAM,CAAC;IACjD,KAAK,EAAE,UAAC,CAAC,OAAO,EAAE;IAClB,IAAI,EAAE,UAAC,CAAC,OAAO,EAAE;IACjB,SAAS,EAAE,UAAC,CAAC,OAAO,EAAE;IACtB,YAAY,EAAE,UAAC,CAAC,OAAO,EAAE;CAC1B,CAA2C,CAAC;AAkBhC,QAAA,cAAc,GAAG,UAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,UAAC,CAAC,MAAM,EAAE;IACd,SAAS,EAAE,UAAC,CAAC,KAAK,CAAC,uBAAc,CAAC;IAClC,WAAW,EAAE,UAAC,CAAC,KAAK,CAAC,yBAAgB,CAAC;IACtC,QAAQ,EAAE,UAAC,CAAC,KAAK,CAAC,sBAAa,CAAC;IAChC,SAAS,EAAE,wBAAe,CAAC,QAAQ,EAAE;IACrC,mBAAmB,EAAE,UAAC,CAAC,KAAK,CAAC,UAAC,CAAC,MAAM,EAAE,CAAC;IACxC,MAAM,EAAE,oBAAY;IACpB,eAAe,EAAE,8BAAqB;IACtC,iBAAiB,EAAE,+BAAuB;IAC1C,KAAK,EAAE,mBAAW;IAClB,aAAa,EAAE,kCAA0B;IACzC,SAAS,EAAE,UAAC,CAAC,MAAM,EAAa;IAChC,SAAS,EAAE,UAAC,CAAC,MAAM,EAAa;CACjC,CAAC,CAAC"}
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import { z } from "genkit";
|
|
2
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
3
|
+
import { type ProfileStatus } from "./enums";
|
|
4
|
+
export interface Profile {
|
|
5
|
+
bio?: string;
|
|
6
|
+
createdAt: Timestamp;
|
|
7
|
+
id: string;
|
|
8
|
+
imageUrl?: string;
|
|
9
|
+
name: string;
|
|
10
|
+
public: boolean;
|
|
11
|
+
status: ProfileStatus;
|
|
12
|
+
updatedAt: Timestamp;
|
|
13
|
+
verified: boolean;
|
|
14
|
+
}
|
|
2
15
|
export declare const ProfileSchema: z.ZodObject<{
|
|
3
16
|
bio: z.ZodOptional<z.ZodString>;
|
|
4
17
|
createdAt: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
|
|
@@ -30,7 +43,14 @@ export declare const ProfileSchema: z.ZodObject<{
|
|
|
30
43
|
updatedAt?: any;
|
|
31
44
|
bio?: string | undefined;
|
|
32
45
|
}>;
|
|
33
|
-
export
|
|
46
|
+
export interface ProfileStats {
|
|
47
|
+
followers: number;
|
|
48
|
+
following: number;
|
|
49
|
+
likes: number;
|
|
50
|
+
recipes: number;
|
|
51
|
+
saves: number;
|
|
52
|
+
updatedAt: number;
|
|
53
|
+
}
|
|
34
54
|
export declare const ProfileStatsSchema: z.ZodObject<{
|
|
35
55
|
followers: z.ZodNumber;
|
|
36
56
|
following: z.ZodNumber;
|
|
@@ -53,5 +73,4 @@ export declare const ProfileStatsSchema: z.ZodObject<{
|
|
|
53
73
|
following: number;
|
|
54
74
|
recipes: number;
|
|
55
75
|
}>;
|
|
56
|
-
export type ProfileStats = z.infer<typeof ProfileStatsSchema>;
|
|
57
76
|
//# 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,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../src/types/iam/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAuB,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC;AAElE,MAAM,WAAW,OAAO;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,SAAS,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUxB,CAAC;AAEH,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;EAOK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../src/types/iam/profile.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAE3B,
|
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../src/types/iam/profile.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAE3B,mCAAkE;AAcrD,QAAA,aAAa,GAAG,UAAC,CAAC,MAAM,CAAC;IACpC,GAAG,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACnC,SAAS,EAAE,UAAC,CAAC,MAAM,EAAa;IAChC,EAAE,EAAE,UAAC,CAAC,MAAM,EAAE;IACd,QAAQ,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,IAAI,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;IAC/B,MAAM,EAAE,UAAC,CAAC,OAAO,EAAE;IACnB,MAAM,EAAE,2BAAmB;IAC3B,SAAS,EAAE,UAAC,CAAC,MAAM,EAAa;IAChC,QAAQ,EAAE,UAAC,CAAC,OAAO,EAAE;CACtB,CAAC,CAAC;AAWU,QAAA,kBAAkB,GAAG,UAAC,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACzC,SAAS,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACzC,KAAK,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACrC,OAAO,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACvC,KAAK,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACrC,SAAS,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC5B,CAAmC,CAAC"}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { z } from "genkit";
|
|
2
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
3
|
+
import { type SubscriptionRole, type SubscriptionStatus, type SubscriptionTier } from "./enums";
|
|
4
|
+
export interface Member {
|
|
5
|
+
userId: string;
|
|
6
|
+
role: SubscriptionRole;
|
|
7
|
+
status: SubscriptionStatus;
|
|
8
|
+
invitedAt: Timestamp;
|
|
9
|
+
joinedAt?: Timestamp;
|
|
10
|
+
}
|
|
2
11
|
export declare const MemberSchema: z.ZodObject<{
|
|
3
12
|
userId: z.ZodString;
|
|
4
13
|
role: z.ZodEnum<["member", "owner"]>;
|
|
@@ -20,7 +29,14 @@ export declare const MemberSchema: z.ZodObject<{
|
|
|
20
29
|
invitedAt?: unknown;
|
|
21
30
|
joinedAt?: unknown;
|
|
22
31
|
}>;
|
|
23
|
-
export
|
|
32
|
+
export interface Subscription {
|
|
33
|
+
expiresAt: Timestamp;
|
|
34
|
+
id: string;
|
|
35
|
+
members?: Member[];
|
|
36
|
+
providerId: string;
|
|
37
|
+
tier: SubscriptionTier;
|
|
38
|
+
updatedAt: Timestamp;
|
|
39
|
+
}
|
|
24
40
|
export declare const SubscriptionSchema: z.ZodObject<{
|
|
25
41
|
expiresAt: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
|
|
26
42
|
id: z.ZodString;
|
|
@@ -77,5 +93,4 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
|
77
93
|
joinedAt?: unknown;
|
|
78
94
|
}[] | undefined;
|
|
79
95
|
}>;
|
|
80
|
-
export type Subscription = z.infer<typeof SubscriptionSchema>;
|
|
81
96
|
//# 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,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../src/types/iam/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAIL,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACtB,MAAM,SAAS,CAAC;AAGjB,MAAM,WAAW,MAAM;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;EAMvB,CAAC;AAEH,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,SAAS,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,gBAAgB,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../src/types/iam/subscription.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAE3B,
|
|
1
|
+
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../src/types/iam/subscription.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAE3B,mCAOiB;AACjB,yCAAuD;AAU1C,QAAA,YAAY,GAAG,UAAC,CAAC,MAAM,CAAC;IACnC,MAAM,EAAE,UAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,8BAAsB;IAC5B,MAAM,EAAE,gCAAwB;IAChC,SAAS,EAAE,UAAC,CAAC,MAAM,EAAa;IAChC,QAAQ,EAAE,UAAC,CAAC,MAAM,EAAa,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAC;AAWU,QAAA,kBAAkB,GAAG,UAAC,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE,UAAC,CAAC,MAAM,EAAa;IAChC,EAAE,EAAE,UAAC,CAAC,MAAM,EAAE;IACd,OAAO,EAAE,UAAC,CAAC,KAAK,CAAC,oBAAY,CAAC,CAAC,GAAG,CAAC,gCAAuB,CAAC,CAAC,QAAQ,EAAE;IACtE,UAAU,EAAE,UAAC,CAAC,MAAM,EAAE;IACtB,IAAI,EAAE,8BAAsB;IAC5B,SAAS,EAAE,UAAC,CAAC,MAAM,EAAa;CACjC,CAAC,CAAC"}
|
package/dist/types/iam/user.d.ts
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
import { z } from "genkit";
|
|
2
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
3
|
+
import { type UserRole, type UserStatus } from "./enums";
|
|
4
|
+
export interface User {
|
|
5
|
+
createdAt: Timestamp;
|
|
6
|
+
deletedAt?: Timestamp;
|
|
7
|
+
email: string;
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
role: UserRole;
|
|
11
|
+
status: UserStatus;
|
|
12
|
+
subscriptionId?: string;
|
|
13
|
+
updatedAt: Timestamp;
|
|
14
|
+
verified: boolean;
|
|
15
|
+
}
|
|
2
16
|
export declare const UserSchema: z.ZodObject<{
|
|
3
17
|
createdAt: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
|
|
4
18
|
deletedAt: z.ZodOptional<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>>;
|
|
@@ -35,5 +49,4 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
35
49
|
updatedAt?: unknown;
|
|
36
50
|
verified?: unknown;
|
|
37
51
|
}>;
|
|
38
|
-
export type User = z.infer<typeof UserSchema>;
|
|
39
52
|
//# 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,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/types/iam/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAoC,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAE3F,MAAM,WAAW,IAAI;IACnB,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,UAAU,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../src/types/iam/user.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAE3B,
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../src/types/iam/user.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAE3B,mCAA2F;AAe9E,QAAA,UAAU,GAAG,UAAC,CAAC,MAAM,CAAC;IACjC,SAAS,EAAE,UAAC,CAAC,MAAM,EAAa;IAChC,SAAS,EAAE,UAAC,CAAC,MAAM,EAAa,CAAC,QAAQ,EAAE;IAC3C,KAAK,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;IACzB,EAAE,EAAE,UAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;IAC/B,IAAI,EAAE,sBAAc;IACpB,MAAM,EAAE,wBAAgB;IACxB,cAAc,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,SAAS,EAAE,UAAC,CAAC,MAAM,EAAa;IAChC,QAAQ,EAAE,UAAC,CAAC,OAAO,EAAE;CACtB,CAAC,CAAC"}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { z } from "genkit";
|
|
2
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
3
|
+
import { type Locale } from "../core";
|
|
4
|
+
import { type ModerationStatus, type Priority, type Severity, type SuggestionCategory } from "./enums";
|
|
5
|
+
export interface ModerationSuggestion {
|
|
6
|
+
category: SuggestionCategory;
|
|
7
|
+
field: string;
|
|
8
|
+
severity: Severity;
|
|
9
|
+
suggestion: string;
|
|
10
|
+
}
|
|
2
11
|
export declare const ModerationSuggestionSchema: z.ZodObject<{
|
|
3
12
|
category: z.ZodEnum<["missing_info", "unclear_instruction", "image_quality", "nutrition", "safety"]>;
|
|
4
13
|
field: z.ZodString;
|
|
@@ -15,7 +24,21 @@ export declare const ModerationSuggestionSchema: z.ZodObject<{
|
|
|
15
24
|
severity: "medium" | "low" | "high";
|
|
16
25
|
suggestion: string;
|
|
17
26
|
}>;
|
|
18
|
-
export
|
|
27
|
+
export interface Moderation {
|
|
28
|
+
assessedAt?: Timestamp;
|
|
29
|
+
createdAt: Timestamp;
|
|
30
|
+
id: string;
|
|
31
|
+
originalLocale: Locale;
|
|
32
|
+
priority: Priority;
|
|
33
|
+
qualityScore?: number;
|
|
34
|
+
recipeId: string;
|
|
35
|
+
rejectionReason?: string;
|
|
36
|
+
reviewedAt?: Timestamp;
|
|
37
|
+
reviewedBy?: string;
|
|
38
|
+
status: ModerationStatus;
|
|
39
|
+
suggestions?: ModerationSuggestion[];
|
|
40
|
+
userId: string;
|
|
41
|
+
}
|
|
19
42
|
export declare const ModerationSchema: z.ZodObject<{
|
|
20
43
|
assessedAt: z.ZodOptional<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>>;
|
|
21
44
|
createdAt: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
|
|
@@ -76,7 +99,11 @@ export declare const ModerationSchema: z.ZodObject<{
|
|
|
76
99
|
suggestions?: unknown;
|
|
77
100
|
userId?: unknown;
|
|
78
101
|
}>;
|
|
79
|
-
export
|
|
102
|
+
export interface ModerateRecipeInput {
|
|
103
|
+
moderationId: string;
|
|
104
|
+
recipeId: string;
|
|
105
|
+
userId: string;
|
|
106
|
+
}
|
|
80
107
|
export declare const ModerateRecipeInputSchema: z.ZodObject<{
|
|
81
108
|
moderationId: z.ZodString;
|
|
82
109
|
recipeId: z.ZodString;
|
|
@@ -90,7 +117,13 @@ export declare const ModerateRecipeInputSchema: z.ZodObject<{
|
|
|
90
117
|
recipeId: string;
|
|
91
118
|
moderationId: string;
|
|
92
119
|
}>;
|
|
93
|
-
export
|
|
120
|
+
export interface ModerateRecipeOutput {
|
|
121
|
+
autoApproved: boolean;
|
|
122
|
+
autoRejected: boolean;
|
|
123
|
+
qualityScore: number;
|
|
124
|
+
rejectionReason?: string;
|
|
125
|
+
suggestions: ModerationSuggestion[];
|
|
126
|
+
}
|
|
94
127
|
export declare const ModerateRecipeOutputSchema: z.ZodObject<{
|
|
95
128
|
autoApproved: z.ZodBoolean;
|
|
96
129
|
autoRejected: z.ZodBoolean;
|
|
@@ -135,5 +168,4 @@ export declare const ModerateRecipeOutputSchema: z.ZodObject<{
|
|
|
135
168
|
autoRejected: boolean;
|
|
136
169
|
rejectionReason?: string | undefined;
|
|
137
170
|
}>;
|
|
138
|
-
export type ModerateRecipeOutput = z.infer<typeof ModerateRecipeOutputSchema>;
|
|
139
171
|
//# 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,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"moderation.d.ts","sourceRoot":"","sources":["../../../src/types/moderation/moderation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAKL,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACxB,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAKK,CAAC;AAE7C,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,gBAAgB,CAAC;IACzB,WAAW,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACrC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc3B,CAAC;AAEH,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;EAIK,CAAC;AAE5C,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,oBAAoB,EAAE,CAAC;CACrC;AAED,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moderation.js","sourceRoot":"","sources":["../../../src/types/moderation/moderation.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAE3B,
|
|
1
|
+
{"version":3,"file":"moderation.js","sourceRoot":"","sources":["../../../src/types/moderation/moderation.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAE3B,kCAAoD;AACpD,mCASiB;AASJ,QAAA,0BAA0B,GAAG,UAAC,CAAC,MAAM,CAAC;IACjD,QAAQ,EAAE,gCAAwB;IAClC,KAAK,EAAE,UAAC,CAAC,MAAM,EAAE;IACjB,QAAQ,EAAE,sBAAc;IACxB,UAAU,EAAE,UAAC,CAAC,MAAM,EAAE;CACvB,CAA2C,CAAC;AAkBhC,QAAA,gBAAgB,GAAG,UAAC,CAAC,MAAM,CAAC;IACvC,UAAU,EAAE,UAAC,CAAC,MAAM,EAAa,CAAC,QAAQ,EAAE;IAC5C,SAAS,EAAE,UAAC,CAAC,MAAM,EAAa;IAChC,EAAE,EAAE,UAAC,CAAC,MAAM,EAAE;IACd,cAAc,EAAE,mBAAY;IAC5B,QAAQ,EAAE,sBAAc;IACxB,YAAY,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACjD,QAAQ,EAAE,UAAC,CAAC,MAAM,EAAE;IACpB,eAAe,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,UAAU,EAAE,UAAC,CAAC,MAAM,EAAa,CAAC,QAAQ,EAAE;IAC5C,UAAU,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,MAAM,EAAE,8BAAsB;IAC9B,WAAW,EAAE,UAAC,CAAC,KAAK,CAAC,kCAA0B,CAAC,CAAC,QAAQ,EAAE;IAC3D,MAAM,EAAE,UAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAQU,QAAA,yBAAyB,GAAG,UAAC,CAAC,MAAM,CAAC;IAChD,YAAY,EAAE,UAAC,CAAC,MAAM,EAAE;IACxB,QAAQ,EAAE,UAAC,CAAC,MAAM,EAAE;IACpB,MAAM,EAAE,UAAC,CAAC,MAAM,EAAE;CACnB,CAA0C,CAAC;AAU/B,QAAA,0BAA0B,GAAG,UAAC,CAAC,MAAM,CAAC;IACjD,YAAY,EAAE,UAAC,CAAC,OAAO,EAAE;IACzB,YAAY,EAAE,UAAC,CAAC,OAAO,EAAE;IACzB,YAAY,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACtC,eAAe,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,WAAW,EAAE,UAAC,CAAC,KAAK,CAAC,kCAA0B,CAAC;CACjD,CAA2C,CAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { z } from "genkit";
|
|
2
|
+
export interface EquipmentMeta {
|
|
3
|
+
required?: boolean;
|
|
4
|
+
slug: string;
|
|
5
|
+
}
|
|
2
6
|
export declare const EquipmentMetaSchema: z.ZodObject<{
|
|
3
7
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
4
8
|
slug: z.ZodString;
|
|
@@ -9,7 +13,11 @@ export declare const EquipmentMetaSchema: z.ZodObject<{
|
|
|
9
13
|
slug: string;
|
|
10
14
|
required?: boolean | undefined;
|
|
11
15
|
}>;
|
|
12
|
-
export
|
|
16
|
+
export interface EquipmentContent {
|
|
17
|
+
name: string;
|
|
18
|
+
notes?: string;
|
|
19
|
+
slug: string;
|
|
20
|
+
}
|
|
13
21
|
export declare const EquipmentContentSchema: z.ZodObject<{
|
|
14
22
|
name: z.ZodString;
|
|
15
23
|
notes: z.ZodOptional<z.ZodString>;
|
|
@@ -23,7 +31,8 @@ export declare const EquipmentContentSchema: z.ZodObject<{
|
|
|
23
31
|
name: string;
|
|
24
32
|
notes?: string | undefined;
|
|
25
33
|
}>;
|
|
26
|
-
export
|
|
34
|
+
export interface Equipment extends EquipmentMeta, EquipmentContent {
|
|
35
|
+
}
|
|
27
36
|
export declare const EquipmentSchema: z.ZodObject<{
|
|
28
37
|
name: z.ZodString;
|
|
29
38
|
notes: z.ZodOptional<z.ZodString>;
|
|
@@ -40,5 +49,4 @@ export declare const EquipmentSchema: z.ZodObject<{
|
|
|
40
49
|
required?: boolean | undefined;
|
|
41
50
|
notes?: string | undefined;
|
|
42
51
|
}>;
|
|
43
|
-
export type Equipment = z.infer<typeof EquipmentSchema>;
|
|
44
52
|
//# 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,QAAQ,CAAC;AAG3B,
|
|
1
|
+
{"version":3,"file":"equipment.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/equipment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;EAGK,CAAC;AAEtC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIK,CAAC;AAEzC,MAAM,WAAW,SAAU,SAAQ,aAAa,EAAE,gBAAgB;CAAG;AAErE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;EAGK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equipment.js","sourceRoot":"","sources":["../../../src/types/recipe/equipment.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAC3B,yCAA0C;
|
|
1
|
+
{"version":3,"file":"equipment.js","sourceRoot":"","sources":["../../../src/types/recipe/equipment.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAC3B,yCAA0C;AAO7B,QAAA,mBAAmB,GAAG,UAAC,CAAC,MAAM,CAAC;IAC1C,QAAQ,EAAE,UAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAChC,IAAI,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;CACnC,CAAoC,CAAC;AAQzB,QAAA,sBAAsB,GAAG,UAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAChC,KAAK,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACrC,IAAI,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;CACnC,CAAuC,CAAC;AAI5B,QAAA,eAAe,GAAG,UAAC,CAAC,MAAM,iCAClC,2BAAmB,CAAC,KAAK,GACzB,8BAAsB,CAAC,KAAK,EACA,CAAC"}
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
import { z } from "genkit";
|
|
2
|
+
import { type Cuisine, type DietaryTag, type Difficulty, type MealType, type Spiciness } from "./enums";
|
|
3
|
+
export interface RecipeFilters {
|
|
4
|
+
cuisines?: Cuisine[];
|
|
5
|
+
dietaryTags?: DietaryTag[];
|
|
6
|
+
difficulty?: Difficulty;
|
|
7
|
+
excludeIngredients?: string[];
|
|
8
|
+
includeIngredients?: string[];
|
|
9
|
+
mealTypes?: MealType[];
|
|
10
|
+
spiciness?: Spiciness;
|
|
11
|
+
timeLimit?: number;
|
|
12
|
+
}
|
|
2
13
|
export declare const RecipeFiltersSchema: z.ZodObject<{
|
|
3
14
|
cuisines: z.ZodOptional<z.ZodArray<z.ZodEnum<["african", "american", "brazilian", "british", "caribbean", "chinese", "egyptian", "emirati", "ethiopian", "filipino", "french", "fusion", "german", "greek", "indian", "indonesian", "italian", "japanese", "korean", "lebanese", "malaysian", "mexican", "moroccan", "pakistani", "persian", "russian", "saudi", "spanish", "sudanese", "thai", "turkish", "vietnamese", "other"]>, "many">>;
|
|
4
15
|
dietaryTags: z.ZodOptional<z.ZodArray<z.ZodEnum<["dairy_free", "egg_free", "gluten_free", "halal", "high_protein", "keto", "low_carb", "low_fat", "low_sodium", "low_sugar", "nut_free", "pescatarian", "soy_free", "vegan", "vegetarian"]>, "many">>;
|
|
@@ -27,5 +38,4 @@ export declare const RecipeFiltersSchema: z.ZodObject<{
|
|
|
27
38
|
spiciness?: "none" | "mild" | "medium" | "hot" | undefined;
|
|
28
39
|
timeLimit?: number | undefined;
|
|
29
40
|
}>;
|
|
30
|
-
export type RecipeFilters = z.infer<typeof RecipeFiltersSchema>;
|
|
31
41
|
//# 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,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAML,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,SAAS,EACf,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EASK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filters.js","sourceRoot":"","sources":["../../../src/types/recipe/filters.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAC3B,
|
|
1
|
+
{"version":3,"file":"filters.js","sourceRoot":"","sources":["../../../src/types/recipe/filters.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAC3B,mCAWiB;AAaJ,QAAA,mBAAmB,GAAG,UAAC,CAAC,MAAM,CAAC;IAC1C,QAAQ,EAAE,UAAC,CAAC,KAAK,CAAC,qBAAa,CAAC,CAAC,QAAQ,EAAE;IAC3C,WAAW,EAAE,UAAC,CAAC,KAAK,CAAC,wBAAgB,CAAC,CAAC,QAAQ,EAAE;IACjD,UAAU,EAAE,wBAAgB,CAAC,QAAQ,EAAE;IACvC,kBAAkB,EAAE,UAAC,CAAC,KAAK,CAAC,UAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAClD,kBAAkB,EAAE,UAAC,CAAC,KAAK,CAAC,UAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAClD,SAAS,EAAE,UAAC,CAAC,KAAK,CAAC,sBAAc,CAAC,CAAC,QAAQ,EAAE;IAC7C,SAAS,EAAE,uBAAe,CAAC,QAAQ,EAAE;IACrC,SAAS,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CACvD,CAAoC,CAAC"}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { z } from "genkit";
|
|
2
|
+
import { type Unit } from "./enums";
|
|
3
|
+
export interface IngredientMeta {
|
|
4
|
+
quantity?: number;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
slug: string;
|
|
7
|
+
unit?: Unit;
|
|
8
|
+
}
|
|
2
9
|
export declare const IngredientMetaSchema: z.ZodObject<{
|
|
3
10
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
4
11
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -15,7 +22,11 @@ export declare const IngredientMetaSchema: z.ZodObject<{
|
|
|
15
22
|
quantity?: number | undefined;
|
|
16
23
|
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
24
|
}>;
|
|
18
|
-
export
|
|
25
|
+
export interface IngredientContent {
|
|
26
|
+
name: string;
|
|
27
|
+
notes?: string;
|
|
28
|
+
slug: string;
|
|
29
|
+
}
|
|
19
30
|
export declare const IngredientContentSchema: z.ZodObject<{
|
|
20
31
|
name: z.ZodString;
|
|
21
32
|
notes: z.ZodOptional<z.ZodString>;
|
|
@@ -29,7 +40,8 @@ export declare const IngredientContentSchema: z.ZodObject<{
|
|
|
29
40
|
name: string;
|
|
30
41
|
notes?: string | undefined;
|
|
31
42
|
}>;
|
|
32
|
-
export
|
|
43
|
+
export interface Ingredient extends IngredientMeta, IngredientContent {
|
|
44
|
+
}
|
|
33
45
|
export declare const IngredientSchema: z.ZodObject<{
|
|
34
46
|
name: z.ZodString;
|
|
35
47
|
notes: z.ZodOptional<z.ZodString>;
|
|
@@ -52,7 +64,10 @@ export declare const IngredientSchema: z.ZodObject<{
|
|
|
52
64
|
quantity?: number | undefined;
|
|
53
65
|
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
66
|
}>;
|
|
55
|
-
export
|
|
67
|
+
export interface IngredientSectionMeta {
|
|
68
|
+
ingredients: IngredientMeta[];
|
|
69
|
+
slug: string;
|
|
70
|
+
}
|
|
56
71
|
export declare const IngredientSectionMetaSchema: z.ZodObject<{
|
|
57
72
|
ingredients: z.ZodArray<z.ZodObject<{
|
|
58
73
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -88,7 +103,11 @@ export declare const IngredientSectionMetaSchema: z.ZodObject<{
|
|
|
88
103
|
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
104
|
}[];
|
|
90
105
|
}>;
|
|
91
|
-
export
|
|
106
|
+
export interface IngredientSectionContent {
|
|
107
|
+
ingredients: IngredientContent[];
|
|
108
|
+
slug: string;
|
|
109
|
+
title?: string;
|
|
110
|
+
}
|
|
92
111
|
export declare const IngredientSectionContentSchema: z.ZodObject<{
|
|
93
112
|
ingredients: z.ZodArray<z.ZodObject<{
|
|
94
113
|
name: z.ZodString;
|
|
@@ -122,7 +141,11 @@ export declare const IngredientSectionContentSchema: z.ZodObject<{
|
|
|
122
141
|
}[];
|
|
123
142
|
title?: string | undefined;
|
|
124
143
|
}>;
|
|
125
|
-
export
|
|
144
|
+
export interface IngredientSection {
|
|
145
|
+
ingredients: Ingredient[];
|
|
146
|
+
slug: string;
|
|
147
|
+
title?: string;
|
|
148
|
+
}
|
|
126
149
|
export declare const IngredientSectionSchema: z.ZodObject<{
|
|
127
150
|
ingredients: z.ZodArray<z.ZodObject<{
|
|
128
151
|
name: z.ZodString;
|
|
@@ -171,5 +194,4 @@ export declare const IngredientSectionSchema: z.ZodObject<{
|
|
|
171
194
|
}[];
|
|
172
195
|
title?: string | undefined;
|
|
173
196
|
}>;
|
|
174
|
-
export type IngredientSection = z.infer<typeof IngredientSectionSchema>;
|
|
175
197
|
//# 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,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"ingredient.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/ingredient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAc,KAAK,IAAI,EAAE,MAAM,SAAS,CAAC;AAEhD,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAKK,CAAC;AAEvC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;EAIK,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,cAAc,EAAE,iBAAiB;CAAG;AAExE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;EAGK,CAAC;AAEnC,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGK,CAAC;AAE9C,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIK,CAAC;AAEjD,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingredient.js","sourceRoot":"","sources":["../../../src/types/recipe/ingredient.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAC3B,yCAA0C;AAC1C,
|
|
1
|
+
{"version":3,"file":"ingredient.js","sourceRoot":"","sources":["../../../src/types/recipe/ingredient.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAC3B,yCAA0C;AAC1C,mCAAgD;AASnC,QAAA,oBAAoB,GAAG,UAAC,CAAC,MAAM,CAAC;IAC3C,QAAQ,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC1C,QAAQ,EAAE,UAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAChC,IAAI,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;IAClC,IAAI,EAAE,kBAAU,CAAC,QAAQ,EAAE;CAC5B,CAAqC,CAAC;AAQ1B,QAAA,uBAAuB,GAAG,UAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAChC,KAAK,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACrC,IAAI,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;CACnC,CAAwC,CAAC;AAI7B,QAAA,gBAAgB,GAAG,UAAC,CAAC,MAAM,iCACnC,4BAAoB,CAAC,KAAK,GAC1B,+BAAuB,CAAC,KAAK,EACA,CAAC;AAOtB,QAAA,2BAA2B,GAAG,UAAC,CAAC,MAAM,CAAC;IAClD,WAAW,EAAE,UAAC,CAAC,KAAK,CAAC,4BAAoB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACjD,IAAI,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;CACnC,CAA4C,CAAC;AAQjC,QAAA,8BAA8B,GAAG,UAAC,CAAC,MAAM,CAAC;IACrD,WAAW,EAAE,UAAC,CAAC,KAAK,CAAC,+BAAuB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACpD,IAAI,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;IAClC,KAAK,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CACtC,CAA+C,CAAC;AAQpC,QAAA,uBAAuB,GAAG,UAAC,CAAC,MAAM,CAAC;IAC9C,WAAW,EAAE,UAAC,CAAC,KAAK,CAAC,wBAAgB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7C,IAAI,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;IAClC,KAAK,EAAE,UAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CACtC,CAAwC,CAAC"}
|