@community-kitchens/apiinterfaces 1.0.18 → 1.0.20
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/auth/types.ts +1 -1
- package/homeChef/types.ts +2 -2
- package/package.json +1 -1
- package/text/types.ts +1 -2
- package/volunteer/types.ts +2 -1
package/auth/types.ts
CHANGED
package/homeChef/types.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Job,
|
|
1
|
+
import { Job, VolunteerShift, VolunteerHours } from "../volunteer/types";
|
|
2
2
|
|
|
3
3
|
export interface NotificationPayload {
|
|
4
4
|
title: string;
|
|
@@ -22,7 +22,7 @@ export interface HomeChefJob extends Omit<Job, "shifts"> {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export interface JobShiftsState {
|
|
25
|
-
shifts: Record<string,
|
|
25
|
+
shifts: Record<string, VolunteerShift>;
|
|
26
26
|
jobs: Job[];
|
|
27
27
|
}
|
|
28
28
|
|
package/package.json
CHANGED
package/text/types.ts
CHANGED
package/volunteer/types.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface JobForCheckIn {
|
|
|
23
23
|
|
|
24
24
|
export interface CheckInArgs {
|
|
25
25
|
hoursId: string;
|
|
26
|
-
duration:
|
|
26
|
+
duration: number;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
export type CheckInShiftsResponse = {
|
|
@@ -68,6 +68,7 @@ export interface VolunteerShift {
|
|
|
68
68
|
// endTime: string;
|
|
69
69
|
slots: number;
|
|
70
70
|
reservedOpen?: boolean;
|
|
71
|
+
totalSlots?: number;
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
export type FridgeRegion =
|