data-validation-proximity 1.4.4 → 1.4.6
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/index.js +18 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -645,6 +645,8 @@ const schemaStore = joi.object({
|
|
|
645
645
|
region: joi.string().allow('').allow(null),
|
|
646
646
|
latitude: joi.number().allow(null),
|
|
647
647
|
longitude: joi.number().allow(null),
|
|
648
|
+
_id: joi.string().allow(null),
|
|
649
|
+
id: joi.string().allow(null),
|
|
648
650
|
})
|
|
649
651
|
)
|
|
650
652
|
.allow(null),
|
|
@@ -658,6 +660,8 @@ const schemaStore = joi.object({
|
|
|
658
660
|
marketName: joi.string().allow('').allow(null),
|
|
659
661
|
latitude: joi.number().allow(null),
|
|
660
662
|
longitude: joi.number().allow(null),
|
|
663
|
+
_id: joi.string().allow(null),
|
|
664
|
+
id: joi.string().allow(null),
|
|
661
665
|
})
|
|
662
666
|
)
|
|
663
667
|
.allow(null),
|
|
@@ -677,6 +681,8 @@ const schemaStore = joi.object({
|
|
|
677
681
|
joi.object({
|
|
678
682
|
title: joi.string().allow('').allow(null),
|
|
679
683
|
link: joi.string().allow('').allow(null),
|
|
684
|
+
_id: joi.string().allow(null),
|
|
685
|
+
id: joi.string().allow(null),
|
|
680
686
|
})
|
|
681
687
|
)
|
|
682
688
|
.allow(null),
|
|
@@ -688,6 +694,8 @@ const schemaStore = joi.object({
|
|
|
688
694
|
name: joi.string().allow('').allow(null),
|
|
689
695
|
latitude: joi.number().allow(null),
|
|
690
696
|
longitude: joi.number().allow(null),
|
|
697
|
+
_id: joi.string().allow(null),
|
|
698
|
+
id: joi.string().allow(null),
|
|
691
699
|
})
|
|
692
700
|
)
|
|
693
701
|
.allow(null),
|
|
@@ -756,6 +764,8 @@ const schemaUpdateStore = joi.object({
|
|
|
756
764
|
region: joi.string().allow('').allow(null),
|
|
757
765
|
latitude: joi.number().allow(null),
|
|
758
766
|
longitude: joi.number().allow(null),
|
|
767
|
+
_id: joi.string().allow(null),
|
|
768
|
+
id: joi.string().allow(null),
|
|
759
769
|
})
|
|
760
770
|
)
|
|
761
771
|
.allow(null),
|
|
@@ -767,6 +777,10 @@ const schemaUpdateStore = joi.object({
|
|
|
767
777
|
date: joi.string().allow('').allow(null),
|
|
768
778
|
location: joi.string().allow('').allow(null),
|
|
769
779
|
marketName: joi.string().allow('').allow(null),
|
|
780
|
+
latitude: joi.number().allow(null),
|
|
781
|
+
longitude: joi.number().allow(null),
|
|
782
|
+
_id: joi.string().allow(null),
|
|
783
|
+
id: joi.string().allow(null),
|
|
770
784
|
})
|
|
771
785
|
)
|
|
772
786
|
.allow(null),
|
|
@@ -786,6 +800,8 @@ const schemaUpdateStore = joi.object({
|
|
|
786
800
|
joi.object({
|
|
787
801
|
title: joi.string().allow('').allow(null),
|
|
788
802
|
link: joi.string().allow('').allow(null),
|
|
803
|
+
_id: joi.string().allow(null),
|
|
804
|
+
id: joi.string().allow(null),
|
|
789
805
|
})
|
|
790
806
|
)
|
|
791
807
|
.allow(null),
|
|
@@ -797,6 +813,8 @@ const schemaUpdateStore = joi.object({
|
|
|
797
813
|
name: joi.string().allow('').allow(null),
|
|
798
814
|
latitude: joi.number().allow(null),
|
|
799
815
|
longitude: joi.number().allow(null),
|
|
816
|
+
_id: joi.string().allow(null),
|
|
817
|
+
id: joi.string().allow(null),
|
|
800
818
|
})
|
|
801
819
|
)
|
|
802
820
|
.allow(null),
|