@homefile/components-v2 2.11.0 → 2.11.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/components/forms/dynamicForm/fields/AIGridField.js +7 -4
- package/dist/helpers/homeBoard/FolderSharing.helper.js +6 -0
- package/dist/helpers/rooms/GroupItems.js +81 -0
- package/dist/interfaces/forms/dynamicForm/fields/GridField.interface.d.ts +1 -2
- package/dist/interfaces/homeBoard/FolderDetail.interface.d.ts +2 -2
- package/dist/stories/forms/dynamicForm/DynamicForm.stories.d.ts +1 -1
- package/dist/stories/forms/dynamicForm/DynamicForm.stories.js +2 -1
- package/package.json +1 -1
- package/src/components/forms/dynamicForm/fields/AIGridField.tsx +7 -4
- package/src/components/rooms/GroupCard.tsx +1 -1
- package/src/helpers/homeBoard/FolderSharing.helper.ts +6 -0
- package/src/helpers/rooms/GroupItems.ts +81 -0
- package/src/interfaces/forms/dynamicForm/fields/GridField.interface.ts +1 -1
- package/src/interfaces/homeBoard/FolderDetail.interface.ts +2 -1
- package/src/stories/forms/dynamicForm/DynamicForm.stories.tsx +3 -2
|
@@ -27,10 +27,13 @@ export const AIGridField = ({ children, onAISend, onRemove, onUpload, }) => {
|
|
|
27
27
|
};
|
|
28
28
|
const code = watch(String(textChild === null || textChild === void 0 ? void 0 : textChild.id));
|
|
29
29
|
const handleAISend = () => {
|
|
30
|
-
const form = {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
30
|
+
const form = {};
|
|
31
|
+
if (code) {
|
|
32
|
+
form.code = code;
|
|
33
|
+
}
|
|
34
|
+
else if (imageField === null || imageField === void 0 ? void 0 : imageField.value) {
|
|
35
|
+
form.image = imageField.value;
|
|
36
|
+
}
|
|
34
37
|
onAISend === null || onAISend === void 0 ? void 0 : onAISend(form);
|
|
35
38
|
};
|
|
36
39
|
return (_jsxs(Flex, { align: "center", gap: "base", children: [_jsx(SingleImage, Object.assign({}, imageProps, { onUpload: onUpload, onRemove: onRemove, value: imageField === null || imageField === void 0 ? void 0 : imageField.value })), _jsx(Text, { fontFamily: "secondary", textAlign: "center", children: "OR" }), _jsx(TextField, Object.assign({}, textProps)), _jsx(IconButton, { "aria-label": "Add new address line", variant: "iconOutlined", icon: _jsx(Plus, { size: 28, stroke: colors.blue[3] }), onClick: handleAISend, h: "input.md", disabled: !(code === null || code === void 0 ? void 0 : code.length) && !(imageField === null || imageField === void 0 ? void 0 : imageField.value) })] }));
|
|
@@ -218,6 +218,7 @@ export const fileDB = [
|
|
|
218
218
|
description: '',
|
|
219
219
|
report: [
|
|
220
220
|
{
|
|
221
|
+
id: "test1",
|
|
221
222
|
name: 'Weekly Update',
|
|
222
223
|
description: '',
|
|
223
224
|
comments: '',
|
|
@@ -225,6 +226,7 @@ export const fileDB = [
|
|
|
225
226
|
type: 'string',
|
|
226
227
|
},
|
|
227
228
|
{
|
|
229
|
+
id: "test2",
|
|
228
230
|
name: 'Two week look ahead',
|
|
229
231
|
description: '',
|
|
230
232
|
comments: '',
|
|
@@ -232,6 +234,7 @@ export const fileDB = [
|
|
|
232
234
|
type: 'string',
|
|
233
235
|
},
|
|
234
236
|
{
|
|
237
|
+
id: "test3",
|
|
235
238
|
name: 'Items outstanding/owner clarifications',
|
|
236
239
|
description: '',
|
|
237
240
|
comments: '',
|
|
@@ -239,6 +242,7 @@ export const fileDB = [
|
|
|
239
242
|
type: 'string',
|
|
240
243
|
},
|
|
241
244
|
{
|
|
245
|
+
id: "test4",
|
|
242
246
|
name: 'Milestone goals-per construction schedule',
|
|
243
247
|
description: '',
|
|
244
248
|
comments: '',
|
|
@@ -246,6 +250,7 @@ export const fileDB = [
|
|
|
246
250
|
type: 'string',
|
|
247
251
|
},
|
|
248
252
|
{
|
|
253
|
+
id: "test5",
|
|
249
254
|
name: 'Supply updates',
|
|
250
255
|
description: '',
|
|
251
256
|
comments: 'Can be used as placeholder or something else',
|
|
@@ -253,6 +258,7 @@ export const fileDB = [
|
|
|
253
258
|
type: 'string',
|
|
254
259
|
},
|
|
255
260
|
{
|
|
261
|
+
id: "test6",
|
|
256
262
|
name: 'Project manager comments',
|
|
257
263
|
description: '',
|
|
258
264
|
comments: '',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { faker } from '@faker-js/faker';
|
|
1
2
|
export const PaintItems = [
|
|
2
3
|
{
|
|
3
4
|
_id: '62aa4c6db225dd3957d09b26',
|
|
@@ -6,6 +7,7 @@ export const PaintItems = [
|
|
|
6
7
|
title: 'Wall color',
|
|
7
8
|
report: [
|
|
8
9
|
{
|
|
10
|
+
id: faker.database.mongodbObjectId(),
|
|
9
11
|
name: 'Item Name',
|
|
10
12
|
description: '',
|
|
11
13
|
comments: '',
|
|
@@ -13,6 +15,7 @@ export const PaintItems = [
|
|
|
13
15
|
type: 'string',
|
|
14
16
|
},
|
|
15
17
|
{
|
|
18
|
+
id: faker.database.mongodbObjectId(),
|
|
16
19
|
name: 'Brand/Manufacturer',
|
|
17
20
|
description: '',
|
|
18
21
|
comments: '',
|
|
@@ -20,6 +23,7 @@ export const PaintItems = [
|
|
|
20
23
|
type: 'string',
|
|
21
24
|
},
|
|
22
25
|
{
|
|
26
|
+
id: faker.database.mongodbObjectId(),
|
|
23
27
|
name: 'Model Number',
|
|
24
28
|
description: '',
|
|
25
29
|
comments: '',
|
|
@@ -27,6 +31,7 @@ export const PaintItems = [
|
|
|
27
31
|
type: 'string',
|
|
28
32
|
},
|
|
29
33
|
{
|
|
34
|
+
id: faker.database.mongodbObjectId(),
|
|
30
35
|
name: 'Serial Number',
|
|
31
36
|
description: '',
|
|
32
37
|
comments: '',
|
|
@@ -34,6 +39,7 @@ export const PaintItems = [
|
|
|
34
39
|
type: 'string',
|
|
35
40
|
},
|
|
36
41
|
{
|
|
42
|
+
id: faker.database.mongodbObjectId(),
|
|
37
43
|
name: 'SKU',
|
|
38
44
|
description: '',
|
|
39
45
|
comments: '',
|
|
@@ -41,6 +47,7 @@ export const PaintItems = [
|
|
|
41
47
|
type: 'string',
|
|
42
48
|
},
|
|
43
49
|
{
|
|
50
|
+
id: faker.database.mongodbObjectId(),
|
|
44
51
|
name: 'Color/Finish',
|
|
45
52
|
description: '',
|
|
46
53
|
comments: '',
|
|
@@ -48,6 +55,7 @@ export const PaintItems = [
|
|
|
48
55
|
type: 'string',
|
|
49
56
|
},
|
|
50
57
|
{
|
|
58
|
+
id: faker.database.mongodbObjectId(),
|
|
51
59
|
name: 'Notes',
|
|
52
60
|
description: '',
|
|
53
61
|
comments: '',
|
|
@@ -55,6 +63,7 @@ export const PaintItems = [
|
|
|
55
63
|
type: 'textarea',
|
|
56
64
|
},
|
|
57
65
|
{
|
|
66
|
+
id: faker.database.mongodbObjectId(),
|
|
58
67
|
name: 'Purchase Date',
|
|
59
68
|
description: '',
|
|
60
69
|
comments: '',
|
|
@@ -62,6 +71,7 @@ export const PaintItems = [
|
|
|
62
71
|
type: 'date',
|
|
63
72
|
},
|
|
64
73
|
{
|
|
74
|
+
id: faker.database.mongodbObjectId(),
|
|
65
75
|
name: 'Retailer/Company Name',
|
|
66
76
|
description: '',
|
|
67
77
|
comments: '',
|
|
@@ -69,6 +79,7 @@ export const PaintItems = [
|
|
|
69
79
|
type: 'string',
|
|
70
80
|
},
|
|
71
81
|
{
|
|
82
|
+
id: faker.database.mongodbObjectId(),
|
|
72
83
|
name: 'Amount Paid for Item',
|
|
73
84
|
description: '',
|
|
74
85
|
comments: '',
|
|
@@ -128,6 +139,7 @@ export const PaintItems = [
|
|
|
128
139
|
title: 'Cabinets-Bottom',
|
|
129
140
|
report: [
|
|
130
141
|
{
|
|
142
|
+
id: faker.database.mongodbObjectId(),
|
|
131
143
|
name: 'Item Name',
|
|
132
144
|
description: '',
|
|
133
145
|
comments: '',
|
|
@@ -135,6 +147,7 @@ export const PaintItems = [
|
|
|
135
147
|
type: 'string',
|
|
136
148
|
},
|
|
137
149
|
{
|
|
150
|
+
id: faker.database.mongodbObjectId(),
|
|
138
151
|
name: 'Brand/Manufacturer',
|
|
139
152
|
description: '',
|
|
140
153
|
comments: '',
|
|
@@ -142,6 +155,7 @@ export const PaintItems = [
|
|
|
142
155
|
type: 'string',
|
|
143
156
|
},
|
|
144
157
|
{
|
|
158
|
+
id: faker.database.mongodbObjectId(),
|
|
145
159
|
name: 'Model Number',
|
|
146
160
|
description: '',
|
|
147
161
|
comments: '',
|
|
@@ -149,6 +163,7 @@ export const PaintItems = [
|
|
|
149
163
|
type: 'string',
|
|
150
164
|
},
|
|
151
165
|
{
|
|
166
|
+
id: faker.database.mongodbObjectId(),
|
|
152
167
|
name: 'Serial Number',
|
|
153
168
|
description: '',
|
|
154
169
|
comments: '',
|
|
@@ -156,6 +171,7 @@ export const PaintItems = [
|
|
|
156
171
|
type: 'string',
|
|
157
172
|
},
|
|
158
173
|
{
|
|
174
|
+
id: faker.database.mongodbObjectId(),
|
|
159
175
|
name: 'SKU',
|
|
160
176
|
description: '',
|
|
161
177
|
comments: '',
|
|
@@ -163,6 +179,7 @@ export const PaintItems = [
|
|
|
163
179
|
type: 'string',
|
|
164
180
|
},
|
|
165
181
|
{
|
|
182
|
+
id: faker.database.mongodbObjectId(),
|
|
166
183
|
name: 'Color/Finish',
|
|
167
184
|
description: '',
|
|
168
185
|
comments: '',
|
|
@@ -170,6 +187,7 @@ export const PaintItems = [
|
|
|
170
187
|
type: 'string',
|
|
171
188
|
},
|
|
172
189
|
{
|
|
190
|
+
id: faker.database.mongodbObjectId(),
|
|
173
191
|
name: 'Notes',
|
|
174
192
|
description: '',
|
|
175
193
|
comments: '',
|
|
@@ -177,6 +195,7 @@ export const PaintItems = [
|
|
|
177
195
|
type: 'textarea',
|
|
178
196
|
},
|
|
179
197
|
{
|
|
198
|
+
id: faker.database.mongodbObjectId(),
|
|
180
199
|
name: 'Purchase Date',
|
|
181
200
|
description: '',
|
|
182
201
|
comments: '',
|
|
@@ -184,6 +203,7 @@ export const PaintItems = [
|
|
|
184
203
|
type: 'date',
|
|
185
204
|
},
|
|
186
205
|
{
|
|
206
|
+
id: faker.database.mongodbObjectId(),
|
|
187
207
|
name: 'Retailer/Company Name',
|
|
188
208
|
description: '',
|
|
189
209
|
comments: '',
|
|
@@ -191,6 +211,7 @@ export const PaintItems = [
|
|
|
191
211
|
type: 'string',
|
|
192
212
|
},
|
|
193
213
|
{
|
|
214
|
+
id: faker.database.mongodbObjectId(),
|
|
194
215
|
name: 'Amount Paid for Item',
|
|
195
216
|
description: '',
|
|
196
217
|
comments: '',
|
|
@@ -243,6 +264,7 @@ export const PaintItems = [
|
|
|
243
264
|
description: '',
|
|
244
265
|
report: [
|
|
245
266
|
{
|
|
267
|
+
id: faker.database.mongodbObjectId(),
|
|
246
268
|
name: 'Item Name',
|
|
247
269
|
description: '',
|
|
248
270
|
comments: '',
|
|
@@ -250,6 +272,7 @@ export const PaintItems = [
|
|
|
250
272
|
type: 'string',
|
|
251
273
|
},
|
|
252
274
|
{
|
|
275
|
+
id: faker.database.mongodbObjectId(),
|
|
253
276
|
name: 'Brand/Manufacturer',
|
|
254
277
|
description: '',
|
|
255
278
|
comments: '',
|
|
@@ -257,6 +280,7 @@ export const PaintItems = [
|
|
|
257
280
|
type: 'string',
|
|
258
281
|
},
|
|
259
282
|
{
|
|
283
|
+
id: faker.database.mongodbObjectId(),
|
|
260
284
|
name: 'Model Number',
|
|
261
285
|
description: '',
|
|
262
286
|
comments: '',
|
|
@@ -264,6 +288,7 @@ export const PaintItems = [
|
|
|
264
288
|
type: 'string',
|
|
265
289
|
},
|
|
266
290
|
{
|
|
291
|
+
id: faker.database.mongodbObjectId(),
|
|
267
292
|
name: 'Serial Number',
|
|
268
293
|
description: '',
|
|
269
294
|
comments: '',
|
|
@@ -271,6 +296,7 @@ export const PaintItems = [
|
|
|
271
296
|
type: 'string',
|
|
272
297
|
},
|
|
273
298
|
{
|
|
299
|
+
id: faker.database.mongodbObjectId(),
|
|
274
300
|
name: 'SKU',
|
|
275
301
|
description: '',
|
|
276
302
|
comments: '',
|
|
@@ -278,6 +304,7 @@ export const PaintItems = [
|
|
|
278
304
|
type: 'string',
|
|
279
305
|
},
|
|
280
306
|
{
|
|
307
|
+
id: faker.database.mongodbObjectId(),
|
|
281
308
|
name: 'Color/Finish',
|
|
282
309
|
description: '',
|
|
283
310
|
comments: '',
|
|
@@ -285,6 +312,7 @@ export const PaintItems = [
|
|
|
285
312
|
type: 'string',
|
|
286
313
|
},
|
|
287
314
|
{
|
|
315
|
+
id: faker.database.mongodbObjectId(),
|
|
288
316
|
name: 'Notes',
|
|
289
317
|
description: '',
|
|
290
318
|
comments: '',
|
|
@@ -292,6 +320,7 @@ export const PaintItems = [
|
|
|
292
320
|
type: 'textarea',
|
|
293
321
|
},
|
|
294
322
|
{
|
|
323
|
+
id: faker.database.mongodbObjectId(),
|
|
295
324
|
name: 'Purchase Date',
|
|
296
325
|
description: '',
|
|
297
326
|
comments: '',
|
|
@@ -299,6 +328,7 @@ export const PaintItems = [
|
|
|
299
328
|
type: 'date',
|
|
300
329
|
},
|
|
301
330
|
{
|
|
331
|
+
id: faker.database.mongodbObjectId(),
|
|
302
332
|
name: 'Retailer/Company Name',
|
|
303
333
|
description: '',
|
|
304
334
|
comments: '',
|
|
@@ -306,6 +336,7 @@ export const PaintItems = [
|
|
|
306
336
|
type: 'string',
|
|
307
337
|
},
|
|
308
338
|
{
|
|
339
|
+
id: faker.database.mongodbObjectId(),
|
|
309
340
|
name: 'Amount Paid for Item',
|
|
310
341
|
description: '',
|
|
311
342
|
comments: '',
|
|
@@ -342,6 +373,7 @@ export const PaintItems = [
|
|
|
342
373
|
description: '',
|
|
343
374
|
report: [
|
|
344
375
|
{
|
|
376
|
+
id: faker.database.mongodbObjectId(),
|
|
345
377
|
name: 'Item Name',
|
|
346
378
|
description: '',
|
|
347
379
|
comments: '',
|
|
@@ -349,6 +381,7 @@ export const PaintItems = [
|
|
|
349
381
|
type: 'string',
|
|
350
382
|
},
|
|
351
383
|
{
|
|
384
|
+
id: faker.database.mongodbObjectId(),
|
|
352
385
|
name: 'Brand/Manufacturer',
|
|
353
386
|
description: '',
|
|
354
387
|
comments: '',
|
|
@@ -356,6 +389,7 @@ export const PaintItems = [
|
|
|
356
389
|
type: 'string',
|
|
357
390
|
},
|
|
358
391
|
{
|
|
392
|
+
id: faker.database.mongodbObjectId(),
|
|
359
393
|
name: 'Model Number',
|
|
360
394
|
description: '',
|
|
361
395
|
comments: '',
|
|
@@ -363,6 +397,7 @@ export const PaintItems = [
|
|
|
363
397
|
type: 'string',
|
|
364
398
|
},
|
|
365
399
|
{
|
|
400
|
+
id: faker.database.mongodbObjectId(),
|
|
366
401
|
name: 'Serial Number',
|
|
367
402
|
description: '',
|
|
368
403
|
comments: '',
|
|
@@ -370,6 +405,7 @@ export const PaintItems = [
|
|
|
370
405
|
type: 'string',
|
|
371
406
|
},
|
|
372
407
|
{
|
|
408
|
+
id: faker.database.mongodbObjectId(),
|
|
373
409
|
name: 'SKU',
|
|
374
410
|
description: '',
|
|
375
411
|
comments: '',
|
|
@@ -377,6 +413,7 @@ export const PaintItems = [
|
|
|
377
413
|
type: 'string',
|
|
378
414
|
},
|
|
379
415
|
{
|
|
416
|
+
id: faker.database.mongodbObjectId(),
|
|
380
417
|
name: 'Color/Finish',
|
|
381
418
|
description: '',
|
|
382
419
|
comments: '',
|
|
@@ -384,6 +421,7 @@ export const PaintItems = [
|
|
|
384
421
|
type: 'string',
|
|
385
422
|
},
|
|
386
423
|
{
|
|
424
|
+
id: faker.database.mongodbObjectId(),
|
|
387
425
|
name: 'Notes',
|
|
388
426
|
description: '',
|
|
389
427
|
comments: '',
|
|
@@ -391,6 +429,7 @@ export const PaintItems = [
|
|
|
391
429
|
type: 'textarea',
|
|
392
430
|
},
|
|
393
431
|
{
|
|
432
|
+
id: faker.database.mongodbObjectId(),
|
|
394
433
|
name: 'Purchase Date',
|
|
395
434
|
description: '',
|
|
396
435
|
comments: '',
|
|
@@ -398,6 +437,7 @@ export const PaintItems = [
|
|
|
398
437
|
type: 'date',
|
|
399
438
|
},
|
|
400
439
|
{
|
|
440
|
+
id: faker.database.mongodbObjectId(),
|
|
401
441
|
name: 'Retailer/Company Name',
|
|
402
442
|
description: '',
|
|
403
443
|
comments: '',
|
|
@@ -405,6 +445,7 @@ export const PaintItems = [
|
|
|
405
445
|
type: 'string',
|
|
406
446
|
},
|
|
407
447
|
{
|
|
448
|
+
id: faker.database.mongodbObjectId(),
|
|
408
449
|
name: 'Amount Paid for Item',
|
|
409
450
|
description: '',
|
|
410
451
|
comments: '',
|
|
@@ -438,6 +479,7 @@ export const PaintItems = [
|
|
|
438
479
|
description: '',
|
|
439
480
|
report: [
|
|
440
481
|
{
|
|
482
|
+
id: faker.database.mongodbObjectId(),
|
|
441
483
|
name: 'Item Name',
|
|
442
484
|
description: '',
|
|
443
485
|
comments: '',
|
|
@@ -445,6 +487,7 @@ export const PaintItems = [
|
|
|
445
487
|
type: 'string',
|
|
446
488
|
},
|
|
447
489
|
{
|
|
490
|
+
id: faker.database.mongodbObjectId(),
|
|
448
491
|
name: 'Brand/Manufacturer',
|
|
449
492
|
description: '',
|
|
450
493
|
comments: '',
|
|
@@ -452,6 +495,7 @@ export const PaintItems = [
|
|
|
452
495
|
type: 'string',
|
|
453
496
|
},
|
|
454
497
|
{
|
|
498
|
+
id: faker.database.mongodbObjectId(),
|
|
455
499
|
name: 'Model Number',
|
|
456
500
|
description: '',
|
|
457
501
|
comments: '',
|
|
@@ -459,6 +503,7 @@ export const PaintItems = [
|
|
|
459
503
|
type: 'string',
|
|
460
504
|
},
|
|
461
505
|
{
|
|
506
|
+
id: faker.database.mongodbObjectId(),
|
|
462
507
|
name: 'Serial Number',
|
|
463
508
|
description: '',
|
|
464
509
|
comments: '',
|
|
@@ -466,6 +511,7 @@ export const PaintItems = [
|
|
|
466
511
|
type: 'string',
|
|
467
512
|
},
|
|
468
513
|
{
|
|
514
|
+
id: faker.database.mongodbObjectId(),
|
|
469
515
|
name: 'SKU',
|
|
470
516
|
description: '',
|
|
471
517
|
comments: '',
|
|
@@ -473,6 +519,7 @@ export const PaintItems = [
|
|
|
473
519
|
type: 'string',
|
|
474
520
|
},
|
|
475
521
|
{
|
|
522
|
+
id: faker.database.mongodbObjectId(),
|
|
476
523
|
name: 'Color/Finish',
|
|
477
524
|
description: '',
|
|
478
525
|
comments: '',
|
|
@@ -480,6 +527,7 @@ export const PaintItems = [
|
|
|
480
527
|
type: 'string',
|
|
481
528
|
},
|
|
482
529
|
{
|
|
530
|
+
id: faker.database.mongodbObjectId(),
|
|
483
531
|
name: 'Notes',
|
|
484
532
|
description: '',
|
|
485
533
|
comments: '',
|
|
@@ -487,6 +535,7 @@ export const PaintItems = [
|
|
|
487
535
|
type: 'textarea',
|
|
488
536
|
},
|
|
489
537
|
{
|
|
538
|
+
id: faker.database.mongodbObjectId(),
|
|
490
539
|
name: 'Purchase Date',
|
|
491
540
|
description: '',
|
|
492
541
|
comments: '',
|
|
@@ -494,6 +543,7 @@ export const PaintItems = [
|
|
|
494
543
|
type: 'date',
|
|
495
544
|
},
|
|
496
545
|
{
|
|
546
|
+
id: faker.database.mongodbObjectId(),
|
|
497
547
|
name: 'Retailer/Company Name',
|
|
498
548
|
description: '',
|
|
499
549
|
comments: '',
|
|
@@ -501,6 +551,7 @@ export const PaintItems = [
|
|
|
501
551
|
type: 'string',
|
|
502
552
|
},
|
|
503
553
|
{
|
|
554
|
+
id: faker.database.mongodbObjectId(),
|
|
504
555
|
name: 'Amount Paid for Item',
|
|
505
556
|
description: '',
|
|
506
557
|
comments: '',
|
|
@@ -534,6 +585,7 @@ export const PaintItems = [
|
|
|
534
585
|
description: '',
|
|
535
586
|
report: [
|
|
536
587
|
{
|
|
588
|
+
id: faker.database.mongodbObjectId(),
|
|
537
589
|
name: 'Item Name',
|
|
538
590
|
description: '',
|
|
539
591
|
comments: '',
|
|
@@ -541,6 +593,7 @@ export const PaintItems = [
|
|
|
541
593
|
type: 'string',
|
|
542
594
|
},
|
|
543
595
|
{
|
|
596
|
+
id: faker.database.mongodbObjectId(),
|
|
544
597
|
name: 'Brand/Manufacturer',
|
|
545
598
|
description: '',
|
|
546
599
|
comments: '',
|
|
@@ -548,6 +601,7 @@ export const PaintItems = [
|
|
|
548
601
|
type: 'string',
|
|
549
602
|
},
|
|
550
603
|
{
|
|
604
|
+
id: faker.database.mongodbObjectId(),
|
|
551
605
|
name: 'Model Number',
|
|
552
606
|
description: '',
|
|
553
607
|
comments: '',
|
|
@@ -555,6 +609,7 @@ export const PaintItems = [
|
|
|
555
609
|
type: 'string',
|
|
556
610
|
},
|
|
557
611
|
{
|
|
612
|
+
id: faker.database.mongodbObjectId(),
|
|
558
613
|
name: 'Serial Number',
|
|
559
614
|
description: '',
|
|
560
615
|
comments: '',
|
|
@@ -562,6 +617,7 @@ export const PaintItems = [
|
|
|
562
617
|
type: 'string',
|
|
563
618
|
},
|
|
564
619
|
{
|
|
620
|
+
id: faker.database.mongodbObjectId(),
|
|
565
621
|
name: 'SKU',
|
|
566
622
|
description: '',
|
|
567
623
|
comments: '',
|
|
@@ -569,6 +625,7 @@ export const PaintItems = [
|
|
|
569
625
|
type: 'string',
|
|
570
626
|
},
|
|
571
627
|
{
|
|
628
|
+
id: faker.database.mongodbObjectId(),
|
|
572
629
|
name: 'Color/Finish',
|
|
573
630
|
description: '',
|
|
574
631
|
comments: '',
|
|
@@ -576,6 +633,7 @@ export const PaintItems = [
|
|
|
576
633
|
type: 'string',
|
|
577
634
|
},
|
|
578
635
|
{
|
|
636
|
+
id: faker.database.mongodbObjectId(),
|
|
579
637
|
name: 'Notes',
|
|
580
638
|
description: '',
|
|
581
639
|
comments: '',
|
|
@@ -583,6 +641,7 @@ export const PaintItems = [
|
|
|
583
641
|
type: 'textarea',
|
|
584
642
|
},
|
|
585
643
|
{
|
|
644
|
+
id: faker.database.mongodbObjectId(),
|
|
586
645
|
name: 'Purchase Date',
|
|
587
646
|
description: '',
|
|
588
647
|
comments: '',
|
|
@@ -590,6 +649,7 @@ export const PaintItems = [
|
|
|
590
649
|
type: 'date',
|
|
591
650
|
},
|
|
592
651
|
{
|
|
652
|
+
id: faker.database.mongodbObjectId(),
|
|
593
653
|
name: 'Retailer/Company Name',
|
|
594
654
|
description: '',
|
|
595
655
|
comments: '',
|
|
@@ -597,6 +657,7 @@ export const PaintItems = [
|
|
|
597
657
|
type: 'string',
|
|
598
658
|
},
|
|
599
659
|
{
|
|
660
|
+
id: faker.database.mongodbObjectId(),
|
|
600
661
|
name: 'Amount Paid for Item',
|
|
601
662
|
description: '',
|
|
602
663
|
comments: '',
|
|
@@ -630,6 +691,7 @@ export const PaintItems = [
|
|
|
630
691
|
description: '',
|
|
631
692
|
report: [
|
|
632
693
|
{
|
|
694
|
+
id: faker.database.mongodbObjectId(),
|
|
633
695
|
name: 'Item Name',
|
|
634
696
|
description: '',
|
|
635
697
|
comments: '',
|
|
@@ -637,6 +699,7 @@ export const PaintItems = [
|
|
|
637
699
|
type: 'string',
|
|
638
700
|
},
|
|
639
701
|
{
|
|
702
|
+
id: faker.database.mongodbObjectId(),
|
|
640
703
|
name: 'Brand/Manufacturer',
|
|
641
704
|
description: '',
|
|
642
705
|
comments: '',
|
|
@@ -644,6 +707,7 @@ export const PaintItems = [
|
|
|
644
707
|
type: 'string',
|
|
645
708
|
},
|
|
646
709
|
{
|
|
710
|
+
id: faker.database.mongodbObjectId(),
|
|
647
711
|
name: 'Model Number',
|
|
648
712
|
description: '',
|
|
649
713
|
comments: '',
|
|
@@ -651,6 +715,7 @@ export const PaintItems = [
|
|
|
651
715
|
type: 'string',
|
|
652
716
|
},
|
|
653
717
|
{
|
|
718
|
+
id: faker.database.mongodbObjectId(),
|
|
654
719
|
name: 'Serial Number',
|
|
655
720
|
description: '',
|
|
656
721
|
comments: '',
|
|
@@ -658,6 +723,7 @@ export const PaintItems = [
|
|
|
658
723
|
type: 'string',
|
|
659
724
|
},
|
|
660
725
|
{
|
|
726
|
+
id: faker.database.mongodbObjectId(),
|
|
661
727
|
name: 'SKU',
|
|
662
728
|
description: '',
|
|
663
729
|
comments: '',
|
|
@@ -665,6 +731,7 @@ export const PaintItems = [
|
|
|
665
731
|
type: 'string',
|
|
666
732
|
},
|
|
667
733
|
{
|
|
734
|
+
id: faker.database.mongodbObjectId(),
|
|
668
735
|
name: 'Color/Finish',
|
|
669
736
|
description: '',
|
|
670
737
|
comments: '',
|
|
@@ -672,6 +739,7 @@ export const PaintItems = [
|
|
|
672
739
|
type: 'string',
|
|
673
740
|
},
|
|
674
741
|
{
|
|
742
|
+
id: faker.database.mongodbObjectId(),
|
|
675
743
|
name: 'Notes',
|
|
676
744
|
description: '',
|
|
677
745
|
comments: '',
|
|
@@ -679,6 +747,7 @@ export const PaintItems = [
|
|
|
679
747
|
type: 'textarea',
|
|
680
748
|
},
|
|
681
749
|
{
|
|
750
|
+
id: faker.database.mongodbObjectId(),
|
|
682
751
|
name: 'Purchase Date',
|
|
683
752
|
description: '',
|
|
684
753
|
comments: '',
|
|
@@ -686,6 +755,7 @@ export const PaintItems = [
|
|
|
686
755
|
type: 'date',
|
|
687
756
|
},
|
|
688
757
|
{
|
|
758
|
+
id: faker.database.mongodbObjectId(),
|
|
689
759
|
name: 'Retailer/Company Name',
|
|
690
760
|
description: '',
|
|
691
761
|
comments: '',
|
|
@@ -693,6 +763,7 @@ export const PaintItems = [
|
|
|
693
763
|
type: 'string',
|
|
694
764
|
},
|
|
695
765
|
{
|
|
766
|
+
id: faker.database.mongodbObjectId(),
|
|
696
767
|
name: 'Amount Paid for Item',
|
|
697
768
|
description: '',
|
|
698
769
|
comments: '',
|
|
@@ -726,6 +797,7 @@ export const PaintItems = [
|
|
|
726
797
|
description: '',
|
|
727
798
|
report: [
|
|
728
799
|
{
|
|
800
|
+
id: faker.database.mongodbObjectId(),
|
|
729
801
|
name: 'Item Name',
|
|
730
802
|
description: '',
|
|
731
803
|
comments: '',
|
|
@@ -733,6 +805,7 @@ export const PaintItems = [
|
|
|
733
805
|
type: 'string',
|
|
734
806
|
},
|
|
735
807
|
{
|
|
808
|
+
id: faker.database.mongodbObjectId(),
|
|
736
809
|
name: 'Brand/Manufacturer',
|
|
737
810
|
description: '',
|
|
738
811
|
comments: '',
|
|
@@ -740,6 +813,7 @@ export const PaintItems = [
|
|
|
740
813
|
type: 'string',
|
|
741
814
|
},
|
|
742
815
|
{
|
|
816
|
+
id: faker.database.mongodbObjectId(),
|
|
743
817
|
name: 'Model Number',
|
|
744
818
|
description: '',
|
|
745
819
|
comments: '',
|
|
@@ -747,6 +821,7 @@ export const PaintItems = [
|
|
|
747
821
|
type: 'string',
|
|
748
822
|
},
|
|
749
823
|
{
|
|
824
|
+
id: faker.database.mongodbObjectId(),
|
|
750
825
|
name: 'Serial Number',
|
|
751
826
|
description: '',
|
|
752
827
|
comments: '',
|
|
@@ -754,6 +829,7 @@ export const PaintItems = [
|
|
|
754
829
|
type: 'string',
|
|
755
830
|
},
|
|
756
831
|
{
|
|
832
|
+
id: faker.database.mongodbObjectId(),
|
|
757
833
|
name: 'SKU',
|
|
758
834
|
description: '',
|
|
759
835
|
comments: '',
|
|
@@ -761,6 +837,7 @@ export const PaintItems = [
|
|
|
761
837
|
type: 'string',
|
|
762
838
|
},
|
|
763
839
|
{
|
|
840
|
+
id: faker.database.mongodbObjectId(),
|
|
764
841
|
name: 'Color/Finish',
|
|
765
842
|
description: '',
|
|
766
843
|
comments: '',
|
|
@@ -768,6 +845,7 @@ export const PaintItems = [
|
|
|
768
845
|
type: 'string',
|
|
769
846
|
},
|
|
770
847
|
{
|
|
848
|
+
id: faker.database.mongodbObjectId(),
|
|
771
849
|
name: 'Notes',
|
|
772
850
|
description: '',
|
|
773
851
|
comments: '',
|
|
@@ -775,6 +853,7 @@ export const PaintItems = [
|
|
|
775
853
|
type: 'textarea',
|
|
776
854
|
},
|
|
777
855
|
{
|
|
856
|
+
id: faker.database.mongodbObjectId(),
|
|
778
857
|
name: 'Purchase Date',
|
|
779
858
|
description: '',
|
|
780
859
|
comments: '',
|
|
@@ -782,6 +861,7 @@ export const PaintItems = [
|
|
|
782
861
|
type: 'date',
|
|
783
862
|
},
|
|
784
863
|
{
|
|
864
|
+
id: faker.database.mongodbObjectId(),
|
|
785
865
|
name: 'Retailer/Company Name',
|
|
786
866
|
description: '',
|
|
787
867
|
comments: '',
|
|
@@ -789,6 +869,7 @@ export const PaintItems = [
|
|
|
789
869
|
type: 'string',
|
|
790
870
|
},
|
|
791
871
|
{
|
|
872
|
+
id: faker.database.mongodbObjectId(),
|
|
792
873
|
name: 'Amount Paid for Item',
|
|
793
874
|
description: '',
|
|
794
875
|
comments: '',
|