@cofondateurauchomage/libs 1.0.31 → 1.0.33

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/lib/db.model.d.ts CHANGED
@@ -30,4 +30,5 @@ export interface IProject {
30
30
  city: string;
31
31
  partner: string;
32
32
  clicks: number;
33
+ creationDate: number;
33
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cofondateurauchomage/libs",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "description": "",
5
5
  "main": "lib/index",
6
6
  "scripts": {
@@ -1,7 +0,0 @@
1
- import { TSkill } from "../db.model";
2
- /**
3
- * Checks if at least one skill is checked and has the correct value
4
- * @param skills
5
- * @returns
6
- */
7
- export declare function checkSkills(skills: TSkill[] | undefined): boolean;
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.checkSkills = void 0;
4
- const const_1 = require("../const");
5
- /**
6
- * Checks if at least one skill is checked and has the correct value
7
- * @param skills
8
- * @returns
9
- */
10
- function checkSkills(skills) {
11
- let valid = skills && skills.length > 0 ? true : false;
12
- skills &&
13
- skills.forEach((skill) => {
14
- if (!const_1.SKILLS.includes(skill))
15
- valid = false;
16
- });
17
- return valid;
18
- }
19
- exports.checkSkills = checkSkills;