data-validation-proximity 1.4.4 → 1.4.5
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 +10 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -645,6 +645,7 @@ 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),
|
|
648
649
|
})
|
|
649
650
|
)
|
|
650
651
|
.allow(null),
|
|
@@ -658,6 +659,7 @@ const schemaStore = joi.object({
|
|
|
658
659
|
marketName: joi.string().allow('').allow(null),
|
|
659
660
|
latitude: joi.number().allow(null),
|
|
660
661
|
longitude: joi.number().allow(null),
|
|
662
|
+
_id: joi.string().allow(null),
|
|
661
663
|
})
|
|
662
664
|
)
|
|
663
665
|
.allow(null),
|
|
@@ -677,6 +679,7 @@ const schemaStore = joi.object({
|
|
|
677
679
|
joi.object({
|
|
678
680
|
title: joi.string().allow('').allow(null),
|
|
679
681
|
link: joi.string().allow('').allow(null),
|
|
682
|
+
_id: joi.string().allow(null),
|
|
680
683
|
})
|
|
681
684
|
)
|
|
682
685
|
.allow(null),
|
|
@@ -688,6 +691,7 @@ const schemaStore = joi.object({
|
|
|
688
691
|
name: joi.string().allow('').allow(null),
|
|
689
692
|
latitude: joi.number().allow(null),
|
|
690
693
|
longitude: joi.number().allow(null),
|
|
694
|
+
_id: joi.string().allow(null),
|
|
691
695
|
})
|
|
692
696
|
)
|
|
693
697
|
.allow(null),
|
|
@@ -756,6 +760,7 @@ const schemaUpdateStore = joi.object({
|
|
|
756
760
|
region: joi.string().allow('').allow(null),
|
|
757
761
|
latitude: joi.number().allow(null),
|
|
758
762
|
longitude: joi.number().allow(null),
|
|
763
|
+
_id: joi.string().allow(null),
|
|
759
764
|
})
|
|
760
765
|
)
|
|
761
766
|
.allow(null),
|
|
@@ -767,6 +772,9 @@ const schemaUpdateStore = joi.object({
|
|
|
767
772
|
date: joi.string().allow('').allow(null),
|
|
768
773
|
location: joi.string().allow('').allow(null),
|
|
769
774
|
marketName: joi.string().allow('').allow(null),
|
|
775
|
+
latitude: joi.number().allow(null),
|
|
776
|
+
longitude: joi.number().allow(null),
|
|
777
|
+
_id: joi.string().allow(null),
|
|
770
778
|
})
|
|
771
779
|
)
|
|
772
780
|
.allow(null),
|
|
@@ -786,6 +794,7 @@ const schemaUpdateStore = joi.object({
|
|
|
786
794
|
joi.object({
|
|
787
795
|
title: joi.string().allow('').allow(null),
|
|
788
796
|
link: joi.string().allow('').allow(null),
|
|
797
|
+
_id: joi.string().allow(null),
|
|
789
798
|
})
|
|
790
799
|
)
|
|
791
800
|
.allow(null),
|
|
@@ -797,6 +806,7 @@ const schemaUpdateStore = joi.object({
|
|
|
797
806
|
name: joi.string().allow('').allow(null),
|
|
798
807
|
latitude: joi.number().allow(null),
|
|
799
808
|
longitude: joi.number().allow(null),
|
|
809
|
+
_id: joi.string().allow(null),
|
|
800
810
|
})
|
|
801
811
|
)
|
|
802
812
|
.allow(null),
|