@beorchid-llc/thrivo-contracts 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin-analytics.d.ts +488 -0
- package/dist/admin-analytics.d.ts.map +1 -0
- package/dist/admin-analytics.js +46 -0
- package/dist/admin-analytics.js.map +1 -0
- package/dist/admin-content.d.ts +92 -0
- package/dist/admin-content.d.ts.map +1 -0
- package/dist/admin-content.js +24 -0
- package/dist/admin-content.js.map +1 -0
- package/dist/admin-logs.d.ts +55 -0
- package/dist/admin-logs.d.ts.map +1 -0
- package/dist/admin-logs.js +24 -0
- package/dist/admin-logs.js.map +1 -0
- package/dist/admin-subscriptions.d.ts +40 -0
- package/dist/admin-subscriptions.d.ts.map +1 -0
- package/dist/admin-subscriptions.js +22 -0
- package/dist/admin-subscriptions.js.map +1 -0
- package/dist/admin.d.ts +86 -75
- package/dist/admin.d.ts.map +1 -1
- package/dist/checkins.d.ts +22 -22
- package/dist/foods.d.ts +60 -60
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/metrics.d.ts +6 -6
- package/dist/settings.d.ts +52 -52
- package/dist/subscriptions.d.ts +46 -46
- package/dist/uploads.d.ts +194 -0
- package/dist/uploads.d.ts.map +1 -0
- package/dist/uploads.js +54 -0
- package/dist/uploads.js.map +1 -0
- package/dist/users.d.ts +48 -32
- package/dist/users.d.ts.map +1 -1
- package/dist/users.js +4 -0
- package/dist/users.js.map +1 -1
- package/package.json +5 -1
package/dist/checkins.d.ts
CHANGED
|
@@ -11,18 +11,18 @@ export declare const checkinSchema: z.ZodObject<{
|
|
|
11
11
|
createdAt: z.ZodString;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
id: string;
|
|
14
|
+
mood: "great" | "good" | "low" | "bad" | "ok";
|
|
15
|
+
tip: string | null;
|
|
14
16
|
createdAt: string;
|
|
15
|
-
mood: "great" | "good" | "ok" | "low" | "bad";
|
|
16
17
|
day: string;
|
|
17
18
|
note: string | null;
|
|
18
|
-
tip: string | null;
|
|
19
19
|
}, {
|
|
20
20
|
id: string;
|
|
21
|
+
mood: "great" | "good" | "low" | "bad" | "ok";
|
|
22
|
+
tip: string | null;
|
|
21
23
|
createdAt: string;
|
|
22
|
-
mood: "great" | "good" | "ok" | "low" | "bad";
|
|
23
24
|
day: string;
|
|
24
25
|
note: string | null;
|
|
25
|
-
tip: string | null;
|
|
26
26
|
}>;
|
|
27
27
|
export type Checkin = z.infer<typeof checkinSchema>;
|
|
28
28
|
export declare const createCheckinPayload: z.ZodObject<{
|
|
@@ -30,11 +30,11 @@ export declare const createCheckinPayload: z.ZodObject<{
|
|
|
30
30
|
day: z.ZodString;
|
|
31
31
|
note: z.ZodOptional<z.ZodString>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
mood: "great" | "good" | "
|
|
33
|
+
mood: "great" | "good" | "low" | "bad" | "ok";
|
|
34
34
|
day: string;
|
|
35
35
|
note?: string | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
mood: "great" | "good" | "
|
|
37
|
+
mood: "great" | "good" | "low" | "bad" | "ok";
|
|
38
38
|
day: string;
|
|
39
39
|
note?: string | undefined;
|
|
40
40
|
}>;
|
|
@@ -50,36 +50,36 @@ export declare const checkinResponse: z.ZodObject<{
|
|
|
50
50
|
createdAt: z.ZodString;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
52
|
id: string;
|
|
53
|
+
mood: "great" | "good" | "low" | "bad" | "ok";
|
|
54
|
+
tip: string | null;
|
|
53
55
|
createdAt: string;
|
|
54
|
-
mood: "great" | "good" | "ok" | "low" | "bad";
|
|
55
56
|
day: string;
|
|
56
57
|
note: string | null;
|
|
57
|
-
tip: string | null;
|
|
58
58
|
}, {
|
|
59
59
|
id: string;
|
|
60
|
+
mood: "great" | "good" | "low" | "bad" | "ok";
|
|
61
|
+
tip: string | null;
|
|
60
62
|
createdAt: string;
|
|
61
|
-
mood: "great" | "good" | "ok" | "low" | "bad";
|
|
62
63
|
day: string;
|
|
63
64
|
note: string | null;
|
|
64
|
-
tip: string | null;
|
|
65
65
|
}>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
67
|
checkin: {
|
|
68
68
|
id: string;
|
|
69
|
+
mood: "great" | "good" | "low" | "bad" | "ok";
|
|
70
|
+
tip: string | null;
|
|
69
71
|
createdAt: string;
|
|
70
|
-
mood: "great" | "good" | "ok" | "low" | "bad";
|
|
71
72
|
day: string;
|
|
72
73
|
note: string | null;
|
|
73
|
-
tip: string | null;
|
|
74
74
|
};
|
|
75
75
|
}, {
|
|
76
76
|
checkin: {
|
|
77
77
|
id: string;
|
|
78
|
+
mood: "great" | "good" | "low" | "bad" | "ok";
|
|
79
|
+
tip: string | null;
|
|
78
80
|
createdAt: string;
|
|
79
|
-
mood: "great" | "good" | "ok" | "low" | "bad";
|
|
80
81
|
day: string;
|
|
81
82
|
note: string | null;
|
|
82
|
-
tip: string | null;
|
|
83
83
|
};
|
|
84
84
|
}>;
|
|
85
85
|
export type CheckinResponse = z.infer<typeof checkinResponse>;
|
|
@@ -94,36 +94,36 @@ export declare const checkinListResponse: z.ZodObject<{
|
|
|
94
94
|
createdAt: z.ZodString;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
96
|
id: string;
|
|
97
|
+
mood: "great" | "good" | "low" | "bad" | "ok";
|
|
98
|
+
tip: string | null;
|
|
97
99
|
createdAt: string;
|
|
98
|
-
mood: "great" | "good" | "ok" | "low" | "bad";
|
|
99
100
|
day: string;
|
|
100
101
|
note: string | null;
|
|
101
|
-
tip: string | null;
|
|
102
102
|
}, {
|
|
103
103
|
id: string;
|
|
104
|
+
mood: "great" | "good" | "low" | "bad" | "ok";
|
|
105
|
+
tip: string | null;
|
|
104
106
|
createdAt: string;
|
|
105
|
-
mood: "great" | "good" | "ok" | "low" | "bad";
|
|
106
107
|
day: string;
|
|
107
108
|
note: string | null;
|
|
108
|
-
tip: string | null;
|
|
109
109
|
}>, "many">;
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
111
|
checkins: {
|
|
112
112
|
id: string;
|
|
113
|
+
mood: "great" | "good" | "low" | "bad" | "ok";
|
|
114
|
+
tip: string | null;
|
|
113
115
|
createdAt: string;
|
|
114
|
-
mood: "great" | "good" | "ok" | "low" | "bad";
|
|
115
116
|
day: string;
|
|
116
117
|
note: string | null;
|
|
117
|
-
tip: string | null;
|
|
118
118
|
}[];
|
|
119
119
|
}, {
|
|
120
120
|
checkins: {
|
|
121
121
|
id: string;
|
|
122
|
+
mood: "great" | "good" | "low" | "bad" | "ok";
|
|
123
|
+
tip: string | null;
|
|
122
124
|
createdAt: string;
|
|
123
|
-
mood: "great" | "good" | "ok" | "low" | "bad";
|
|
124
125
|
day: string;
|
|
125
126
|
note: string | null;
|
|
126
|
-
tip: string | null;
|
|
127
127
|
}[];
|
|
128
128
|
}>;
|
|
129
129
|
export type CheckinListResponse = z.infer<typeof checkinListResponse>;
|
package/dist/foods.d.ts
CHANGED
|
@@ -86,8 +86,8 @@ export declare const foodItemSchema: z.ZodObject<{
|
|
|
86
86
|
isPersonal: z.ZodBoolean;
|
|
87
87
|
isEstimated: z.ZodBoolean;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
id: string;
|
|
90
89
|
name: string;
|
|
90
|
+
id: string;
|
|
91
91
|
barcode: string | null;
|
|
92
92
|
brand: string | null;
|
|
93
93
|
source: "authoritative" | "personal" | "community";
|
|
@@ -109,8 +109,8 @@ export declare const foodItemSchema: z.ZodObject<{
|
|
|
109
109
|
isPersonal: boolean;
|
|
110
110
|
isEstimated: boolean;
|
|
111
111
|
}, {
|
|
112
|
-
id: string;
|
|
113
112
|
name: string;
|
|
113
|
+
id: string;
|
|
114
114
|
barcode: string | null;
|
|
115
115
|
brand: string | null;
|
|
116
116
|
source: "authoritative" | "personal" | "community";
|
|
@@ -162,8 +162,8 @@ export declare const foodLogEntrySchema: z.ZodObject<{
|
|
|
162
162
|
consumedAt: z.ZodString;
|
|
163
163
|
loggedAt: z.ZodString;
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
id: string;
|
|
166
165
|
name: string;
|
|
166
|
+
id: string;
|
|
167
167
|
day: string;
|
|
168
168
|
barcode: string | null;
|
|
169
169
|
source: "barcode" | "manual" | "search";
|
|
@@ -180,8 +180,8 @@ export declare const foodLogEntrySchema: z.ZodObject<{
|
|
|
180
180
|
consumedAt: string;
|
|
181
181
|
loggedAt: string;
|
|
182
182
|
}, {
|
|
183
|
-
id: string;
|
|
184
183
|
name: string;
|
|
184
|
+
id: string;
|
|
185
185
|
day: string;
|
|
186
186
|
barcode: string | null;
|
|
187
187
|
source: "barcode" | "manual" | "search";
|
|
@@ -259,8 +259,8 @@ export declare const foodLogDayResponseSchema: z.ZodObject<{
|
|
|
259
259
|
consumedAt: z.ZodString;
|
|
260
260
|
loggedAt: z.ZodString;
|
|
261
261
|
}, "strip", z.ZodTypeAny, {
|
|
262
|
-
id: string;
|
|
263
262
|
name: string;
|
|
263
|
+
id: string;
|
|
264
264
|
day: string;
|
|
265
265
|
barcode: string | null;
|
|
266
266
|
source: "barcode" | "manual" | "search";
|
|
@@ -277,8 +277,8 @@ export declare const foodLogDayResponseSchema: z.ZodObject<{
|
|
|
277
277
|
consumedAt: string;
|
|
278
278
|
loggedAt: string;
|
|
279
279
|
}, {
|
|
280
|
-
id: string;
|
|
281
280
|
name: string;
|
|
281
|
+
id: string;
|
|
282
282
|
day: string;
|
|
283
283
|
barcode: string | null;
|
|
284
284
|
source: "barcode" | "manual" | "search";
|
|
@@ -298,8 +298,8 @@ export declare const foodLogDayResponseSchema: z.ZodObject<{
|
|
|
298
298
|
isEmptyDay: z.ZodBoolean;
|
|
299
299
|
}, "strip", z.ZodTypeAny, {
|
|
300
300
|
entries: {
|
|
301
|
-
id: string;
|
|
302
301
|
name: string;
|
|
302
|
+
id: string;
|
|
303
303
|
day: string;
|
|
304
304
|
barcode: string | null;
|
|
305
305
|
source: "barcode" | "manual" | "search";
|
|
@@ -320,8 +320,8 @@ export declare const foodLogDayResponseSchema: z.ZodObject<{
|
|
|
320
320
|
isEmptyDay: boolean;
|
|
321
321
|
}, {
|
|
322
322
|
entries: {
|
|
323
|
-
id: string;
|
|
324
323
|
name: string;
|
|
324
|
+
id: string;
|
|
325
325
|
day: string;
|
|
326
326
|
barcode: string | null;
|
|
327
327
|
source: "barcode" | "manual" | "search";
|
|
@@ -349,8 +349,8 @@ export declare const foodLogDayResponseSchema: z.ZodObject<{
|
|
|
349
349
|
responseCode: number;
|
|
350
350
|
data: {
|
|
351
351
|
entries: {
|
|
352
|
-
id: string;
|
|
353
352
|
name: string;
|
|
353
|
+
id: string;
|
|
354
354
|
day: string;
|
|
355
355
|
barcode: string | null;
|
|
356
356
|
source: "barcode" | "manual" | "search";
|
|
@@ -376,8 +376,8 @@ export declare const foodLogDayResponseSchema: z.ZodObject<{
|
|
|
376
376
|
responseCode: number;
|
|
377
377
|
data: {
|
|
378
378
|
entries: {
|
|
379
|
-
id: string;
|
|
380
379
|
name: string;
|
|
380
|
+
id: string;
|
|
381
381
|
day: string;
|
|
382
382
|
barcode: string | null;
|
|
383
383
|
source: "barcode" | "manual" | "search";
|
|
@@ -403,13 +403,13 @@ export declare const foodLogHistoryQuerySchema: z.ZodObject<{
|
|
|
403
403
|
from: z.ZodOptional<z.ZodString>;
|
|
404
404
|
to: z.ZodOptional<z.ZodString>;
|
|
405
405
|
}, "strip", z.ZodTypeAny, {
|
|
406
|
+
to?: string | undefined;
|
|
406
407
|
cursor?: string | undefined;
|
|
407
408
|
from?: string | undefined;
|
|
408
|
-
to?: string | undefined;
|
|
409
409
|
}, {
|
|
410
|
+
to?: string | undefined;
|
|
410
411
|
cursor?: string | undefined;
|
|
411
412
|
from?: string | undefined;
|
|
412
|
-
to?: string | undefined;
|
|
413
413
|
}>;
|
|
414
414
|
export declare const historyDaySchema: z.ZodObject<{
|
|
415
415
|
day: z.ZodString;
|
|
@@ -444,8 +444,8 @@ export declare const historyDaySchema: z.ZodObject<{
|
|
|
444
444
|
consumedAt: z.ZodString;
|
|
445
445
|
loggedAt: z.ZodString;
|
|
446
446
|
}, "strip", z.ZodTypeAny, {
|
|
447
|
-
id: string;
|
|
448
447
|
name: string;
|
|
448
|
+
id: string;
|
|
449
449
|
day: string;
|
|
450
450
|
barcode: string | null;
|
|
451
451
|
source: "barcode" | "manual" | "search";
|
|
@@ -462,8 +462,8 @@ export declare const historyDaySchema: z.ZodObject<{
|
|
|
462
462
|
consumedAt: string;
|
|
463
463
|
loggedAt: string;
|
|
464
464
|
}, {
|
|
465
|
-
id: string;
|
|
466
465
|
name: string;
|
|
466
|
+
id: string;
|
|
467
467
|
day: string;
|
|
468
468
|
barcode: string | null;
|
|
469
469
|
source: "barcode" | "manual" | "search";
|
|
@@ -482,8 +482,8 @@ export declare const historyDaySchema: z.ZodObject<{
|
|
|
482
482
|
}>, "many">;
|
|
483
483
|
}, "strip", z.ZodTypeAny, {
|
|
484
484
|
entries: {
|
|
485
|
-
id: string;
|
|
486
485
|
name: string;
|
|
486
|
+
id: string;
|
|
487
487
|
day: string;
|
|
488
488
|
barcode: string | null;
|
|
489
489
|
source: "barcode" | "manual" | "search";
|
|
@@ -505,8 +505,8 @@ export declare const historyDaySchema: z.ZodObject<{
|
|
|
505
505
|
lockReason: "free_history_limit" | null;
|
|
506
506
|
}, {
|
|
507
507
|
entries: {
|
|
508
|
-
id: string;
|
|
509
508
|
name: string;
|
|
509
|
+
id: string;
|
|
510
510
|
day: string;
|
|
511
511
|
barcode: string | null;
|
|
512
512
|
source: "barcode" | "manual" | "search";
|
|
@@ -564,8 +564,8 @@ export declare const foodLogHistoryResponseSchema: z.ZodObject<{
|
|
|
564
564
|
consumedAt: z.ZodString;
|
|
565
565
|
loggedAt: z.ZodString;
|
|
566
566
|
}, "strip", z.ZodTypeAny, {
|
|
567
|
-
id: string;
|
|
568
567
|
name: string;
|
|
568
|
+
id: string;
|
|
569
569
|
day: string;
|
|
570
570
|
barcode: string | null;
|
|
571
571
|
source: "barcode" | "manual" | "search";
|
|
@@ -582,8 +582,8 @@ export declare const foodLogHistoryResponseSchema: z.ZodObject<{
|
|
|
582
582
|
consumedAt: string;
|
|
583
583
|
loggedAt: string;
|
|
584
584
|
}, {
|
|
585
|
-
id: string;
|
|
586
585
|
name: string;
|
|
586
|
+
id: string;
|
|
587
587
|
day: string;
|
|
588
588
|
barcode: string | null;
|
|
589
589
|
source: "barcode" | "manual" | "search";
|
|
@@ -602,8 +602,8 @@ export declare const foodLogHistoryResponseSchema: z.ZodObject<{
|
|
|
602
602
|
}>, "many">;
|
|
603
603
|
}, "strip", z.ZodTypeAny, {
|
|
604
604
|
entries: {
|
|
605
|
-
id: string;
|
|
606
605
|
name: string;
|
|
606
|
+
id: string;
|
|
607
607
|
day: string;
|
|
608
608
|
barcode: string | null;
|
|
609
609
|
source: "barcode" | "manual" | "search";
|
|
@@ -625,8 +625,8 @@ export declare const foodLogHistoryResponseSchema: z.ZodObject<{
|
|
|
625
625
|
lockReason: "free_history_limit" | null;
|
|
626
626
|
}, {
|
|
627
627
|
entries: {
|
|
628
|
-
id: string;
|
|
629
628
|
name: string;
|
|
629
|
+
id: string;
|
|
630
630
|
day: string;
|
|
631
631
|
barcode: string | null;
|
|
632
632
|
source: "barcode" | "manual" | "search";
|
|
@@ -651,8 +651,8 @@ export declare const foodLogHistoryResponseSchema: z.ZodObject<{
|
|
|
651
651
|
}, "strip", z.ZodTypeAny, {
|
|
652
652
|
days: {
|
|
653
653
|
entries: {
|
|
654
|
-
id: string;
|
|
655
654
|
name: string;
|
|
655
|
+
id: string;
|
|
656
656
|
day: string;
|
|
657
657
|
barcode: string | null;
|
|
658
658
|
source: "barcode" | "manual" | "search";
|
|
@@ -677,8 +677,8 @@ export declare const foodLogHistoryResponseSchema: z.ZodObject<{
|
|
|
677
677
|
}, {
|
|
678
678
|
days: {
|
|
679
679
|
entries: {
|
|
680
|
-
id: string;
|
|
681
680
|
name: string;
|
|
681
|
+
id: string;
|
|
682
682
|
day: string;
|
|
683
683
|
barcode: string | null;
|
|
684
684
|
source: "barcode" | "manual" | "search";
|
|
@@ -710,8 +710,8 @@ export declare const foodLogHistoryResponseSchema: z.ZodObject<{
|
|
|
710
710
|
data: {
|
|
711
711
|
days: {
|
|
712
712
|
entries: {
|
|
713
|
-
id: string;
|
|
714
713
|
name: string;
|
|
714
|
+
id: string;
|
|
715
715
|
day: string;
|
|
716
716
|
barcode: string | null;
|
|
717
717
|
source: "barcode" | "manual" | "search";
|
|
@@ -741,8 +741,8 @@ export declare const foodLogHistoryResponseSchema: z.ZodObject<{
|
|
|
741
741
|
data: {
|
|
742
742
|
days: {
|
|
743
743
|
entries: {
|
|
744
|
-
id: string;
|
|
745
744
|
name: string;
|
|
745
|
+
id: string;
|
|
746
746
|
day: string;
|
|
747
747
|
barcode: string | null;
|
|
748
748
|
source: "barcode" | "manual" | "search";
|
|
@@ -822,8 +822,8 @@ export declare const foodLookupResponseSchema: z.ZodObject<{
|
|
|
822
822
|
isPersonal: z.ZodBoolean;
|
|
823
823
|
isEstimated: z.ZodBoolean;
|
|
824
824
|
}, "strip", z.ZodTypeAny, {
|
|
825
|
-
id: string;
|
|
826
825
|
name: string;
|
|
826
|
+
id: string;
|
|
827
827
|
barcode: string | null;
|
|
828
828
|
brand: string | null;
|
|
829
829
|
source: "authoritative" | "personal" | "community";
|
|
@@ -845,8 +845,8 @@ export declare const foodLookupResponseSchema: z.ZodObject<{
|
|
|
845
845
|
isPersonal: boolean;
|
|
846
846
|
isEstimated: boolean;
|
|
847
847
|
}, {
|
|
848
|
-
id: string;
|
|
849
848
|
name: string;
|
|
849
|
+
id: string;
|
|
850
850
|
barcode: string | null;
|
|
851
851
|
brand: string | null;
|
|
852
852
|
source: "authoritative" | "personal" | "community";
|
|
@@ -870,8 +870,8 @@ export declare const foodLookupResponseSchema: z.ZodObject<{
|
|
|
870
870
|
}>>;
|
|
871
871
|
}, "strip", z.ZodTypeAny, {
|
|
872
872
|
food: {
|
|
873
|
-
id: string;
|
|
874
873
|
name: string;
|
|
874
|
+
id: string;
|
|
875
875
|
barcode: string | null;
|
|
876
876
|
brand: string | null;
|
|
877
877
|
source: "authoritative" | "personal" | "community";
|
|
@@ -895,8 +895,8 @@ export declare const foodLookupResponseSchema: z.ZodObject<{
|
|
|
895
895
|
} | null;
|
|
896
896
|
}, {
|
|
897
897
|
food: {
|
|
898
|
-
id: string;
|
|
899
898
|
name: string;
|
|
899
|
+
id: string;
|
|
900
900
|
barcode: string | null;
|
|
901
901
|
brand: string | null;
|
|
902
902
|
source: "authoritative" | "personal" | "community";
|
|
@@ -927,8 +927,8 @@ export declare const foodLookupResponseSchema: z.ZodObject<{
|
|
|
927
927
|
responseCode: number;
|
|
928
928
|
data: {
|
|
929
929
|
food: {
|
|
930
|
-
id: string;
|
|
931
930
|
name: string;
|
|
931
|
+
id: string;
|
|
932
932
|
barcode: string | null;
|
|
933
933
|
brand: string | null;
|
|
934
934
|
source: "authoritative" | "personal" | "community";
|
|
@@ -957,8 +957,8 @@ export declare const foodLookupResponseSchema: z.ZodObject<{
|
|
|
957
957
|
responseCode: number;
|
|
958
958
|
data: {
|
|
959
959
|
food: {
|
|
960
|
-
id: string;
|
|
961
960
|
name: string;
|
|
961
|
+
id: string;
|
|
962
962
|
barcode: string | null;
|
|
963
963
|
brand: string | null;
|
|
964
964
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1041,8 +1041,8 @@ export declare const foodSearchResponseSchema: z.ZodObject<{
|
|
|
1041
1041
|
isPersonal: z.ZodBoolean;
|
|
1042
1042
|
isEstimated: z.ZodBoolean;
|
|
1043
1043
|
}, "strip", z.ZodTypeAny, {
|
|
1044
|
-
id: string;
|
|
1045
1044
|
name: string;
|
|
1045
|
+
id: string;
|
|
1046
1046
|
barcode: string | null;
|
|
1047
1047
|
brand: string | null;
|
|
1048
1048
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1064,8 +1064,8 @@ export declare const foodSearchResponseSchema: z.ZodObject<{
|
|
|
1064
1064
|
isPersonal: boolean;
|
|
1065
1065
|
isEstimated: boolean;
|
|
1066
1066
|
}, {
|
|
1067
|
-
id: string;
|
|
1068
1067
|
name: string;
|
|
1068
|
+
id: string;
|
|
1069
1069
|
barcode: string | null;
|
|
1070
1070
|
brand: string | null;
|
|
1071
1071
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1089,8 +1089,8 @@ export declare const foodSearchResponseSchema: z.ZodObject<{
|
|
|
1089
1089
|
}>, "many">;
|
|
1090
1090
|
}, "strip", z.ZodTypeAny, {
|
|
1091
1091
|
items: {
|
|
1092
|
-
id: string;
|
|
1093
1092
|
name: string;
|
|
1093
|
+
id: string;
|
|
1094
1094
|
barcode: string | null;
|
|
1095
1095
|
brand: string | null;
|
|
1096
1096
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1114,8 +1114,8 @@ export declare const foodSearchResponseSchema: z.ZodObject<{
|
|
|
1114
1114
|
}[];
|
|
1115
1115
|
}, {
|
|
1116
1116
|
items: {
|
|
1117
|
-
id: string;
|
|
1118
1117
|
name: string;
|
|
1118
|
+
id: string;
|
|
1119
1119
|
barcode: string | null;
|
|
1120
1120
|
brand: string | null;
|
|
1121
1121
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1146,8 +1146,8 @@ export declare const foodSearchResponseSchema: z.ZodObject<{
|
|
|
1146
1146
|
responseCode: number;
|
|
1147
1147
|
data: {
|
|
1148
1148
|
items: {
|
|
1149
|
-
id: string;
|
|
1150
1149
|
name: string;
|
|
1150
|
+
id: string;
|
|
1151
1151
|
barcode: string | null;
|
|
1152
1152
|
brand: string | null;
|
|
1153
1153
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1176,8 +1176,8 @@ export declare const foodSearchResponseSchema: z.ZodObject<{
|
|
|
1176
1176
|
responseCode: number;
|
|
1177
1177
|
data: {
|
|
1178
1178
|
items: {
|
|
1179
|
-
id: string;
|
|
1180
1179
|
name: string;
|
|
1180
|
+
id: string;
|
|
1181
1181
|
barcode: string | null;
|
|
1182
1182
|
brand: string | null;
|
|
1183
1183
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1257,8 +1257,8 @@ export declare const foodItemResponseSchema: z.ZodObject<{
|
|
|
1257
1257
|
isPersonal: z.ZodBoolean;
|
|
1258
1258
|
isEstimated: z.ZodBoolean;
|
|
1259
1259
|
}, "strip", z.ZodTypeAny, {
|
|
1260
|
-
id: string;
|
|
1261
1260
|
name: string;
|
|
1261
|
+
id: string;
|
|
1262
1262
|
barcode: string | null;
|
|
1263
1263
|
brand: string | null;
|
|
1264
1264
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1280,8 +1280,8 @@ export declare const foodItemResponseSchema: z.ZodObject<{
|
|
|
1280
1280
|
isPersonal: boolean;
|
|
1281
1281
|
isEstimated: boolean;
|
|
1282
1282
|
}, {
|
|
1283
|
-
id: string;
|
|
1284
1283
|
name: string;
|
|
1284
|
+
id: string;
|
|
1285
1285
|
barcode: string | null;
|
|
1286
1286
|
brand: string | null;
|
|
1287
1287
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1305,8 +1305,8 @@ export declare const foodItemResponseSchema: z.ZodObject<{
|
|
|
1305
1305
|
}>;
|
|
1306
1306
|
}, "strip", z.ZodTypeAny, {
|
|
1307
1307
|
food: {
|
|
1308
|
-
id: string;
|
|
1309
1308
|
name: string;
|
|
1309
|
+
id: string;
|
|
1310
1310
|
barcode: string | null;
|
|
1311
1311
|
brand: string | null;
|
|
1312
1312
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1330,8 +1330,8 @@ export declare const foodItemResponseSchema: z.ZodObject<{
|
|
|
1330
1330
|
};
|
|
1331
1331
|
}, {
|
|
1332
1332
|
food: {
|
|
1333
|
-
id: string;
|
|
1334
1333
|
name: string;
|
|
1334
|
+
id: string;
|
|
1335
1335
|
barcode: string | null;
|
|
1336
1336
|
brand: string | null;
|
|
1337
1337
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1362,8 +1362,8 @@ export declare const foodItemResponseSchema: z.ZodObject<{
|
|
|
1362
1362
|
responseCode: number;
|
|
1363
1363
|
data: {
|
|
1364
1364
|
food: {
|
|
1365
|
-
id: string;
|
|
1366
1365
|
name: string;
|
|
1366
|
+
id: string;
|
|
1367
1367
|
barcode: string | null;
|
|
1368
1368
|
brand: string | null;
|
|
1369
1369
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1392,8 +1392,8 @@ export declare const foodItemResponseSchema: z.ZodObject<{
|
|
|
1392
1392
|
responseCode: number;
|
|
1393
1393
|
data: {
|
|
1394
1394
|
food: {
|
|
1395
|
-
id: string;
|
|
1396
1395
|
name: string;
|
|
1396
|
+
id: string;
|
|
1397
1397
|
barcode: string | null;
|
|
1398
1398
|
brand: string | null;
|
|
1399
1399
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1537,8 +1537,8 @@ export declare const logMutationResponseSchema: z.ZodObject<{
|
|
|
1537
1537
|
consumedAt: z.ZodString;
|
|
1538
1538
|
loggedAt: z.ZodString;
|
|
1539
1539
|
}, "strip", z.ZodTypeAny, {
|
|
1540
|
-
id: string;
|
|
1541
1540
|
name: string;
|
|
1541
|
+
id: string;
|
|
1542
1542
|
day: string;
|
|
1543
1543
|
barcode: string | null;
|
|
1544
1544
|
source: "barcode" | "manual" | "search";
|
|
@@ -1555,8 +1555,8 @@ export declare const logMutationResponseSchema: z.ZodObject<{
|
|
|
1555
1555
|
consumedAt: string;
|
|
1556
1556
|
loggedAt: string;
|
|
1557
1557
|
}, {
|
|
1558
|
-
id: string;
|
|
1559
1558
|
name: string;
|
|
1559
|
+
id: string;
|
|
1560
1560
|
day: string;
|
|
1561
1561
|
barcode: string | null;
|
|
1562
1562
|
source: "barcode" | "manual" | "search";
|
|
@@ -1594,8 +1594,8 @@ export declare const logMutationResponseSchema: z.ZodObject<{
|
|
|
1594
1594
|
}>;
|
|
1595
1595
|
}, "strip", z.ZodTypeAny, {
|
|
1596
1596
|
entry: {
|
|
1597
|
-
id: string;
|
|
1598
1597
|
name: string;
|
|
1598
|
+
id: string;
|
|
1599
1599
|
day: string;
|
|
1600
1600
|
barcode: string | null;
|
|
1601
1601
|
source: "barcode" | "manual" | "search";
|
|
@@ -1621,8 +1621,8 @@ export declare const logMutationResponseSchema: z.ZodObject<{
|
|
|
1621
1621
|
};
|
|
1622
1622
|
}, {
|
|
1623
1623
|
entry: {
|
|
1624
|
-
id: string;
|
|
1625
1624
|
name: string;
|
|
1625
|
+
id: string;
|
|
1626
1626
|
day: string;
|
|
1627
1627
|
barcode: string | null;
|
|
1628
1628
|
source: "barcode" | "manual" | "search";
|
|
@@ -1655,8 +1655,8 @@ export declare const logMutationResponseSchema: z.ZodObject<{
|
|
|
1655
1655
|
responseCode: number;
|
|
1656
1656
|
data: {
|
|
1657
1657
|
entry: {
|
|
1658
|
-
id: string;
|
|
1659
1658
|
name: string;
|
|
1659
|
+
id: string;
|
|
1660
1660
|
day: string;
|
|
1661
1661
|
barcode: string | null;
|
|
1662
1662
|
source: "barcode" | "manual" | "search";
|
|
@@ -1687,8 +1687,8 @@ export declare const logMutationResponseSchema: z.ZodObject<{
|
|
|
1687
1687
|
responseCode: number;
|
|
1688
1688
|
data: {
|
|
1689
1689
|
entry: {
|
|
1690
|
-
id: string;
|
|
1691
1690
|
name: string;
|
|
1691
|
+
id: string;
|
|
1692
1692
|
day: string;
|
|
1693
1693
|
barcode: string | null;
|
|
1694
1694
|
source: "barcode" | "manual" | "search";
|
|
@@ -1763,8 +1763,8 @@ export declare const recentFoodsResponseSchema: z.ZodObject<{
|
|
|
1763
1763
|
consumedAt: z.ZodString;
|
|
1764
1764
|
loggedAt: z.ZodString;
|
|
1765
1765
|
}, "strip", z.ZodTypeAny, {
|
|
1766
|
-
id: string;
|
|
1767
1766
|
name: string;
|
|
1767
|
+
id: string;
|
|
1768
1768
|
day: string;
|
|
1769
1769
|
barcode: string | null;
|
|
1770
1770
|
source: "barcode" | "manual" | "search";
|
|
@@ -1781,8 +1781,8 @@ export declare const recentFoodsResponseSchema: z.ZodObject<{
|
|
|
1781
1781
|
consumedAt: string;
|
|
1782
1782
|
loggedAt: string;
|
|
1783
1783
|
}, {
|
|
1784
|
-
id: string;
|
|
1785
1784
|
name: string;
|
|
1785
|
+
id: string;
|
|
1786
1786
|
day: string;
|
|
1787
1787
|
barcode: string | null;
|
|
1788
1788
|
source: "barcode" | "manual" | "search";
|
|
@@ -1801,8 +1801,8 @@ export declare const recentFoodsResponseSchema: z.ZodObject<{
|
|
|
1801
1801
|
}>, "many">;
|
|
1802
1802
|
}, "strip", z.ZodTypeAny, {
|
|
1803
1803
|
items: {
|
|
1804
|
-
id: string;
|
|
1805
1804
|
name: string;
|
|
1805
|
+
id: string;
|
|
1806
1806
|
day: string;
|
|
1807
1807
|
barcode: string | null;
|
|
1808
1808
|
source: "barcode" | "manual" | "search";
|
|
@@ -1821,8 +1821,8 @@ export declare const recentFoodsResponseSchema: z.ZodObject<{
|
|
|
1821
1821
|
}[];
|
|
1822
1822
|
}, {
|
|
1823
1823
|
items: {
|
|
1824
|
-
id: string;
|
|
1825
1824
|
name: string;
|
|
1825
|
+
id: string;
|
|
1826
1826
|
day: string;
|
|
1827
1827
|
barcode: string | null;
|
|
1828
1828
|
source: "barcode" | "manual" | "search";
|
|
@@ -1848,8 +1848,8 @@ export declare const recentFoodsResponseSchema: z.ZodObject<{
|
|
|
1848
1848
|
responseCode: number;
|
|
1849
1849
|
data: {
|
|
1850
1850
|
items: {
|
|
1851
|
-
id: string;
|
|
1852
1851
|
name: string;
|
|
1852
|
+
id: string;
|
|
1853
1853
|
day: string;
|
|
1854
1854
|
barcode: string | null;
|
|
1855
1855
|
source: "barcode" | "manual" | "search";
|
|
@@ -1873,8 +1873,8 @@ export declare const recentFoodsResponseSchema: z.ZodObject<{
|
|
|
1873
1873
|
responseCode: number;
|
|
1874
1874
|
data: {
|
|
1875
1875
|
items: {
|
|
1876
|
-
id: string;
|
|
1877
1876
|
name: string;
|
|
1877
|
+
id: string;
|
|
1878
1878
|
day: string;
|
|
1879
1879
|
barcode: string | null;
|
|
1880
1880
|
source: "barcode" | "manual" | "search";
|
|
@@ -1942,8 +1942,8 @@ export declare const favoritesResponseSchema: z.ZodObject<{
|
|
|
1942
1942
|
isPersonal: z.ZodBoolean;
|
|
1943
1943
|
isEstimated: z.ZodBoolean;
|
|
1944
1944
|
}, "strip", z.ZodTypeAny, {
|
|
1945
|
-
id: string;
|
|
1946
1945
|
name: string;
|
|
1946
|
+
id: string;
|
|
1947
1947
|
barcode: string | null;
|
|
1948
1948
|
brand: string | null;
|
|
1949
1949
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1965,8 +1965,8 @@ export declare const favoritesResponseSchema: z.ZodObject<{
|
|
|
1965
1965
|
isPersonal: boolean;
|
|
1966
1966
|
isEstimated: boolean;
|
|
1967
1967
|
}, {
|
|
1968
|
-
id: string;
|
|
1969
1968
|
name: string;
|
|
1969
|
+
id: string;
|
|
1970
1970
|
barcode: string | null;
|
|
1971
1971
|
brand: string | null;
|
|
1972
1972
|
source: "authoritative" | "personal" | "community";
|
|
@@ -1990,8 +1990,8 @@ export declare const favoritesResponseSchema: z.ZodObject<{
|
|
|
1990
1990
|
}>, "many">;
|
|
1991
1991
|
}, "strip", z.ZodTypeAny, {
|
|
1992
1992
|
items: {
|
|
1993
|
-
id: string;
|
|
1994
1993
|
name: string;
|
|
1994
|
+
id: string;
|
|
1995
1995
|
barcode: string | null;
|
|
1996
1996
|
brand: string | null;
|
|
1997
1997
|
source: "authoritative" | "personal" | "community";
|
|
@@ -2015,8 +2015,8 @@ export declare const favoritesResponseSchema: z.ZodObject<{
|
|
|
2015
2015
|
}[];
|
|
2016
2016
|
}, {
|
|
2017
2017
|
items: {
|
|
2018
|
-
id: string;
|
|
2019
2018
|
name: string;
|
|
2019
|
+
id: string;
|
|
2020
2020
|
barcode: string | null;
|
|
2021
2021
|
brand: string | null;
|
|
2022
2022
|
source: "authoritative" | "personal" | "community";
|
|
@@ -2047,8 +2047,8 @@ export declare const favoritesResponseSchema: z.ZodObject<{
|
|
|
2047
2047
|
responseCode: number;
|
|
2048
2048
|
data: {
|
|
2049
2049
|
items: {
|
|
2050
|
-
id: string;
|
|
2051
2050
|
name: string;
|
|
2051
|
+
id: string;
|
|
2052
2052
|
barcode: string | null;
|
|
2053
2053
|
brand: string | null;
|
|
2054
2054
|
source: "authoritative" | "personal" | "community";
|
|
@@ -2077,8 +2077,8 @@ export declare const favoritesResponseSchema: z.ZodObject<{
|
|
|
2077
2077
|
responseCode: number;
|
|
2078
2078
|
data: {
|
|
2079
2079
|
items: {
|
|
2080
|
-
id: string;
|
|
2081
2080
|
name: string;
|
|
2081
|
+
id: string;
|
|
2082
2082
|
barcode: string | null;
|
|
2083
2083
|
brand: string | null;
|
|
2084
2084
|
source: "authoritative" | "personal" | "community";
|