@uniteverses/shared 1.0.5 → 1.0.6

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.
@@ -148,3 +148,36 @@ export interface Comment {
148
148
  versions: CommentVersion[];
149
149
  replies?: Comment[];
150
150
  }
151
+ export interface FoodGroup {
152
+ id: string;
153
+ name: string;
154
+ parentGroupId: string | null;
155
+ createdAt: string | Date;
156
+ _count?: {
157
+ foodItems: number;
158
+ childGroups: number;
159
+ };
160
+ }
161
+ export interface FoodItem {
162
+ id: string;
163
+ name: string;
164
+ createdAt: string | Date;
165
+ _count?: {
166
+ foodGroups: number;
167
+ };
168
+ }
169
+ export interface FoodGroupItem {
170
+ id: string;
171
+ foodGroupId: string;
172
+ foodItemId: string;
173
+ createdAt: string | Date;
174
+ foodItem: FoodItem;
175
+ }
176
+ export interface FoodGroupWithChildren {
177
+ id: string;
178
+ name: string;
179
+ parentGroupId: string | null;
180
+ createdAt: string | Date;
181
+ foodItems: FoodGroupItem[];
182
+ childGroups: FoodGroupWithChildren[];
183
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [