@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.
Files changed (533) hide show
  1. package/README.md +80 -80
  2. package/dist/index.d.ts +0 -1
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +0 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/types/core/entity.d.ts +4 -2
  7. package/dist/types/core/entity.d.ts.map +1 -1
  8. package/dist/types/core/errors.d.ts +1 -3
  9. package/dist/types/core/errors.d.ts.map +1 -1
  10. package/dist/types/core/errors.js +11 -13
  11. package/dist/types/core/errors.js.map +1 -1
  12. package/dist/types/core/index.d.ts +0 -3
  13. package/dist/types/core/index.d.ts.map +1 -1
  14. package/dist/types/core/index.js +0 -3
  15. package/dist/types/core/index.js.map +1 -1
  16. package/dist/types/core/locale.d.ts +1 -1
  17. package/dist/types/core/locale.d.ts.map +1 -1
  18. package/dist/types/core/locale.js +1 -1
  19. package/dist/types/core/locale.js.map +1 -1
  20. package/dist/types/core/measurement_system.d.ts +1 -1
  21. package/dist/types/core/measurement_system.js +1 -1
  22. package/dist/types/core/measurement_system.js.map +1 -1
  23. package/dist/types/core/theme.d.ts +1 -1
  24. package/dist/types/core/theme.js +1 -1
  25. package/dist/types/core/theme.js.map +1 -1
  26. package/dist/types/equipment/equipment.d.ts +2 -2
  27. package/dist/types/equipment/equipment.d.ts.map +1 -1
  28. package/dist/types/equipment/equipment_entity.d.ts +1 -1
  29. package/dist/types/equipment/equipment_entity.d.ts.map +1 -1
  30. package/dist/types/equipment/user_equipment.d.ts +1 -1
  31. package/dist/types/equipment/user_equipment.d.ts.map +1 -1
  32. package/dist/types/index.d.ts +6 -6
  33. package/dist/types/index.d.ts.map +1 -1
  34. package/dist/types/index.js +6 -6
  35. package/dist/types/index.js.map +1 -1
  36. package/dist/types/ingredients/category.d.ts.map +1 -0
  37. package/dist/types/ingredients/category.js.map +1 -0
  38. package/dist/types/ingredients/group.d.ts.map +1 -0
  39. package/dist/types/ingredients/group.js.map +1 -0
  40. package/dist/types/ingredients/index.d.ts.map +1 -0
  41. package/dist/types/ingredients/index.js.map +1 -0
  42. package/dist/types/{ingredient → ingredients}/ingredient.d.ts +3 -3
  43. package/dist/types/ingredients/ingredient.d.ts.map +1 -0
  44. package/dist/types/ingredients/ingredient.js.map +1 -0
  45. package/dist/types/{ingredient → ingredients}/ingredient_entity.d.ts +2 -2
  46. package/dist/types/ingredients/ingredient_entity.d.ts.map +1 -0
  47. package/dist/types/ingredients/ingredient_entity.js.map +1 -0
  48. package/dist/types/ingredients/ingredient_section.d.ts.map +1 -0
  49. package/dist/types/ingredients/ingredient_section.js.map +1 -0
  50. package/dist/types/{ingredient → ingredients}/user_ingredient.d.ts +2 -2
  51. package/dist/types/ingredients/user_ingredient.d.ts.map +1 -0
  52. package/dist/types/ingredients/user_ingredient.js.map +1 -0
  53. package/dist/types/recipes/allergen.d.ts.map +1 -0
  54. package/dist/types/recipes/allergen.js.map +1 -0
  55. package/dist/types/recipes/comment.d.ts.map +1 -0
  56. package/dist/types/{recipe → recipes}/comment.js.map +1 -1
  57. package/dist/types/recipes/cuisine.d.ts +3 -0
  58. package/dist/types/recipes/cuisine.d.ts.map +1 -0
  59. package/dist/types/recipes/cuisine.js +79 -0
  60. package/dist/types/recipes/cuisine.js.map +1 -0
  61. package/dist/types/recipes/dietary_tag.d.ts.map +1 -0
  62. package/dist/types/recipes/dietary_tag.js.map +1 -0
  63. package/dist/types/recipes/difficulty.d.ts +3 -0
  64. package/dist/types/recipes/difficulty.d.ts.map +1 -0
  65. package/dist/types/{recipe → recipes}/difficulty.js +3 -3
  66. package/dist/types/recipes/difficulty.js.map +1 -0
  67. package/dist/types/{recipe → recipes}/index.d.ts +0 -2
  68. package/dist/types/recipes/index.d.ts.map +1 -0
  69. package/dist/types/{recipe → recipes}/index.js +1 -2
  70. package/dist/types/recipes/index.js.map +1 -0
  71. package/dist/types/{recipe → recipes}/instruction.d.ts +1 -1
  72. package/dist/types/recipes/instruction.d.ts.map +1 -0
  73. package/dist/types/recipes/instruction.js.map +1 -0
  74. package/dist/types/recipes/meal_type.d.ts +3 -0
  75. package/dist/types/recipes/meal_type.d.ts.map +1 -0
  76. package/dist/types/{recipe → recipes}/meal_type.js +2 -0
  77. package/dist/types/recipes/meal_type.js.map +1 -0
  78. package/dist/types/recipes/nutrition.d.ts.map +1 -0
  79. package/dist/types/recipes/nutrition.js.map +1 -0
  80. package/dist/types/{recipe → recipes}/recipe.d.ts +3 -12
  81. package/dist/types/recipes/recipe.d.ts.map +1 -0
  82. package/dist/types/{ai → recipes}/recipe.js.map +1 -1
  83. package/dist/types/recipes/recipe_source.d.ts.map +1 -0
  84. package/dist/types/recipes/recipe_source.js.map +1 -0
  85. package/dist/types/recipes/recipe_stats.d.ts +9 -0
  86. package/dist/types/recipes/recipe_stats.d.ts.map +1 -0
  87. package/dist/types/{ai/translation.js → recipes/recipe_stats.js} +1 -1
  88. package/dist/types/recipes/recipe_stats.js.map +1 -0
  89. package/dist/types/{recipe → recipes}/spiciness.d.ts +1 -1
  90. package/dist/types/recipes/spiciness.d.ts.map +1 -0
  91. package/dist/types/{recipe → recipes}/spiciness.js +1 -1
  92. package/dist/types/recipes/spiciness.js.map +1 -0
  93. package/dist/types/recipes/temperature.d.ts.map +1 -0
  94. package/dist/types/recipes/temperature.js.map +1 -0
  95. package/dist/types/recipes/temperature_unit.d.ts.map +1 -0
  96. package/dist/types/recipes/temperature_unit.js.map +1 -0
  97. package/dist/types/recipes/unit.d.ts.map +1 -0
  98. package/dist/types/recipes/unit.js.map +1 -0
  99. package/dist/types/reports/category.d.ts +3 -0
  100. package/dist/types/reports/category.d.ts.map +1 -0
  101. package/dist/types/reports/category.js +12 -0
  102. package/dist/types/reports/category.js.map +1 -0
  103. package/dist/types/reports/index.d.ts +9 -0
  104. package/dist/types/reports/index.d.ts.map +1 -0
  105. package/dist/types/{submission → reports}/index.js +7 -4
  106. package/dist/types/reports/index.js.map +1 -0
  107. package/dist/types/{report/report_priority.d.ts → reports/priority.d.ts} +1 -1
  108. package/dist/types/reports/priority.d.ts.map +1 -0
  109. package/dist/types/{report/report_priority.js → reports/priority.js} +1 -1
  110. package/dist/types/reports/priority.js.map +1 -0
  111. package/dist/types/reports/report.d.ts +17 -0
  112. package/dist/types/reports/report.d.ts.map +1 -0
  113. package/dist/types/{report → reports}/report.js.map +1 -1
  114. package/dist/types/{report/report_status.d.ts → reports/status.d.ts} +1 -1
  115. package/dist/types/reports/status.d.ts.map +1 -0
  116. package/dist/types/{report/report_status.js → reports/status.js} +1 -1
  117. package/dist/types/reports/status.js.map +1 -0
  118. package/dist/types/reports/submission.d.ts +8 -0
  119. package/dist/types/reports/submission.d.ts.map +1 -0
  120. package/dist/types/reports/submission.js.map +1 -0
  121. package/dist/types/reports/target.d.ts +20 -0
  122. package/dist/types/reports/target.d.ts.map +1 -0
  123. package/dist/types/{ai/config.js → reports/target.js} +1 -1
  124. package/dist/types/reports/target.js.map +1 -0
  125. package/dist/types/reports/update.d.ts +19 -0
  126. package/dist/types/reports/update.d.ts.map +1 -0
  127. package/dist/types/reports/update.js +3 -0
  128. package/dist/types/reports/update.js.map +1 -0
  129. package/dist/types/reports/update_type.d.ts +3 -0
  130. package/dist/types/reports/update_type.d.ts.map +1 -0
  131. package/dist/types/reports/update_type.js +9 -0
  132. package/dist/types/reports/update_type.js.map +1 -0
  133. package/dist/types/settings/index.d.ts +3 -0
  134. package/dist/types/settings/index.d.ts.map +1 -0
  135. package/dist/types/{ai → settings}/index.js +2 -3
  136. package/dist/types/settings/index.js.map +1 -0
  137. package/dist/types/settings/notification.d.ts +7 -0
  138. package/dist/types/settings/notification.d.ts.map +1 -0
  139. package/dist/types/settings/notification.js +3 -0
  140. package/dist/types/settings/notification.js.map +1 -0
  141. package/dist/types/{core → settings}/settings.d.ts +4 -11
  142. package/dist/types/settings/settings.d.ts.map +1 -0
  143. package/dist/types/settings/settings.js.map +1 -0
  144. package/dist/types/subscriptions/billing_period.d.ts +3 -0
  145. package/dist/types/subscriptions/billing_period.d.ts.map +1 -0
  146. package/dist/types/subscriptions/billing_period.js +5 -0
  147. package/dist/types/subscriptions/billing_period.js.map +1 -0
  148. package/dist/types/subscriptions/cost.d.ts +6 -0
  149. package/dist/types/subscriptions/cost.d.ts.map +1 -0
  150. package/dist/types/{core/asset.js → subscriptions/cost.js} +1 -1
  151. package/dist/types/subscriptions/cost.js.map +1 -0
  152. package/dist/types/{iam → subscriptions}/index.d.ts +0 -3
  153. package/dist/types/subscriptions/index.d.ts.map +1 -0
  154. package/dist/types/{iam → subscriptions}/index.js +0 -3
  155. package/dist/types/subscriptions/index.js.map +1 -0
  156. package/dist/types/subscriptions/member.d.ts +11 -0
  157. package/dist/types/subscriptions/member.d.ts.map +1 -0
  158. package/dist/types/subscriptions/member.js +3 -0
  159. package/dist/types/subscriptions/member.js.map +1 -0
  160. package/dist/types/subscriptions/store.d.ts +3 -0
  161. package/dist/types/subscriptions/store.d.ts.map +1 -0
  162. package/dist/types/subscriptions/store.js +5 -0
  163. package/dist/types/subscriptions/store.js.map +1 -0
  164. package/dist/types/subscriptions/subscription.d.ts +21 -0
  165. package/dist/types/subscriptions/subscription.d.ts.map +1 -0
  166. package/dist/types/subscriptions/subscription.js.map +1 -0
  167. package/dist/types/subscriptions/subscription_role.d.ts.map +1 -0
  168. package/dist/types/subscriptions/subscription_role.js.map +1 -0
  169. package/dist/types/{iam → subscriptions}/subscription_status.d.ts +1 -1
  170. package/dist/types/subscriptions/subscription_status.d.ts.map +1 -0
  171. package/dist/types/{iam → subscriptions}/subscription_status.js +3 -0
  172. package/dist/types/subscriptions/subscription_status.js.map +1 -0
  173. package/dist/types/subscriptions/subscription_tier.d.ts.map +1 -0
  174. package/dist/types/subscriptions/subscription_tier.js.map +1 -0
  175. package/dist/types/users/bookmark.d.ts +5 -0
  176. package/dist/types/users/bookmark.d.ts.map +1 -0
  177. package/dist/types/users/bookmark.js +3 -0
  178. package/dist/types/users/bookmark.js.map +1 -0
  179. package/dist/types/users/index.d.ts +5 -0
  180. package/dist/types/users/index.d.ts.map +1 -0
  181. package/dist/types/{report → users}/index.js +4 -4
  182. package/dist/types/users/index.js.map +1 -0
  183. package/dist/types/users/profile.d.ts +8 -0
  184. package/dist/types/users/profile.d.ts.map +1 -0
  185. package/dist/types/{iam → users}/profile.js.map +1 -1
  186. package/dist/types/{iam → users}/user.d.ts +2 -2
  187. package/dist/types/users/user.d.ts.map +1 -0
  188. package/dist/types/{iam → users}/user.js.map +1 -1
  189. package/dist/types/users/user_role.d.ts +3 -0
  190. package/dist/types/users/user_role.d.ts.map +1 -0
  191. package/dist/types/users/user_role.js +11 -0
  192. package/dist/types/users/user_role.js.map +1 -0
  193. package/package.json +34 -45
  194. package/src/index.ts +1 -2
  195. package/src/types/core/entity.ts +13 -10
  196. package/src/types/core/entity_status.ts +9 -9
  197. package/src/types/core/errors.ts +119 -124
  198. package/src/types/core/index.ts +8 -11
  199. package/src/types/core/locale.ts +2 -2
  200. package/src/types/core/measurement_system.ts +2 -2
  201. package/src/types/core/price.ts +4 -4
  202. package/src/types/core/theme.ts +2 -2
  203. package/src/types/core/timestamp.ts +4 -4
  204. package/src/types/equipment/category.ts +15 -15
  205. package/src/types/equipment/equipment.ts +12 -12
  206. package/src/types/equipment/equipment_entity.ts +17 -17
  207. package/src/types/equipment/index.ts +4 -4
  208. package/src/types/equipment/user_equipment.ts +9 -9
  209. package/src/types/index.ts +6 -6
  210. package/src/types/{ingredient → ingredients}/category.ts +28 -28
  211. package/src/types/{ingredient → ingredients}/group.ts +8 -8
  212. package/src/types/{ingredient → ingredients}/index.ts +6 -6
  213. package/src/types/{ingredient → ingredients}/ingredient.ts +16 -16
  214. package/src/types/{ingredient → ingredients}/ingredient_entity.ts +21 -21
  215. package/src/types/{ingredient → ingredients}/ingredient_section.ts +18 -18
  216. package/src/types/{ingredient → ingredients}/user_ingredient.ts +14 -14
  217. package/src/types/{recipe → recipes}/allergen.ts +16 -16
  218. package/src/types/{recipe → recipes}/comment.ts +8 -8
  219. package/src/types/recipes/cuisine.ts +90 -0
  220. package/src/types/{recipe → recipes}/dietary_tag.ts +18 -18
  221. package/src/types/{recipe → recipes}/difficulty.ts +7 -7
  222. package/src/types/{recipe → recipes}/index.ts +14 -15
  223. package/src/types/{recipe → recipes}/instruction.ts +19 -19
  224. package/src/types/{recipe → recipes}/meal_type.ts +13 -11
  225. package/src/types/{recipe → recipes}/nutrition.ts +11 -11
  226. package/src/types/{recipe → recipes}/recipe.ts +81 -91
  227. package/src/types/{recipe → recipes}/recipe_source.ts +2 -2
  228. package/src/types/recipes/recipe_stats.ts +8 -0
  229. package/src/types/{recipe → recipes}/spiciness.ts +2 -2
  230. package/src/types/{recipe → recipes}/temperature.ts +6 -6
  231. package/src/types/{recipe → recipes}/temperature_unit.ts +2 -2
  232. package/src/types/{recipe → recipes}/unit.ts +48 -48
  233. package/src/types/reports/category.ts +9 -0
  234. package/src/types/reports/index.ts +8 -0
  235. package/src/types/{report/report_priority.ts → reports/priority.ts} +7 -7
  236. package/src/types/reports/report.ts +18 -0
  237. package/src/types/{report/report_status.ts → reports/status.ts} +9 -9
  238. package/src/types/reports/submission.ts +8 -0
  239. package/src/types/reports/target.ts +19 -0
  240. package/src/types/reports/update.ts +22 -0
  241. package/src/types/reports/update_type.ts +6 -0
  242. package/src/types/settings/index.ts +2 -0
  243. package/src/types/settings/notification.ts +6 -0
  244. package/src/types/{core → settings}/settings.ts +26 -34
  245. package/src/types/subscriptions/billing_period.ts +2 -0
  246. package/src/types/subscriptions/cost.ts +5 -0
  247. package/src/types/{iam → subscriptions}/index.ts +4 -7
  248. package/src/types/subscriptions/member.ts +11 -0
  249. package/src/types/subscriptions/store.ts +2 -0
  250. package/src/types/subscriptions/subscription.ts +21 -0
  251. package/src/types/{iam → subscriptions}/subscription_role.ts +2 -2
  252. package/src/types/{iam → subscriptions}/subscription_status.ts +11 -8
  253. package/src/types/{iam → subscriptions}/subscription_tier.ts +2 -2
  254. package/src/types/users/bookmark.ts +5 -0
  255. package/src/types/users/index.ts +4 -0
  256. package/src/types/users/profile.ts +8 -0
  257. package/src/types/{iam → users}/user.ts +11 -11
  258. package/src/types/users/user_role.ts +8 -0
  259. package/dist/config/ai.d.ts +0 -3
  260. package/dist/config/ai.d.ts.map +0 -1
  261. package/dist/config/ai.js +0 -48
  262. package/dist/config/ai.js.map +0 -1
  263. package/dist/config/collections.d.ts +0 -16
  264. package/dist/config/collections.d.ts.map +0 -1
  265. package/dist/config/collections.js +0 -19
  266. package/dist/config/collections.js.map +0 -1
  267. package/dist/config/common.d.ts +0 -2
  268. package/dist/config/common.d.ts.map +0 -1
  269. package/dist/config/common.js +0 -5
  270. package/dist/config/common.js.map +0 -1
  271. package/dist/config/firestore.d.ts +0 -19
  272. package/dist/config/firestore.d.ts.map +0 -1
  273. package/dist/config/firestore.js +0 -22
  274. package/dist/config/firestore.js.map +0 -1
  275. package/dist/config/index.d.ts +0 -7
  276. package/dist/config/index.d.ts.map +0 -1
  277. package/dist/config/index.js +0 -23
  278. package/dist/config/index.js.map +0 -1
  279. package/dist/config/limits.d.ts +0 -8
  280. package/dist/config/limits.d.ts.map +0 -1
  281. package/dist/config/limits.js +0 -48
  282. package/dist/config/limits.js.map +0 -1
  283. package/dist/config/rtdb.d.ts +0 -8
  284. package/dist/config/rtdb.d.ts.map +0 -1
  285. package/dist/config/rtdb.js +0 -11
  286. package/dist/config/rtdb.js.map +0 -1
  287. package/dist/config/subscription.d.ts +0 -4
  288. package/dist/config/subscription.d.ts.map +0 -1
  289. package/dist/config/subscription.js +0 -17
  290. package/dist/config/subscription.js.map +0 -1
  291. package/dist/types/ai/config.d.ts +0 -21
  292. package/dist/types/ai/config.d.ts.map +0 -1
  293. package/dist/types/ai/config.js.map +0 -1
  294. package/dist/types/ai/index.d.ts +0 -4
  295. package/dist/types/ai/index.d.ts.map +0 -1
  296. package/dist/types/ai/index.js.map +0 -1
  297. package/dist/types/ai/recipe.d.ts +0 -22
  298. package/dist/types/ai/recipe.d.ts.map +0 -1
  299. package/dist/types/ai/translation.d.ts +0 -12
  300. package/dist/types/ai/translation.d.ts.map +0 -1
  301. package/dist/types/ai/translation.js.map +0 -1
  302. package/dist/types/core/api.d.ts +0 -16
  303. package/dist/types/core/api.d.ts.map +0 -1
  304. package/dist/types/core/api.js +0 -14
  305. package/dist/types/core/api.js.map +0 -1
  306. package/dist/types/core/asset.d.ts +0 -6
  307. package/dist/types/core/asset.d.ts.map +0 -1
  308. package/dist/types/core/asset.js.map +0 -1
  309. package/dist/types/core/pagination.d.ts +0 -18
  310. package/dist/types/core/pagination.d.ts.map +0 -1
  311. package/dist/types/core/pagination.js +0 -3
  312. package/dist/types/core/pagination.js.map +0 -1
  313. package/dist/types/core/settings.d.ts.map +0 -1
  314. package/dist/types/core/settings.js.map +0 -1
  315. package/dist/types/iam/index.d.ts.map +0 -1
  316. package/dist/types/iam/index.js.map +0 -1
  317. package/dist/types/iam/profile.d.ts +0 -19
  318. package/dist/types/iam/profile.d.ts.map +0 -1
  319. package/dist/types/iam/profile_status.d.ts +0 -3
  320. package/dist/types/iam/profile_status.d.ts.map +0 -1
  321. package/dist/types/iam/profile_status.js +0 -10
  322. package/dist/types/iam/profile_status.js.map +0 -1
  323. package/dist/types/iam/subscription.d.ts +0 -23
  324. package/dist/types/iam/subscription.d.ts.map +0 -1
  325. package/dist/types/iam/subscription.js.map +0 -1
  326. package/dist/types/iam/subscription_role.d.ts.map +0 -1
  327. package/dist/types/iam/subscription_role.js.map +0 -1
  328. package/dist/types/iam/subscription_status.d.ts.map +0 -1
  329. package/dist/types/iam/subscription_status.js.map +0 -1
  330. package/dist/types/iam/subscription_tier.d.ts.map +0 -1
  331. package/dist/types/iam/subscription_tier.js.map +0 -1
  332. package/dist/types/iam/user.d.ts.map +0 -1
  333. package/dist/types/iam/user_role.d.ts +0 -5
  334. package/dist/types/iam/user_role.d.ts.map +0 -1
  335. package/dist/types/iam/user_role.js +0 -18
  336. package/dist/types/iam/user_role.js.map +0 -1
  337. package/dist/types/iam/user_status.d.ts +0 -3
  338. package/dist/types/iam/user_status.d.ts.map +0 -1
  339. package/dist/types/iam/user_status.js +0 -10
  340. package/dist/types/iam/user_status.js.map +0 -1
  341. package/dist/types/ingredient/category.d.ts.map +0 -1
  342. package/dist/types/ingredient/category.js.map +0 -1
  343. package/dist/types/ingredient/group.d.ts.map +0 -1
  344. package/dist/types/ingredient/group.js.map +0 -1
  345. package/dist/types/ingredient/index.d.ts.map +0 -1
  346. package/dist/types/ingredient/index.js.map +0 -1
  347. package/dist/types/ingredient/ingredient.d.ts.map +0 -1
  348. package/dist/types/ingredient/ingredient.js.map +0 -1
  349. package/dist/types/ingredient/ingredient_entity.d.ts.map +0 -1
  350. package/dist/types/ingredient/ingredient_entity.js.map +0 -1
  351. package/dist/types/ingredient/ingredient_section.d.ts.map +0 -1
  352. package/dist/types/ingredient/ingredient_section.js.map +0 -1
  353. package/dist/types/ingredient/user_ingredient.d.ts.map +0 -1
  354. package/dist/types/ingredient/user_ingredient.js.map +0 -1
  355. package/dist/types/moderation/index.d.ts +0 -6
  356. package/dist/types/moderation/index.d.ts.map +0 -1
  357. package/dist/types/moderation/index.js +0 -22
  358. package/dist/types/moderation/index.js.map +0 -1
  359. package/dist/types/moderation/moderation.d.ts +0 -37
  360. package/dist/types/moderation/moderation.d.ts.map +0 -1
  361. package/dist/types/moderation/moderation.js +0 -3
  362. package/dist/types/moderation/moderation.js.map +0 -1
  363. package/dist/types/moderation/moderation_status.d.ts +0 -3
  364. package/dist/types/moderation/moderation_status.d.ts.map +0 -1
  365. package/dist/types/moderation/moderation_status.js +0 -9
  366. package/dist/types/moderation/moderation_status.js.map +0 -1
  367. package/dist/types/moderation/priority.d.ts +0 -3
  368. package/dist/types/moderation/priority.d.ts.map +0 -1
  369. package/dist/types/moderation/priority.js +0 -5
  370. package/dist/types/moderation/priority.js.map +0 -1
  371. package/dist/types/moderation/severity.d.ts +0 -3
  372. package/dist/types/moderation/severity.d.ts.map +0 -1
  373. package/dist/types/moderation/severity.js +0 -5
  374. package/dist/types/moderation/severity.js.map +0 -1
  375. package/dist/types/moderation/suggestion_category.d.ts +0 -3
  376. package/dist/types/moderation/suggestion_category.d.ts.map +0 -1
  377. package/dist/types/moderation/suggestion_category.js +0 -11
  378. package/dist/types/moderation/suggestion_category.js.map +0 -1
  379. package/dist/types/recipe/allergen.d.ts.map +0 -1
  380. package/dist/types/recipe/allergen.js.map +0 -1
  381. package/dist/types/recipe/comment.d.ts.map +0 -1
  382. package/dist/types/recipe/cuisine.d.ts +0 -3
  383. package/dist/types/recipe/cuisine.d.ts.map +0 -1
  384. package/dist/types/recipe/cuisine.js +0 -42
  385. package/dist/types/recipe/cuisine.js.map +0 -1
  386. package/dist/types/recipe/dietary_tag.d.ts.map +0 -1
  387. package/dist/types/recipe/dietary_tag.js.map +0 -1
  388. package/dist/types/recipe/difficulty.d.ts +0 -3
  389. package/dist/types/recipe/difficulty.d.ts.map +0 -1
  390. package/dist/types/recipe/difficulty.js.map +0 -1
  391. package/dist/types/recipe/equipment.d.ts +0 -12
  392. package/dist/types/recipe/equipment.d.ts.map +0 -1
  393. package/dist/types/recipe/equipment.js +0 -3
  394. package/dist/types/recipe/equipment.js.map +0 -1
  395. package/dist/types/recipe/filters.d.ts +0 -16
  396. package/dist/types/recipe/filters.d.ts.map +0 -1
  397. package/dist/types/recipe/filters.js +0 -3
  398. package/dist/types/recipe/filters.js.map +0 -1
  399. package/dist/types/recipe/index.d.ts.map +0 -1
  400. package/dist/types/recipe/index.js.map +0 -1
  401. package/dist/types/recipe/ingredient.d.ts +0 -29
  402. package/dist/types/recipe/ingredient.d.ts.map +0 -1
  403. package/dist/types/recipe/ingredient.js +0 -3
  404. package/dist/types/recipe/ingredient.js.map +0 -1
  405. package/dist/types/recipe/instruction.d.ts.map +0 -1
  406. package/dist/types/recipe/instruction.js.map +0 -1
  407. package/dist/types/recipe/meal_type.d.ts +0 -3
  408. package/dist/types/recipe/meal_type.d.ts.map +0 -1
  409. package/dist/types/recipe/meal_type.js.map +0 -1
  410. package/dist/types/recipe/nutrition.d.ts.map +0 -1
  411. package/dist/types/recipe/nutrition.js.map +0 -1
  412. package/dist/types/recipe/recipe.d.ts.map +0 -1
  413. package/dist/types/recipe/recipe.js +0 -3
  414. package/dist/types/recipe/recipe.js.map +0 -1
  415. package/dist/types/recipe/recipe_source.d.ts.map +0 -1
  416. package/dist/types/recipe/recipe_source.js.map +0 -1
  417. package/dist/types/recipe/recipe_status.d.ts +0 -3
  418. package/dist/types/recipe/recipe_status.d.ts.map +0 -1
  419. package/dist/types/recipe/recipe_status.js +0 -11
  420. package/dist/types/recipe/recipe_status.js.map +0 -1
  421. package/dist/types/recipe/spiciness.d.ts.map +0 -1
  422. package/dist/types/recipe/spiciness.js.map +0 -1
  423. package/dist/types/recipe/temperature.d.ts.map +0 -1
  424. package/dist/types/recipe/temperature.js.map +0 -1
  425. package/dist/types/recipe/temperature_unit.d.ts.map +0 -1
  426. package/dist/types/recipe/temperature_unit.js.map +0 -1
  427. package/dist/types/recipe/unit.d.ts.map +0 -1
  428. package/dist/types/recipe/unit.js.map +0 -1
  429. package/dist/types/report/index.d.ts +0 -5
  430. package/dist/types/report/index.d.ts.map +0 -1
  431. package/dist/types/report/index.js.map +0 -1
  432. package/dist/types/report/report.d.ts +0 -27
  433. package/dist/types/report/report.d.ts.map +0 -1
  434. package/dist/types/report/report_priority.d.ts.map +0 -1
  435. package/dist/types/report/report_priority.js.map +0 -1
  436. package/dist/types/report/report_status.d.ts.map +0 -1
  437. package/dist/types/report/report_status.js.map +0 -1
  438. package/dist/types/report/report_target_type.d.ts +0 -3
  439. package/dist/types/report/report_target_type.d.ts.map +0 -1
  440. package/dist/types/report/report_target_type.js +0 -10
  441. package/dist/types/report/report_target_type.js.map +0 -1
  442. package/dist/types/report/report_type.d.ts +0 -3
  443. package/dist/types/report/report_type.d.ts.map +0 -1
  444. package/dist/types/report/report_type.js +0 -12
  445. package/dist/types/report/report_type.js.map +0 -1
  446. package/dist/types/submission/index.d.ts +0 -6
  447. package/dist/types/submission/index.d.ts.map +0 -1
  448. package/dist/types/submission/index.js.map +0 -1
  449. package/dist/types/submission/severity.d.ts +0 -3
  450. package/dist/types/submission/severity.d.ts.map +0 -1
  451. package/dist/types/submission/severity.js +0 -5
  452. package/dist/types/submission/severity.js.map +0 -1
  453. package/dist/types/submission/submission.d.ts +0 -16
  454. package/dist/types/submission/submission.d.ts.map +0 -1
  455. package/dist/types/submission/submission.js.map +0 -1
  456. package/dist/types/submission/submission_status.d.ts +0 -3
  457. package/dist/types/submission/submission_status.d.ts.map +0 -1
  458. package/dist/types/submission/submission_status.js +0 -9
  459. package/dist/types/submission/submission_status.js.map +0 -1
  460. package/dist/types/submission/suggestion.d.ts +0 -9
  461. package/dist/types/submission/suggestion.d.ts.map +0 -1
  462. package/dist/types/submission/suggestion.js +0 -3
  463. package/dist/types/submission/suggestion.js.map +0 -1
  464. package/dist/types/submission/suggestion_category.d.ts +0 -3
  465. package/dist/types/submission/suggestion_category.d.ts.map +0 -1
  466. package/dist/types/submission/suggestion_category.js +0 -11
  467. package/dist/types/submission/suggestion_category.js.map +0 -1
  468. package/src/config/ai.ts +0 -46
  469. package/src/config/common.ts +0 -1
  470. package/src/config/firestore.ts +0 -18
  471. package/src/config/index.ts +0 -6
  472. package/src/config/limits.ts +0 -53
  473. package/src/config/rtdb.ts +0 -7
  474. package/src/config/subscription.ts +0 -19
  475. package/src/types/ai/config.ts +0 -29
  476. package/src/types/ai/index.ts +0 -3
  477. package/src/types/ai/recipe.ts +0 -31
  478. package/src/types/ai/translation.ts +0 -12
  479. package/src/types/core/api.ts +0 -30
  480. package/src/types/core/pagination.ts +0 -20
  481. package/src/types/iam/profile.ts +0 -20
  482. package/src/types/iam/subscription.ts +0 -25
  483. package/src/types/iam/user_role.ts +0 -17
  484. package/src/types/recipe/cuisine.ts +0 -39
  485. package/src/types/recipe/filters.ts +0 -16
  486. package/src/types/report/index.ts +0 -4
  487. package/src/types/report/report.ts +0 -28
  488. package/src/types/report/report_target_type.ts +0 -7
  489. package/src/types/submission/index.ts +0 -5
  490. package/src/types/submission/severity.ts +0 -2
  491. package/src/types/submission/submission.ts +0 -16
  492. package/src/types/submission/submission_status.ts +0 -6
  493. package/src/types/submission/suggestion.ts +0 -9
  494. package/src/types/submission/suggestion_category.ts +0 -8
  495. /package/dist/types/{ingredient → ingredients}/category.d.ts +0 -0
  496. /package/dist/types/{ingredient → ingredients}/category.js +0 -0
  497. /package/dist/types/{ingredient → ingredients}/group.d.ts +0 -0
  498. /package/dist/types/{ingredient → ingredients}/group.js +0 -0
  499. /package/dist/types/{ingredient → ingredients}/index.d.ts +0 -0
  500. /package/dist/types/{ingredient → ingredients}/index.js +0 -0
  501. /package/dist/types/{ingredient → ingredients}/ingredient.js +0 -0
  502. /package/dist/types/{ingredient → ingredients}/ingredient_entity.js +0 -0
  503. /package/dist/types/{ingredient → ingredients}/ingredient_section.d.ts +0 -0
  504. /package/dist/types/{ingredient → ingredients}/ingredient_section.js +0 -0
  505. /package/dist/types/{ingredient → ingredients}/user_ingredient.js +0 -0
  506. /package/dist/types/{recipe → recipes}/allergen.d.ts +0 -0
  507. /package/dist/types/{recipe → recipes}/allergen.js +0 -0
  508. /package/dist/types/{recipe → recipes}/comment.d.ts +0 -0
  509. /package/dist/types/{recipe → recipes}/comment.js +0 -0
  510. /package/dist/types/{recipe → recipes}/dietary_tag.d.ts +0 -0
  511. /package/dist/types/{recipe → recipes}/dietary_tag.js +0 -0
  512. /package/dist/types/{recipe → recipes}/instruction.js +0 -0
  513. /package/dist/types/{recipe → recipes}/nutrition.d.ts +0 -0
  514. /package/dist/types/{recipe → recipes}/nutrition.js +0 -0
  515. /package/dist/types/{ai → recipes}/recipe.js +0 -0
  516. /package/dist/types/{recipe → recipes}/recipe_source.d.ts +0 -0
  517. /package/dist/types/{recipe → recipes}/recipe_source.js +0 -0
  518. /package/dist/types/{recipe → recipes}/temperature.d.ts +0 -0
  519. /package/dist/types/{recipe → recipes}/temperature.js +0 -0
  520. /package/dist/types/{recipe → recipes}/temperature_unit.d.ts +0 -0
  521. /package/dist/types/{recipe → recipes}/temperature_unit.js +0 -0
  522. /package/dist/types/{recipe → recipes}/unit.d.ts +0 -0
  523. /package/dist/types/{recipe → recipes}/unit.js +0 -0
  524. /package/dist/types/{report → reports}/report.js +0 -0
  525. /package/dist/types/{submission → reports}/submission.js +0 -0
  526. /package/dist/types/{core → settings}/settings.js +0 -0
  527. /package/dist/types/{iam → subscriptions}/subscription.js +0 -0
  528. /package/dist/types/{iam → subscriptions}/subscription_role.d.ts +0 -0
  529. /package/dist/types/{iam → subscriptions}/subscription_role.js +0 -0
  530. /package/dist/types/{iam → subscriptions}/subscription_tier.d.ts +0 -0
  531. /package/dist/types/{iam → subscriptions}/subscription_tier.js +0 -0
  532. /package/dist/types/{iam → users}/profile.js +0 -0
  533. /package/dist/types/{iam → users}/user.js +0 -0
@@ -1,13 +1,13 @@
1
1
  import { Entity, Price } from "../core";
2
- import { Unit } from "../recipe";
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 "../recipe";
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/recipe/comment.ts"],"names":[],"mappings":""}
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,3 @@
1
+ export declare const DIFFICULTY_VALUES: readonly ["easy", "medium", "hard", "expert"];
2
+ export type Difficulty = (typeof DIFFICULTY_VALUES)[number];
3
+ //# sourceMappingURL=difficulty.d.ts.map
@@ -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
- "beginner",
6
- "intermediate",
7
- "advanced",
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
- __exportStar(require("./recipe"), exports);
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,3 @@
1
+ export declare const MEAL_TYPE_VALUES: readonly ["appetizer", "breakfast", "brunch", "dessert", "dinner", "drink", "lunch", "sauce", "side", "snack"];
2
+ export type MealType = (typeof MEAL_TYPE_VALUES)[number];
3
+ //# sourceMappingURL=meal_type.d.ts.map
@@ -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"}
@@ -9,6 +9,8 @@ exports.MEAL_TYPE_VALUES = [
9
9
  "dinner",
10
10
  "drink",
11
11
  "lunch",
12
+ "sauce",
13
+ "side",
12
14
  "snack",
13
15
  ];
14
16
  //# sourceMappingURL=meal_type.js.map
