@cravery/core 0.0.8 → 0.0.10
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/lib/ai/flow.d.ts +8 -8
- package/dist/lib/api.d.ts +1 -1
- package/dist/lib/api.d.ts.map +1 -1
- package/dist/lib/api.js +2 -2
- package/dist/lib/api.js.map +1 -1
- package/dist/lib/repository/report.repository.d.ts.map +1 -1
- package/dist/lib/repository/report.repository.js.map +1 -1
- package/dist/lib/usage/usage.service.d.ts.map +1 -1
- package/dist/lib/usage/usage.service.js.map +1 -1
- package/dist/lib/utils/sanitize.d.ts +2 -2
- package/dist/lib/utils/sanitize.d.ts.map +1 -1
- package/dist/types/ai/filters.d.ts +27 -78
- package/dist/types/ai/filters.d.ts.map +1 -1
- package/dist/types/ai/filters.js +8 -8
- package/dist/types/ai/filters.js.map +1 -1
- package/dist/types/ai/flow.d.ts +323 -0
- package/dist/types/ai/flow.d.ts.map +1 -0
- package/dist/types/ai/flow.js +65 -0
- package/dist/types/ai/flow.js.map +1 -0
- package/dist/types/ai/index.d.ts +1 -1
- package/dist/types/ai/index.d.ts.map +1 -1
- package/dist/types/ai/index.js +1 -1
- package/dist/types/ai/index.js.map +1 -1
- package/dist/types/ai/recipe.d.ts +207 -141
- package/dist/types/ai/recipe.d.ts.map +1 -1
- package/dist/types/ai/recipe.js +14 -14
- package/dist/types/ai/recipe.js.map +1 -1
- package/dist/types/ai/translation.d.ts +89 -7
- package/dist/types/ai/translation.d.ts.map +1 -1
- package/dist/types/ai/translation.js +8 -8
- package/dist/types/ai/translation.js.map +1 -1
- package/dist/types/asset.d.ts +24 -12
- package/dist/types/asset.d.ts.map +1 -1
- package/dist/types/asset.js +9 -9
- package/dist/types/asset.js.map +1 -1
- package/dist/types/enums/allergen.d.ts +2 -16
- package/dist/types/enums/allergen.d.ts.map +1 -1
- package/dist/types/enums/allergen.js +2 -2
- package/dist/types/enums/allergen.js.map +1 -1
- package/dist/types/enums/cuisine.d.ts +2 -36
- package/dist/types/enums/cuisine.d.ts.map +1 -1
- package/dist/types/enums/cuisine.js +2 -2
- package/dist/types/enums/cuisine.js.map +1 -1
- package/dist/types/enums/dietary_tag.d.ts +2 -18
- package/dist/types/enums/dietary_tag.d.ts.map +1 -1
- package/dist/types/enums/dietary_tag.js +2 -2
- package/dist/types/enums/dietary_tag.js.map +1 -1
- package/dist/types/enums/difficulty.d.ts +2 -7
- package/dist/types/enums/difficulty.d.ts.map +1 -1
- package/dist/types/enums/difficulty.js +2 -2
- package/dist/types/enums/difficulty.js.map +1 -1
- package/dist/types/enums/image_type.d.ts +2 -5
- package/dist/types/enums/image_type.d.ts.map +1 -1
- package/dist/types/enums/image_type.js +2 -2
- package/dist/types/enums/image_type.js.map +1 -1
- package/dist/types/enums/locale.d.ts +2 -8
- package/dist/types/enums/locale.d.ts.map +1 -1
- package/dist/types/enums/locale.js +2 -2
- package/dist/types/enums/locale.js.map +1 -1
- package/dist/types/enums/meal_type.d.ts +2 -11
- package/dist/types/enums/meal_type.d.ts.map +1 -1
- package/dist/types/enums/meal_type.js +2 -2
- package/dist/types/enums/meal_type.js.map +1 -1
- package/dist/types/enums/moderation_status.d.ts +2 -6
- package/dist/types/enums/moderation_status.d.ts.map +1 -1
- package/dist/types/enums/moderation_status.js +2 -2
- package/dist/types/enums/moderation_status.js.map +1 -1
- package/dist/types/enums/priority.d.ts +2 -6
- package/dist/types/enums/priority.d.ts.map +1 -1
- package/dist/types/enums/priority.js +2 -2
- package/dist/types/enums/priority.js.map +1 -1
- package/dist/types/enums/profile_status.d.ts +2 -7
- package/dist/types/enums/profile_status.d.ts.map +1 -1
- package/dist/types/enums/profile_status.js +2 -2
- package/dist/types/enums/profile_status.js.map +1 -1
- package/dist/types/enums/recipe_source.d.ts +2 -7
- package/dist/types/enums/recipe_source.d.ts.map +1 -1
- package/dist/types/enums/recipe_source.js +2 -2
- package/dist/types/enums/recipe_source.js.map +1 -1
- package/dist/types/enums/recipe_status.d.ts +2 -10
- package/dist/types/enums/recipe_status.d.ts.map +1 -1
- package/dist/types/enums/recipe_status.js +2 -2
- package/dist/types/enums/recipe_status.js.map +1 -1
- package/dist/types/enums/role.d.ts +2 -8
- package/dist/types/enums/role.d.ts.map +1 -1
- package/dist/types/enums/role.js +2 -2
- package/dist/types/enums/role.js.map +1 -1
- package/dist/types/enums/severity.d.ts +2 -6
- package/dist/types/enums/severity.d.ts.map +1 -1
- package/dist/types/enums/severity.js +2 -2
- package/dist/types/enums/severity.js.map +1 -1
- package/dist/types/enums/spiciness.d.ts +2 -7
- package/dist/types/enums/spiciness.d.ts.map +1 -1
- package/dist/types/enums/spiciness.js +2 -2
- package/dist/types/enums/spiciness.js.map +1 -1
- package/dist/types/enums/subscription_tier.d.ts +2 -6
- package/dist/types/enums/subscription_tier.d.ts.map +1 -1
- package/dist/types/enums/subscription_tier.js +2 -2
- package/dist/types/enums/subscription_tier.js.map +1 -1
- package/dist/types/enums/suggestion_category.d.ts +2 -8
- package/dist/types/enums/suggestion_category.d.ts.map +1 -1
- package/dist/types/enums/suggestion_category.js +2 -2
- package/dist/types/enums/suggestion_category.js.map +1 -1
- package/dist/types/enums/temperature_unit.d.ts +2 -5
- package/dist/types/enums/temperature_unit.d.ts.map +1 -1
- package/dist/types/enums/temperature_unit.js +2 -2
- package/dist/types/enums/temperature_unit.js.map +1 -1
- package/dist/types/enums/unit.d.ts +2 -40
- package/dist/types/enums/unit.d.ts.map +1 -1
- package/dist/types/enums/unit.js +2 -2
- package/dist/types/enums/unit.js.map +1 -1
- package/dist/types/enums/url_type.d.ts +2 -10
- package/dist/types/enums/url_type.d.ts.map +1 -1
- package/dist/types/enums/url_type.js +2 -2
- package/dist/types/enums/url_type.js.map +1 -1
- package/dist/types/enums/user_status.d.ts +2 -7
- package/dist/types/enums/user_status.d.ts.map +1 -1
- package/dist/types/enums/user_status.js +2 -2
- package/dist/types/enums/user_status.js.map +1 -1
- package/dist/types/iam/profile.d.ts +57 -13
- package/dist/types/iam/profile.d.ts.map +1 -1
- package/dist/types/iam/profile.js +18 -18
- package/dist/types/iam/profile.js.map +1 -1
- package/dist/types/iam/subscription.d.ts +71 -33
- package/dist/types/iam/subscription.d.ts.map +1 -1
- package/dist/types/iam/subscription.js +13 -13
- package/dist/types/iam/subscription.js.map +1 -1
- package/dist/types/iam/user.d.ts +46 -20
- package/dist/types/iam/user.d.ts.map +1 -1
- package/dist/types/iam/user.js +10 -10
- package/dist/types/iam/user.js.map +1 -1
- package/dist/types/moderation.d.ts +132 -65
- package/dist/types/moderation.d.ts.map +1 -1
- package/dist/types/moderation.js +25 -25
- package/dist/types/moderation.js.map +1 -1
- package/dist/types/recipe/equipment.d.ts +28 -4
- package/dist/types/recipe/equipment.d.ts.map +1 -1
- package/dist/types/recipe/equipment.js +9 -9
- package/dist/types/recipe/equipment.js.map +1 -1
- package/dist/types/recipe/ingredient.d.ts +132 -166
- package/dist/types/recipe/ingredient.d.ts.map +1 -1
- package/dist/types/recipe/ingredient.js +21 -21
- package/dist/types/recipe/ingredient.js.map +1 -1
- package/dist/types/recipe/instruction.d.ts +56 -14
- package/dist/types/recipe/instruction.d.ts.map +1 -1
- package/dist/types/recipe/instruction.js +8 -8
- package/dist/types/recipe/instruction.js.map +1 -1
- package/dist/types/recipe/nutrition.d.ts +22 -2
- package/dist/types/recipe/nutrition.d.ts.map +1 -1
- package/dist/types/recipe/nutrition.js +11 -11
- package/dist/types/recipe/nutrition.js.map +1 -1
- package/dist/types/recipe/recipe.d.ts +452 -352
- package/dist/types/recipe/recipe.d.ts.map +1 -1
- package/dist/types/recipe/recipe.js +53 -53
- package/dist/types/recipe/recipe.js.map +1 -1
- package/dist/types/recipe/temperature.d.ts +9 -6
- package/dist/types/recipe/temperature.d.ts.map +1 -1
- package/dist/types/recipe/temperature.js +3 -3
- package/dist/types/recipe/temperature.js.map +1 -1
- package/dist/types/report.d.ts +101 -65
- package/dist/types/report.d.ts.map +1 -1
- package/dist/types/report.js +24 -24
- package/dist/types/report.js.map +1 -1
- package/dist/types/repository.d.ts +2 -5
- package/dist/types/repository.d.ts.map +1 -1
- package/dist/types/repository.js +2 -2
- package/dist/types/repository.js.map +1 -1
- package/dist/types/settings.d.ts +75 -109
- package/dist/types/settings.d.ts.map +1 -1
- package/dist/types/settings.js +16 -16
- package/dist/types/settings.js.map +1 -1
- package/package.json +2 -3
- package/src/config/limits.ts +41 -41
- package/src/lib/api.ts +1 -1
- package/src/lib/repository/equipment.repository.ts +93 -93
- package/src/lib/repository/ingredient.repository.ts +93 -93
- package/src/lib/repository/recipe-queue.repository.ts +49 -49
- package/src/lib/repository/recipe.repository.ts +51 -51
- package/src/lib/repository/report.repository.ts +85 -79
- package/src/lib/usage/index.ts +1 -1
- package/src/lib/usage/usage.service.ts +189 -187
- package/src/lib/utils/sanitize.ts +1 -1
- package/src/lib/utils/slug.ts +33 -33
- package/src/types/ai/filters.ts +1 -1
- package/src/types/ai/flow.ts +82 -0
- package/src/types/ai/index.ts +1 -1
- package/src/types/ai/recipe.ts +1 -1
- package/src/types/ai/translation.ts +1 -1
- package/src/types/asset.ts +19 -19
- package/src/types/enums/allergen.ts +1 -1
- package/src/types/enums/cuisine.ts +1 -1
- package/src/types/enums/dietary_tag.ts +1 -1
- package/src/types/enums/difficulty.ts +1 -1
- package/src/types/enums/image_type.ts +1 -1
- package/src/types/enums/locale.ts +1 -1
- package/src/types/enums/meal_type.ts +1 -1
- package/src/types/enums/moderation_status.ts +1 -1
- package/src/types/enums/priority.ts +1 -1
- package/src/types/enums/profile_status.ts +1 -1
- package/src/types/enums/recipe_source.ts +1 -1
- package/src/types/enums/recipe_status.ts +1 -1
- package/src/types/enums/role.ts +1 -1
- package/src/types/enums/severity.ts +1 -1
- package/src/types/enums/spiciness.ts +1 -1
- package/src/types/enums/subscription_tier.ts +1 -1
- package/src/types/enums/suggestion_category.ts +1 -1
- package/src/types/enums/temperature_unit.ts +1 -1
- package/src/types/enums/unit.ts +1 -1
- package/src/types/enums/url_type.ts +1 -1
- package/src/types/enums/user_status.ts +1 -1
- package/src/types/iam/profile.ts +16 -4
- package/src/types/iam/subscription.ts +1 -1
- package/src/types/iam/user.ts +21 -4
- package/src/types/moderation.ts +29 -3
- package/src/types/recipe/equipment.ts +1 -1
- package/src/types/recipe/ingredient.ts +1 -1
- package/src/types/recipe/instruction.ts +1 -1
- package/src/types/recipe/nutrition.ts +1 -1
- package/src/types/recipe/recipe.ts +39 -3
- package/src/types/recipe/temperature.ts +1 -1
- package/src/types/report.ts +90 -70
- package/src/types/repository.ts +1 -1
- package/src/types/settings.ts +1 -1
- package/dist/config/credits.d.ts +0 -2
- package/dist/config/credits.d.ts.map +0 -1
- package/dist/config/credits.js +0 -5
- package/dist/config/credits.js.map +0 -1
- package/dist/enums/allergen.d.ts +0 -19
- package/dist/enums/allergen.d.ts.map +0 -1
- package/dist/enums/allergen.js +0 -21
- package/dist/enums/allergen.js.map +0 -1
- package/dist/enums/cuisine.d.ts +0 -39
- package/dist/enums/cuisine.d.ts.map +0 -1
- package/dist/enums/cuisine.js +0 -41
- package/dist/enums/cuisine.js.map +0 -1
- package/dist/enums/dietary_tag.d.ts +0 -21
- package/dist/enums/dietary_tag.d.ts.map +0 -1
- package/dist/enums/dietary_tag.js +0 -23
- package/dist/enums/dietary_tag.js.map +0 -1
- package/dist/enums/difficulty.d.ts +0 -10
- package/dist/enums/difficulty.d.ts.map +0 -1
- package/dist/enums/difficulty.js +0 -12
- package/dist/enums/difficulty.js.map +0 -1
- package/dist/enums/image_type.d.ts +0 -8
- package/dist/enums/image_type.d.ts.map +0 -1
- package/dist/enums/image_type.js +0 -7
- package/dist/enums/image_type.js.map +0 -1
- package/dist/enums/index.d.ts +0 -22
- package/dist/enums/index.d.ts.map +0 -1
- package/dist/enums/index.js +0 -38
- package/dist/enums/index.js.map +0 -1
- package/dist/enums/locale.d.ts +0 -11
- package/dist/enums/locale.d.ts.map +0 -1
- package/dist/enums/locale.js +0 -7
- package/dist/enums/locale.js.map +0 -1
- package/dist/enums/meal_type.d.ts +0 -14
- package/dist/enums/meal_type.d.ts.map +0 -1
- package/dist/enums/meal_type.js +0 -16
- package/dist/enums/meal_type.js.map +0 -1
- package/dist/enums/moderation_status.d.ts +0 -9
- package/dist/enums/moderation_status.d.ts.map +0 -1
- package/dist/enums/moderation_status.js +0 -11
- package/dist/enums/moderation_status.js.map +0 -1
- package/dist/enums/priority.d.ts +0 -9
- package/dist/enums/priority.d.ts.map +0 -1
- package/dist/enums/priority.js +0 -7
- package/dist/enums/priority.js.map +0 -1
- package/dist/enums/profile_status.d.ts +0 -10
- package/dist/enums/profile_status.d.ts.map +0 -1
- package/dist/enums/profile_status.js +0 -12
- package/dist/enums/profile_status.js.map +0 -1
- package/dist/enums/recipe_source.d.ts +0 -10
- package/dist/enums/recipe_source.d.ts.map +0 -1
- package/dist/enums/recipe_source.js +0 -7
- package/dist/enums/recipe_source.js.map +0 -1
- package/dist/enums/recipe_status.d.ts +0 -10
- package/dist/enums/recipe_status.d.ts.map +0 -1
- package/dist/enums/recipe_status.js +0 -12
- package/dist/enums/recipe_status.js.map +0 -1
- package/dist/enums/role.d.ts +0 -11
- package/dist/enums/role.d.ts.map +0 -1
- package/dist/enums/role.js +0 -13
- package/dist/enums/role.js.map +0 -1
- package/dist/enums/severity.d.ts +0 -9
- package/dist/enums/severity.d.ts.map +0 -1
- package/dist/enums/severity.js +0 -7
- package/dist/enums/severity.js.map +0 -1
- package/dist/enums/spiciness.d.ts +0 -10
- package/dist/enums/spiciness.d.ts.map +0 -1
- package/dist/enums/spiciness.js +0 -7
- package/dist/enums/spiciness.js.map +0 -1
- package/dist/enums/status.d.ts +0 -11
- package/dist/enums/status.d.ts.map +0 -1
- package/dist/enums/status.js +0 -13
- package/dist/enums/status.js.map +0 -1
- package/dist/enums/subscription_tier.d.ts +0 -8
- package/dist/enums/subscription_tier.d.ts.map +0 -1
- package/dist/enums/subscription_tier.js +0 -6
- package/dist/enums/subscription_tier.js.map +0 -1
- package/dist/enums/suggestion_category.d.ts +0 -11
- package/dist/enums/suggestion_category.d.ts.map +0 -1
- package/dist/enums/suggestion_category.js +0 -13
- package/dist/enums/suggestion_category.js.map +0 -1
- package/dist/enums/temperature_unit.d.ts +0 -8
- package/dist/enums/temperature_unit.d.ts.map +0 -1
- package/dist/enums/temperature_unit.js +0 -7
- package/dist/enums/temperature_unit.js.map +0 -1
- package/dist/enums/unit.d.ts +0 -43
- package/dist/enums/unit.d.ts.map +0 -1
- package/dist/enums/unit.js +0 -53
- package/dist/enums/unit.js.map +0 -1
- package/dist/enums/url_type.d.ts +0 -13
- package/dist/enums/url_type.d.ts.map +0 -1
- package/dist/enums/url_type.js +0 -15
- package/dist/enums/url_type.js.map +0 -1
- package/dist/enums/user_status.d.ts +0 -10
- package/dist/enums/user_status.d.ts.map +0 -1
- package/dist/enums/user_status.js +0 -12
- package/dist/enums/user_status.js.map +0 -1
- package/dist/lib/cost.d.ts +0 -22
- package/dist/lib/cost.d.ts.map +0 -1
- package/dist/lib/cost.js +0 -45
- package/dist/lib/cost.js.map +0 -1
- package/dist/lib/embedding.d.ts +0 -4
- package/dist/lib/embedding.d.ts.map +0 -1
- package/dist/lib/embedding.js +0 -48
- package/dist/lib/embedding.js.map +0 -1
- package/dist/lib/flow.d.ts +0 -53
- package/dist/lib/flow.d.ts.map +0 -1
- package/dist/lib/flow.js +0 -60
- package/dist/lib/flow.js.map +0 -1
- package/dist/lib/genkit.d.ts +0 -4
- package/dist/lib/genkit.d.ts.map +0 -1
- package/dist/lib/genkit.js +0 -16
- package/dist/lib/genkit.js.map +0 -1
- package/dist/lib/image.d.ts +0 -7
- package/dist/lib/image.d.ts.map +0 -1
- package/dist/lib/image.js +0 -24
- package/dist/lib/image.js.map +0 -1
- package/dist/types/ai/genkit.d.ts +0 -246
- package/dist/types/ai/genkit.d.ts.map +0 -1
- package/dist/types/ai/genkit.js +0 -68
- package/dist/types/ai/genkit.js.map +0 -1
- package/dist/types/enums/status.d.ts +0 -11
- package/dist/types/enums/status.d.ts.map +0 -1
- package/dist/types/enums/status.js +0 -13
- package/dist/types/enums/status.js.map +0 -1
- package/dist/types/equipment-entry.d.ts +0 -21
- package/dist/types/equipment-entry.d.ts.map +0 -1
- package/dist/types/equipment-entry.js +0 -17
- package/dist/types/equipment-entry.js.map +0 -1
- package/dist/types/equipment.d.ts +0 -20
- package/dist/types/equipment.d.ts.map +0 -1
- package/dist/types/equipment.js +0 -16
- package/dist/types/equipment.js.map +0 -1
- package/dist/types/error.d.ts +0 -14
- package/dist/types/error.d.ts.map +0 -1
- package/dist/types/error.js +0 -40
- package/dist/types/error.js.map +0 -1
- package/dist/types/global-asset.d.ts +0 -21
- package/dist/types/global-asset.d.ts.map +0 -1
- package/dist/types/global-asset.js +0 -18
- package/dist/types/global-asset.js.map +0 -1
- package/dist/types/idempotency.d.ts +0 -32
- package/dist/types/idempotency.d.ts.map +0 -1
- package/dist/types/idempotency.js +0 -25
- package/dist/types/idempotency.js.map +0 -1
- package/dist/types/ingredient-entry.d.ts +0 -21
- package/dist/types/ingredient-entry.d.ts.map +0 -1
- package/dist/types/ingredient-entry.js +0 -17
- package/dist/types/ingredient-entry.js.map +0 -1
- package/dist/types/ingredient.d.ts +0 -209
- package/dist/types/ingredient.d.ts.map +0 -1
- package/dist/types/ingredient.js +0 -33
- package/dist/types/ingredient.js.map +0 -1
- package/dist/types/instruction.d.ts +0 -32
- package/dist/types/instruction.d.ts.map +0 -1
- package/dist/types/instruction.js +0 -16
- package/dist/types/instruction.js.map +0 -1
- package/dist/types/nutrition.d.ts +0 -18
- package/dist/types/nutrition.d.ts.map +0 -1
- package/dist/types/nutrition.js +0 -20
- package/dist/types/nutrition.js.map +0 -1
- package/dist/types/profile.d.ts +0 -30
- package/dist/types/profile.d.ts.map +0 -1
- package/dist/types/profile.js +0 -26
- package/dist/types/profile.js.map +0 -1
- package/dist/types/rate-limit.d.ts +0 -26
- package/dist/types/rate-limit.d.ts.map +0 -1
- package/dist/types/rate-limit.js +0 -22
- package/dist/types/rate-limit.js.map +0 -1
- package/dist/types/recipe.d.ts +0 -447
- package/dist/types/recipe.d.ts.map +0 -1
- package/dist/types/recipe.js +0 -82
- package/dist/types/recipe.js.map +0 -1
- package/dist/types/subscription.d.ts +0 -15
- package/dist/types/subscription.d.ts.map +0 -1
- package/dist/types/subscription.js +0 -14
- package/dist/types/subscription.js.map +0 -1
- package/dist/types/temperature.d.ts +0 -10
- package/dist/types/temperature.d.ts.map +0 -1
- package/dist/types/temperature.js +0 -10
- package/dist/types/temperature.js.map +0 -1
- package/dist/types/user-recipe-ref.d.ts +0 -29
- package/dist/types/user-recipe-ref.d.ts.map +0 -1
- package/dist/types/user-recipe-ref.js +0 -22
- package/dist/types/user-recipe-ref.js.map +0 -1
- package/dist/types/user.d.ts +0 -26
- package/dist/types/user.d.ts.map +0 -1
- package/dist/types/user.js +0 -17
- package/dist/types/user.js.map +0 -1
- package/src/types/ai/genkit.ts +0 -77
- package/src/types/enums/status.ts +0 -11
package/src/types/enums/role.ts
CHANGED
package/src/types/enums/unit.ts
CHANGED
package/src/types/iam/profile.ts
CHANGED
|
@@ -1,20 +1,32 @@
|
|
|
1
|
-
import { z } from "
|
|
1
|
+
import { z } from "genkit";
|
|
2
2
|
import type { Timestamp } from "firebase-admin/firestore";
|
|
3
|
-
import { ProfileStatusSchema } from "../enums";
|
|
3
|
+
import { ProfileStatusSchema, type ProfileStatus } from "../enums";
|
|
4
4
|
|
|
5
5
|
export const ProfileSchema = z.object({
|
|
6
6
|
bio: z.string().max(280).optional(),
|
|
7
7
|
createdAt: z.custom<Timestamp>(),
|
|
8
8
|
handle: z.string().min(3).max(20),
|
|
9
9
|
id: z.string(),
|
|
10
|
-
imageUrl: z.url().optional(),
|
|
10
|
+
imageUrl: z.string().url().optional(),
|
|
11
11
|
name: z.string().min(1).max(50),
|
|
12
12
|
public: z.boolean(),
|
|
13
13
|
status: ProfileStatusSchema,
|
|
14
14
|
updatedAt: z.custom<Timestamp>(),
|
|
15
15
|
verified: z.boolean(),
|
|
16
16
|
});
|
|
17
|
-
|
|
17
|
+
|
|
18
|
+
export interface Profile {
|
|
19
|
+
id: string;
|
|
20
|
+
bio?: string;
|
|
21
|
+
createdAt: Timestamp;
|
|
22
|
+
handle: string;
|
|
23
|
+
imageUrl?: string;
|
|
24
|
+
name: string;
|
|
25
|
+
public: boolean;
|
|
26
|
+
status: ProfileStatus;
|
|
27
|
+
updatedAt: Timestamp;
|
|
28
|
+
verified: boolean;
|
|
29
|
+
}
|
|
18
30
|
|
|
19
31
|
export type ProfileInput = Omit<Profile, "id" | "createdAt" | "updatedAt">;
|
|
20
32
|
|
package/src/types/iam/user.ts
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import { z } from "
|
|
1
|
+
import { z } from "genkit";
|
|
2
2
|
import type { Timestamp } from "firebase-admin/firestore";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
RoleSchema,
|
|
5
|
+
UserStatusSchema,
|
|
6
|
+
type Role,
|
|
7
|
+
type UserStatus,
|
|
8
|
+
} from "../enums";
|
|
4
9
|
|
|
5
10
|
export const UserSchema = z.object({
|
|
6
11
|
createdAt: z.custom<Timestamp>(),
|
|
7
12
|
deletedAt: z.custom<Timestamp>().optional(),
|
|
8
|
-
email: z.email(),
|
|
13
|
+
email: z.string().email(),
|
|
9
14
|
id: z.string(),
|
|
10
15
|
name: z.string().min(1).max(50),
|
|
11
16
|
role: RoleSchema,
|
|
@@ -14,7 +19,19 @@ export const UserSchema = z.object({
|
|
|
14
19
|
updatedAt: z.custom<Timestamp>(),
|
|
15
20
|
verified: z.boolean(),
|
|
16
21
|
});
|
|
17
|
-
|
|
22
|
+
|
|
23
|
+
export interface User {
|
|
24
|
+
id: string;
|
|
25
|
+
createdAt: Timestamp;
|
|
26
|
+
deletedAt?: Timestamp;
|
|
27
|
+
email: string;
|
|
28
|
+
name: string;
|
|
29
|
+
role: Role;
|
|
30
|
+
status: UserStatus;
|
|
31
|
+
subscriptionId?: string;
|
|
32
|
+
updatedAt: Timestamp;
|
|
33
|
+
verified: boolean;
|
|
34
|
+
}
|
|
18
35
|
|
|
19
36
|
export type UserInput = Omit<
|
|
20
37
|
User,
|
package/src/types/moderation.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from "
|
|
1
|
+
import { z } from "genkit";
|
|
2
2
|
import type { Timestamp } from "firebase-admin/firestore";
|
|
3
3
|
import {
|
|
4
4
|
LocaleSchema,
|
|
@@ -6,6 +6,11 @@ import {
|
|
|
6
6
|
PrioritySchema,
|
|
7
7
|
SeveritySchema,
|
|
8
8
|
SuggestionCategorySchema,
|
|
9
|
+
type Locale,
|
|
10
|
+
type ModerationStatus,
|
|
11
|
+
type Priority,
|
|
12
|
+
type Severity,
|
|
13
|
+
type SuggestionCategory,
|
|
9
14
|
} from "./enums";
|
|
10
15
|
|
|
11
16
|
export const ModerationSuggestionSchema = z.object({
|
|
@@ -14,7 +19,13 @@ export const ModerationSuggestionSchema = z.object({
|
|
|
14
19
|
severity: SeveritySchema,
|
|
15
20
|
suggestion: z.string(),
|
|
16
21
|
});
|
|
17
|
-
|
|
22
|
+
|
|
23
|
+
export interface ModerationSuggestion {
|
|
24
|
+
category: SuggestionCategory;
|
|
25
|
+
field: string;
|
|
26
|
+
severity: Severity;
|
|
27
|
+
suggestion: string;
|
|
28
|
+
}
|
|
18
29
|
|
|
19
30
|
export const ModerationSchema = z.object({
|
|
20
31
|
aiSuggestions: z.array(ModerationSuggestionSchema).optional(),
|
|
@@ -31,7 +42,22 @@ export const ModerationSchema = z.object({
|
|
|
31
42
|
status: ModerationStatusSchema,
|
|
32
43
|
userId: z.string(),
|
|
33
44
|
});
|
|
34
|
-
|
|
45
|
+
|
|
46
|
+
export interface Moderation {
|
|
47
|
+
id: string;
|
|
48
|
+
aiSuggestions?: ModerationSuggestion[];
|
|
49
|
+
assessedAt?: Timestamp;
|
|
50
|
+
createdAt: Timestamp;
|
|
51
|
+
originalLocale: Locale;
|
|
52
|
+
priority: Priority;
|
|
53
|
+
qualityScore?: number;
|
|
54
|
+
recipeId: string;
|
|
55
|
+
rejectionReason?: string;
|
|
56
|
+
reviewedAt?: Timestamp;
|
|
57
|
+
reviewedBy?: string;
|
|
58
|
+
status: ModerationStatus;
|
|
59
|
+
userId: string;
|
|
60
|
+
}
|
|
35
61
|
|
|
36
62
|
export const ModerateRecipeInputSchema = z.object({
|
|
37
63
|
moderationId: z.string(),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from "
|
|
1
|
+
import { z } from "genkit";
|
|
2
2
|
import type { Timestamp } from "firebase-admin/firestore";
|
|
3
3
|
import {
|
|
4
4
|
AllergenSchema,
|
|
@@ -10,23 +10,35 @@ import {
|
|
|
10
10
|
RecipeSourceSchema,
|
|
11
11
|
RecipeStatusSchema,
|
|
12
12
|
SpicinessSchema,
|
|
13
|
+
type Allergen,
|
|
14
|
+
type Cuisine,
|
|
15
|
+
type DietaryTag,
|
|
16
|
+
type Difficulty,
|
|
17
|
+
type Locale,
|
|
18
|
+
type MealType,
|
|
19
|
+
type RecipeSource,
|
|
20
|
+
type RecipeStatus,
|
|
21
|
+
type Spiciness,
|
|
13
22
|
} from "../enums";
|
|
14
23
|
import {
|
|
15
24
|
EquipmentContentSchema,
|
|
16
25
|
EquipmentMetaSchema,
|
|
17
26
|
EquipmentSchema,
|
|
27
|
+
type EquipmentMeta,
|
|
18
28
|
} from "./equipment";
|
|
19
29
|
import {
|
|
20
30
|
IngredientSectionContentSchema,
|
|
21
31
|
IngredientSectionMetaSchema,
|
|
22
32
|
IngredientSectionSchema,
|
|
33
|
+
type IngredientSectionMeta,
|
|
23
34
|
} from "./ingredient";
|
|
24
35
|
import {
|
|
25
36
|
InstructionContentSchema,
|
|
26
37
|
InstructionMetaSchema,
|
|
27
38
|
InstructionSchema,
|
|
39
|
+
type InstructionMeta,
|
|
28
40
|
} from "./instruction";
|
|
29
|
-
import { NutritionSchema } from "./nutrition";
|
|
41
|
+
import { NutritionSchema, type Nutrition } from "./nutrition";
|
|
30
42
|
|
|
31
43
|
export const RecipeMetaSchema = z.object({
|
|
32
44
|
allergens: z.array(AllergenSchema),
|
|
@@ -53,7 +65,31 @@ export const RecipeMetaSchema = z.object({
|
|
|
53
65
|
time: z.number().int().min(1).max(1440),
|
|
54
66
|
updatedAt: z.custom<Timestamp>(),
|
|
55
67
|
});
|
|
56
|
-
export
|
|
68
|
+
export interface RecipeMeta {
|
|
69
|
+
id: string;
|
|
70
|
+
allergens: Allergen[];
|
|
71
|
+
confidence: number;
|
|
72
|
+
createdAt: Timestamp;
|
|
73
|
+
createdBy: string;
|
|
74
|
+
cuisine: Cuisine;
|
|
75
|
+
deletedAt?: Timestamp;
|
|
76
|
+
dietaryTags: DietaryTag[];
|
|
77
|
+
difficulty: Difficulty;
|
|
78
|
+
equipment?: EquipmentMeta[];
|
|
79
|
+
imageUrl?: string;
|
|
80
|
+
ingredientSections: IngredientSectionMeta[];
|
|
81
|
+
instructions: InstructionMeta[];
|
|
82
|
+
mealTypes: MealType[];
|
|
83
|
+
nutrition?: Nutrition;
|
|
84
|
+
originalLocale: Locale;
|
|
85
|
+
servings: number;
|
|
86
|
+
source: RecipeSource;
|
|
87
|
+
sourceUrl?: string;
|
|
88
|
+
spiciness: Spiciness;
|
|
89
|
+
status: RecipeStatus;
|
|
90
|
+
time: number;
|
|
91
|
+
updatedAt: Timestamp;
|
|
92
|
+
}
|
|
57
93
|
|
|
58
94
|
export const RecipeContentSchema = z.object({
|
|
59
95
|
description: z.string().min(10).max(2000),
|
package/src/types/report.ts
CHANGED
|
@@ -1,70 +1,90 @@
|
|
|
1
|
-
import { z } from "
|
|
2
|
-
import type { Timestamp } from "firebase-admin/firestore";
|
|
3
|
-
|
|
4
|
-
export const REPORT_TYPE_VALUES = [
|
|
5
|
-
"auto_rejected",
|
|
6
|
-
"manual_rejected",
|
|
7
|
-
"repeated_violations",
|
|
8
|
-
"unsafe_generated",
|
|
9
|
-
"unsafe_upload",
|
|
10
|
-
"user_report",
|
|
11
|
-
] as const;
|
|
12
|
-
export const ReportTypeSchema = z.enum(REPORT_TYPE_VALUES);
|
|
13
|
-
export type ReportType = (typeof REPORT_TYPE_VALUES)[number];
|
|
14
|
-
|
|
15
|
-
export const REPORT_STATUS_VALUES = [
|
|
16
|
-
"escalated",
|
|
17
|
-
"pending",
|
|
18
|
-
"resolved",
|
|
19
|
-
"reviewed",
|
|
20
|
-
] as const;
|
|
21
|
-
export const ReportStatusSchema = z.enum(REPORT_STATUS_VALUES);
|
|
22
|
-
export type ReportStatus = (typeof REPORT_STATUS_VALUES)[number];
|
|
23
|
-
|
|
24
|
-
export const REPORT_PRIORITY_VALUES = [
|
|
25
|
-
"critical",
|
|
26
|
-
"high",
|
|
27
|
-
"low",
|
|
28
|
-
"medium",
|
|
29
|
-
] as const;
|
|
30
|
-
export const ReportPrioritySchema = z.enum(REPORT_PRIORITY_VALUES);
|
|
31
|
-
export type ReportPriority = (typeof REPORT_PRIORITY_VALUES)[number];
|
|
32
|
-
|
|
33
|
-
export const REPORT_TARGET_TYPE_VALUES = [
|
|
34
|
-
"image",
|
|
35
|
-
"profile",
|
|
36
|
-
"recipe",
|
|
37
|
-
"user",
|
|
38
|
-
] as const;
|
|
39
|
-
export const ReportTargetTypeSchema = z.enum(REPORT_TARGET_TYPE_VALUES);
|
|
40
|
-
export type ReportTargetType = (typeof REPORT_TARGET_TYPE_VALUES)[number];
|
|
41
|
-
|
|
42
|
-
export const ReportEvidenceSchema = z.object({
|
|
43
|
-
aiScore: z.number().min(0).max(1).optional(),
|
|
44
|
-
aiSuggestions: z.array(z.record(z.string(), z.unknown())).optional(),
|
|
45
|
-
contentSnapshot: z.string().optional(),
|
|
46
|
-
imageHashes: z.array(z.string()).optional(),
|
|
47
|
-
});
|
|
48
|
-
export type ReportEvidence = z.infer<typeof ReportEvidenceSchema>;
|
|
49
|
-
|
|
50
|
-
export const ReportSchema = z.object({
|
|
51
|
-
categories: z.array(z.string()),
|
|
52
|
-
createdAt: z.custom<Timestamp>(),
|
|
53
|
-
description: z.string(),
|
|
54
|
-
evidence: ReportEvidenceSchema.optional(),
|
|
55
|
-
id: z.string(),
|
|
56
|
-
notes: z.string().optional(),
|
|
57
|
-
priority: ReportPrioritySchema,
|
|
58
|
-
reason: z.string(),
|
|
59
|
-
reportedBy: z.string().optional(),
|
|
60
|
-
resolution: z.string().optional(),
|
|
61
|
-
reviewedAt: z.custom<Timestamp>().optional(),
|
|
62
|
-
reviewedBy: z.string().optional(),
|
|
63
|
-
status: ReportStatusSchema,
|
|
64
|
-
targetId: z.string(),
|
|
65
|
-
targetType: ReportTargetTypeSchema,
|
|
66
|
-
type: ReportTypeSchema,
|
|
67
|
-
updatedAt: z.custom<Timestamp>(),
|
|
68
|
-
userId: z.string(),
|
|
69
|
-
});
|
|
70
|
-
|
|
1
|
+
import { z } from "genkit";
|
|
2
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
3
|
+
|
|
4
|
+
export const REPORT_TYPE_VALUES = [
|
|
5
|
+
"auto_rejected",
|
|
6
|
+
"manual_rejected",
|
|
7
|
+
"repeated_violations",
|
|
8
|
+
"unsafe_generated",
|
|
9
|
+
"unsafe_upload",
|
|
10
|
+
"user_report",
|
|
11
|
+
] as const;
|
|
12
|
+
export const ReportTypeSchema = z.enum(REPORT_TYPE_VALUES);
|
|
13
|
+
export type ReportType = (typeof REPORT_TYPE_VALUES)[number];
|
|
14
|
+
|
|
15
|
+
export const REPORT_STATUS_VALUES = [
|
|
16
|
+
"escalated",
|
|
17
|
+
"pending",
|
|
18
|
+
"resolved",
|
|
19
|
+
"reviewed",
|
|
20
|
+
] as const;
|
|
21
|
+
export const ReportStatusSchema = z.enum(REPORT_STATUS_VALUES);
|
|
22
|
+
export type ReportStatus = (typeof REPORT_STATUS_VALUES)[number];
|
|
23
|
+
|
|
24
|
+
export const REPORT_PRIORITY_VALUES = [
|
|
25
|
+
"critical",
|
|
26
|
+
"high",
|
|
27
|
+
"low",
|
|
28
|
+
"medium",
|
|
29
|
+
] as const;
|
|
30
|
+
export const ReportPrioritySchema = z.enum(REPORT_PRIORITY_VALUES);
|
|
31
|
+
export type ReportPriority = (typeof REPORT_PRIORITY_VALUES)[number];
|
|
32
|
+
|
|
33
|
+
export const REPORT_TARGET_TYPE_VALUES = [
|
|
34
|
+
"image",
|
|
35
|
+
"profile",
|
|
36
|
+
"recipe",
|
|
37
|
+
"user",
|
|
38
|
+
] as const;
|
|
39
|
+
export const ReportTargetTypeSchema = z.enum(REPORT_TARGET_TYPE_VALUES);
|
|
40
|
+
export type ReportTargetType = (typeof REPORT_TARGET_TYPE_VALUES)[number];
|
|
41
|
+
|
|
42
|
+
export const ReportEvidenceSchema = z.object({
|
|
43
|
+
aiScore: z.number().min(0).max(1).optional(),
|
|
44
|
+
aiSuggestions: z.array(z.record(z.string(), z.unknown())).optional(),
|
|
45
|
+
contentSnapshot: z.string().optional(),
|
|
46
|
+
imageHashes: z.array(z.string()).optional(),
|
|
47
|
+
});
|
|
48
|
+
export type ReportEvidence = z.infer<typeof ReportEvidenceSchema>;
|
|
49
|
+
|
|
50
|
+
export const ReportSchema = z.object({
|
|
51
|
+
categories: z.array(z.string()),
|
|
52
|
+
createdAt: z.custom<Timestamp>(),
|
|
53
|
+
description: z.string(),
|
|
54
|
+
evidence: ReportEvidenceSchema.optional(),
|
|
55
|
+
id: z.string(),
|
|
56
|
+
notes: z.string().optional(),
|
|
57
|
+
priority: ReportPrioritySchema,
|
|
58
|
+
reason: z.string(),
|
|
59
|
+
reportedBy: z.string().optional(),
|
|
60
|
+
resolution: z.string().optional(),
|
|
61
|
+
reviewedAt: z.custom<Timestamp>().optional(),
|
|
62
|
+
reviewedBy: z.string().optional(),
|
|
63
|
+
status: ReportStatusSchema,
|
|
64
|
+
targetId: z.string(),
|
|
65
|
+
targetType: ReportTargetTypeSchema,
|
|
66
|
+
type: ReportTypeSchema,
|
|
67
|
+
updatedAt: z.custom<Timestamp>(),
|
|
68
|
+
userId: z.string(),
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
export interface Report {
|
|
72
|
+
id: string;
|
|
73
|
+
categories: string[];
|
|
74
|
+
createdAt: Timestamp;
|
|
75
|
+
description: string;
|
|
76
|
+
evidence?: ReportEvidence;
|
|
77
|
+
notes?: string;
|
|
78
|
+
priority: ReportPriority;
|
|
79
|
+
reason: string;
|
|
80
|
+
reportedBy?: string;
|
|
81
|
+
resolution?: string;
|
|
82
|
+
reviewedAt?: Timestamp;
|
|
83
|
+
reviewedBy?: string;
|
|
84
|
+
status: ReportStatus;
|
|
85
|
+
targetId: string;
|
|
86
|
+
targetType: ReportTargetType;
|
|
87
|
+
type: ReportType;
|
|
88
|
+
updatedAt: Timestamp;
|
|
89
|
+
userId: string;
|
|
90
|
+
}
|
package/src/types/repository.ts
CHANGED
package/src/types/settings.ts
CHANGED
package/dist/config/credits.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"credits.d.ts","sourceRoot":"","sources":["../../src/config/credits.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,IAAI,CAAC"}
|
package/dist/config/credits.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"credits.js","sourceRoot":"","sources":["../../src/config/credits.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG,CAAC,CAAC"}
|
package/dist/enums/allergen.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const ALLERGEN_VALUES: readonly ["celery", "dairy", "eggs", "fish", "gluten", "lupin", "mustard", "nuts", "peanuts", "sesame", "shellfish", "soy", "sulfites"];
|
|
3
|
-
export declare const AllergenSchema: z.ZodEnum<{
|
|
4
|
-
celery: "celery";
|
|
5
|
-
dairy: "dairy";
|
|
6
|
-
eggs: "eggs";
|
|
7
|
-
fish: "fish";
|
|
8
|
-
gluten: "gluten";
|
|
9
|
-
lupin: "lupin";
|
|
10
|
-
mustard: "mustard";
|
|
11
|
-
nuts: "nuts";
|
|
12
|
-
peanuts: "peanuts";
|
|
13
|
-
sesame: "sesame";
|
|
14
|
-
shellfish: "shellfish";
|
|
15
|
-
soy: "soy";
|
|
16
|
-
sulfites: "sulfites";
|
|
17
|
-
}>;
|
|
18
|
-
export type Allergen = (typeof ALLERGEN_VALUES)[number];
|
|
19
|
-
//# sourceMappingURL=allergen.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"allergen.d.ts","sourceRoot":"","sources":["../../src/enums/allergen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe,yIAclB,CAAC;AACX,eAAO,MAAM,cAAc;;;;;;;;;;;;;;EAA0B,CAAC;AACtD,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
package/dist/enums/allergen.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AllergenSchema = exports.ALLERGEN_VALUES = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.ALLERGEN_VALUES = [
|
|
6
|
-
"celery",
|
|
7
|
-
"dairy",
|
|
8
|
-
"eggs",
|
|
9
|
-
"fish",
|
|
10
|
-
"gluten",
|
|
11
|
-
"lupin",
|
|
12
|
-
"mustard",
|
|
13
|
-
"nuts",
|
|
14
|
-
"peanuts",
|
|
15
|
-
"sesame",
|
|
16
|
-
"shellfish",
|
|
17
|
-
"soy",
|
|
18
|
-
"sulfites",
|
|
19
|
-
];
|
|
20
|
-
exports.AllergenSchema = zod_1.z.enum(exports.ALLERGEN_VALUES);
|
|
21
|
-
//# sourceMappingURL=allergen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"allergen.js","sourceRoot":"","sources":["../../src/enums/allergen.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,eAAe,GAAG;IAC7B,QAAQ;IACR,OAAO;IACP,MAAM;IACN,MAAM;IACN,QAAQ;IACR,OAAO;IACP,SAAS;IACT,MAAM;IACN,SAAS;IACT,QAAQ;IACR,WAAW;IACX,KAAK;IACL,UAAU;CACF,CAAC;AACE,QAAA,cAAc,GAAG,OAAC,CAAC,IAAI,CAAC,uBAAe,CAAC,CAAC"}
|
package/dist/enums/cuisine.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const CUISINE_VALUES: readonly ["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"];
|
|
3
|
-
export declare const CuisineSchema: z.ZodEnum<{
|
|
4
|
-
african: "african";
|
|
5
|
-
american: "american";
|
|
6
|
-
brazilian: "brazilian";
|
|
7
|
-
british: "british";
|
|
8
|
-
caribbean: "caribbean";
|
|
9
|
-
chinese: "chinese";
|
|
10
|
-
egyptian: "egyptian";
|
|
11
|
-
emirati: "emirati";
|
|
12
|
-
ethiopian: "ethiopian";
|
|
13
|
-
filipino: "filipino";
|
|
14
|
-
french: "french";
|
|
15
|
-
fusion: "fusion";
|
|
16
|
-
german: "german";
|
|
17
|
-
greek: "greek";
|
|
18
|
-
indian: "indian";
|
|
19
|
-
indonesian: "indonesian";
|
|
20
|
-
italian: "italian";
|
|
21
|
-
japanese: "japanese";
|
|
22
|
-
korean: "korean";
|
|
23
|
-
lebanese: "lebanese";
|
|
24
|
-
malaysian: "malaysian";
|
|
25
|
-
mexican: "mexican";
|
|
26
|
-
moroccan: "moroccan";
|
|
27
|
-
pakistani: "pakistani";
|
|
28
|
-
persian: "persian";
|
|
29
|
-
russian: "russian";
|
|
30
|
-
saudi: "saudi";
|
|
31
|
-
spanish: "spanish";
|
|
32
|
-
sudanese: "sudanese";
|
|
33
|
-
thai: "thai";
|
|
34
|
-
turkish: "turkish";
|
|
35
|
-
vietnamese: "vietnamese";
|
|
36
|
-
other: "other";
|
|
37
|
-
}>;
|
|
38
|
-
export type Cuisine = (typeof CUISINE_VALUES)[number];
|
|
39
|
-
//# sourceMappingURL=cuisine.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cuisine.d.ts","sourceRoot":"","sources":["../../src/enums/cuisine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc,+XAkCjB,CAAC;AACX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyB,CAAC;AACpD,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC"}
|