@cofondateurauchomage/libs 1.1.27 → 1.1.28

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
@@ -1,5 +1,5 @@
1
1
  import { IContact, INewsletter, IProject, IUser } from "./db.model";
2
- export type CloudFunctionNames = "createProject" | "updateProject" | "deleteProject" | "addStripeIdToProject" | "activeProject" | "createUser" | "updateUser" | "deleteUser" | "activeUser" | "addStatsAssociation" | "updateNewsletter" | "readNotification" | "readAllNotifications";
2
+ export type CloudFunctionNames = "createProject" | "updateProject" | "deleteProject" | "addStripeIdToProject" | "activeProject" | "createUser" | "updateUser" | "deleteUser" | "activeUser" | "addStatsAssociation" | "updateNewsletter";
3
3
  export type RouteNames = "checkout_session" | "delete_customer" | "portal_session" | "webhook";
4
4
  export type BodyForO<O extends CloudFunctionNames | RouteNames> = {
5
5
  createProject: Omit<IProject, "id" | "active" | "clicks" | "creationDate" | "lastConnection" | "likes" | "stripeId"> & IContact & {
@@ -38,8 +38,4 @@ export type BodyForO<O extends CloudFunctionNames | RouteNames> = {
38
38
  stripeId: string;
39
39
  };
40
40
  webhook: {};
41
- readNotification: {
42
- id: string;
43
- };
44
- readAllNotifications: {};
45
41
  }[O];
@@ -113,10 +113,6 @@ const validatorsForAllRoutes = {
113
113
  match: (0, validate_1.isBoolean)().isOptional(),
114
114
  marketing: (0, validate_1.isBoolean)().isOptional(),
115
115
  },
116
- readNotification: {
117
- id,
118
- },
119
- readAllNotifications: {},
120
116
  //////////
121
117
  // Routes
122
118
  checkout_session: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cofondateurauchomage/libs",
3
- "version": "1.1.27",
3
+ "version": "1.1.28",
4
4
  "description": "",
5
5
  "main": "build/index",
6
6
  "scripts": {