@@ -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 "../ingredient";
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
- cuisine: Cuisine;
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
- cuisine: Cuisine;
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/ai/recipe.ts"],"names":[],"mappings":""}
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,9 @@
1
+ export interface RecipeStats {
2
+ comments: number;
3
+ cooks: number;
4
+ ratingCount: number;
5
+ ratingSum: number;
6
+ saves: number;
7
+ shares: number;
8
+ }
9
+ //# sourceMappingURL=recipe_stats.d.ts.map
@@ -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"}
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=translation.js.map
3
+ //# sourceMappingURL=recipe_stats.js.map
@@ -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,3 @@
1
+ export declare const REPORT_CATEGORY_VALUES: readonly ["spam", "harassment", "inappropriate", "copyright", "misinformation", "other"];
2
+ export type ReportCategory = (typeof REPORT_CATEGORY_VALUES)[number];
3
+ //# sourceMappingURL=category.d.ts.map
@@ -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("./severity"), exports);
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("./submission_status"), exports);
20
- __exportStar(require("./suggestion"), exports);
21
- __exportStar(require("./suggestion_category"), exports);
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"}
@@ -1,3 +1,3 @@
1
1
  export declare const REPORT_PRIORITY_VALUES: readonly ["critical", "high", "medium", "low"];
2
2
  export type ReportPriority = (typeof REPORT_PRIORITY_VALUES)[number];
3
- //# sourceMappingURL=report_priority.d.ts.map
3
+ //# sourceMappingURL=priority.d.ts.map
@@ -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"}
@@ -7,4 +7,4 @@ exports.REPORT_PRIORITY_VALUES = [
7
7
  "medium",
8
8
  "low",
9
9
  ];
10
- //# sourceMappingURL=report_priority.js.map
10
+ //# sourceMappingURL=priority.js.map
@@ -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/report/report.ts"],"names":[],"mappings":""}
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=report_status.d.ts.map
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"}
@@ -9,4 +9,4 @@ exports.REPORT_STATUS_VALUES = [
9
9
  "rejected",
10
10
  "resolved",
11
11
  ];
12
- //# sourceMappingURL=report_status.js.map
12
+ //# sourceMappingURL=status.js.map
@@ -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,8 @@
1
+ import { ReportCategory } from "./category";
2
+ export interface ReportSubmission {
3
+ category: ReportCategory;
4
+ description: string;
5
+ contentSnapshot?: string;
6
+ imageHashes?: string[];
7
+ }
8
+ //# sourceMappingURL=submission.d.ts.map
@@ -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"}