-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.tsx
54 lines (46 loc) · 935 Bytes
/
types.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
export type TLSParamList = {
Login: undefined
ActualApp: undefined
}
export type DrawerParamList = {
Home: undefined
Locations: undefined
Announcements: undefined
NotFoundScreen: undefined
Testing: undefined
}
export type Location = {
locationName: string
locationID: string
}
export type MapStackParamList = {
Home: undefined
InventoryMain: Location,
InventoryDetails: {
location: Location
itemID: string
}
InventorySearch: Location
}
// WHEN YOU'RE ADDING STUFF HERE DON'T ADD IT AS UNDEFINED !!!!!!
export type InventoryStackParamList = {
LocationList: undefined
InventoryMain: Location,
InventoryDetails: {
location: Location
itemID: string
}
InventorySearch: Location
}
export type PantryItem = {
name: string
id: string
thumbnail: string | null
quantity: number
}
export type Announcement = {
id: string
title: string
body: string
timestamp: string
}