@techallee/foodverse 1.0.6 → 1.0.8
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/package.json
CHANGED
|
@@ -19,6 +19,8 @@ declare type State =
|
|
|
19
19
|
declare type OpenTimeType = 'pause' | 'opened' | 'delivery' | 'takeaway';
|
|
20
20
|
declare type WeekDayType = 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
|
|
21
21
|
|
|
22
|
+
declare type Holiday = Record<State, Record<string, {datum: string; hinweis: string}>>
|
|
23
|
+
|
|
22
24
|
declare interface Floor {
|
|
23
25
|
id: string;
|
|
24
26
|
name: string;
|
package/src/types/api/user.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare type StaffStatus = 'active' | 'inactive' | 'locked';
|
|
2
|
-
declare type
|
|
2
|
+
declare type RoleCode = 'admin' | 'waiter' | 'station' | 'manager' | 'kitchen' | 'courier';
|
|
3
3
|
|
|
4
4
|
declare interface Staff {
|
|
5
5
|
id: string;
|
|
@@ -10,7 +10,7 @@ declare interface Staff {
|
|
|
10
10
|
fullTime: boolean;
|
|
11
11
|
onDuty: boolean;
|
|
12
12
|
status: StaffStatus;
|
|
13
|
-
currentRole?:
|
|
13
|
+
currentRole?: RoleCode;
|
|
14
14
|
currentRoleId?: string;
|
|
15
15
|
teamId: string;
|
|
16
16
|
lastActive?: string;
|