-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.graphql
81 lines (73 loc) · 1.06 KB
/
schema.graphql
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
type VendorItem{
ID: ID
Name: String
EstimatedPrice: Float
Splittable: Boolean
CaseQty: Float
Description: String
Location: String
Vendor: Vendor
UPC: String
UnitType: UnitType
SubItems: [VendorItem]
Image: String
LastUpdated: String
}
type Vendor{
ID: ID
Name: String
Phone: String
Address: String
Items: [VendorItem]
}
type UnitType{
ID: ID
Name: String
Splittable: Boolean
}
type Order{
ID: ID
Items: OrderItem
Member: Member
Price: String
Date: String
Processed: Boolean
}
type OrderItem{
ID: ID
Order: Order
VendorItem: VendorItem
Minimum: Float
Maximum: Float
}
type Member{
ID: ID
Name: String
Phone: String
Address: String
Active: Boolean
Payments: [MemberPayments]
Orders: [Order]
}
type MemberPayments{
ID: ID
Date: String
Amount: String
TransactionFee: String
TransactionType: String
AdjustedAmount: String
}
type VendorOrder{
ID: ID
Date: String
Vendor: Vendor
VendorOrderItems: [VendorOrderItem]
}
type VendorOrderItem{
ID: ID
Qty: Float
Item: VendorItem
Price: Float
VendorOrder: VendorOrder
Orders: [Order]
}