@cofondateurauchomage/libs 1.1.2 → 1.1.4

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
@@ -16,9 +16,7 @@ export type BodyForO<O extends CloudFunctionNames | RouteNames> = {
16
16
  createUserCall: Omit<IUser, "clicks" | "creationDate" | "likes">;
17
17
  deleteUserCall: {};
18
18
  updateUserCall: Pick<IUser, "business" | "city" | "invest" | "linkedin" | "motivations" | "partner" | "skills" | "tel" | "zipCode">;
19
- addStatsAssociationCall: {
20
- email: string;
21
- };
19
+ addStatsAssociationCall: {};
22
20
  checkout_session: {
23
21
  stripeId?: string;
24
22
  email: string;
@@ -90,9 +90,7 @@ const validatorsForAllRoutes = {
90
90
  tel,
91
91
  zipCode,
92
92
  },
93
- addStatsAssociationCall: {
94
- email,
95
- },
93
+ addStatsAssociationCall: {},
96
94
  //////////
97
95
  // Routes
98
96
  checkout_session: {
@@ -1,6 +1,7 @@
1
1
  export declare enum Collections {
2
2
  users = "users",
3
- projects = "projects"
3
+ projects = "projects",
4
+ stats = "stats"
4
5
  }
5
6
  export type TSkill = "Business" | "Design" | "Marketing" | "Produit" | "Tech";
6
7
  export interface IClicks {
@@ -47,3 +48,6 @@ export interface IProject {
47
48
  likes: string[];
48
49
  stripeId?: string;
49
50
  }
51
+ export interface IStatsAssociation {
52
+ liste: string[];
53
+ }
package/build/db.model.js CHANGED
@@ -5,4 +5,5 @@ var Collections;
5
5
  (function (Collections) {
6
6
  Collections["users"] = "users";
7
7
  Collections["projects"] = "projects";
8
+ Collections["stats"] = "stats";
8
9
  })(Collections = exports.Collections || (exports.Collections = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cofondateurauchomage/libs",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "",
5
5
  "main": "build/index",
6
6
  "scripts": {