@cofondateurauchomage/libs 1.1.38 → 1.1.39

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.
@@ -38,10 +38,12 @@ const validatorsForAllRoutes = {
38
38
  // Cloud functions
39
39
  createProject: {
40
40
  email,
41
- linkedin,
41
+ emailProspect: email,
42
+ tel,
42
43
  name,
43
44
  lastName,
44
45
  firstName,
46
+ linkedin,
45
47
  skills,
46
48
  zipCode,
47
49
  city,
@@ -55,13 +57,12 @@ const validatorsForAllRoutes = {
55
57
  newsletterMatch,
56
58
  newsletterMarketing,
57
59
  logo,
58
- tel,
59
- emailProspect: email,
60
60
  },
61
61
  deleteProject: {},
62
62
  updateProject: {
63
- linkedin,
63
+ tel,
64
64
  name,
65
+ linkedin,
65
66
  skills,
66
67
  zipCode,
67
68
  city,
@@ -71,20 +72,21 @@ const validatorsForAllRoutes = {
71
72
  description,
72
73
  partner,
73
74
  logo,
74
- tel,
75
75
  },
76
76
  activeProject: {
77
77
  active: (0, validate_1.isBoolean)(),
78
78
  },
79
79
  createUser: {
80
- business,
81
- city,
82
80
  email,
81
+ emailProspect: email,
82
+ tel,
83
+ lastName,
83
84
  firstName,
85
+ linkedin,
86
+ business,
87
+ city,
84
88
  invest,
85
89
  joblessDate: (0, validate_1.isMatchRegex)(regex_1.RGX.Date.regex),
86
- lastName,
87
- linkedin,
88
90
  motivations,
89
91
  partner,
90
92
  skills,
@@ -92,21 +94,19 @@ const validatorsForAllRoutes = {
92
94
  newsletterMatch,
93
95
  newsletterMarketing,
94
96
  photo,
95
- tel,
96
- emailProspect: email,
97
97
  },
98
98
  deleteUser: {},
99
99
  updateUser: {
100
+ tel,
101
+ linkedin,
100
102
  business,
101
103
  city,
102
104
  invest,
103
- linkedin,
104
105
  motivations,
105
106
  partner,
106
107
  skills,
107
108
  zipCode,
108
109
  photo,
109
- tel,
110
110
  },
111
111
  activeUser: {
112
112
  active: (0, validate_1.isBoolean)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cofondateurauchomage/libs",
3
- "version": "1.1.38",
3
+ "version": "1.1.39",
4
4
  "description": "",
5
5
  "main": "build/index",
6
6
  "scripts": {