@cofondateurauchomage/libs 1.1.0 → 1.1.2
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 +4 -1
- package/build/api.validate.js +3 -0
- package/build/db.model.d.ts +1 -0
- package/package.json +2 -2
package/build/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IProject, IUser } from "./db.model";
|
|
2
|
-
export type CloudFunctionNames = "createProjectCall" | "updateProjectCall" | "deleteProjectCall" | "addStripeIdToProjectCall" | "activeProjectCall" | "createUserCall" | "updateUserCall" | "deleteUserCall";
|
|
2
|
+
export type CloudFunctionNames = "createProjectCall" | "updateProjectCall" | "deleteProjectCall" | "addStripeIdToProjectCall" | "activeProjectCall" | "createUserCall" | "updateUserCall" | "deleteUserCall" | "addStatsAssociationCall";
|
|
3
3
|
export type RouteNames = "checkout_session" | "delete_customer" | "portal_session" | "webhook";
|
|
4
4
|
export type BodyForO<O extends CloudFunctionNames | RouteNames> = {
|
|
5
5
|
createProjectCall: Omit<IProject, "active" | "clicks" | "creationDate" | "likes" | "stripeId">;
|
|
@@ -16,6 +16,9 @@ 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
22
|
checkout_session: {
|
|
20
23
|
stripeId?: string;
|
|
21
24
|
email: string;
|
package/build/api.validate.js
CHANGED
package/build/db.model.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cofondateurauchomage/libs",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "build/index",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "tsc --project tsconfig.build.json",
|
|
8
8
|
"test": "jest",
|
|
9
|
-
"publishLibs": "pnpm test && npm version patch && pnpm build && npm publish
|
|
9
|
+
"publishLibs": "pnpm test && npm version patch && pnpm build && npm publish"
|
|
10
10
|
},
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public"
|