@platelet-app/models 1.1.1 → 1.1.2
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/index.js +3 -2
- package/dist/schema.js +59 -23
- package/package.json +2 -2
- package/dist/index.d.ts +0 -725
- package/dist/schema.d.ts +0 -3
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @ts-check
|
|
2
2
|
import { initSchema } from '@aws-amplify/datastore';
|
|
3
|
-
import { schema } from './schema
|
|
3
|
+
import { schema } from './schema';
|
|
4
4
|
|
|
5
5
|
const TimeRelation = {
|
|
6
6
|
"BEFORE": "BEFORE",
|
|
@@ -58,7 +58,7 @@ const CommentVisibility = {
|
|
|
58
58
|
"ME": "ME"
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
-
const { Tenant, User, PossibleRiderResponsibilities, Vehicle, VehicleAssignment, Location, Task, TaskAssignee, ScheduledTask, Comment, DeliverableType, Deliverable, RiderResponsibility, S3Object, AddressAndContactDetails, Schedule, SendFeedback, Statistics } = initSchema(schema);
|
|
61
|
+
const { Tenant, User, PossibleRiderResponsibilities, Vehicle, VehicleAssignment, Location, Task, TaskAssignee, ScheduledTask, Comment, DeliverableType, Deliverable, RiderResponsibility, S3Object, AddressAndContactDetails, Schedule, SendFeedback, StateMachineExecution, Statistics } = initSchema(schema);
|
|
62
62
|
|
|
63
63
|
export {
|
|
64
64
|
Tenant,
|
|
@@ -85,5 +85,6 @@ export {
|
|
|
85
85
|
AddressAndContactDetails,
|
|
86
86
|
Schedule,
|
|
87
87
|
SendFeedback,
|
|
88
|
+
StateMachineExecution,
|
|
88
89
|
Statistics
|
|
89
90
|
};
|
package/dist/schema.js
CHANGED
|
@@ -314,6 +314,13 @@ export const schema = {
|
|
|
314
314
|
"isRequired": false,
|
|
315
315
|
"attributes": []
|
|
316
316
|
},
|
|
317
|
+
"isBeingDeleted": {
|
|
318
|
+
"name": "isBeingDeleted",
|
|
319
|
+
"isArray": false,
|
|
320
|
+
"type": "Boolean",
|
|
321
|
+
"isRequired": false,
|
|
322
|
+
"attributes": []
|
|
323
|
+
},
|
|
317
324
|
"createdAt": {
|
|
318
325
|
"name": "createdAt",
|
|
319
326
|
"isArray": false,
|
|
@@ -366,28 +373,6 @@ export const schema = {
|
|
|
366
373
|
"operations": [
|
|
367
374
|
"read"
|
|
368
375
|
]
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
"provider": "userPools",
|
|
372
|
-
"ownerField": "cognitoId",
|
|
373
|
-
"allow": "owner",
|
|
374
|
-
"operations": [
|
|
375
|
-
"read",
|
|
376
|
-
"update"
|
|
377
|
-
],
|
|
378
|
-
"identityClaim": "cognito:username"
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
"groupClaim": "cognito:groups",
|
|
382
|
-
"provider": "userPools",
|
|
383
|
-
"allow": "groups",
|
|
384
|
-
"groups": [
|
|
385
|
-
"ADMIN"
|
|
386
|
-
],
|
|
387
|
-
"operations": [
|
|
388
|
-
"read",
|
|
389
|
-
"update"
|
|
390
|
-
]
|
|
391
376
|
}
|
|
392
377
|
]
|
|
393
378
|
}
|
|
@@ -474,6 +459,14 @@ export const schema = {
|
|
|
474
459
|
"type": "auth",
|
|
475
460
|
"properties": {
|
|
476
461
|
"rules": [
|
|
462
|
+
{
|
|
463
|
+
"allow": "private",
|
|
464
|
+
"provider": "iam",
|
|
465
|
+
"operations": [
|
|
466
|
+
"read",
|
|
467
|
+
"delete"
|
|
468
|
+
]
|
|
469
|
+
},
|
|
477
470
|
{
|
|
478
471
|
"allow": "private",
|
|
479
472
|
"operations": [
|
|
@@ -739,6 +732,14 @@ export const schema = {
|
|
|
739
732
|
"type": "auth",
|
|
740
733
|
"properties": {
|
|
741
734
|
"rules": [
|
|
735
|
+
{
|
|
736
|
+
"allow": "private",
|
|
737
|
+
"provider": "iam",
|
|
738
|
+
"operations": [
|
|
739
|
+
"read",
|
|
740
|
+
"delete"
|
|
741
|
+
]
|
|
742
|
+
},
|
|
742
743
|
{
|
|
743
744
|
"allow": "private",
|
|
744
745
|
"operations": [
|
|
@@ -1543,6 +1544,14 @@ export const schema = {
|
|
|
1543
1544
|
"type": "auth",
|
|
1544
1545
|
"properties": {
|
|
1545
1546
|
"rules": [
|
|
1547
|
+
{
|
|
1548
|
+
"allow": "private",
|
|
1549
|
+
"provider": "iam",
|
|
1550
|
+
"operations": [
|
|
1551
|
+
"read",
|
|
1552
|
+
"delete"
|
|
1553
|
+
]
|
|
1554
|
+
},
|
|
1546
1555
|
{
|
|
1547
1556
|
"allow": "private",
|
|
1548
1557
|
"operations": [
|
|
@@ -1913,6 +1922,14 @@ export const schema = {
|
|
|
1913
1922
|
"type": "auth",
|
|
1914
1923
|
"properties": {
|
|
1915
1924
|
"rules": [
|
|
1925
|
+
{
|
|
1926
|
+
"allow": "private",
|
|
1927
|
+
"provider": "iam",
|
|
1928
|
+
"operations": [
|
|
1929
|
+
"read",
|
|
1930
|
+
"delete"
|
|
1931
|
+
]
|
|
1932
|
+
},
|
|
1916
1933
|
{
|
|
1917
1934
|
"groupClaim": "cognito:groups",
|
|
1918
1935
|
"provider": "userPools",
|
|
@@ -2609,6 +2626,25 @@ export const schema = {
|
|
|
2609
2626
|
}
|
|
2610
2627
|
}
|
|
2611
2628
|
},
|
|
2629
|
+
"StateMachineExecution": {
|
|
2630
|
+
"name": "StateMachineExecution",
|
|
2631
|
+
"fields": {
|
|
2632
|
+
"executionArn": {
|
|
2633
|
+
"name": "executionArn",
|
|
2634
|
+
"isArray": false,
|
|
2635
|
+
"type": "String",
|
|
2636
|
+
"isRequired": false,
|
|
2637
|
+
"attributes": []
|
|
2638
|
+
},
|
|
2639
|
+
"startDate": {
|
|
2640
|
+
"name": "startDate",
|
|
2641
|
+
"isArray": false,
|
|
2642
|
+
"type": "String",
|
|
2643
|
+
"isRequired": false,
|
|
2644
|
+
"attributes": []
|
|
2645
|
+
}
|
|
2646
|
+
}
|
|
2647
|
+
},
|
|
2612
2648
|
"Statistics": {
|
|
2613
2649
|
"name": "Statistics",
|
|
2614
2650
|
"fields": {
|
|
@@ -2679,5 +2715,5 @@ export const schema = {
|
|
|
2679
2715
|
}
|
|
2680
2716
|
},
|
|
2681
2717
|
"codegenVersion": "3.4.4",
|
|
2682
|
-
"version": "
|
|
2718
|
+
"version": "ea23c7472135f07a7efd4966b35c2d76"
|
|
2683
2719
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platelet-app/models",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "DataStore models for the platelet.app project",
|
|
5
5
|
"homepage": "https://platelet.app",
|
|
6
6
|
"bugs": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"main": "dist/index.js",
|
|
17
17
|
"types": "dist/index.d.ts",
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "cd ../.. && amplify api gql-compile && amplify codegen models && cd packages/models && cp ../../models/* dist",
|
|
19
|
+
"build": "cd ../.. && amplify api gql-compile && amplify codegen models && cd packages/models && mkdir -p dist && cp ../../src/models/* dist",
|
|
20
20
|
"prepublishOnly": "npm version patch"
|
|
21
21
|
}
|
|
22
22
|
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,725 +0,0 @@
|
|
|
1
|
-
import { ModelInit, MutableModel } from "@aws-amplify/datastore";
|
|
2
|
-
// @ts-ignore
|
|
3
|
-
import { LazyLoading, LazyLoadingDisabled, AsyncItem, AsyncCollection } from "@aws-amplify/datastore";
|
|
4
|
-
|
|
5
|
-
export enum TimeRelation {
|
|
6
|
-
BEFORE = "BEFORE",
|
|
7
|
-
AFTER = "AFTER",
|
|
8
|
-
AT = "AT",
|
|
9
|
-
ANYTIME = "ANYTIME",
|
|
10
|
-
BETWEEN = "BETWEEN"
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export enum DeliverableTypeIcon {
|
|
14
|
-
BUG = "BUG",
|
|
15
|
-
CHILD = "CHILD",
|
|
16
|
-
DOCUMENT = "DOCUMENT",
|
|
17
|
-
EQUIPMENT = "EQUIPMENT",
|
|
18
|
-
OTHER = "OTHER"
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export enum TaskStatus {
|
|
22
|
-
NEW = "NEW",
|
|
23
|
-
ACTIVE = "ACTIVE",
|
|
24
|
-
PICKED_UP = "PICKED_UP",
|
|
25
|
-
DROPPED_OFF = "DROPPED_OFF",
|
|
26
|
-
CANCELLED = "CANCELLED",
|
|
27
|
-
REJECTED = "REJECTED",
|
|
28
|
-
ABANDONED = "ABANDONED",
|
|
29
|
-
COMPLETED = "COMPLETED",
|
|
30
|
-
PENDING = "PENDING",
|
|
31
|
-
FUTURE = "FUTURE"
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export enum Priority {
|
|
35
|
-
HIGH = "HIGH",
|
|
36
|
-
MEDIUM = "MEDIUM",
|
|
37
|
-
LOW = "LOW"
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export enum DeliverableUnit {
|
|
41
|
-
NONE = "NONE",
|
|
42
|
-
LITER = "LITER",
|
|
43
|
-
MILLILITER = "MILLILITER",
|
|
44
|
-
GRAM = "GRAM",
|
|
45
|
-
ITEM = "ITEM",
|
|
46
|
-
BOX = "BOX"
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export enum Role {
|
|
50
|
-
USER = "USER",
|
|
51
|
-
COORDINATOR = "COORDINATOR",
|
|
52
|
-
RIDER = "RIDER",
|
|
53
|
-
ADMIN = "ADMIN"
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export enum CommentVisibility {
|
|
57
|
-
EVERYONE = "EVERYONE",
|
|
58
|
-
ME = "ME"
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
type EagerS3Object = {
|
|
62
|
-
readonly bucket: string;
|
|
63
|
-
readonly key: string;
|
|
64
|
-
readonly region: string;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
type LazyS3Object = {
|
|
68
|
-
readonly bucket: string;
|
|
69
|
-
readonly key: string;
|
|
70
|
-
readonly region: string;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export declare type S3Object = LazyLoading extends LazyLoadingDisabled ? EagerS3Object : LazyS3Object
|
|
74
|
-
|
|
75
|
-
export declare const S3Object: (new (init: ModelInit<S3Object>) => S3Object)
|
|
76
|
-
|
|
77
|
-
type EagerAddressAndContactDetails = {
|
|
78
|
-
readonly name?: string | null;
|
|
79
|
-
readonly telephoneNumber?: string | null;
|
|
80
|
-
readonly mobileNumber?: string | null;
|
|
81
|
-
readonly emailAddress?: string | null;
|
|
82
|
-
readonly ward?: string | null;
|
|
83
|
-
readonly line1?: string | null;
|
|
84
|
-
readonly line2?: string | null;
|
|
85
|
-
readonly line3?: string | null;
|
|
86
|
-
readonly town?: string | null;
|
|
87
|
-
readonly county?: string | null;
|
|
88
|
-
readonly state?: string | null;
|
|
89
|
-
readonly country?: string | null;
|
|
90
|
-
readonly postcode?: string | null;
|
|
91
|
-
readonly what3words?: string | null;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
type LazyAddressAndContactDetails = {
|
|
95
|
-
readonly name?: string | null;
|
|
96
|
-
readonly telephoneNumber?: string | null;
|
|
97
|
-
readonly mobileNumber?: string | null;
|
|
98
|
-
readonly emailAddress?: string | null;
|
|
99
|
-
readonly ward?: string | null;
|
|
100
|
-
readonly line1?: string | null;
|
|
101
|
-
readonly line2?: string | null;
|
|
102
|
-
readonly line3?: string | null;
|
|
103
|
-
readonly town?: string | null;
|
|
104
|
-
readonly county?: string | null;
|
|
105
|
-
readonly state?: string | null;
|
|
106
|
-
readonly country?: string | null;
|
|
107
|
-
readonly postcode?: string | null;
|
|
108
|
-
readonly what3words?: string | null;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export declare type AddressAndContactDetails = LazyLoading extends LazyLoadingDisabled ? EagerAddressAndContactDetails : LazyAddressAndContactDetails
|
|
112
|
-
|
|
113
|
-
export declare const AddressAndContactDetails: (new (init: ModelInit<AddressAndContactDetails>) => AddressAndContactDetails)
|
|
114
|
-
|
|
115
|
-
type EagerSchedule = {
|
|
116
|
-
readonly relation?: TimeRelation | keyof typeof TimeRelation | null;
|
|
117
|
-
readonly timePrimary?: string | null;
|
|
118
|
-
readonly timeSecondary?: string | null;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
type LazySchedule = {
|
|
122
|
-
readonly relation?: TimeRelation | keyof typeof TimeRelation | null;
|
|
123
|
-
readonly timePrimary?: string | null;
|
|
124
|
-
readonly timeSecondary?: string | null;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export declare type Schedule = LazyLoading extends LazyLoadingDisabled ? EagerSchedule : LazySchedule
|
|
128
|
-
|
|
129
|
-
export declare const Schedule: (new (init: ModelInit<Schedule>) => Schedule)
|
|
130
|
-
|
|
131
|
-
type EagerSendFeedback = {
|
|
132
|
-
readonly successState?: boolean | null;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
type LazySendFeedback = {
|
|
136
|
-
readonly successState?: boolean | null;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export declare type SendFeedback = LazyLoading extends LazyLoadingDisabled ? EagerSendFeedback : LazySendFeedback
|
|
140
|
-
|
|
141
|
-
export declare const SendFeedback: (new (init: ModelInit<SendFeedback>) => SendFeedback)
|
|
142
|
-
|
|
143
|
-
type EagerStatistics = {
|
|
144
|
-
readonly numCancelled?: number | null;
|
|
145
|
-
readonly numCompleted?: number | null;
|
|
146
|
-
readonly numDroppedOff?: number | null;
|
|
147
|
-
readonly numRejected?: number | null;
|
|
148
|
-
readonly numAbandoned?: number | null;
|
|
149
|
-
readonly numActive?: number | null;
|
|
150
|
-
readonly numPickedUp?: number | null;
|
|
151
|
-
readonly numNew?: number | null;
|
|
152
|
-
readonly numTest?: number | null;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
type LazyStatistics = {
|
|
156
|
-
readonly numCancelled?: number | null;
|
|
157
|
-
readonly numCompleted?: number | null;
|
|
158
|
-
readonly numDroppedOff?: number | null;
|
|
159
|
-
readonly numRejected?: number | null;
|
|
160
|
-
readonly numAbandoned?: number | null;
|
|
161
|
-
readonly numActive?: number | null;
|
|
162
|
-
readonly numPickedUp?: number | null;
|
|
163
|
-
readonly numNew?: number | null;
|
|
164
|
-
readonly numTest?: number | null;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export declare type Statistics = LazyLoading extends LazyLoadingDisabled ? EagerStatistics : LazyStatistics
|
|
168
|
-
|
|
169
|
-
export declare const Statistics: (new (init: ModelInit<Statistics>) => Statistics)
|
|
170
|
-
|
|
171
|
-
type TenantMetaData = {
|
|
172
|
-
readOnlyFields: 'createdAt' | 'updatedAt';
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
type UserMetaData = {
|
|
176
|
-
readOnlyFields: 'createdAt' | 'updatedAt';
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
type PossibleRiderResponsibilitiesMetaData = {
|
|
180
|
-
readOnlyFields: 'createdAt' | 'updatedAt';
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
type VehicleMetaData = {
|
|
184
|
-
readOnlyFields: 'createdAt' | 'updatedAt';
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
type VehicleAssignmentMetaData = {
|
|
188
|
-
readOnlyFields: 'createdAt' | 'updatedAt';
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
type LocationMetaData = {
|
|
192
|
-
readOnlyFields: 'createdAt' | 'updatedAt';
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
type TaskMetaData = {
|
|
196
|
-
readOnlyFields: 'updatedAt';
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
type TaskAssigneeMetaData = {
|
|
200
|
-
readOnlyFields: 'createdAt' | 'updatedAt';
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
type ScheduledTaskMetaData = {
|
|
204
|
-
readOnlyFields: 'createdAt' | 'updatedAt';
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
type CommentMetaData = {
|
|
208
|
-
readOnlyFields: 'createdAt' | 'updatedAt';
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
type DeliverableTypeMetaData = {
|
|
212
|
-
readOnlyFields: 'createdAt' | 'updatedAt';
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
type DeliverableMetaData = {
|
|
216
|
-
readOnlyFields: 'createdAt' | 'updatedAt';
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
type RiderResponsibilityMetaData = {
|
|
220
|
-
readOnlyFields: 'createdAt' | 'updatedAt';
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
type EagerTenant = {
|
|
224
|
-
readonly id: string;
|
|
225
|
-
readonly name: string;
|
|
226
|
-
readonly referenceIdentifier: string;
|
|
227
|
-
readonly admin: User;
|
|
228
|
-
readonly createdAt?: string | null;
|
|
229
|
-
readonly updatedAt?: string | null;
|
|
230
|
-
readonly tenantAdminId: string;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
type LazyTenant = {
|
|
234
|
-
readonly id: string;
|
|
235
|
-
readonly name: string;
|
|
236
|
-
readonly referenceIdentifier: string;
|
|
237
|
-
readonly admin: AsyncItem<User>;
|
|
238
|
-
readonly createdAt?: string | null;
|
|
239
|
-
readonly updatedAt?: string | null;
|
|
240
|
-
readonly tenantAdminId: string;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
export declare type Tenant = LazyLoading extends LazyLoadingDisabled ? EagerTenant : LazyTenant
|
|
244
|
-
|
|
245
|
-
export declare const Tenant: (new (init: ModelInit<Tenant, TenantMetaData>) => Tenant) & {
|
|
246
|
-
copyOf(source: Tenant, mutator: (draft: MutableModel<Tenant, TenantMetaData>) => MutableModel<Tenant, TenantMetaData> | void): Tenant;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
type EagerUser = {
|
|
250
|
-
readonly id: string;
|
|
251
|
-
readonly username: string;
|
|
252
|
-
readonly cognitoId: string;
|
|
253
|
-
readonly tenantId: string;
|
|
254
|
-
readonly isPrimaryAdmin?: number | null;
|
|
255
|
-
readonly contact?: AddressAndContactDetails | null;
|
|
256
|
-
readonly displayName: string;
|
|
257
|
-
readonly name?: string | null;
|
|
258
|
-
readonly roles: Role[] | Array<keyof typeof Role>;
|
|
259
|
-
readonly dateOfBirth?: string | null;
|
|
260
|
-
readonly riderResponsibility?: string | null;
|
|
261
|
-
readonly possibleRiderResponsibilities?: (PossibleRiderResponsibilities | null)[] | null;
|
|
262
|
-
readonly profilePicture?: S3Object | null;
|
|
263
|
-
readonly comments?: (Comment | null)[] | null;
|
|
264
|
-
readonly assignments?: (TaskAssignee | null)[] | null;
|
|
265
|
-
readonly vehicleAssignments?: (VehicleAssignment | null)[] | null;
|
|
266
|
-
readonly createdTasks?: (Task | null)[] | null;
|
|
267
|
-
readonly createdLocations?: (Location | null)[] | null;
|
|
268
|
-
readonly createdVehicles?: (Vehicle | null)[] | null;
|
|
269
|
-
readonly createdScheduledTasks?: (ScheduledTask | null)[] | null;
|
|
270
|
-
readonly disabled?: number | null;
|
|
271
|
-
readonly createdAt?: string | null;
|
|
272
|
-
readonly updatedAt?: string | null;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
type LazyUser = {
|
|
276
|
-
readonly id: string;
|
|
277
|
-
readonly username: string;
|
|
278
|
-
readonly cognitoId: string;
|
|
279
|
-
readonly tenantId: string;
|
|
280
|
-
readonly isPrimaryAdmin?: number | null;
|
|
281
|
-
readonly contact?: AddressAndContactDetails | null;
|
|
282
|
-
readonly displayName: string;
|
|
283
|
-
readonly name?: string | null;
|
|
284
|
-
readonly roles: Role[] | Array<keyof typeof Role>;
|
|
285
|
-
readonly dateOfBirth?: string | null;
|
|
286
|
-
readonly riderResponsibility?: string | null;
|
|
287
|
-
readonly possibleRiderResponsibilities: AsyncCollection<PossibleRiderResponsibilities>;
|
|
288
|
-
readonly profilePicture?: S3Object | null;
|
|
289
|
-
readonly comments: AsyncCollection<Comment>;
|
|
290
|
-
readonly assignments: AsyncCollection<TaskAssignee>;
|
|
291
|
-
readonly vehicleAssignments: AsyncCollection<VehicleAssignment>;
|
|
292
|
-
readonly createdTasks: AsyncCollection<Task>;
|
|
293
|
-
readonly createdLocations: AsyncCollection<Location>;
|
|
294
|
-
readonly createdVehicles: AsyncCollection<Vehicle>;
|
|
295
|
-
readonly createdScheduledTasks: AsyncCollection<ScheduledTask>;
|
|
296
|
-
readonly disabled?: number | null;
|
|
297
|
-
readonly createdAt?: string | null;
|
|
298
|
-
readonly updatedAt?: string | null;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
export declare type User = LazyLoading extends LazyLoadingDisabled ? EagerUser : LazyUser
|
|
302
|
-
|
|
303
|
-
export declare const User: (new (init: ModelInit<User, UserMetaData>) => User) & {
|
|
304
|
-
copyOf(source: User, mutator: (draft: MutableModel<User, UserMetaData>) => MutableModel<User, UserMetaData> | void): User;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
type EagerPossibleRiderResponsibilities = {
|
|
308
|
-
readonly id: string;
|
|
309
|
-
readonly tenantId: string;
|
|
310
|
-
readonly user: User;
|
|
311
|
-
readonly riderResponsibility: RiderResponsibility;
|
|
312
|
-
readonly createdAt?: string | null;
|
|
313
|
-
readonly updatedAt?: string | null;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
type LazyPossibleRiderResponsibilities = {
|
|
317
|
-
readonly id: string;
|
|
318
|
-
readonly tenantId: string;
|
|
319
|
-
readonly user: AsyncItem<User>;
|
|
320
|
-
readonly riderResponsibility: AsyncItem<RiderResponsibility>;
|
|
321
|
-
readonly createdAt?: string | null;
|
|
322
|
-
readonly updatedAt?: string | null;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
export declare type PossibleRiderResponsibilities = LazyLoading extends LazyLoadingDisabled ? EagerPossibleRiderResponsibilities : LazyPossibleRiderResponsibilities
|
|
326
|
-
|
|
327
|
-
export declare const PossibleRiderResponsibilities: (new (init: ModelInit<PossibleRiderResponsibilities, PossibleRiderResponsibilitiesMetaData>) => PossibleRiderResponsibilities) & {
|
|
328
|
-
copyOf(source: PossibleRiderResponsibilities, mutator: (draft: MutableModel<PossibleRiderResponsibilities, PossibleRiderResponsibilitiesMetaData>) => MutableModel<PossibleRiderResponsibilities, PossibleRiderResponsibilitiesMetaData> | void): PossibleRiderResponsibilities;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
type EagerVehicle = {
|
|
332
|
-
readonly id: string;
|
|
333
|
-
readonly tenantId: string;
|
|
334
|
-
readonly createdBy?: User | null;
|
|
335
|
-
readonly name?: string | null;
|
|
336
|
-
readonly manufacturer?: string | null;
|
|
337
|
-
readonly model?: string | null;
|
|
338
|
-
readonly dateOfManufacture?: string | null;
|
|
339
|
-
readonly dateOfRegistration?: string | null;
|
|
340
|
-
readonly assignments?: (VehicleAssignment | null)[] | null;
|
|
341
|
-
readonly comments?: (Comment | null)[] | null;
|
|
342
|
-
readonly disabled?: number | null;
|
|
343
|
-
readonly createdAt?: string | null;
|
|
344
|
-
readonly updatedAt?: string | null;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
type LazyVehicle = {
|
|
348
|
-
readonly id: string;
|
|
349
|
-
readonly tenantId: string;
|
|
350
|
-
readonly createdBy: AsyncItem<User | undefined>;
|
|
351
|
-
readonly name?: string | null;
|
|
352
|
-
readonly manufacturer?: string | null;
|
|
353
|
-
readonly model?: string | null;
|
|
354
|
-
readonly dateOfManufacture?: string | null;
|
|
355
|
-
readonly dateOfRegistration?: string | null;
|
|
356
|
-
readonly assignments: AsyncCollection<VehicleAssignment>;
|
|
357
|
-
readonly comments: AsyncCollection<Comment>;
|
|
358
|
-
readonly disabled?: number | null;
|
|
359
|
-
readonly createdAt?: string | null;
|
|
360
|
-
readonly updatedAt?: string | null;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
export declare type Vehicle = LazyLoading extends LazyLoadingDisabled ? EagerVehicle : LazyVehicle
|
|
364
|
-
|
|
365
|
-
export declare const Vehicle: (new (init: ModelInit<Vehicle, VehicleMetaData>) => Vehicle) & {
|
|
366
|
-
copyOf(source: Vehicle, mutator: (draft: MutableModel<Vehicle, VehicleMetaData>) => MutableModel<Vehicle, VehicleMetaData> | void): Vehicle;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
type EagerVehicleAssignment = {
|
|
370
|
-
readonly id: string;
|
|
371
|
-
readonly tenantId: string;
|
|
372
|
-
readonly vehicle: Vehicle;
|
|
373
|
-
readonly assignee: User;
|
|
374
|
-
readonly createdAt?: string | null;
|
|
375
|
-
readonly updatedAt?: string | null;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
type LazyVehicleAssignment = {
|
|
379
|
-
readonly id: string;
|
|
380
|
-
readonly tenantId: string;
|
|
381
|
-
readonly vehicle: AsyncItem<Vehicle>;
|
|
382
|
-
readonly assignee: AsyncItem<User>;
|
|
383
|
-
readonly createdAt?: string | null;
|
|
384
|
-
readonly updatedAt?: string | null;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
export declare type VehicleAssignment = LazyLoading extends LazyLoadingDisabled ? EagerVehicleAssignment : LazyVehicleAssignment
|
|
388
|
-
|
|
389
|
-
export declare const VehicleAssignment: (new (init: ModelInit<VehicleAssignment, VehicleAssignmentMetaData>) => VehicleAssignment) & {
|
|
390
|
-
copyOf(source: VehicleAssignment, mutator: (draft: MutableModel<VehicleAssignment, VehicleAssignmentMetaData>) => MutableModel<VehicleAssignment, VehicleAssignmentMetaData> | void): VehicleAssignment;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
type EagerLocation = {
|
|
394
|
-
readonly id: string;
|
|
395
|
-
readonly tenantId: string;
|
|
396
|
-
readonly createdBy?: User | null;
|
|
397
|
-
readonly name?: string | null;
|
|
398
|
-
readonly listed?: number | null;
|
|
399
|
-
readonly contact?: AddressAndContactDetails | null;
|
|
400
|
-
readonly ward?: string | null;
|
|
401
|
-
readonly line1?: string | null;
|
|
402
|
-
readonly line2?: string | null;
|
|
403
|
-
readonly line3?: string | null;
|
|
404
|
-
readonly town?: string | null;
|
|
405
|
-
readonly county?: string | null;
|
|
406
|
-
readonly state?: string | null;
|
|
407
|
-
readonly country?: string | null;
|
|
408
|
-
readonly postcode?: string | null;
|
|
409
|
-
readonly what3words?: string | null;
|
|
410
|
-
readonly tasksAsPickUp?: (Task | null)[] | null;
|
|
411
|
-
readonly tasksAsDropOff?: (Task | null)[] | null;
|
|
412
|
-
readonly taskAsEstablishment?: (Task | null)[] | null;
|
|
413
|
-
readonly scheduledTasksAsPickUp?: (ScheduledTask | null)[] | null;
|
|
414
|
-
readonly scheduledTasksAsDropOff?: (ScheduledTask | null)[] | null;
|
|
415
|
-
readonly scheduledTasksAsEstablishment?: (ScheduledTask | null)[] | null;
|
|
416
|
-
readonly comments?: (Comment | null)[] | null;
|
|
417
|
-
readonly disabled?: number | null;
|
|
418
|
-
readonly googleMapsPlaceId?: string | null;
|
|
419
|
-
readonly archived?: number | null;
|
|
420
|
-
readonly createdAt?: string | null;
|
|
421
|
-
readonly updatedAt?: string | null;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
type LazyLocation = {
|
|
425
|
-
readonly id: string;
|
|
426
|
-
readonly tenantId: string;
|
|
427
|
-
readonly createdBy: AsyncItem<User | undefined>;
|
|
428
|
-
readonly name?: string | null;
|
|
429
|
-
readonly listed?: number | null;
|
|
430
|
-
readonly contact?: AddressAndContactDetails | null;
|
|
431
|
-
readonly ward?: string | null;
|
|
432
|
-
readonly line1?: string | null;
|
|
433
|
-
readonly line2?: string | null;
|
|
434
|
-
readonly line3?: string | null;
|
|
435
|
-
readonly town?: string | null;
|
|
436
|
-
readonly county?: string | null;
|
|
437
|
-
readonly state?: string | null;
|
|
438
|
-
readonly country?: string | null;
|
|
439
|
-
readonly postcode?: string | null;
|
|
440
|
-
readonly what3words?: string | null;
|
|
441
|
-
readonly tasksAsPickUp: AsyncCollection<Task>;
|
|
442
|
-
readonly tasksAsDropOff: AsyncCollection<Task>;
|
|
443
|
-
readonly taskAsEstablishment: AsyncCollection<Task>;
|
|
444
|
-
readonly scheduledTasksAsPickUp: AsyncCollection<ScheduledTask>;
|
|
445
|
-
readonly scheduledTasksAsDropOff: AsyncCollection<ScheduledTask>;
|
|
446
|
-
readonly scheduledTasksAsEstablishment: AsyncCollection<ScheduledTask>;
|
|
447
|
-
readonly comments: AsyncCollection<Comment>;
|
|
448
|
-
readonly disabled?: number | null;
|
|
449
|
-
readonly googleMapsPlaceId?: string | null;
|
|
450
|
-
readonly archived?: number | null;
|
|
451
|
-
readonly createdAt?: string | null;
|
|
452
|
-
readonly updatedAt?: string | null;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
export declare type Location = LazyLoading extends LazyLoadingDisabled ? EagerLocation : LazyLocation
|
|
456
|
-
|
|
457
|
-
export declare const Location: (new (init: ModelInit<Location, LocationMetaData>) => Location) & {
|
|
458
|
-
copyOf(source: Location, mutator: (draft: MutableModel<Location, LocationMetaData>) => MutableModel<Location, LocationMetaData> | void): Location;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
type EagerTask = {
|
|
462
|
-
readonly id: string;
|
|
463
|
-
readonly tenantId: string;
|
|
464
|
-
readonly createdAt?: string | null;
|
|
465
|
-
readonly createdBy?: User | null;
|
|
466
|
-
readonly dateCreated: string;
|
|
467
|
-
readonly dateCompleted?: string | null;
|
|
468
|
-
readonly timeOfCall?: string | null;
|
|
469
|
-
readonly timePickedUp?: string | null;
|
|
470
|
-
readonly timePickedUpSenderName?: string | null;
|
|
471
|
-
readonly timeDroppedOff?: string | null;
|
|
472
|
-
readonly timeDroppedOffRecipientName?: string | null;
|
|
473
|
-
readonly timeCancelled?: string | null;
|
|
474
|
-
readonly timeRejected?: string | null;
|
|
475
|
-
readonly timeRiderHome?: string | null;
|
|
476
|
-
readonly requesterContact?: AddressAndContactDetails | null;
|
|
477
|
-
readonly pickUpLocation?: Location | null;
|
|
478
|
-
readonly dropOffLocation?: Location | null;
|
|
479
|
-
readonly establishmentLocation?: Location | null;
|
|
480
|
-
readonly riderResponsibility?: string | null;
|
|
481
|
-
readonly assignees?: (TaskAssignee | null)[] | null;
|
|
482
|
-
readonly priority?: Priority | keyof typeof Priority | null;
|
|
483
|
-
readonly deliverables?: (Deliverable | null)[] | null;
|
|
484
|
-
readonly comments?: (Comment | null)[] | null;
|
|
485
|
-
readonly status?: TaskStatus | keyof typeof TaskStatus | null;
|
|
486
|
-
readonly isRiderUsingOwnVehicle?: number | null;
|
|
487
|
-
readonly archived?: number | null;
|
|
488
|
-
readonly pickUpSchedule?: Schedule | null;
|
|
489
|
-
readonly dropOffSchedule?: Schedule | null;
|
|
490
|
-
readonly updatedAt?: string | null;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
type LazyTask = {
|
|
494
|
-
readonly id: string;
|
|
495
|
-
readonly tenantId: string;
|
|
496
|
-
readonly createdAt?: string | null;
|
|
497
|
-
readonly createdBy: AsyncItem<User | undefined>;
|
|
498
|
-
readonly dateCreated: string;
|
|
499
|
-
readonly dateCompleted?: string | null;
|
|
500
|
-
readonly timeOfCall?: string | null;
|
|
501
|
-
readonly timePickedUp?: string | null;
|
|
502
|
-
readonly timePickedUpSenderName?: string | null;
|
|
503
|
-
readonly timeDroppedOff?: string | null;
|
|
504
|
-
readonly timeDroppedOffRecipientName?: string | null;
|
|
505
|
-
readonly timeCancelled?: string | null;
|
|
506
|
-
readonly timeRejected?: string | null;
|
|
507
|
-
readonly timeRiderHome?: string | null;
|
|
508
|
-
readonly requesterContact?: AddressAndContactDetails | null;
|
|
509
|
-
readonly pickUpLocation: AsyncItem<Location | undefined>;
|
|
510
|
-
readonly dropOffLocation: AsyncItem<Location | undefined>;
|
|
511
|
-
readonly establishmentLocation: AsyncItem<Location | undefined>;
|
|
512
|
-
readonly riderResponsibility?: string | null;
|
|
513
|
-
readonly assignees: AsyncCollection<TaskAssignee>;
|
|
514
|
-
readonly priority?: Priority | keyof typeof Priority | null;
|
|
515
|
-
readonly deliverables: AsyncCollection<Deliverable>;
|
|
516
|
-
readonly comments: AsyncCollection<Comment>;
|
|
517
|
-
readonly status?: TaskStatus | keyof typeof TaskStatus | null;
|
|
518
|
-
readonly isRiderUsingOwnVehicle?: number | null;
|
|
519
|
-
readonly archived?: number | null;
|
|
520
|
-
readonly pickUpSchedule?: Schedule | null;
|
|
521
|
-
readonly dropOffSchedule?: Schedule | null;
|
|
522
|
-
readonly updatedAt?: string | null;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
export declare type Task = LazyLoading extends LazyLoadingDisabled ? EagerTask : LazyTask
|
|
526
|
-
|
|
527
|
-
export declare const Task: (new (init: ModelInit<Task, TaskMetaData>) => Task) & {
|
|
528
|
-
copyOf(source: Task, mutator: (draft: MutableModel<Task, TaskMetaData>) => MutableModel<Task, TaskMetaData> | void): Task;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
type EagerTaskAssignee = {
|
|
532
|
-
readonly id: string;
|
|
533
|
-
readonly tenantId: string;
|
|
534
|
-
readonly role: Role | keyof typeof Role;
|
|
535
|
-
readonly task: Task;
|
|
536
|
-
readonly assignee: User;
|
|
537
|
-
readonly archived?: number | null;
|
|
538
|
-
readonly createdAt?: string | null;
|
|
539
|
-
readonly updatedAt?: string | null;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
type LazyTaskAssignee = {
|
|
543
|
-
readonly id: string;
|
|
544
|
-
readonly tenantId: string;
|
|
545
|
-
readonly role: Role | keyof typeof Role;
|
|
546
|
-
readonly task: AsyncItem<Task>;
|
|
547
|
-
readonly assignee: AsyncItem<User>;
|
|
548
|
-
readonly archived?: number | null;
|
|
549
|
-
readonly createdAt?: string | null;
|
|
550
|
-
readonly updatedAt?: string | null;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
export declare type TaskAssignee = LazyLoading extends LazyLoadingDisabled ? EagerTaskAssignee : LazyTaskAssignee
|
|
554
|
-
|
|
555
|
-
export declare const TaskAssignee: (new (init: ModelInit<TaskAssignee, TaskAssigneeMetaData>) => TaskAssignee) & {
|
|
556
|
-
copyOf(source: TaskAssignee, mutator: (draft: MutableModel<TaskAssignee, TaskAssigneeMetaData>) => MutableModel<TaskAssignee, TaskAssigneeMetaData> | void): TaskAssignee;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
type EagerScheduledTask = {
|
|
560
|
-
readonly id: string;
|
|
561
|
-
readonly tenantId: string;
|
|
562
|
-
readonly createdBy?: User | null;
|
|
563
|
-
readonly requesterContact?: AddressAndContactDetails | null;
|
|
564
|
-
readonly cronExpression: string;
|
|
565
|
-
readonly pickUpLocation?: Location | null;
|
|
566
|
-
readonly dropOffLocation?: Location | null;
|
|
567
|
-
readonly establishmentLocation?: Location | null;
|
|
568
|
-
readonly priority?: Priority | keyof typeof Priority | null;
|
|
569
|
-
readonly deliverables?: (Deliverable | null)[] | null;
|
|
570
|
-
readonly disabled?: number | null;
|
|
571
|
-
readonly pickUpSchedule?: Schedule | null;
|
|
572
|
-
readonly dropOffSchedule?: Schedule | null;
|
|
573
|
-
readonly createdAt?: string | null;
|
|
574
|
-
readonly updatedAt?: string | null;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
type LazyScheduledTask = {
|
|
578
|
-
readonly id: string;
|
|
579
|
-
readonly tenantId: string;
|
|
580
|
-
readonly createdBy: AsyncItem<User | undefined>;
|
|
581
|
-
readonly requesterContact?: AddressAndContactDetails | null;
|
|
582
|
-
readonly cronExpression: string;
|
|
583
|
-
readonly pickUpLocation: AsyncItem<Location | undefined>;
|
|
584
|
-
readonly dropOffLocation: AsyncItem<Location | undefined>;
|
|
585
|
-
readonly establishmentLocation: AsyncItem<Location | undefined>;
|
|
586
|
-
readonly priority?: Priority | keyof typeof Priority | null;
|
|
587
|
-
readonly deliverables: AsyncCollection<Deliverable>;
|
|
588
|
-
readonly disabled?: number | null;
|
|
589
|
-
readonly pickUpSchedule?: Schedule | null;
|
|
590
|
-
readonly dropOffSchedule?: Schedule | null;
|
|
591
|
-
readonly createdAt?: string | null;
|
|
592
|
-
readonly updatedAt?: string | null;
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
export declare type ScheduledTask = LazyLoading extends LazyLoadingDisabled ? EagerScheduledTask : LazyScheduledTask
|
|
596
|
-
|
|
597
|
-
export declare const ScheduledTask: (new (init: ModelInit<ScheduledTask, ScheduledTaskMetaData>) => ScheduledTask) & {
|
|
598
|
-
copyOf(source: ScheduledTask, mutator: (draft: MutableModel<ScheduledTask, ScheduledTaskMetaData>) => MutableModel<ScheduledTask, ScheduledTaskMetaData> | void): ScheduledTask;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
type EagerComment = {
|
|
602
|
-
readonly id: string;
|
|
603
|
-
readonly parentId?: string | null;
|
|
604
|
-
readonly owner?: string | null;
|
|
605
|
-
readonly tenantId: string;
|
|
606
|
-
readonly body?: string | null;
|
|
607
|
-
readonly author?: User | null;
|
|
608
|
-
readonly visibility?: CommentVisibility | keyof typeof CommentVisibility | null;
|
|
609
|
-
readonly archived?: number | null;
|
|
610
|
-
readonly createdAt?: string | null;
|
|
611
|
-
readonly updatedAt?: string | null;
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
type LazyComment = {
|
|
615
|
-
readonly id: string;
|
|
616
|
-
readonly parentId?: string | null;
|
|
617
|
-
readonly owner?: string | null;
|
|
618
|
-
readonly tenantId: string;
|
|
619
|
-
readonly body?: string | null;
|
|
620
|
-
readonly author: AsyncItem<User | undefined>;
|
|
621
|
-
readonly visibility?: CommentVisibility | keyof typeof CommentVisibility | null;
|
|
622
|
-
readonly archived?: number | null;
|
|
623
|
-
readonly createdAt?: string | null;
|
|
624
|
-
readonly updatedAt?: string | null;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
export declare type Comment = LazyLoading extends LazyLoadingDisabled ? EagerComment : LazyComment
|
|
628
|
-
|
|
629
|
-
export declare const Comment: (new (init: ModelInit<Comment, CommentMetaData>) => Comment) & {
|
|
630
|
-
copyOf(source: Comment, mutator: (draft: MutableModel<Comment, CommentMetaData>) => MutableModel<Comment, CommentMetaData> | void): Comment;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
type EagerDeliverableType = {
|
|
634
|
-
readonly id: string;
|
|
635
|
-
readonly label: string;
|
|
636
|
-
readonly tenantId: string;
|
|
637
|
-
readonly icon?: DeliverableTypeIcon | keyof typeof DeliverableTypeIcon | null;
|
|
638
|
-
readonly defaultUnit?: DeliverableUnit | keyof typeof DeliverableUnit | null;
|
|
639
|
-
readonly deliverables?: (Deliverable | null)[] | null;
|
|
640
|
-
readonly tags?: (string | null)[] | null;
|
|
641
|
-
readonly disabled?: number | null;
|
|
642
|
-
readonly createdAt?: string | null;
|
|
643
|
-
readonly updatedAt?: string | null;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
type LazyDeliverableType = {
|
|
647
|
-
readonly id: string;
|
|
648
|
-
readonly label: string;
|
|
649
|
-
readonly tenantId: string;
|
|
650
|
-
readonly icon?: DeliverableTypeIcon | keyof typeof DeliverableTypeIcon | null;
|
|
651
|
-
readonly defaultUnit?: DeliverableUnit | keyof typeof DeliverableUnit | null;
|
|
652
|
-
readonly deliverables: AsyncCollection<Deliverable>;
|
|
653
|
-
readonly tags?: (string | null)[] | null;
|
|
654
|
-
readonly disabled?: number | null;
|
|
655
|
-
readonly createdAt?: string | null;
|
|
656
|
-
readonly updatedAt?: string | null;
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
export declare type DeliverableType = LazyLoading extends LazyLoadingDisabled ? EagerDeliverableType : LazyDeliverableType
|
|
660
|
-
|
|
661
|
-
export declare const DeliverableType: (new (init: ModelInit<DeliverableType, DeliverableTypeMetaData>) => DeliverableType) & {
|
|
662
|
-
copyOf(source: DeliverableType, mutator: (draft: MutableModel<DeliverableType, DeliverableTypeMetaData>) => MutableModel<DeliverableType, DeliverableTypeMetaData> | void): DeliverableType;
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
type EagerDeliverable = {
|
|
666
|
-
readonly id: string;
|
|
667
|
-
readonly tenantId: string;
|
|
668
|
-
readonly deliverableType?: DeliverableType | null;
|
|
669
|
-
readonly task?: Task | null;
|
|
670
|
-
readonly scheduledTask?: ScheduledTask | null;
|
|
671
|
-
readonly count?: number | null;
|
|
672
|
-
readonly unit?: DeliverableUnit | keyof typeof DeliverableUnit | null;
|
|
673
|
-
readonly orderInGrid?: number | null;
|
|
674
|
-
readonly comments?: (Comment | null)[] | null;
|
|
675
|
-
readonly archived?: number | null;
|
|
676
|
-
readonly createdAt?: string | null;
|
|
677
|
-
readonly updatedAt?: string | null;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
type LazyDeliverable = {
|
|
681
|
-
readonly id: string;
|
|
682
|
-
readonly tenantId: string;
|
|
683
|
-
readonly deliverableType: AsyncItem<DeliverableType | undefined>;
|
|
684
|
-
readonly task: AsyncItem<Task | undefined>;
|
|
685
|
-
readonly scheduledTask: AsyncItem<ScheduledTask | undefined>;
|
|
686
|
-
readonly count?: number | null;
|
|
687
|
-
readonly unit?: DeliverableUnit | keyof typeof DeliverableUnit | null;
|
|
688
|
-
readonly orderInGrid?: number | null;
|
|
689
|
-
readonly comments: AsyncCollection<Comment>;
|
|
690
|
-
readonly archived?: number | null;
|
|
691
|
-
readonly createdAt?: string | null;
|
|
692
|
-
readonly updatedAt?: string | null;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
export declare type Deliverable = LazyLoading extends LazyLoadingDisabled ? EagerDeliverable : LazyDeliverable
|
|
696
|
-
|
|
697
|
-
export declare const Deliverable: (new (init: ModelInit<Deliverable, DeliverableMetaData>) => Deliverable) & {
|
|
698
|
-
copyOf(source: Deliverable, mutator: (draft: MutableModel<Deliverable, DeliverableMetaData>) => MutableModel<Deliverable, DeliverableMetaData> | void): Deliverable;
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
type EagerRiderResponsibility = {
|
|
702
|
-
readonly id: string;
|
|
703
|
-
readonly tenantId: string;
|
|
704
|
-
readonly label: string;
|
|
705
|
-
readonly disabled?: number | null;
|
|
706
|
-
readonly possibleUsers?: (PossibleRiderResponsibilities | null)[] | null;
|
|
707
|
-
readonly createdAt?: string | null;
|
|
708
|
-
readonly updatedAt?: string | null;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
type LazyRiderResponsibility = {
|
|
712
|
-
readonly id: string;
|
|
713
|
-
readonly tenantId: string;
|
|
714
|
-
readonly label: string;
|
|
715
|
-
readonly disabled?: number | null;
|
|
716
|
-
readonly possibleUsers: AsyncCollection<PossibleRiderResponsibilities>;
|
|
717
|
-
readonly createdAt?: string | null;
|
|
718
|
-
readonly updatedAt?: string | null;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
export declare type RiderResponsibility = LazyLoading extends LazyLoadingDisabled ? EagerRiderResponsibility : LazyRiderResponsibility
|
|
722
|
-
|
|
723
|
-
export declare const RiderResponsibility: (new (init: ModelInit<RiderResponsibility, RiderResponsibilityMetaData>) => RiderResponsibility) & {
|
|
724
|
-
copyOf(source: RiderResponsibility, mutator: (draft: MutableModel<RiderResponsibility, RiderResponsibilityMetaData>) => MutableModel<RiderResponsibility, RiderResponsibilityMetaData> | void): RiderResponsibility;
|
|
725
|
-
}
|
package/dist/schema.d.ts
DELETED