@cofondateurauchomage/libs 1.1.104 → 1.1.105

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.
@@ -36,7 +36,7 @@ const tel = (0, validate_1.isMatchRegex)(regex_1.RGX.Tel.regex).isOptional();
36
36
  const reactionStatus = (0, validate_1.isMatchEnum)(["like", "dislike"]);
37
37
  const turnover = (0, validate_1.isNumber)().setMin(0).isOptional();
38
38
  const yearsOfExperience = (0, validate_1.isNumber)().setMin(0).setMax(100).isOptional();
39
- const availability = (0, validate_1.isMatchEnum)(["full-time", "part-time"]).isOptional();
39
+ const availability = (0, validate_1.isMatchEnum)(const_1.AVAILABILITY).isOptional();
40
40
  const validatorsForAllRoutes = {
41
41
  ///////////////////
42
42
  // Cloud functions
package/build/const.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- import { TPlan, TProjectStatus, TSkill } from "./db.model";
1
+ import { TAvailability, TPlan, TProjectStatus, TSkill } from "./db.model";
2
2
  export declare const EMAIL = "contact@cofondateurauchomage.fr";
3
3
  export declare const SKILLS: TSkill[];
4
4
  export declare const PROJECT_STATUS: TProjectStatus[];
5
5
  export declare const PLANS: TPlan[];
6
+ export declare const AVAILABILITY: TAvailability[];
package/build/const.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PLANS = exports.PROJECT_STATUS = exports.SKILLS = exports.EMAIL = void 0;
3
+ exports.AVAILABILITY = 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",
@@ -17,3 +17,7 @@ exports.PROJECT_STATUS = [
17
17
  "growth",
18
18
  ];
19
19
  exports.PLANS = ["free", "pro"];
20
+ exports.AVAILABILITY = [
21
+ "full_time",
22
+ "part_time",
23
+ ];
@@ -13,7 +13,7 @@ export type TSkill = "Sales" | "Operation" | "Design" | "Marketing" | "Produit"
13
13
  export type TPlan = "free" | "pro" | "premium";
14
14
  export type TVisibility = "public" | "limited" | "private";
15
15
  export type TProjectStatus = "idea" | "creation" | "launch" | "growth";
16
- export type TAvailability = "full-time" | "part-time";
16
+ export type TAvailability = "full_time" | "part_time";
17
17
  export interface IClicks {
18
18
  linkedin: number;
19
19
  email: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cofondateurauchomage/libs",
3
- "version": "1.1.104",
3
+ "version": "1.1.105",
4
4
  "description": "",
5
5
  "main": "build/index",
6
6
  "scripts": {