@cravery/core 0.0.57 → 0.0.59
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 +4 -3
- package/dist/types/subscriptions/index.d.ts.map +1 -0
- package/dist/types/{iam → subscriptions}/index.js +4 -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 +8 -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
package/dist/config/rtdb.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rtdb.d.ts","sourceRoot":"","sources":["../../src/config/rtdb.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;CAMtB,CAAC"}
|
package/dist/config/rtdb.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RTDB_PATHS = void 0;
|
|
4
|
-
exports.RTDB_PATHS = {
|
|
5
|
-
AILimits: "ai/limits",
|
|
6
|
-
AIUsage: "ai/usage",
|
|
7
|
-
MonitoringErrors: "monitoring/errors",
|
|
8
|
-
MonitoringMetrics: "monitoring/metrics",
|
|
9
|
-
RecipeStats: "stats/recipes",
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=rtdb.js.map
|
package/dist/config/rtdb.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rtdb.js","sourceRoot":"","sources":["../../src/config/rtdb.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,QAAQ,EAAE,WAAW;IACrB,OAAO,EAAE,UAAU;IACnB,gBAAgB,EAAE,mBAAmB;IACrC,iBAAiB,EAAE,oBAAoB;IACvC,WAAW,EAAE,eAAe;CAC7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../src/config/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE9D,eAAO,MAAM,uBAAuB,IAAI,CAAC;AAEzC,eAAO,MAAM,iBAAiB,EAAE,MAAM,CACpC,OAAO,CAAC,gBAAgB,EAAE,MAAM,CAAC,EACjC,gBAAgB,CAYjB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SUBSCRIPTIONCOSTS = exports.MAX_MEMBERS_FAMILY_PLAN = void 0;
|
|
4
|
-
exports.MAX_MEMBERS_FAMILY_PLAN = 4;
|
|
5
|
-
exports.SUBSCRIPTIONCOSTS = {
|
|
6
|
-
pro: {
|
|
7
|
-
currency: "USD",
|
|
8
|
-
monthly: 12.99,
|
|
9
|
-
yearly: 99.99,
|
|
10
|
-
},
|
|
11
|
-
family: {
|
|
12
|
-
currency: "USD",
|
|
13
|
-
monthly: 22.99,
|
|
14
|
-
yearly: 179.99,
|
|
15
|
-
},
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=subscription.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../src/config/subscription.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAG,CAAC,CAAC;AAE5B,QAAA,iBAAiB,GAG1B;IACF,GAAG,EAAE;QACH,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,KAAK;KACd;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,MAAM;KACf;CACF,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AI model configuration, costs are in USD:
|
|
3
|
-
* - multimodal: cost per 1,000,000 input/output tokens
|
|
4
|
-
* - image: cost per image (stored in cost.output)
|
|
5
|
-
* - embedding: cost per 1,000 input tokens
|
|
6
|
-
*/
|
|
7
|
-
export type AIModel = "Gemini3Flash" | "Gemini25Pro" | "Gemini25Flash" | "Gemini25FlashLite" | "Imagen4Fast" | "GeminiEmbedding001";
|
|
8
|
-
export type AIModelType = "multimodal" | "image" | "embedding";
|
|
9
|
-
export interface AIModelCost {
|
|
10
|
-
input: number;
|
|
11
|
-
output: number;
|
|
12
|
-
}
|
|
13
|
-
export interface AIModelConfig {
|
|
14
|
-
id: string;
|
|
15
|
-
alias: string;
|
|
16
|
-
cost: AIModelCost;
|
|
17
|
-
name: string;
|
|
18
|
-
type: AIModelType;
|
|
19
|
-
}
|
|
20
|
-
export type AIConfig = Record<AIModel, AIModelConfig>;
|
|
21
|
-
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/types/ai/config.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,OAAO,GACf,cAAc,GACd,aAAa,GACb,eAAe,GACf,mBAAmB,GACnB,aAAa,GACb,oBAAoB,CAAC;AACzB,MAAM,MAAM,WAAW,GAAG,YAAY,GAAG,OAAO,GAAG,WAAW,CAAC;AAE/D,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/types/ai/config.ts"],"names":[],"mappings":""}
|
package/dist/types/ai/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/ai/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/ai/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,gDAA8B"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Equipment } from "../equipment";
|
|
2
|
-
import { IngredientSection } from "../ingredient";
|
|
3
|
-
import { Allergen, Cuisine, DietaryTag, Difficulty, Instruction, MealType, Nutrition, Spiciness } from "../recipe";
|
|
4
|
-
export interface AIRecipe {
|
|
5
|
-
allergens: Allergen[];
|
|
6
|
-
confidence: number;
|
|
7
|
-
cuisine: Cuisine;
|
|
8
|
-
description: string;
|
|
9
|
-
dietaryTags: DietaryTag[];
|
|
10
|
-
difficulty: Difficulty;
|
|
11
|
-
equipment?: Equipment[];
|
|
12
|
-
ingredientSections: IngredientSection[];
|
|
13
|
-
instructions: Instruction[];
|
|
14
|
-
mealTypes: MealType[];
|
|
15
|
-
nutrition?: Nutrition;
|
|
16
|
-
servings: number;
|
|
17
|
-
spiciness: Spiciness;
|
|
18
|
-
time: number;
|
|
19
|
-
tips?: string[];
|
|
20
|
-
title: string;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=recipe.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../../src/types/ai/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EACL,QAAQ,EACR,OAAO,EACP,UAAU,EACV,UAAU,EACV,WAAW,EACX,QAAQ,EACR,SAAS,EACT,SAAS,EACV,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,QAAQ;IACvB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;IACxB,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IACxC,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EquipmentContent } from "../equipment";
|
|
2
|
-
import { IngredientSectionContent } from "../ingredient";
|
|
3
|
-
import { InstructionContent } from "../recipe";
|
|
4
|
-
export interface AIRecipeTranslation {
|
|
5
|
-
description: string;
|
|
6
|
-
equipment?: EquipmentContent[];
|
|
7
|
-
ingredientSections: IngredientSectionContent[];
|
|
8
|
-
instructions: InstructionContent[];
|
|
9
|
-
tips?: string[];
|
|
10
|
-
title: string;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=translation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../src/types/ai/translation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC/B,kBAAkB,EAAE,wBAAwB,EAAE,CAAC;IAC/C,YAAY,EAAE,kBAAkB,EAAE,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"translation.js","sourceRoot":"","sources":["../../../src/types/ai/translation.ts"],"names":[],"mappings":""}
|
package/dist/types/core/api.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface ApiSuccessResponse<T> {
|
|
2
|
-
success: true;
|
|
3
|
-
data: T;
|
|
4
|
-
}
|
|
5
|
-
export interface ApiErrorResponse {
|
|
6
|
-
success: false;
|
|
7
|
-
error: {
|
|
8
|
-
code: string;
|
|
9
|
-
message: string;
|
|
10
|
-
details?: unknown;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export type ApiResponse<T> = ApiSuccessResponse<T> | ApiErrorResponse;
|
|
14
|
-
export declare function success<T>(data: T): ApiSuccessResponse<T>;
|
|
15
|
-
export declare function failure(code: string, message: string, details?: unknown): ApiErrorResponse;
|
|
16
|
-
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/types/core/api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,EAAE,CAAC,CAAC;CACT;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,KAAK,CAAC;IACf,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC;CACH;AAED,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,kBAAkB,CAAC,CAAC,CAAC,GAAG,gBAAgB,CAAC;AAEtE,wBAAgB,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAEzD;AAED,wBAAgB,OAAO,CACrB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,OAAO,GAChB,gBAAgB,CAKlB"}
|
package/dist/types/core/api.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.success = success;
|
|
4
|
-
exports.failure = failure;
|
|
5
|
-
function success(data) {
|
|
6
|
-
return { success: true, data };
|
|
7
|
-
}
|
|
8
|
-
function failure(code, message, details) {
|
|
9
|
-
return {
|
|
10
|
-
success: false,
|
|
11
|
-
error: { code, message, details },
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=api.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/types/core/api.ts"],"names":[],"mappings":";;AAgBA,0BAEC;AAED,0BASC;AAbD,SAAgB,OAAO,CAAI,IAAO;IAChC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AACjC,CAAC;AAED,SAAgB,OAAO,CACrB,IAAY,EACZ,OAAe,EACf,OAAiB;IAEjB,OAAO;QACL,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE;KAClC,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"asset.d.ts","sourceRoot":"","sources":["../../../src/types/core/asset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,WAAW,KAAM,SAAQ,MAAM;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"asset.js","sourceRoot":"","sources":["../../../src/types/core/asset.ts"],"names":[],"mappings":""}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface CursorData {
|
|
2
|
-
sortValue: number;
|
|
3
|
-
id: string;
|
|
4
|
-
}
|
|
5
|
-
export type PaginationDirection = "forward" | "backward";
|
|
6
|
-
export interface CursorPaginationParams {
|
|
7
|
-
limit?: number;
|
|
8
|
-
cursor?: string;
|
|
9
|
-
direction?: PaginationDirection;
|
|
10
|
-
}
|
|
11
|
-
export interface CursorPaginatedResult<T> {
|
|
12
|
-
data: T[];
|
|
13
|
-
startCursor: string | null;
|
|
14
|
-
endCursor: string | null;
|
|
15
|
-
hasNextPage: boolean;
|
|
16
|
-
hasPreviousPage: boolean;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=pagination.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../src/types/core/pagination.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,UAAU,CAAC;AAEzD,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,mBAAmB,CAAC;CACjC;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC;IACtC,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;CAC1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.js","sourceRoot":"","sources":["../../../src/types/core/pagination.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/types/core/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,OAAO,EACP,UAAU,EACV,UAAU,EACV,SAAS,EACT,eAAe,EAChB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,QAAS,SAAQ,MAAM;IACtC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,aAAa,EAAE,oBAAoB,CAAC;IACpC,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,eAAe,EAAE,eAAe,CAAC;IACjC,KAAK,EAAE,KAAK,CAAC;CACd"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/types/core/settings.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/iam/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/iam/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,sDAAoC;AACpC,wDAAsC;AACtC,sDAAoC;AACpC,iDAA+B;AAC/B,8CAA4B;AAC5B,yCAAuB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Entity } from "../core";
|
|
2
|
-
export interface Profile extends Entity {
|
|
3
|
-
bio?: string;
|
|
4
|
-
email: string;
|
|
5
|
-
heroUrl?: string;
|
|
6
|
-
imageUrl?: string;
|
|
7
|
-
name: string;
|
|
8
|
-
public: boolean;
|
|
9
|
-
verified: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface ProfileStats {
|
|
12
|
-
followers: number;
|
|
13
|
-
following: number;
|
|
14
|
-
likes: number;
|
|
15
|
-
recipes: number;
|
|
16
|
-
saves: number;
|
|
17
|
-
updatedAt: number;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=profile.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../src/types/iam/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,MAAM,WAAW,OAAQ,SAAQ,MAAM;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"profile_status.d.ts","sourceRoot":"","sources":["../../../src/types/iam/profile_status.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,wDAKxB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"profile_status.js","sourceRoot":"","sources":["../../../src/types/iam/profile_status.ts"],"names":[],"mappings":";;;AAAa,QAAA,qBAAqB,GAAG;IACnC,QAAQ;IACR,SAAS;IACT,SAAS;IACT,WAAW;CACH,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Entity, Timestamp } from "../core";
|
|
2
|
-
import { SubscriptionRole } from "./subscription_role";
|
|
3
|
-
import { SubscriptionStatus } from "./subscription_status";
|
|
4
|
-
import { SubscriptionTier } from "./subscription_tier";
|
|
5
|
-
export interface Member {
|
|
6
|
-
userId: string;
|
|
7
|
-
role: SubscriptionRole;
|
|
8
|
-
status: SubscriptionStatus;
|
|
9
|
-
invitedAt: Timestamp;
|
|
10
|
-
joinedAt?: Timestamp;
|
|
11
|
-
}
|
|
12
|
-
export interface Subscription extends Entity {
|
|
13
|
-
expiresAt: Timestamp;
|
|
14
|
-
members: Member[];
|
|
15
|
-
providerId: string;
|
|
16
|
-
tier: SubscriptionTier;
|
|
17
|
-
}
|
|
18
|
-
export interface SubscriptionCost {
|
|
19
|
-
currency: string;
|
|
20
|
-
monthly: number;
|
|
21
|
-
yearly: number;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=subscription.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../src/types/iam/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,MAAM,WAAW,MAAM;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,YAAa,SAAQ,MAAM;IAC1C,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../src/types/iam/subscription.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription_role.d.ts","sourceRoot":"","sources":["../../../src/types/iam/subscription_role.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,8BAA+B,CAAC;AACrE,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription_role.js","sourceRoot":"","sources":["../../../src/types/iam/subscription_role.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAU,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription_status.d.ts","sourceRoot":"","sources":["../../../src/types/iam/subscription_status.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,kEAM7B,CAAC;AACX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription_status.js","sourceRoot":"","sources":["../../../src/types/iam/subscription_status.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG;IACxC,QAAQ;IACR,SAAS;IACT,SAAS;IACT,SAAS;IACT,UAAU;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription_tier.d.ts","sourceRoot":"","sources":["../../../src/types/iam/subscription_tier.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,oCAAqC,CAAC;AAC3E,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription_tier.js","sourceRoot":"","sources":["../../../src/types/iam/subscription_tier.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAU,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/types/iam/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,WAAW,IAAK,SAAQ,MAAM;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const USER_ROLE_VALUES: readonly ["admin", "developer", "moderator", "translator", "user", "guest"];
|
|
2
|
-
export type UserRole = (typeof USER_ROLE_VALUES)[number];
|
|
3
|
-
export declare const PRIVILEGED_USER_ROLES: UserRole[];
|
|
4
|
-
export type PrivilegedUserRole = (typeof PRIVILEGED_USER_ROLES)[number];
|
|
5
|
-
//# sourceMappingURL=user_role.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user_role.d.ts","sourceRoot":"","sources":["../../../src/types/iam/user_role.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,6EAOnB,CAAC;AACX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzD,eAAO,MAAM,qBAAqB,EAAE,QAAQ,EAK3C,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PRIVILEGED_USER_ROLES = exports.USER_ROLE_VALUES = void 0;
|
|
4
|
-
exports.USER_ROLE_VALUES = [
|
|
5
|
-
"admin",
|
|
6
|
-
"developer",
|
|
7
|
-
"moderator",
|
|
8
|
-
"translator",
|
|
9
|
-
"user",
|
|
10
|
-
"guest",
|
|
11
|
-
];
|
|
12
|
-
exports.PRIVILEGED_USER_ROLES = [
|
|
13
|
-
"admin",
|
|
14
|
-
"developer",
|
|
15
|
-
"moderator",
|
|
16
|
-
"translator",
|
|
17
|
-
];
|
|
18
|
-
//# sourceMappingURL=user_role.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user_role.js","sourceRoot":"","sources":["../../../src/types/iam/user_role.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,OAAO;IACP,WAAW;IACX,WAAW;IACX,YAAY;IACZ,MAAM;IACN,OAAO;CACC,CAAC;AAGE,QAAA,qBAAqB,GAAe;IAC/C,OAAO;IACP,WAAW;IACX,WAAW;IACX,YAAY;CACb,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user_status.d.ts","sourceRoot":"","sources":["../../../src/types/iam/user_status.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,wDAKrB,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user_status.js","sourceRoot":"","sources":["../../../src/types/iam/user_status.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;IAChC,QAAQ;IACR,SAAS;IACT,SAAS;IACT,WAAW;CACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../src/types/ingredient/category.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,qSA0B7B,CAAC;AACX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"category.js","sourceRoot":"","sources":["../../../src/types/ingredient/category.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG;IACxC,QAAQ;IACR,YAAY;IACZ,MAAM;IACN,SAAS;IACT,SAAS;IACT,OAAO;IACP,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,WAAW;IACX,QAAQ;IACR,YAAY;IACZ,YAAY;IACZ,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,UAAU;IACV,WAAW;IACX,QAAQ;IACR,eAAe;IACf,WAAW;IACX,MAAM;CACE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../src/types/ingredient/group.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,8DAM1B,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"group.js","sourceRoot":"","sources":["../../../src/types/ingredient/group.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG;IACrC,SAAS;IACT,SAAS;IACT,QAAQ;IACR,QAAQ;IACR,OAAO;CACC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/ingredient/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/ingredient/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,0CAAwB;AACxB,sDAAoC;AACpC,uDAAqC;AACrC,+CAA6B;AAC7B,oDAAkC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ingredient.d.ts","sourceRoot":"","sources":["../../../src/types/ingredient/ingredient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,UAAW,SAAQ,cAAc,EAAE,iBAAiB;CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ingredient.js","sourceRoot":"","sources":["../../../src/types/ingredient/ingredient.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ingredient_entity.d.ts","sourceRoot":"","sources":["../../../src/types/ingredient/ingredient_entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,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,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ingredient_entity.js","sourceRoot":"","sources":["../../../src/types/ingredient/ingredient_entity.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ingredient_section.d.ts","sourceRoot":"","sources":["../../../src/types/ingredient/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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ingredient_section.js","sourceRoot":"","sources":["../../../src/types/ingredient/ingredient_section.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user_ingredient.d.ts","sourceRoot":"","sources":["../../../src/types/ingredient/user_ingredient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,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,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,KAAK,EAAE,eAAe,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,IAAI,CAAC;CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user_ingredient.js","sourceRoot":"","sources":["../../../src/types/ingredient/user_ingredient.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/moderation/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./moderation_status"), exports);
|
|
18
|
-
__exportStar(require("./moderation"), exports);
|
|
19
|
-
__exportStar(require("./priority"), exports);
|
|
20
|
-
__exportStar(require("./severity"), exports);
|
|
21
|
-
__exportStar(require("./suggestion_category"), exports);
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/moderation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,+CAA6B;AAC7B,6CAA2B;AAC3B,6CAA2B;AAC3B,wDAAsC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Entity, Locale, Timestamp } from "../core";
|
|
2
|
-
import { ModerationStatus } from "./moderation_status";
|
|
3
|
-
import { Priority } from "./priority";
|
|
4
|
-
import { Severity } from "./severity";
|
|
5
|
-
import { SuggestionCategory } from "./suggestion_category";
|
|
6
|
-
export interface ModerationSuggestion {
|
|
7
|
-
category: SuggestionCategory;
|
|
8
|
-
field: string;
|
|
9
|
-
severity: Severity;
|
|
10
|
-
suggestion: string;
|
|
11
|
-
}
|
|
12
|
-
export interface Moderation extends Entity {
|
|
13
|
-
assessedAt?: Timestamp;
|
|
14
|
-
originalLocale: Locale;
|
|
15
|
-
priority: Priority;
|
|
16
|
-
qualityScore?: number;
|
|
17
|
-
recipeId: string;
|
|
18
|
-
rejectionReason?: string;
|
|
19
|
-
reviewedAt?: Timestamp;
|
|
20
|
-
reviewedBy?: string;
|
|
21
|
-
status: ModerationStatus;
|
|
22
|
-
suggestions?: ModerationSuggestion[];
|
|
23
|
-
userId: string;
|
|
24
|
-
}
|
|
25
|
-
export interface ModerateRecipeInput {
|
|
26
|
-
moderationId: string;
|
|
27
|
-
recipeId: string;
|
|
28
|
-
userId: string;
|
|
29
|
-
}
|
|
30
|
-
export interface ModerateRecipeOutput {
|
|
31
|
-
autoApproved: boolean;
|
|
32
|
-
autoRejected: boolean;
|
|
33
|
-
qualityScore: number;
|
|
34
|
-
rejectionReason?: string;
|
|
35
|
-
suggestions: ModerationSuggestion[];
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=moderation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"moderation.d.ts","sourceRoot":"","sources":["../../../src/types/moderation/moderation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,UAAW,SAAQ,MAAM;IACxC,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,gBAAgB,CAAC;IACzB,WAAW,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACrC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,oBAAoB,EAAE,CAAC;CACrC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"moderation.js","sourceRoot":"","sources":["../../../src/types/moderation/moderation.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"moderation_status.d.ts","sourceRoot":"","sources":["../../../src/types/moderation/moderation_status.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,8CAI3B,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"moderation_status.js","sourceRoot":"","sources":["../../../src/types/moderation/moderation_status.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GAAG;IACtC,UAAU;IACV,SAAS;IACT,UAAU;CACF,CAAC"}
|