@cravery/core 0.0.57 → 0.0.58
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/README.md +80 -80
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/types/core/entity.d.ts +4 -2
- package/dist/types/core/entity.d.ts.map +1 -1
- package/dist/types/core/errors.d.ts +1 -3
- package/dist/types/core/errors.d.ts.map +1 -1
- package/dist/types/core/errors.js +11 -13
- package/dist/types/core/errors.js.map +1 -1
- package/dist/types/core/index.d.ts +0 -3
- package/dist/types/core/index.d.ts.map +1 -1
- package/dist/types/core/index.js +0 -3
- package/dist/types/core/index.js.map +1 -1
- package/dist/types/core/locale.d.ts +1 -1
- package/dist/types/core/locale.d.ts.map +1 -1
- package/dist/types/core/locale.js +1 -1
- package/dist/types/core/locale.js.map +1 -1
- package/dist/types/core/measurement_system.d.ts +1 -1
- package/dist/types/core/measurement_system.js +1 -1
- package/dist/types/core/measurement_system.js.map +1 -1
- package/dist/types/core/theme.d.ts +1 -1
- package/dist/types/core/theme.js +1 -1
- package/dist/types/core/theme.js.map +1 -1
- package/dist/types/equipment/equipment.d.ts +2 -2
- package/dist/types/equipment/equipment.d.ts.map +1 -1
- package/dist/types/equipment/equipment_entity.d.ts +1 -1
- package/dist/types/equipment/equipment_entity.d.ts.map +1 -1
- package/dist/types/equipment/user_equipment.d.ts +1 -1
- package/dist/types/equipment/user_equipment.d.ts.map +1 -1
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +6 -6
- package/dist/types/index.js.map +1 -1
- package/dist/types/ingredients/category.d.ts.map +1 -0
- package/dist/types/ingredients/category.js.map +1 -0
- package/dist/types/ingredients/group.d.ts.map +1 -0
- package/dist/types/ingredients/group.js.map +1 -0
- package/dist/types/ingredients/index.d.ts.map +1 -0
- package/dist/types/ingredients/index.js.map +1 -0
- package/dist/types/{ingredient → ingredients}/ingredient.d.ts +3 -3
- package/dist/types/ingredients/ingredient.d.ts.map +1 -0
- package/dist/types/ingredients/ingredient.js.map +1 -0
- package/dist/types/{ingredient → ingredients}/ingredient_entity.d.ts +2 -2
- package/dist/types/ingredients/ingredient_entity.d.ts.map +1 -0
- package/dist/types/ingredients/ingredient_entity.js.map +1 -0
- package/dist/types/ingredients/ingredient_section.d.ts.map +1 -0
- package/dist/types/ingredients/ingredient_section.js.map +1 -0
- package/dist/types/{ingredient → ingredients}/user_ingredient.d.ts +2 -2
- package/dist/types/ingredients/user_ingredient.d.ts.map +1 -0
- package/dist/types/ingredients/user_ingredient.js.map +1 -0
- package/dist/types/recipes/allergen.d.ts.map +1 -0
- package/dist/types/recipes/allergen.js.map +1 -0
- package/dist/types/recipes/comment.d.ts.map +1 -0
- package/dist/types/{recipe → recipes}/comment.js.map +1 -1
- package/dist/types/recipes/cuisine.d.ts +3 -0
- package/dist/types/recipes/cuisine.d.ts.map +1 -0
- package/dist/types/recipes/cuisine.js +79 -0
- package/dist/types/recipes/cuisine.js.map +1 -0
- package/dist/types/recipes/dietary_tag.d.ts.map +1 -0
- package/dist/types/recipes/dietary_tag.js.map +1 -0
- package/dist/types/recipes/difficulty.d.ts +3 -0
- package/dist/types/recipes/difficulty.d.ts.map +1 -0
- package/dist/types/{recipe → recipes}/difficulty.js +3 -3
- package/dist/types/recipes/difficulty.js.map +1 -0
- package/dist/types/{recipe → recipes}/index.d.ts +0 -2
- package/dist/types/recipes/index.d.ts.map +1 -0
- package/dist/types/{recipe → recipes}/index.js +1 -2
- package/dist/types/recipes/index.js.map +1 -0
- package/dist/types/{recipe → recipes}/instruction.d.ts +1 -1
- package/dist/types/recipes/instruction.d.ts.map +1 -0
- package/dist/types/recipes/instruction.js.map +1 -0
- package/dist/types/recipes/meal_type.d.ts +3 -0
- package/dist/types/recipes/meal_type.d.ts.map +1 -0
- package/dist/types/{recipe → recipes}/meal_type.js +2 -0
- package/dist/types/recipes/meal_type.js.map +1 -0
- package/dist/types/recipes/nutrition.d.ts.map +1 -0
- package/dist/types/recipes/nutrition.js.map +1 -0
- package/dist/types/{recipe → recipes}/recipe.d.ts +3 -12
- package/dist/types/recipes/recipe.d.ts.map +1 -0
- package/dist/types/{ai → recipes}/recipe.js.map +1 -1
- package/dist/types/recipes/recipe_source.d.ts.map +1 -0
- package/dist/types/recipes/recipe_source.js.map +1 -0
- package/dist/types/recipes/recipe_stats.d.ts +9 -0
- package/dist/types/recipes/recipe_stats.d.ts.map +1 -0
- package/dist/types/{ai/translation.js → recipes/recipe_stats.js} +1 -1
- package/dist/types/recipes/recipe_stats.js.map +1 -0
- package/dist/types/{recipe → recipes}/spiciness.d.ts +1 -1
- package/dist/types/recipes/spiciness.d.ts.map +1 -0
- package/dist/types/{recipe → recipes}/spiciness.js +1 -1
- package/dist/types/recipes/spiciness.js.map +1 -0
- package/dist/types/recipes/temperature.d.ts.map +1 -0
- package/dist/types/recipes/temperature.js.map +1 -0
- package/dist/types/recipes/temperature_unit.d.ts.map +1 -0
- package/dist/types/recipes/temperature_unit.js.map +1 -0
- package/dist/types/recipes/unit.d.ts.map +1 -0
- package/dist/types/recipes/unit.js.map +1 -0
- package/dist/types/reports/category.d.ts +3 -0
- package/dist/types/reports/category.d.ts.map +1 -0
- package/dist/types/reports/category.js +12 -0
- package/dist/types/reports/category.js.map +1 -0
- package/dist/types/reports/index.d.ts +9 -0
- package/dist/types/reports/index.d.ts.map +1 -0
- package/dist/types/{submission → reports}/index.js +7 -4
- package/dist/types/reports/index.js.map +1 -0
- package/dist/types/{report/report_priority.d.ts → reports/priority.d.ts} +1 -1
- package/dist/types/reports/priority.d.ts.map +1 -0
- package/dist/types/{report/report_priority.js → reports/priority.js} +1 -1
- package/dist/types/reports/priority.js.map +1 -0
- package/dist/types/reports/report.d.ts +17 -0
- package/dist/types/reports/report.d.ts.map +1 -0
- package/dist/types/{report → reports}/report.js.map +1 -1
- package/dist/types/{report/report_status.d.ts → reports/status.d.ts} +1 -1
- package/dist/types/reports/status.d.ts.map +1 -0
- package/dist/types/{report/report_status.js → reports/status.js} +1 -1
- package/dist/types/reports/status.js.map +1 -0
- package/dist/types/reports/submission.d.ts +8 -0
- package/dist/types/reports/submission.d.ts.map +1 -0
- package/dist/types/reports/submission.js.map +1 -0
- package/dist/types/reports/target.d.ts +20 -0
- package/dist/types/reports/target.d.ts.map +1 -0
- package/dist/types/{ai/config.js → reports/target.js} +1 -1
- package/dist/types/reports/target.js.map +1 -0
- package/dist/types/reports/update.d.ts +19 -0
- package/dist/types/reports/update.d.ts.map +1 -0
- package/dist/types/reports/update.js +3 -0
- package/dist/types/reports/update.js.map +1 -0
- package/dist/types/reports/update_type.d.ts +3 -0
- package/dist/types/reports/update_type.d.ts.map +1 -0
- package/dist/types/reports/update_type.js +9 -0
- package/dist/types/reports/update_type.js.map +1 -0
- package/dist/types/settings/index.d.ts +3 -0
- package/dist/types/settings/index.d.ts.map +1 -0
- package/dist/types/{ai → settings}/index.js +2 -3
- package/dist/types/settings/index.js.map +1 -0
- package/dist/types/settings/notification.d.ts +7 -0
- package/dist/types/settings/notification.d.ts.map +1 -0
- package/dist/types/settings/notification.js +3 -0
- package/dist/types/settings/notification.js.map +1 -0
- package/dist/types/{core → settings}/settings.d.ts +4 -11
- package/dist/types/settings/settings.d.ts.map +1 -0
- package/dist/types/settings/settings.js.map +1 -0
- package/dist/types/subscriptions/billing_period.d.ts +3 -0
- package/dist/types/subscriptions/billing_period.d.ts.map +1 -0
- package/dist/types/subscriptions/billing_period.js +5 -0
- package/dist/types/subscriptions/billing_period.js.map +1 -0
- package/dist/types/subscriptions/cost.d.ts +6 -0
- package/dist/types/subscriptions/cost.d.ts.map +1 -0
- package/dist/types/{core/asset.js → subscriptions/cost.js} +1 -1
- package/dist/types/subscriptions/cost.js.map +1 -0
- package/dist/types/{iam → subscriptions}/index.d.ts +0 -3
- package/dist/types/subscriptions/index.d.ts.map +1 -0
- package/dist/types/{iam → subscriptions}/index.js +0 -3
- package/dist/types/subscriptions/index.js.map +1 -0
- package/dist/types/subscriptions/member.d.ts +11 -0
- package/dist/types/subscriptions/member.d.ts.map +1 -0
- package/dist/types/subscriptions/member.js +3 -0
- package/dist/types/subscriptions/member.js.map +1 -0
- package/dist/types/subscriptions/store.d.ts +3 -0
- package/dist/types/subscriptions/store.d.ts.map +1 -0
- package/dist/types/subscriptions/store.js +5 -0
- package/dist/types/subscriptions/store.js.map +1 -0
- package/dist/types/subscriptions/subscription.d.ts +21 -0
- package/dist/types/subscriptions/subscription.d.ts.map +1 -0
- package/dist/types/subscriptions/subscription.js.map +1 -0
- package/dist/types/subscriptions/subscription_role.d.ts.map +1 -0
- package/dist/types/subscriptions/subscription_role.js.map +1 -0
- package/dist/types/{iam → subscriptions}/subscription_status.d.ts +1 -1
- package/dist/types/subscriptions/subscription_status.d.ts.map +1 -0
- package/dist/types/{iam → subscriptions}/subscription_status.js +3 -0
- package/dist/types/subscriptions/subscription_status.js.map +1 -0
- package/dist/types/subscriptions/subscription_tier.d.ts.map +1 -0
- package/dist/types/subscriptions/subscription_tier.js.map +1 -0
- package/dist/types/users/bookmark.d.ts +5 -0
- package/dist/types/users/bookmark.d.ts.map +1 -0
- package/dist/types/users/bookmark.js +3 -0
- package/dist/types/users/bookmark.js.map +1 -0
- package/dist/types/users/index.d.ts +5 -0
- package/dist/types/users/index.d.ts.map +1 -0
- package/dist/types/{report → users}/index.js +4 -4
- package/dist/types/users/index.js.map +1 -0
- package/dist/types/users/profile.d.ts +8 -0
- package/dist/types/users/profile.d.ts.map +1 -0
- package/dist/types/{iam → users}/profile.js.map +1 -1
- package/dist/types/{iam → users}/user.d.ts +2 -2
- package/dist/types/users/user.d.ts.map +1 -0
- package/dist/types/{iam → users}/user.js.map +1 -1
- package/dist/types/users/user_role.d.ts +3 -0
- package/dist/types/users/user_role.d.ts.map +1 -0
- package/dist/types/users/user_role.js +11 -0
- package/dist/types/users/user_role.js.map +1 -0
- package/package.json +34 -45
- package/src/index.ts +1 -2
- package/src/types/core/entity.ts +13 -10
- package/src/types/core/entity_status.ts +9 -9
- package/src/types/core/errors.ts +119 -124
- package/src/types/core/index.ts +8 -11
- package/src/types/core/locale.ts +2 -2
- package/src/types/core/measurement_system.ts +2 -2
- package/src/types/core/price.ts +4 -4
- package/src/types/core/theme.ts +2 -2
- package/src/types/core/timestamp.ts +4 -4
- package/src/types/equipment/category.ts +15 -15
- package/src/types/equipment/equipment.ts +12 -12
- package/src/types/equipment/equipment_entity.ts +17 -17
- package/src/types/equipment/index.ts +4 -4
- package/src/types/equipment/user_equipment.ts +9 -9
- package/src/types/index.ts +6 -6
- package/src/types/{ingredient → ingredients}/category.ts +28 -28
- package/src/types/{ingredient → ingredients}/group.ts +8 -8
- package/src/types/{ingredient → ingredients}/index.ts +6 -6
- package/src/types/{ingredient → ingredients}/ingredient.ts +16 -16
- package/src/types/{ingredient → ingredients}/ingredient_entity.ts +21 -21
- package/src/types/{ingredient → ingredients}/ingredient_section.ts +18 -18
- package/src/types/{ingredient → ingredients}/user_ingredient.ts +14 -14
- package/src/types/{recipe → recipes}/allergen.ts +16 -16
- package/src/types/{recipe → recipes}/comment.ts +8 -8
- package/src/types/recipes/cuisine.ts +90 -0
- package/src/types/{recipe → recipes}/dietary_tag.ts +18 -18
- package/src/types/{recipe → recipes}/difficulty.ts +7 -7
- package/src/types/{recipe → recipes}/index.ts +14 -15
- package/src/types/{recipe → recipes}/instruction.ts +19 -19
- package/src/types/{recipe → recipes}/meal_type.ts +13 -11
- package/src/types/{recipe → recipes}/nutrition.ts +11 -11
- package/src/types/{recipe → recipes}/recipe.ts +81 -91
- package/src/types/{recipe → recipes}/recipe_source.ts +2 -2
- package/src/types/recipes/recipe_stats.ts +8 -0
- package/src/types/{recipe → recipes}/spiciness.ts +2 -2
- package/src/types/{recipe → recipes}/temperature.ts +6 -6
- package/src/types/{recipe → recipes}/temperature_unit.ts +2 -2
- package/src/types/{recipe → recipes}/unit.ts +48 -48
- package/src/types/reports/category.ts +9 -0
- package/src/types/reports/index.ts +8 -0
- package/src/types/{report/report_priority.ts → reports/priority.ts} +7 -7
- package/src/types/reports/report.ts +18 -0
- package/src/types/{report/report_status.ts → reports/status.ts} +9 -9
- package/src/types/reports/submission.ts +8 -0
- package/src/types/reports/target.ts +19 -0
- package/src/types/reports/update.ts +22 -0
- package/src/types/reports/update_type.ts +6 -0
- package/src/types/settings/index.ts +2 -0
- package/src/types/settings/notification.ts +6 -0
- package/src/types/{core → settings}/settings.ts +26 -34
- package/src/types/subscriptions/billing_period.ts +2 -0
- package/src/types/subscriptions/cost.ts +5 -0
- package/src/types/{iam → subscriptions}/index.ts +4 -7
- package/src/types/subscriptions/member.ts +11 -0
- package/src/types/subscriptions/store.ts +2 -0
- package/src/types/subscriptions/subscription.ts +21 -0
- package/src/types/{iam → subscriptions}/subscription_role.ts +2 -2
- package/src/types/{iam → subscriptions}/subscription_status.ts +11 -8
- package/src/types/{iam → subscriptions}/subscription_tier.ts +2 -2
- package/src/types/users/bookmark.ts +5 -0
- package/src/types/users/index.ts +4 -0
- package/src/types/users/profile.ts +8 -0
- package/src/types/{iam → users}/user.ts +11 -11
- package/src/types/users/user_role.ts +8 -0
- package/dist/config/ai.d.ts +0 -3
- package/dist/config/ai.d.ts.map +0 -1
- package/dist/config/ai.js +0 -48
- package/dist/config/ai.js.map +0 -1
- package/dist/config/collections.d.ts +0 -16
- package/dist/config/collections.d.ts.map +0 -1
- package/dist/config/collections.js +0 -19
- package/dist/config/collections.js.map +0 -1
- package/dist/config/common.d.ts +0 -2
- package/dist/config/common.d.ts.map +0 -1
- package/dist/config/common.js +0 -5
- package/dist/config/common.js.map +0 -1
- package/dist/config/firestore.d.ts +0 -19
- package/dist/config/firestore.d.ts.map +0 -1
- package/dist/config/firestore.js +0 -22
- package/dist/config/firestore.js.map +0 -1
- package/dist/config/index.d.ts +0 -7
- package/dist/config/index.d.ts.map +0 -1
- package/dist/config/index.js +0 -23
- package/dist/config/index.js.map +0 -1
- package/dist/config/limits.d.ts +0 -8
- package/dist/config/limits.d.ts.map +0 -1
- package/dist/config/limits.js +0 -48
- package/dist/config/limits.js.map +0 -1
- package/dist/config/rtdb.d.ts +0 -8
- package/dist/config/rtdb.d.ts.map +0 -1
- package/dist/config/rtdb.js +0 -11
- package/dist/config/rtdb.js.map +0 -1
- package/dist/config/subscription.d.ts +0 -4
- package/dist/config/subscription.d.ts.map +0 -1
- package/dist/config/subscription.js +0 -17
- package/dist/config/subscription.js.map +0 -1
- package/dist/types/ai/config.d.ts +0 -21
- package/dist/types/ai/config.d.ts.map +0 -1
- package/dist/types/ai/config.js.map +0 -1
- package/dist/types/ai/index.d.ts +0 -4
- package/dist/types/ai/index.d.ts.map +0 -1
- package/dist/types/ai/index.js.map +0 -1
- package/dist/types/ai/recipe.d.ts +0 -22
- package/dist/types/ai/recipe.d.ts.map +0 -1
- package/dist/types/ai/translation.d.ts +0 -12
- package/dist/types/ai/translation.d.ts.map +0 -1
- package/dist/types/ai/translation.js.map +0 -1
- package/dist/types/core/api.d.ts +0 -16
- package/dist/types/core/api.d.ts.map +0 -1
- package/dist/types/core/api.js +0 -14
- package/dist/types/core/api.js.map +0 -1
- package/dist/types/core/asset.d.ts +0 -6
- package/dist/types/core/asset.d.ts.map +0 -1
- package/dist/types/core/asset.js.map +0 -1
- package/dist/types/core/pagination.d.ts +0 -18
- package/dist/types/core/pagination.d.ts.map +0 -1
- package/dist/types/core/pagination.js +0 -3
- package/dist/types/core/pagination.js.map +0 -1
- package/dist/types/core/settings.d.ts.map +0 -1
- package/dist/types/core/settings.js.map +0 -1
- package/dist/types/iam/index.d.ts.map +0 -1
- package/dist/types/iam/index.js.map +0 -1
- package/dist/types/iam/profile.d.ts +0 -19
- package/dist/types/iam/profile.d.ts.map +0 -1
- package/dist/types/iam/profile_status.d.ts +0 -3
- package/dist/types/iam/profile_status.d.ts.map +0 -1
- package/dist/types/iam/profile_status.js +0 -10
- package/dist/types/iam/profile_status.js.map +0 -1
- package/dist/types/iam/subscription.d.ts +0 -23
- package/dist/types/iam/subscription.d.ts.map +0 -1
- package/dist/types/iam/subscription.js.map +0 -1
- package/dist/types/iam/subscription_role.d.ts.map +0 -1
- package/dist/types/iam/subscription_role.js.map +0 -1
- package/dist/types/iam/subscription_status.d.ts.map +0 -1
- package/dist/types/iam/subscription_status.js.map +0 -1
- package/dist/types/iam/subscription_tier.d.ts.map +0 -1
- package/dist/types/iam/subscription_tier.js.map +0 -1
- package/dist/types/iam/user.d.ts.map +0 -1
- package/dist/types/iam/user_role.d.ts +0 -5
- package/dist/types/iam/user_role.d.ts.map +0 -1
- package/dist/types/iam/user_role.js +0 -18
- package/dist/types/iam/user_role.js.map +0 -1
- package/dist/types/iam/user_status.d.ts +0 -3
- package/dist/types/iam/user_status.d.ts.map +0 -1
- package/dist/types/iam/user_status.js +0 -10
- package/dist/types/iam/user_status.js.map +0 -1
- package/dist/types/ingredient/category.d.ts.map +0 -1
- package/dist/types/ingredient/category.js.map +0 -1
- package/dist/types/ingredient/group.d.ts.map +0 -1
- package/dist/types/ingredient/group.js.map +0 -1
- package/dist/types/ingredient/index.d.ts.map +0 -1
- package/dist/types/ingredient/index.js.map +0 -1
- package/dist/types/ingredient/ingredient.d.ts.map +0 -1
- package/dist/types/ingredient/ingredient.js.map +0 -1
- package/dist/types/ingredient/ingredient_entity.d.ts.map +0 -1
- package/dist/types/ingredient/ingredient_entity.js.map +0 -1
- package/dist/types/ingredient/ingredient_section.d.ts.map +0 -1
- package/dist/types/ingredient/ingredient_section.js.map +0 -1
- package/dist/types/ingredient/user_ingredient.d.ts.map +0 -1
- package/dist/types/ingredient/user_ingredient.js.map +0 -1
- package/dist/types/moderation/index.d.ts +0 -6
- package/dist/types/moderation/index.d.ts.map +0 -1
- package/dist/types/moderation/index.js +0 -22
- package/dist/types/moderation/index.js.map +0 -1
- package/dist/types/moderation/moderation.d.ts +0 -37
- package/dist/types/moderation/moderation.d.ts.map +0 -1
- package/dist/types/moderation/moderation.js +0 -3
- package/dist/types/moderation/moderation.js.map +0 -1
- package/dist/types/moderation/moderation_status.d.ts +0 -3
- package/dist/types/moderation/moderation_status.d.ts.map +0 -1
- package/dist/types/moderation/moderation_status.js +0 -9
- package/dist/types/moderation/moderation_status.js.map +0 -1
- package/dist/types/moderation/priority.d.ts +0 -3
- package/dist/types/moderation/priority.d.ts.map +0 -1
- package/dist/types/moderation/priority.js +0 -5
- package/dist/types/moderation/priority.js.map +0 -1
- package/dist/types/moderation/severity.d.ts +0 -3
- package/dist/types/moderation/severity.d.ts.map +0 -1
- package/dist/types/moderation/severity.js +0 -5
- package/dist/types/moderation/severity.js.map +0 -1
- package/dist/types/moderation/suggestion_category.d.ts +0 -3
- package/dist/types/moderation/suggestion_category.d.ts.map +0 -1
- package/dist/types/moderation/suggestion_category.js +0 -11
- package/dist/types/moderation/suggestion_category.js.map +0 -1
- package/dist/types/recipe/allergen.d.ts.map +0 -1
- package/dist/types/recipe/allergen.js.map +0 -1
- package/dist/types/recipe/comment.d.ts.map +0 -1
- package/dist/types/recipe/cuisine.d.ts +0 -3
- package/dist/types/recipe/cuisine.d.ts.map +0 -1
- package/dist/types/recipe/cuisine.js +0 -42
- package/dist/types/recipe/cuisine.js.map +0 -1
- package/dist/types/recipe/dietary_tag.d.ts.map +0 -1
- package/dist/types/recipe/dietary_tag.js.map +0 -1
- package/dist/types/recipe/difficulty.d.ts +0 -3
- package/dist/types/recipe/difficulty.d.ts.map +0 -1
- package/dist/types/recipe/difficulty.js.map +0 -1
- package/dist/types/recipe/equipment.d.ts +0 -12
- package/dist/types/recipe/equipment.d.ts.map +0 -1
- package/dist/types/recipe/equipment.js +0 -3
- package/dist/types/recipe/equipment.js.map +0 -1
- package/dist/types/recipe/filters.d.ts +0 -16
- package/dist/types/recipe/filters.d.ts.map +0 -1
- package/dist/types/recipe/filters.js +0 -3
- package/dist/types/recipe/filters.js.map +0 -1
- package/dist/types/recipe/index.d.ts.map +0 -1
- package/dist/types/recipe/index.js.map +0 -1
- package/dist/types/recipe/ingredient.d.ts +0 -29
- package/dist/types/recipe/ingredient.d.ts.map +0 -1
- package/dist/types/recipe/ingredient.js +0 -3
- package/dist/types/recipe/ingredient.js.map +0 -1
- package/dist/types/recipe/instruction.d.ts.map +0 -1
- package/dist/types/recipe/instruction.js.map +0 -1
- package/dist/types/recipe/meal_type.d.ts +0 -3
- package/dist/types/recipe/meal_type.d.ts.map +0 -1
- package/dist/types/recipe/meal_type.js.map +0 -1
- package/dist/types/recipe/nutrition.d.ts.map +0 -1
- package/dist/types/recipe/nutrition.js.map +0 -1
- package/dist/types/recipe/recipe.d.ts.map +0 -1
- package/dist/types/recipe/recipe.js +0 -3
- package/dist/types/recipe/recipe.js.map +0 -1
- package/dist/types/recipe/recipe_source.d.ts.map +0 -1
- package/dist/types/recipe/recipe_source.js.map +0 -1
- package/dist/types/recipe/recipe_status.d.ts +0 -3
- package/dist/types/recipe/recipe_status.d.ts.map +0 -1
- package/dist/types/recipe/recipe_status.js +0 -11
- package/dist/types/recipe/recipe_status.js.map +0 -1
- package/dist/types/recipe/spiciness.d.ts.map +0 -1
- package/dist/types/recipe/spiciness.js.map +0 -1
- package/dist/types/recipe/temperature.d.ts.map +0 -1
- package/dist/types/recipe/temperature.js.map +0 -1
- package/dist/types/recipe/temperature_unit.d.ts.map +0 -1
- package/dist/types/recipe/temperature_unit.js.map +0 -1
- package/dist/types/recipe/unit.d.ts.map +0 -1
- package/dist/types/recipe/unit.js.map +0 -1
- package/dist/types/report/index.d.ts +0 -5
- package/dist/types/report/index.d.ts.map +0 -1
- package/dist/types/report/index.js.map +0 -1
- package/dist/types/report/report.d.ts +0 -27
- package/dist/types/report/report.d.ts.map +0 -1
- package/dist/types/report/report_priority.d.ts.map +0 -1
- package/dist/types/report/report_priority.js.map +0 -1
- package/dist/types/report/report_status.d.ts.map +0 -1
- package/dist/types/report/report_status.js.map +0 -1
- package/dist/types/report/report_target_type.d.ts +0 -3
- package/dist/types/report/report_target_type.d.ts.map +0 -1
- package/dist/types/report/report_target_type.js +0 -10
- package/dist/types/report/report_target_type.js.map +0 -1
- package/dist/types/report/report_type.d.ts +0 -3
- package/dist/types/report/report_type.d.ts.map +0 -1
- package/dist/types/report/report_type.js +0 -12
- package/dist/types/report/report_type.js.map +0 -1
- package/dist/types/submission/index.d.ts +0 -6
- package/dist/types/submission/index.d.ts.map +0 -1
- package/dist/types/submission/index.js.map +0 -1
- package/dist/types/submission/severity.d.ts +0 -3
- package/dist/types/submission/severity.d.ts.map +0 -1
- package/dist/types/submission/severity.js +0 -5
- package/dist/types/submission/severity.js.map +0 -1
- package/dist/types/submission/submission.d.ts +0 -16
- package/dist/types/submission/submission.d.ts.map +0 -1
- package/dist/types/submission/submission.js.map +0 -1
- package/dist/types/submission/submission_status.d.ts +0 -3
- package/dist/types/submission/submission_status.d.ts.map +0 -1
- package/dist/types/submission/submission_status.js +0 -9
- package/dist/types/submission/submission_status.js.map +0 -1
- package/dist/types/submission/suggestion.d.ts +0 -9
- package/dist/types/submission/suggestion.d.ts.map +0 -1
- package/dist/types/submission/suggestion.js +0 -3
- package/dist/types/submission/suggestion.js.map +0 -1
- package/dist/types/submission/suggestion_category.d.ts +0 -3
- package/dist/types/submission/suggestion_category.d.ts.map +0 -1
- package/dist/types/submission/suggestion_category.js +0 -11
- package/dist/types/submission/suggestion_category.js.map +0 -1
- package/src/config/ai.ts +0 -46
- package/src/config/common.ts +0 -1
- package/src/config/firestore.ts +0 -18
- package/src/config/index.ts +0 -6
- package/src/config/limits.ts +0 -53
- package/src/config/rtdb.ts +0 -7
- package/src/config/subscription.ts +0 -19
- package/src/types/ai/config.ts +0 -29
- package/src/types/ai/index.ts +0 -3
- package/src/types/ai/recipe.ts +0 -31
- package/src/types/ai/translation.ts +0 -12
- package/src/types/core/api.ts +0 -30
- package/src/types/core/pagination.ts +0 -20
- package/src/types/iam/profile.ts +0 -20
- package/src/types/iam/subscription.ts +0 -25
- package/src/types/iam/user_role.ts +0 -17
- package/src/types/recipe/cuisine.ts +0 -39
- package/src/types/recipe/filters.ts +0 -16
- package/src/types/report/index.ts +0 -4
- package/src/types/report/report.ts +0 -28
- package/src/types/report/report_target_type.ts +0 -7
- package/src/types/submission/index.ts +0 -5
- package/src/types/submission/severity.ts +0 -2
- package/src/types/submission/submission.ts +0 -16
- package/src/types/submission/submission_status.ts +0 -6
- package/src/types/submission/suggestion.ts +0 -9
- package/src/types/submission/suggestion_category.ts +0 -8
- /package/dist/types/{ingredient → ingredients}/category.d.ts +0 -0
- /package/dist/types/{ingredient → ingredients}/category.js +0 -0
- /package/dist/types/{ingredient → ingredients}/group.d.ts +0 -0
- /package/dist/types/{ingredient → ingredients}/group.js +0 -0
- /package/dist/types/{ingredient → ingredients}/index.d.ts +0 -0
- /package/dist/types/{ingredient → ingredients}/index.js +0 -0
- /package/dist/types/{ingredient → ingredients}/ingredient.js +0 -0
- /package/dist/types/{ingredient → ingredients}/ingredient_entity.js +0 -0
- /package/dist/types/{ingredient → ingredients}/ingredient_section.d.ts +0 -0
- /package/dist/types/{ingredient → ingredients}/ingredient_section.js +0 -0
- /package/dist/types/{ingredient → ingredients}/user_ingredient.js +0 -0
- /package/dist/types/{recipe → recipes}/allergen.d.ts +0 -0
- /package/dist/types/{recipe → recipes}/allergen.js +0 -0
- /package/dist/types/{recipe → recipes}/comment.d.ts +0 -0
- /package/dist/types/{recipe → recipes}/comment.js +0 -0
- /package/dist/types/{recipe → recipes}/dietary_tag.d.ts +0 -0
- /package/dist/types/{recipe → recipes}/dietary_tag.js +0 -0
- /package/dist/types/{recipe → recipes}/instruction.js +0 -0
- /package/dist/types/{recipe → recipes}/nutrition.d.ts +0 -0
- /package/dist/types/{recipe → recipes}/nutrition.js +0 -0
- /package/dist/types/{ai → recipes}/recipe.js +0 -0
- /package/dist/types/{recipe → recipes}/recipe_source.d.ts +0 -0
- /package/dist/types/{recipe → recipes}/recipe_source.js +0 -0
- /package/dist/types/{recipe → recipes}/temperature.d.ts +0 -0
- /package/dist/types/{recipe → recipes}/temperature.js +0 -0
- /package/dist/types/{recipe → recipes}/temperature_unit.d.ts +0 -0
- /package/dist/types/{recipe → recipes}/temperature_unit.js +0 -0
- /package/dist/types/{recipe → recipes}/unit.d.ts +0 -0
- /package/dist/types/{recipe → recipes}/unit.js +0 -0
- /package/dist/types/{report → reports}/report.js +0 -0
- /package/dist/types/{submission → reports}/submission.js +0 -0
- /package/dist/types/{core → settings}/settings.js +0 -0
- /package/dist/types/{iam → subscriptions}/subscription.js +0 -0
- /package/dist/types/{iam → subscriptions}/subscription_role.d.ts +0 -0
- /package/dist/types/{iam → subscriptions}/subscription_role.js +0 -0
- /package/dist/types/{iam → subscriptions}/subscription_tier.d.ts +0 -0
- /package/dist/types/{iam → subscriptions}/subscription_tier.js +0 -0
- /package/dist/types/{iam → users}/profile.js +0 -0
- /package/dist/types/{iam → users}/user.js +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Entity, Price } from "../core";
|
|
2
|
-
import { Unit } from "../
|
|
2
|
+
import { Unit } from "../recipes";
|
|
3
3
|
import { IngredientCategory } from "./category";
|
|
4
4
|
import { IngredientGroup } from "./group";
|
|
5
5
|
export interface IngredientEntityMeta extends Entity {
|
|
6
6
|
category: IngredientCategory;
|
|
7
7
|
group: IngredientGroup;
|
|
8
|
+
slug: string;
|
|
8
9
|
imageUrl?: string | null;
|
|
9
10
|
price?: Price;
|
|
10
|
-
slug: string;
|
|
11
11
|
standardUnit?: Unit;
|
|
12
12
|
}
|
|
13
13
|
export interface IngredientEntityContent {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ingredient_entity.d.ts","sourceRoot":"","sources":["../../../src/types/ingredients/ingredient_entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,WAAW,oBAAqB,SAAQ,MAAM;IAClD,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,KAAK,EAAE,eAAe,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,YAAY,CAAC,EAAE,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBACf,SAAQ,oBAAoB,EAAE,uBAAuB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ingredient_entity.js","sourceRoot":"","sources":["../../../src/types/ingredients/ingredient_entity.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ingredient_section.d.ts","sourceRoot":"","sources":["../../../src/types/ingredients/ingredient_section.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE7E,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ingredient_section.js","sourceRoot":"","sources":["../../../src/types/ingredients/ingredient_section.ts"],"names":[],"mappings":""}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Entity, Price, Timestamp } from "../core";
|
|
2
|
-
import { Unit } from "../
|
|
2
|
+
import { Unit } from "../recipes";
|
|
3
3
|
import { IngredientCategory } from "./category";
|
|
4
4
|
import { IngredientGroup } from "./group";
|
|
5
5
|
export interface UserIngredient extends Entity {
|
|
6
6
|
category: IngredientCategory;
|
|
7
|
+
slug: string;
|
|
7
8
|
expiresAt?: Timestamp;
|
|
8
9
|
group: IngredientGroup;
|
|
9
10
|
price?: Price;
|
|
10
11
|
quantity?: number;
|
|
11
|
-
slug: string;
|
|
12
12
|
unit?: Unit;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=user_ingredient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user_ingredient.d.ts","sourceRoot":"","sources":["../../../src/types/ingredients/user_ingredient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,WAAW,cAAe,SAAQ,MAAM;IAC5C,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,KAAK,EAAE,eAAe,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user_ingredient.js","sourceRoot":"","sources":["../../../src/types/ingredients/user_ingredient.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allergen.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/allergen.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,yIAclB,CAAC;AACX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allergen.js","sourceRoot":"","sources":["../../../src/types/recipes/allergen.ts"],"names":[],"mappings":";;;AAAa,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,MAAM,WAAW,aAAc,SAAQ,MAAM;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comment.js","sourceRoot":"","sources":["../../../src/types/
|
|
1
|
+
{"version":3,"file":"comment.js","sourceRoot":"","sources":["../../../src/types/recipes/comment.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const CUISINE_VALUES: readonly ["chinese", "japanese", "korean", "filipino", "indonesian", "malaysian", "singaporean", "thai", "vietnamese", "bangladeshi", "indian", "pakistani", "sri_lankan", "emirati", "iraqi", "jordanian", "lebanese", "palestinian", "saudi", "syrian", "yemeni", "persian", "turkish", "algerian", "egyptian", "moroccan", "sudanese", "tunisian", "ethiopian", "ghanaian", "kenyan", "nigerian", "south_african", "british", "french", "german", "irish", "italian", "portuguese", "spanish", "danish", "swedish", "greek", "hungarian", "polish", "russian", "ukrainian", "american", "cajun", "mexican", "cuban", "jamaican", "puerto_rican", "argentinian", "brazilian", "colombian", "peruvian", "venezuelan", "australian"];
|
|
2
|
+
export type Cuisine = (typeof CUISINE_VALUES)[number];
|
|
3
|
+
//# sourceMappingURL=cuisine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cuisine.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/cuisine.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,ssBAuFjB,CAAC;AAEX,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CUISINE_VALUES = void 0;
|
|
4
|
+
exports.CUISINE_VALUES = [
|
|
5
|
+
// East Asia
|
|
6
|
+
"chinese",
|
|
7
|
+
"japanese",
|
|
8
|
+
"korean",
|
|
9
|
+
// Southeast Asia
|
|
10
|
+
"filipino",
|
|
11
|
+
"indonesian",
|
|
12
|
+
"malaysian",
|
|
13
|
+
"singaporean",
|
|
14
|
+
"thai",
|
|
15
|
+
"vietnamese",
|
|
16
|
+
// South Asia
|
|
17
|
+
"bangladeshi",
|
|
18
|
+
"indian",
|
|
19
|
+
"pakistani",
|
|
20
|
+
"sri_lankan",
|
|
21
|
+
// Middle East
|
|
22
|
+
"emirati",
|
|
23
|
+
"iraqi",
|
|
24
|
+
"jordanian",
|
|
25
|
+
"lebanese",
|
|
26
|
+
"palestinian",
|
|
27
|
+
"saudi",
|
|
28
|
+
"syrian",
|
|
29
|
+
"yemeni",
|
|
30
|
+
// Central Asia & Caucasus
|
|
31
|
+
"persian",
|
|
32
|
+
"turkish",
|
|
33
|
+
// North Africa
|
|
34
|
+
"algerian",
|
|
35
|
+
"egyptian",
|
|
36
|
+
"moroccan",
|
|
37
|
+
"sudanese",
|
|
38
|
+
"tunisian",
|
|
39
|
+
// Sub-Saharan Africa
|
|
40
|
+
"ethiopian",
|
|
41
|
+
"ghanaian",
|
|
42
|
+
"kenyan",
|
|
43
|
+
"nigerian",
|
|
44
|
+
"south_african",
|
|
45
|
+
// Western Europe
|
|
46
|
+
"british",
|
|
47
|
+
"french",
|
|
48
|
+
"german",
|
|
49
|
+
"irish",
|
|
50
|
+
"italian",
|
|
51
|
+
"portuguese",
|
|
52
|
+
"spanish",
|
|
53
|
+
// Northern Europe
|
|
54
|
+
"danish",
|
|
55
|
+
"swedish",
|
|
56
|
+
// Eastern Europe
|
|
57
|
+
"greek",
|
|
58
|
+
"hungarian",
|
|
59
|
+
"polish",
|
|
60
|
+
"russian",
|
|
61
|
+
"ukrainian",
|
|
62
|
+
// North America
|
|
63
|
+
"american",
|
|
64
|
+
"cajun",
|
|
65
|
+
"mexican",
|
|
66
|
+
// Caribbean
|
|
67
|
+
"cuban",
|
|
68
|
+
"jamaican",
|
|
69
|
+
"puerto_rican",
|
|
70
|
+
// South America
|
|
71
|
+
"argentinian",
|
|
72
|
+
"brazilian",
|
|
73
|
+
"colombian",
|
|
74
|
+
"peruvian",
|
|
75
|
+
"venezuelan",
|
|
76
|
+
// Oceania
|
|
77
|
+
"australian",
|
|
78
|
+
];
|
|
79
|
+
//# sourceMappingURL=cuisine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cuisine.js","sourceRoot":"","sources":["../../../src/types/recipes/cuisine.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG;IAC5B,YAAY;IACZ,SAAS;IACT,UAAU;IACV,QAAQ;IAER,iBAAiB;IACjB,UAAU;IACV,YAAY;IACZ,WAAW;IACX,aAAa;IACb,MAAM;IACN,YAAY;IAEZ,aAAa;IACb,aAAa;IACb,QAAQ;IACR,WAAW;IACX,YAAY;IAEZ,cAAc;IACd,SAAS;IACT,OAAO;IACP,WAAW;IACX,UAAU;IACV,aAAa;IACb,OAAO;IACP,QAAQ;IACR,QAAQ;IAER,0BAA0B;IAC1B,SAAS;IACT,SAAS;IAET,eAAe;IACf,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IAEV,qBAAqB;IACrB,WAAW;IACX,UAAU;IACV,QAAQ;IACR,UAAU;IACV,eAAe;IAEf,iBAAiB;IACjB,SAAS;IACT,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,SAAS;IACT,YAAY;IACZ,SAAS;IAET,kBAAkB;IAClB,QAAQ;IACR,SAAS;IAET,iBAAiB;IACjB,OAAO;IACP,WAAW;IACX,QAAQ;IACR,SAAS;IACT,WAAW;IAEX,gBAAgB;IAChB,UAAU;IACV,OAAO;IACP,SAAS;IAET,YAAY;IACZ,OAAO;IACP,UAAU;IACV,cAAc;IAEd,gBAAgB;IAChB,aAAa;IACb,WAAW;IACX,WAAW;IACX,UAAU;IACV,YAAY;IAEZ,UAAU;IACV,YAAY;CACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dietary_tag.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/dietary_tag.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,qMAgBrB,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dietary_tag.js","sourceRoot":"","sources":["../../../src/types/recipes/dietary_tag.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;IAChC,YAAY;IACZ,UAAU;IACV,aAAa;IACb,OAAO;IACP,cAAc;IACd,MAAM;IACN,UAAU;IACV,SAAS;IACT,YAAY;IACZ,WAAW;IACX,UAAU;IACV,aAAa;IACb,UAAU;IACV,OAAO;IACP,YAAY;CACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"difficulty.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/difficulty.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,+CAKpB,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DIFFICULTY_VALUES = void 0;
|
|
4
4
|
exports.DIFFICULTY_VALUES = [
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
5
|
+
"easy",
|
|
6
|
+
"medium",
|
|
7
|
+
"hard",
|
|
8
8
|
"expert",
|
|
9
9
|
];
|
|
10
10
|
//# sourceMappingURL=difficulty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"difficulty.js","sourceRoot":"","sources":["../../../src/types/recipes/difficulty.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,MAAM;IACN,QAAQ;IACR,MAAM;IACN,QAAQ;CACA,CAAC"}
|
|
@@ -3,12 +3,10 @@ export * from "./comment";
|
|
|
3
3
|
export * from "./cuisine";
|
|
4
4
|
export * from "./dietary_tag";
|
|
5
5
|
export * from "./difficulty";
|
|
6
|
-
export * from "./filters";
|
|
7
6
|
export * from "./instruction";
|
|
8
7
|
export * from "./meal_type";
|
|
9
8
|
export * from "./nutrition";
|
|
10
9
|
export * from "./recipe_source";
|
|
11
|
-
export * from "./recipe";
|
|
12
10
|
export * from "./spiciness";
|
|
13
11
|
export * from "./temperature_unit";
|
|
14
12
|
export * from "./temperature";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAEhC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC"}
|
|
@@ -19,12 +19,11 @@ __exportStar(require("./comment"), exports);
|
|
|
19
19
|
__exportStar(require("./cuisine"), exports);
|
|
20
20
|
__exportStar(require("./dietary_tag"), exports);
|
|
21
21
|
__exportStar(require("./difficulty"), exports);
|
|
22
|
-
__exportStar(require("./filters"), exports);
|
|
23
22
|
__exportStar(require("./instruction"), exports);
|
|
24
23
|
__exportStar(require("./meal_type"), exports);
|
|
25
24
|
__exportStar(require("./nutrition"), exports);
|
|
26
25
|
__exportStar(require("./recipe_source"), exports);
|
|
27
|
-
|
|
26
|
+
//export * from "./recipe";
|
|
28
27
|
__exportStar(require("./spiciness"), exports);
|
|
29
28
|
__exportStar(require("./temperature_unit"), exports);
|
|
30
29
|
__exportStar(require("./temperature"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/recipes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,gDAA8B;AAC9B,+CAA6B;AAC7B,gDAA8B;AAC9B,8CAA4B;AAC5B,8CAA4B;AAC5B,kDAAgC;AAChC,2BAA2B;AAC3B,8CAA4B;AAC5B,qDAAmC;AACnC,gDAA8B;AAC9B,yCAAuB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Temperature } from "./temperature";
|
|
2
2
|
export interface InstructionMeta {
|
|
3
|
+
step: number;
|
|
3
4
|
duration?: number;
|
|
4
5
|
equipment?: string[];
|
|
5
6
|
ingredients?: string[];
|
|
6
7
|
optional?: boolean;
|
|
7
|
-
step: number;
|
|
8
8
|
temperature?: Temperature;
|
|
9
9
|
}
|
|
10
10
|
export interface InstructionContent {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instruction.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/instruction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAY,SAAQ,eAAe,EAAE,kBAAkB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instruction.js","sourceRoot":"","sources":["../../../src/types/recipes/instruction.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meal_type.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/meal_type.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,gHAWnB,CAAC;AACX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meal_type.js","sourceRoot":"","sources":["../../../src/types/recipes/meal_type.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,WAAW;IACX,WAAW;IACX,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,OAAO;IACP,OAAO;IACP,OAAO;IACP,MAAM;IACN,OAAO;CACC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nutrition.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/nutrition.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nutrition.js","sourceRoot":"","sources":["../../../src/types/recipes/nutrition.ts"],"names":[],"mappings":""}
|
|
@@ -5,7 +5,7 @@ import { Cuisine } from "./cuisine";
|
|
|
5
5
|
import { DietaryTag } from "./dietary_tag";
|
|
6
6
|
import { Difficulty } from "./difficulty";
|
|
7
7
|
import { Equipment, EquipmentContent, EquipmentMeta } from "../equipment";
|
|
8
|
-
import { IngredientSection, IngredientSectionContent, IngredientSectionMeta } from "../
|
|
8
|
+
import { IngredientSection, IngredientSectionContent, IngredientSectionMeta } from "../ingredients";
|
|
9
9
|
import { Instruction, InstructionContent, InstructionMeta } from "./instruction";
|
|
10
10
|
import { MealType } from "./meal_type";
|
|
11
11
|
import { Nutrition } from "./nutrition";
|
|
@@ -15,7 +15,7 @@ export interface RecipeMeta extends Entity {
|
|
|
15
15
|
allergens: Allergen[];
|
|
16
16
|
confidence: number;
|
|
17
17
|
createdBy: string;
|
|
18
|
-
|
|
18
|
+
cuisines: Cuisine[];
|
|
19
19
|
dietaryTags: DietaryTag[];
|
|
20
20
|
difficulty: Difficulty;
|
|
21
21
|
equipment?: EquipmentMeta[];
|
|
@@ -46,7 +46,7 @@ export interface Recipe extends Entity {
|
|
|
46
46
|
allergens: Allergen[];
|
|
47
47
|
confidence: number;
|
|
48
48
|
createdBy: string;
|
|
49
|
-
|
|
49
|
+
cuisines: Cuisine[];
|
|
50
50
|
description: string;
|
|
51
51
|
dietaryTags: DietaryTag[];
|
|
52
52
|
difficulty: Difficulty;
|
|
@@ -68,13 +68,4 @@ export interface Recipe extends Entity {
|
|
|
68
68
|
title: string;
|
|
69
69
|
videoUrl?: string;
|
|
70
70
|
}
|
|
71
|
-
export interface RecipeStats {
|
|
72
|
-
comments: number;
|
|
73
|
-
likes: number;
|
|
74
|
-
ratingCount: number;
|
|
75
|
-
ratingSum: number;
|
|
76
|
-
saves: number;
|
|
77
|
-
updatedAt: number;
|
|
78
|
-
views: number;
|
|
79
|
-
}
|
|
80
71
|
//# sourceMappingURL=recipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACtB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,eAAe,EAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,WAAW,UAAW,SAAQ,MAAM;IACxC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,aAAa,EAAE,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,kBAAkB,EAAE,qBAAqB,EAAE,CAAC;IAC5C,YAAY,EAAE,eAAe,EAAE,CAAC;IAChC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,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,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,MAAO,SAAQ,MAAM;IACpC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IACxC,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipe.js","sourceRoot":"","sources":["../../../src/types/
|
|
1
|
+
{"version":3,"file":"recipe.js","sourceRoot":"","sources":["../../../src/types/recipes/recipe.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipe_source.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/recipe_source.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,mCAAoC,CAAC;AACtE,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipe_source.js","sourceRoot":"","sources":["../../../src/types/recipes/recipe_source.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipe_stats.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/recipe_stats.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipe_stats.js","sourceRoot":"","sources":["../../../src/types/recipes/recipe_stats.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const SPICINESS_VALUES: readonly ["none", "mild", "medium", "hot"];
|
|
1
|
+
export declare const SPICINESS_VALUES: readonly ["none", "mild", "medium", "hot", "extreme"];
|
|
2
2
|
export type Spiciness = (typeof SPICINESS_VALUES)[number];
|
|
3
3
|
//# sourceMappingURL=spiciness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spiciness.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/spiciness.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,uDAAwD,CAAC;AACtF,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SPICINESS_VALUES = void 0;
|
|
4
|
-
exports.SPICINESS_VALUES = ["none", "mild", "medium", "hot"];
|
|
4
|
+
exports.SPICINESS_VALUES = ["none", "mild", "medium", "hot", "extreme"];
|
|
5
5
|
//# sourceMappingURL=spiciness.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spiciness.js","sourceRoot":"","sources":["../../../src/types/recipes/spiciness.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,CAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"temperature.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/temperature.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"temperature.js","sourceRoot":"","sources":["../../../src/types/recipes/temperature.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"temperature_unit.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/temperature_unit.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,oCAAqC,CAAC;AAC1E,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"temperature_unit.js","sourceRoot":"","sources":["../../../src/types/recipes/temperature_unit.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG,CAAC,SAAS,EAAE,YAAY,CAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unit.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/unit.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,6TA8Cd,CAAC;AACX,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unit.js","sourceRoot":"","sources":["../../../src/types/recipes/unit.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,kBAAkB;IAClB,IAAI;IACJ,GAAG;IACH,oBAAoB;IACpB,KAAK;IACL,MAAM;IACN,OAAO;IACP,KAAK;IACL,MAAM;IACN,OAAO;IACP,QAAQ;IACR,kBAAkB;IAClB,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,oBAAoB;IACpB,IAAI;IACJ,IAAI;IACJ,gBAAgB;IAChB,OAAO;IACP,OAAO;IACP,MAAM;IACN,SAAS;IACT,OAAO;IACP,SAAS;IACT,mBAAmB;IACnB,OAAO;IACP,OAAO;IACP,OAAO;IACP,MAAM;IACN,OAAO;IACP,MAAM;IACN,QAAQ;IACR,OAAO;IACP,OAAO;IACP,YAAY;IACZ,KAAK;IACL,SAAS;IACT,QAAQ;IACR,KAAK;IACL,YAAY;IACZ,SAAS;IACT,OAAO;IACP,MAAM;IACN,MAAM;CACE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../src/types/reports/category.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,0FAOzB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.REPORT_CATEGORY_VALUES = void 0;
|
|
4
|
+
exports.REPORT_CATEGORY_VALUES = [
|
|
5
|
+
"spam",
|
|
6
|
+
"harassment",
|
|
7
|
+
"inappropriate",
|
|
8
|
+
"copyright",
|
|
9
|
+
"misinformation",
|
|
10
|
+
"other",
|
|
11
|
+
];
|
|
12
|
+
//# sourceMappingURL=category.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.js","sourceRoot":"","sources":["../../../src/types/reports/category.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,MAAM;IACN,YAAY;IACZ,eAAe;IACf,WAAW;IACX,gBAAgB;IAChB,OAAO;CACC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./category";
|
|
2
|
+
export * from "./priority";
|
|
3
|
+
export * from "./report";
|
|
4
|
+
export * from "./status";
|
|
5
|
+
export * from "./submission";
|
|
6
|
+
export * from "./target";
|
|
7
|
+
export * from "./update_type";
|
|
8
|
+
export * from "./update";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/reports/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC"}
|
|
@@ -14,9 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./category"), exports);
|
|
18
|
+
__exportStar(require("./priority"), exports);
|
|
19
|
+
__exportStar(require("./report"), exports);
|
|
20
|
+
__exportStar(require("./status"), exports);
|
|
18
21
|
__exportStar(require("./submission"), exports);
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./
|
|
22
|
+
__exportStar(require("./target"), exports);
|
|
23
|
+
__exportStar(require("./update_type"), exports);
|
|
24
|
+
__exportStar(require("./update"), exports);
|
|
22
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/reports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,6CAA2B;AAC3B,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,2CAAyB;AACzB,gDAA8B;AAC9B,2CAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priority.d.ts","sourceRoot":"","sources":["../../../src/types/reports/priority.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,gDAKzB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priority.js","sourceRoot":"","sources":["../../../src/types/reports/priority.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,UAAU;IACV,MAAM;IACN,QAAQ;IACR,KAAK;CACG,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EntityBase } from "../core";
|
|
2
|
+
import { ReportPriority } from "./priority";
|
|
3
|
+
import { ReportStatus } from "./status";
|
|
4
|
+
import { ReportSubmission } from "./submission";
|
|
5
|
+
import { ReportTarget } from "./target";
|
|
6
|
+
import { ReportUpdate } from "./update";
|
|
7
|
+
export interface Report extends EntityBase {
|
|
8
|
+
priority: ReportPriority;
|
|
9
|
+
status: ReportStatus;
|
|
10
|
+
reporterId: string;
|
|
11
|
+
submission: ReportSubmission;
|
|
12
|
+
target: ReportTarget;
|
|
13
|
+
}
|
|
14
|
+
export interface UpdatedReport extends Report {
|
|
15
|
+
updates: ReportUpdate[];
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=report.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../src/types/reports/report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,MAAM,WAAW,MAAO,SAAQ,UAAU;IACxC,QAAQ,EAAE,cAAc,CAAC;IACzB,MAAM,EAAE,YAAY,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,MAAM,EAAE,YAAY,CAAC;CACtB;AAED,MAAM,WAAW,aAAc,SAAQ,MAAM;IAC3C,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report.js","sourceRoot":"","sources":["../../../src/types/
|
|
1
|
+
{"version":3,"file":"report.js","sourceRoot":"","sources":["../../../src/types/reports/report.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const REPORT_STATUS_VALUES: readonly ["closed", "escalated", "in_progress", "pending", "rejected", "resolved"];
|
|
2
2
|
export type ReportStatus = (typeof REPORT_STATUS_VALUES)[number];
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/types/reports/status.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,oFAOvB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../../src/types/reports/status.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG;IAClC,QAAQ;IACR,WAAW;IACX,aAAa;IACb,SAAS;IACT,UAAU;IACV,UAAU;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submission.d.ts","sourceRoot":"","sources":["../../../src/types/reports/submission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submission.js","sourceRoot":"","sources":["../../../src/types/reports/submission.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface AiTarget {
|
|
2
|
+
type: "ai";
|
|
3
|
+
recipeId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ImageTarget {
|
|
6
|
+
type: "image";
|
|
7
|
+
imageId: string;
|
|
8
|
+
parentType: "recipe" | "profile";
|
|
9
|
+
parentId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ProfileTarget {
|
|
12
|
+
type: "profile";
|
|
13
|
+
profileId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface RecipeTarget {
|
|
16
|
+
type: "recipe";
|
|
17
|
+
recipeId: string;
|
|
18
|
+
}
|
|
19
|
+
export type ReportTarget = AiTarget | ImageTarget | ProfileTarget | RecipeTarget;
|
|
20
|
+
//# sourceMappingURL=target.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../src/types/reports/target.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,QAAQ,GAAG,SAAS,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,WAAW,GAAG,aAAa,GAAG,YAAY,CAAC"}
|