@francesco_ksh/app-ksh-mgd-schemas 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.
@@ -0,0 +1,892 @@
1
+ const mongoose = require('mongoose');
2
+ const Schema = mongoose.Schema;
3
+
4
+ const marketplaceUpdatesSchema = new Schema({
5
+ lastUpdate: {
6
+ type: Date,
7
+ default: Date.now,
8
+ },
9
+
10
+ BA: {
11
+ facebook: {
12
+ listing: {
13
+ type: Boolean,
14
+ default: true,
15
+ },
16
+ email: {
17
+ type: String,
18
+ },
19
+ password: {
20
+ type: String,
21
+ },
22
+ },
23
+ craigslist: {
24
+ listing: {
25
+ type: Boolean,
26
+ default: true,
27
+ },
28
+ email: {
29
+ type: String,
30
+ },
31
+ password: {
32
+ type: String,
33
+ },
34
+ },
35
+ craigslistFree: {
36
+ listing: {
37
+ type: Boolean,
38
+ default: true,
39
+ },
40
+ email: {
41
+ type: String,
42
+ },
43
+ password: {
44
+ type: String,
45
+ },
46
+ },
47
+ nextdoor: {
48
+ listing: {
49
+ type: Boolean,
50
+ default: true,
51
+ },
52
+ email: {
53
+ type: String,
54
+ },
55
+ password: {
56
+ type: String,
57
+ },
58
+ },
59
+ pintrest: {
60
+ listing: {
61
+ type: Boolean,
62
+ default: true,
63
+ },
64
+ email: {
65
+ type: String,
66
+ },
67
+ password: {
68
+ type: String,
69
+ },
70
+ },
71
+ google: {
72
+ listing: {
73
+ type: Boolean,
74
+ default: true,
75
+ },
76
+ email: {
77
+ type: String,
78
+ },
79
+ password: {
80
+ type: String,
81
+ },
82
+ },
83
+ },
84
+
85
+ PHO: {
86
+ facebook: {
87
+ listing: {
88
+ type: Boolean,
89
+ default: true,
90
+ },
91
+ email: {
92
+ type: String,
93
+ },
94
+ password: {
95
+ type: String,
96
+ },
97
+ },
98
+ craigslist: {
99
+ listing: {
100
+ type: Boolean,
101
+ default: true,
102
+ },
103
+ email: {
104
+ type: String,
105
+ },
106
+ password: {
107
+ type: String,
108
+ },
109
+ },
110
+ craigslistFree: {
111
+ listing: {
112
+ type: Boolean,
113
+ default: true,
114
+ },
115
+ email: {
116
+ type: String,
117
+ },
118
+ password: {
119
+ type: String,
120
+ },
121
+ },
122
+ nextdoor: {
123
+ listing: {
124
+ type: Boolean,
125
+ default: true,
126
+ },
127
+ email: {
128
+ type: String,
129
+ },
130
+ password: {
131
+ type: String,
132
+ },
133
+ },
134
+ pintrest: {
135
+ listing: {
136
+ type: Boolean,
137
+ default: true,
138
+ },
139
+ email: {
140
+ type: String,
141
+ },
142
+ password: {
143
+ type: String,
144
+ },
145
+ },
146
+ google: {
147
+ listing: {
148
+ type: Boolean,
149
+ default: true,
150
+ },
151
+ email: {
152
+ type: String,
153
+ },
154
+ password: {
155
+ type: String,
156
+ },
157
+ },
158
+ },
159
+
160
+ MIA: {
161
+ facebook: {
162
+ listing: {
163
+ type: Boolean,
164
+ default: true,
165
+ },
166
+ email: {
167
+ type: String,
168
+ },
169
+ password: {
170
+ type: String,
171
+ },
172
+ },
173
+ craigslist: {
174
+ listing: {
175
+ type: Boolean,
176
+ default: true,
177
+ },
178
+ email: {
179
+ type: String,
180
+ },
181
+ password: {
182
+ type: String,
183
+ },
184
+ },
185
+ craigslistFree: {
186
+ listing: {
187
+ type: Boolean,
188
+ default: true,
189
+ },
190
+ email: {
191
+ type: String,
192
+ },
193
+ password: {
194
+ type: String,
195
+ },
196
+ },
197
+ nextdoor: {
198
+ listing: {
199
+ type: Boolean,
200
+ default: true,
201
+ },
202
+ email: {
203
+ type: String,
204
+ },
205
+ password: {
206
+ type: String,
207
+ },
208
+ },
209
+ pintrest: {
210
+ listing: {
211
+ type: Boolean,
212
+ default: true,
213
+ },
214
+ email: {
215
+ type: String,
216
+ },
217
+ password: {
218
+ type: String,
219
+ },
220
+ },
221
+ google: {
222
+ listing: {
223
+ type: Boolean,
224
+ default: true,
225
+ },
226
+ email: {
227
+ type: String,
228
+ },
229
+ password: {
230
+ type: String,
231
+ },
232
+ },
233
+ },
234
+ HOU: {
235
+ facebook: {
236
+ listing: {
237
+ type: Boolean,
238
+ default: true,
239
+ },
240
+ email: {
241
+ type: String,
242
+ },
243
+ password: {
244
+ type: String,
245
+ },
246
+ },
247
+ craigslist: {
248
+ listing: {
249
+ type: Boolean,
250
+ default: true,
251
+ },
252
+ email: {
253
+ type: String,
254
+ },
255
+ password: {
256
+ type: String,
257
+ },
258
+ },
259
+ craigslistFree: {
260
+ listing: {
261
+ type: Boolean,
262
+ default: true,
263
+ },
264
+ email: {
265
+ type: String,
266
+ },
267
+ password: {
268
+ type: String,
269
+ },
270
+ },
271
+ nextdoor: {
272
+ listing: {
273
+ type: Boolean,
274
+ default: true,
275
+ },
276
+ email: {
277
+ type: String,
278
+ },
279
+ password: {
280
+ type: String,
281
+ },
282
+ },
283
+ pintrest: {
284
+ listing: {
285
+ type: Boolean,
286
+ default: true,
287
+ },
288
+ email: {
289
+ type: String,
290
+ },
291
+ password: {
292
+ type: String,
293
+ },
294
+ },
295
+ google: {
296
+ listing: {
297
+ type: Boolean,
298
+ default: true,
299
+ },
300
+ email: {
301
+ type: String,
302
+ },
303
+ password: {
304
+ type: String,
305
+ },
306
+ },
307
+ },
308
+ NY: {
309
+ facebook: {
310
+ listing: {
311
+ type: Boolean,
312
+ default: true,
313
+ },
314
+ email: {
315
+ type: String,
316
+ },
317
+ password: {
318
+ type: String,
319
+ },
320
+ },
321
+ craigslist: {
322
+ listing: {
323
+ type: Boolean,
324
+ default: true,
325
+ },
326
+ email: {
327
+ type: String,
328
+ },
329
+ password: {
330
+ type: String,
331
+ },
332
+ },
333
+ craigslistFree: {
334
+ listing: {
335
+ type: Boolean,
336
+ default: true,
337
+ },
338
+ email: {
339
+ type: String,
340
+ },
341
+ password: {
342
+ type: String,
343
+ },
344
+ },
345
+ nextdoor: {
346
+ listing: {
347
+ type: Boolean,
348
+ default: true,
349
+ },
350
+ email: {
351
+ type: String,
352
+ },
353
+ password: {
354
+ type: String,
355
+ },
356
+ },
357
+ pintrest: {
358
+ listing: {
359
+ type: Boolean,
360
+ default: true,
361
+ },
362
+ email: {
363
+ type: String,
364
+ },
365
+ password: {
366
+ type: String,
367
+ },
368
+ },
369
+ google: {
370
+ listing: {
371
+ type: Boolean,
372
+ default: true,
373
+ },
374
+ email: {
375
+ type: String,
376
+ },
377
+ password: {
378
+ type: String,
379
+ },
380
+ },
381
+ },
382
+ CHI: {
383
+ facebook: {
384
+ listing: {
385
+ type: Boolean,
386
+ default: true,
387
+ },
388
+ email: {
389
+ type: String,
390
+ },
391
+ password: {
392
+ type: String,
393
+ },
394
+ },
395
+ craigslist: {
396
+ listing: {
397
+ type: Boolean,
398
+ default: true,
399
+ },
400
+ email: {
401
+ type: String,
402
+ },
403
+ password: {
404
+ type: String,
405
+ },
406
+ },
407
+ craigslistFree: {
408
+ listing: {
409
+ type: Boolean,
410
+ default: true,
411
+ },
412
+ email: {
413
+ type: String,
414
+ },
415
+ password: {
416
+ type: String,
417
+ },
418
+ },
419
+ nextdoor: {
420
+ listing: {
421
+ type: Boolean,
422
+ default: true,
423
+ },
424
+ email: {
425
+ type: String,
426
+ },
427
+ password: {
428
+ type: String,
429
+ },
430
+ },
431
+ pintrest: {
432
+ listing: {
433
+ type: Boolean,
434
+ default: true,
435
+ },
436
+ email: {
437
+ type: String,
438
+ },
439
+ password: {
440
+ type: String,
441
+ },
442
+ },
443
+ google: {
444
+ listing: {
445
+ type: Boolean,
446
+ default: true,
447
+ },
448
+ email: {
449
+ type: String,
450
+ },
451
+ password: {
452
+ type: String,
453
+ },
454
+ },
455
+ },
456
+
457
+ PDX: {
458
+ facebook: {
459
+ listing: {
460
+ type: Boolean,
461
+ default: true,
462
+ },
463
+ email: {
464
+ type: String,
465
+ default: '',
466
+ },
467
+ password: {
468
+ type: String,
469
+ default: '',
470
+ },
471
+ },
472
+ craigslist: {
473
+ listing: {
474
+ type: Boolean,
475
+ default: true,
476
+ },
477
+ email: {
478
+ type: String,
479
+ default: '',
480
+ },
481
+ password: {
482
+ type: String,
483
+ default: '',
484
+ },
485
+ },
486
+ nextdoor: {
487
+ listing: {
488
+ type: Boolean,
489
+ default: true,
490
+ },
491
+ email: {
492
+ type: String,
493
+ default: '',
494
+ },
495
+ password: {
496
+ type: String,
497
+ default: '',
498
+ },
499
+ },
500
+ pintrest: {
501
+ listing: {
502
+ type: Boolean,
503
+ default: true,
504
+ },
505
+ email: {
506
+ type: String,
507
+ default: '',
508
+ },
509
+ password: {
510
+ type: String,
511
+ default: '',
512
+ },
513
+ },
514
+ google: {
515
+ listing: {
516
+ type: Boolean,
517
+ default: true,
518
+ },
519
+ email: {
520
+ type: String,
521
+ default: '',
522
+ },
523
+ password: {
524
+ type: String,
525
+ default: '',
526
+ },
527
+ },
528
+ },
529
+ DTX: {
530
+ facebook: {
531
+ listing: {
532
+ type: Boolean,
533
+ default: true,
534
+ },
535
+ email: {
536
+ type: String,
537
+ default: '',
538
+ },
539
+ password: {
540
+ type: String,
541
+ default: '',
542
+ },
543
+ },
544
+ craigslist: {
545
+ listing: {
546
+ type: Boolean,
547
+ default: true,
548
+ },
549
+ email: {
550
+ type: String,
551
+ default: '',
552
+ },
553
+ password: {
554
+ type: String,
555
+ default: '',
556
+ },
557
+ },
558
+ nextdoor: {
559
+ listing: {
560
+ type: Boolean,
561
+ default: true,
562
+ },
563
+ email: {
564
+ type: String,
565
+ default: '',
566
+ },
567
+ password: {
568
+ type: String,
569
+ default: '',
570
+ },
571
+ },
572
+ pintrest: {
573
+ listing: {
574
+ type: Boolean,
575
+ default: true,
576
+ },
577
+ email: {
578
+ type: String,
579
+ default: '',
580
+ },
581
+ password: {
582
+ type: String,
583
+ default: '',
584
+ },
585
+ },
586
+ google: {
587
+ listing: {
588
+ type: Boolean,
589
+ default: true,
590
+ },
591
+ email: {
592
+ type: String,
593
+ default: '',
594
+ },
595
+ password: {
596
+ type: String,
597
+ default: '',
598
+ },
599
+ },
600
+ },
601
+ ATL: {
602
+ facebook: {
603
+ listing: {
604
+ type: Boolean,
605
+ default: true,
606
+ },
607
+ email: {
608
+ type: String,
609
+ default: '',
610
+ },
611
+ password: {
612
+ type: String,
613
+ default: '',
614
+ },
615
+ },
616
+ craigslist: {
617
+ listing: {
618
+ type: Boolean,
619
+ default: true,
620
+ },
621
+ email: {
622
+ type: String,
623
+ default: '',
624
+ },
625
+ password: {
626
+ type: String,
627
+ default: '',
628
+ },
629
+ },
630
+ nextdoor: {
631
+ listing: {
632
+ type: Boolean,
633
+ default: true,
634
+ },
635
+ email: {
636
+ type: String,
637
+ default: '',
638
+ },
639
+ password: {
640
+ type: String,
641
+ default: '',
642
+ },
643
+ },
644
+ pintrest: {
645
+ listing: {
646
+ type: Boolean,
647
+ default: true,
648
+ },
649
+ email: {
650
+ type: String,
651
+ default: '',
652
+ },
653
+ password: {
654
+ type: String,
655
+ default: '',
656
+ },
657
+ },
658
+ google: {
659
+ listing: {
660
+ type: Boolean,
661
+ default: true,
662
+ },
663
+ email: {
664
+ type: String,
665
+ default: '',
666
+ },
667
+ password: {
668
+ type: String,
669
+ default: '',
670
+ },
671
+ },
672
+ },
673
+ LA: {
674
+ facebook: {
675
+ listing: {
676
+ type: Boolean,
677
+ default: true,
678
+ },
679
+ email: {
680
+ type: String,
681
+ default: '',
682
+ },
683
+ password: {
684
+ type: String,
685
+ default: '',
686
+ },
687
+ },
688
+ craigslist: {
689
+ listing: {
690
+ type: Boolean,
691
+ default: true,
692
+ },
693
+ email: {
694
+ type: String,
695
+ default: '',
696
+ },
697
+ password: {
698
+ type: String,
699
+ default: '',
700
+ },
701
+ },
702
+ nextdoor: {
703
+ listing: {
704
+ type: Boolean,
705
+ default: true,
706
+ },
707
+ email: {
708
+ type: String,
709
+ default: '',
710
+ },
711
+ password: {
712
+ type: String,
713
+ default: '',
714
+ },
715
+ },
716
+ pintrest: {
717
+ listing: {
718
+ type: Boolean,
719
+ default: true,
720
+ },
721
+ email: {
722
+ type: String,
723
+ default: '',
724
+ },
725
+ password: {
726
+ type: String,
727
+ default: '',
728
+ },
729
+ },
730
+ google: {
731
+ listing: {
732
+ type: Boolean,
733
+ default: true,
734
+ },
735
+ email: {
736
+ type: String,
737
+ default: '',
738
+ },
739
+ password: {
740
+ type: String,
741
+ default: '',
742
+ },
743
+ },
744
+ },
745
+ PHL: {
746
+ facebook: {
747
+ listing: {
748
+ type: Boolean,
749
+ default: true,
750
+ },
751
+ email: {
752
+ type: String,
753
+ default: '',
754
+ },
755
+ password: {
756
+ type: String,
757
+ default: '',
758
+ },
759
+ },
760
+ craigslist: {
761
+ listing: {
762
+ type: Boolean,
763
+ default: true,
764
+ },
765
+ email: {
766
+ type: String,
767
+ default: '',
768
+ },
769
+ password: {
770
+ type: String,
771
+ default: '',
772
+ },
773
+ },
774
+ nextdoor: {
775
+ listing: {
776
+ type: Boolean,
777
+ default: true,
778
+ },
779
+ email: {
780
+ type: String,
781
+ default: '',
782
+ },
783
+ password: {
784
+ type: String,
785
+ default: '',
786
+ },
787
+ },
788
+ pintrest: {
789
+ listing: {
790
+ type: Boolean,
791
+ default: true,
792
+ },
793
+ email: {
794
+ type: String,
795
+ default: '',
796
+ },
797
+ password: {
798
+ type: String,
799
+ default: '',
800
+ },
801
+ },
802
+ google: {
803
+ listing: {
804
+ type: Boolean,
805
+ default: true,
806
+ },
807
+ email: {
808
+ type: String,
809
+ default: '',
810
+ },
811
+ password: {
812
+ type: String,
813
+ default: '',
814
+ },
815
+ },
816
+ },
817
+
818
+ FM: {
819
+ facebook: {
820
+ listing: {
821
+ type: Boolean,
822
+ default: true,
823
+ },
824
+ email: {
825
+ type: String,
826
+ default: '',
827
+ },
828
+ password: {
829
+ type: String,
830
+ default: '',
831
+ },
832
+ },
833
+ craigslist: {
834
+ listing: {
835
+ type: Boolean,
836
+ default: true,
837
+ },
838
+ email: {
839
+ type: String,
840
+ default: '',
841
+ },
842
+ password: {
843
+ type: String,
844
+ default: '',
845
+ },
846
+ },
847
+ nextdoor: {
848
+ listing: {
849
+ type: Boolean,
850
+ default: true,
851
+ },
852
+ email: {
853
+ type: String,
854
+ default: '',
855
+ },
856
+ password: {
857
+ type: String,
858
+ default: '',
859
+ },
860
+ },
861
+ pintrest: {
862
+ listing: {
863
+ type: Boolean,
864
+ default: true,
865
+ },
866
+ email: {
867
+ type: String,
868
+ default: '',
869
+ },
870
+ password: {
871
+ type: String,
872
+ default: '',
873
+ },
874
+ },
875
+ google: {
876
+ listing: {
877
+ type: Boolean,
878
+ default: true,
879
+ },
880
+ email: {
881
+ type: String,
882
+ default: '',
883
+ },
884
+ password: {
885
+ type: String,
886
+ default: '',
887
+ },
888
+ },
889
+ },
890
+ });
891
+
892
+ module.exports = marketplaceUpdatesSchema;