@cofondateurauchomage/libs 1.1.66 → 1.1.67

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/build/api.d.ts CHANGED
@@ -8,7 +8,7 @@ export type BodyForO<O extends CloudFunctionNames | RouteNames> = {
8
8
  emailProspect: string;
9
9
  };
10
10
  deleteProject: {};
11
- updateProject: Pick<IProject, "city" | "description" | "invest" | "name" | "partner" | "skills" | "zipCode" | "status" | "status_detail" | "turnover" | "logo"> & Omit<IContact, "email">;
11
+ updateProject: Pick<IProject, "name" | "lastName" | "firstName" | "skills" | "zipCode" | "city" | "invest" | "status" | "status_detail" | "turnover" | "description" | "partner" | "logo"> & Omit<IContact, "email">;
12
12
  activeProject: {
13
13
  active: boolean;
14
14
  };
@@ -18,7 +18,7 @@ export type BodyForO<O extends CloudFunctionNames | RouteNames> = {
18
18
  emailProspect: string;
19
19
  };
20
20
  deleteUser: {};
21
- updateUser: Pick<IUser, "business" | "city" | "invest" | "motivations" | "partner" | "skills" | "zipCode" | "photo"> & Omit<IContact, "email">;
21
+ updateUser: Pick<IUser, "lastName" | "firstName" | "skills" | "zipCode" | "city" | "invest" | "motivations" | "partner" | "business" | "photo"> & Omit<IContact, "email">;
22
22
  activeUser: {
23
23
  active: boolean;
24
24
  };
@@ -67,6 +67,8 @@ const validatorsForAllRoutes = {
67
67
  linkedin,
68
68
  website,
69
69
  name,
70
+ firstName,
71
+ lastName,
70
72
  skills,
71
73
  zipCode,
72
74
  city,
@@ -113,6 +115,8 @@ const validatorsForAllRoutes = {
113
115
  skills,
114
116
  zipCode,
115
117
  photo,
118
+ firstName,
119
+ lastName,
116
120
  },
117
121
  activeUser: {
118
122
  active: (0, validate_1.isBoolean)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cofondateurauchomage/libs",
3
- "version": "1.1.66",
3
+ "version": "1.1.67",
4
4
  "description": "",
5
5
  "main": "build/index",
6
6
  "scripts": {