@cofondateurauchomage/libs 1.1.87 → 1.1.92
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 +1 -1
- package/build/const.js +2 -1
- package/build/db.model.d.ts +2 -2
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export type BodyForO<O extends CloudFunctionNames | RouteNames> = {
|
|
|
31
31
|
updateNewsletter: Omit<INewsletter, "new_profil_last_sent_date">;
|
|
32
32
|
createProspect: Pick<IProspect, "email">;
|
|
33
33
|
getProspect: Pick<IProspect, "email">;
|
|
34
|
-
updateProspect: IProspect
|
|
34
|
+
updateProspect: Omit<IProspect, "creationDate">;
|
|
35
35
|
createReaction: {
|
|
36
36
|
toId: string;
|
|
37
37
|
status: IReactionStatus;
|
package/build/const.js
CHANGED
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PLANS = exports.PROJECT_STATUS = exports.SKILLS = exports.EMAIL = void 0;
|
|
4
4
|
exports.EMAIL = "contact@cofondateurauchomage.fr";
|
|
5
5
|
exports.SKILLS = [
|
|
6
|
-
"
|
|
6
|
+
"Sales",
|
|
7
|
+
"Operation",
|
|
7
8
|
"Design",
|
|
8
9
|
"Marketing",
|
|
9
10
|
"Produit",
|
package/build/db.model.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare enum Collections {
|
|
|
9
9
|
reactions = "reactions",
|
|
10
10
|
visits = "visits"
|
|
11
11
|
}
|
|
12
|
-
export type TSkill = "
|
|
12
|
+
export type TSkill = "Sales" | "Operation" | "Design" | "Marketing" | "Produit" | "Tech";
|
|
13
13
|
export type TPlan = "free" | "pro" | "premium";
|
|
14
14
|
export type TVisibility = "public" | "limited" | "private";
|
|
15
15
|
export interface IClicks {
|
|
@@ -94,7 +94,7 @@ export interface INotification {
|
|
|
94
94
|
body?: string;
|
|
95
95
|
link?: string;
|
|
96
96
|
}
|
|
97
|
-
export type IProspect = Partial<Omit<IUser, "id" | "plan" | "visibility" | "clicks" | "
|
|
97
|
+
export type IProspect = Partial<Omit<IUser, "id" | "plan" | "visibility" | "clicks" | "lastConnection" | "likes" | "stripeId" | "active" | "photo">> & Partial<Omit<IProject, "id" | "plan" | "visibility" | "clicks" | "creationDate" | "lastConnection" | "likes" | "stripeId" | "active" | "logo">> & Partial<IContact> & {
|
|
98
98
|
email: string;
|
|
99
99
|
};
|
|
100
100
|
export type IReactionStatus = "like" | "dislike";
|