easywork-common-lib 1.0.147 → 1.0.149

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/.gitattributes CHANGED
@@ -1,2 +1,2 @@
1
- # Auto detect text files and perform LF normalization
2
- * text=auto
1
+ # Auto detect text files and perform LF normalization
2
+ * text=auto
@@ -1,13 +1,13 @@
1
- {
2
- "autoBarrel.language.defaultLanguage": "TypeScript",
3
- "autoBarrel.files.disableRecursiveBarrelling": false,
4
- "autoBarrel.files.includeExtensionOnExport": ["ts", "tsx", "vue"],
5
- "autoBarrel.files.ignoreFilePathPatternOnExport": ["**/*.spec.*", "**/*.test.*"],
6
- "autoBarrel.files.keepExtensionOnExport": false,
7
- "autoBarrel.files.detectExportsInFiles": false,
8
- "autoBarrel.files.exportDefaultFilename": "filename",
9
- "autoBarrel.formatting.excludeSemiColonAtEndOfLine": false,
10
- "autoBarrel.formatting.useSingleQuotes": true,
11
- "autoBarrel.formatting.endOfLine": "lf",
12
- "autoBarrel.formatting.insertFinalNewline": true,
1
+ {
2
+ "autoBarrel.language.defaultLanguage": "TypeScript",
3
+ "autoBarrel.files.disableRecursiveBarrelling": false,
4
+ "autoBarrel.files.includeExtensionOnExport": ["ts", "tsx", "vue"],
5
+ "autoBarrel.files.ignoreFilePathPatternOnExport": ["**/*.spec.*", "**/*.test.*"],
6
+ "autoBarrel.files.keepExtensionOnExport": false,
7
+ "autoBarrel.files.detectExportsInFiles": false,
8
+ "autoBarrel.files.exportDefaultFilename": "filename",
9
+ "autoBarrel.formatting.excludeSemiColonAtEndOfLine": false,
10
+ "autoBarrel.formatting.useSingleQuotes": true,
11
+ "autoBarrel.formatting.endOfLine": "lf",
12
+ "autoBarrel.formatting.insertFinalNewline": true,
13
13
  }
@@ -0,0 +1,7 @@
1
+ import { BaseEntity } from "../../common/database";
2
+ import { User } from "../user.entity";
3
+ export declare class Filter extends BaseEntity {
4
+ view: Date;
5
+ user: User;
6
+ jsonData: object;
7
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.Filter = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const database_1 = require("../../common/database");
15
+ const user_entity_1 = require("../user.entity");
16
+ let Filter = class Filter extends database_1.BaseEntity {
17
+ view;
18
+ user;
19
+ jsonData;
20
+ };
21
+ exports.Filter = Filter;
22
+ __decorate([
23
+ (0, typeorm_1.Column)(),
24
+ __metadata("design:type", Date)
25
+ ], Filter.prototype, "view", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
28
+ eager: false,
29
+ onDelete: "CASCADE",
30
+ onUpdate: "CASCADE",
31
+ }),
32
+ __metadata("design:type", user_entity_1.User)
33
+ ], Filter.prototype, "user", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.Column)(),
36
+ __metadata("design:type", Object)
37
+ ], Filter.prototype, "jsonData", void 0);
38
+ exports.Filter = Filter = __decorate([
39
+ (0, typeorm_1.Entity)()
40
+ ], Filter);
41
+ //# sourceMappingURL=filter.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter.entity.js","sourceRoot":"","sources":["../../../src/entities/easyapp/filter.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,oDAAmD;AACnD,gDAAsC;AAG/B,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,qBAAU;IAEpC,IAAI,CAAQ;IAOZ,IAAI,CAAQ;IAGZ,QAAQ,CAAS;CAClB,CAAA;AAbY,wBAAM;AAEjB;IADC,IAAA,gBAAM,GAAE;8BACF,IAAI;oCAAC;AAOZ;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,KAAK,EAAE,KAAK;QACZ,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACK,kBAAI;oCAAC;AAGZ;IADC,IAAA,gBAAM,GAAE;;wCACQ;iBAZN,MAAM;IADlB,IAAA,gBAAM,GAAE;GACI,MAAM,CAalB"}
@@ -17,7 +17,7 @@ export declare class Task extends BaseEntity {
17
17
  status: TaskStatus;
18
18
  isCompleted: boolean;
19
19
  reviewed: boolean;
20
- createdBy: Promise<User>;
20
+ createdBy: User;
21
21
  reviewedBy: User;
22
22
  participants?: User[];
23
23
  responsible?: User[];
@@ -95,17 +95,14 @@ __decorate([
95
95
  onDelete: "SET NULL",
96
96
  onUpdate: "CASCADE",
97
97
  nullable: true,
98
- lazy: true,
99
- eager: true
100
98
  }),
101
- __metadata("design:type", Promise)
99
+ __metadata("design:type", user_entity_1.User)
102
100
  ], Task.prototype, "createdBy", void 0);
103
101
  __decorate([
104
102
  (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
105
103
  onDelete: "SET NULL",
106
104
  onUpdate: "CASCADE",
107
105
  nullable: true,
108
- eager: true
109
106
  }),
110
107
  __metadata("design:type", user_entity_1.User)
111
108
  ], Task.prototype, "reviewedBy", void 0);
@@ -113,7 +110,6 @@ __decorate([
113
110
  (0, typeorm_1.ManyToMany)(() => user_entity_1.User, {
114
111
  onDelete: "CASCADE",
115
112
  onUpdate: "CASCADE",
116
- eager: true
117
113
  }),
118
114
  (0, typeorm_1.JoinTable)(),
119
115
  __metadata("design:type", Array)
@@ -122,7 +118,6 @@ __decorate([
122
118
  (0, typeorm_1.ManyToMany)(() => user_entity_1.User, {
123
119
  onDelete: "CASCADE",
124
120
  onUpdate: "CASCADE",
125
- eager: true
126
121
  }),
127
122
  (0, typeorm_1.JoinTable)(),
128
123
  __metadata("design:type", Array)
@@ -131,7 +126,6 @@ __decorate([
131
126
  (0, typeorm_1.ManyToMany)(() => user_entity_1.User, {
132
127
  onDelete: "CASCADE",
133
128
  onUpdate: "CASCADE",
134
- eager: true
135
129
  }),
136
130
  (0, typeorm_1.JoinTable)(),
137
131
  __metadata("design:type", Array)
@@ -157,7 +151,6 @@ __decorate([
157
151
  (0, typeorm_1.OneToMany)(() => helpers_1.TaskCRM, (taskCRM) => taskCRM.task, {
158
152
  onDelete: "CASCADE",
159
153
  onUpdate: "CASCADE",
160
- eager: true,
161
154
  }),
162
155
  __metadata("design:type", Array)
163
156
  ], Task.prototype, "crm", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"task.entity.js","sourceRoot":"","sources":["../../../src/entities/tools/task.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4C;AAC5C,gDAAsC;AACtC,qCAAkG;AAClG,+DAAoD;AACpD,8CAAoC;AACpC,yCAA0C;AAC1C,8CAAgD;AAEhD,oDAAiD;AAG1C,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,mBAAU;IAGhC,IAAI,CAAS;IAGb,WAAW,CAAS;IAGpB,QAAQ,CAAO;IAGf,SAAS,CAAO;IAGhB,aAAa,CAAO;IAGpB,eAAe,CAAU;IAGzB,cAAc,CAAU;IAGxB,wBAAwB,CAAU;IAOlC,MAAM,CAAa;IAGnB,WAAW,CAAU;IAGrB,QAAQ,CAAU;IASlB,SAAS,CAAgB;IAQzB,UAAU,CAAO;IAQjB,YAAY,CAAU;IAQtB,WAAW,CAAU;IAQrB,SAAS,CAAU;IAQnB,IAAI,CAAQ;IAGZ,SAAS,CAAkB;IAI3B,QAAQ,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ACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACtB,CAAC;IACD,IAAA,mBAAS,GAAE;;yCACS;AAOrB;IALC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACtB,CAAC;IACD,IAAA,mBAAS,GAAE;;uCACO;AAQnB;IALC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,gBAAG,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE;QACrC,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACtB,CAAC;IACD,IAAA,mBAAS,GAAE;;kCACA;AAGZ;IADC,IAAA,gBAAM,EAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACR;AAI3B;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iCAAW,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC;IAC7D,IAAA,oBAAU,GAAE;8BACH,iCAAW;sCAAC;AAMtB;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iBAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE;QACjD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACtB,CAAC;;iCACc;eA7FP,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CA8FhB"}
package/package.json CHANGED
@@ -1,37 +1,37 @@
1
- {
2
- "name": "easywork-common-lib",
3
- "version": "1.0.147",
4
- "description": "Librería común de Easywork",
5
- "main": "dist/index.js",
6
- "scripts": {
7
- "build": "tsc",
8
- "bump": "./scripts/bump.sh"
9
- },
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/criptopreto/easywork-common-lib.git"
13
- },
14
- "keywords": [
15
- "nodejs"
16
- ],
17
- "author": "Rosmer Campos",
18
- "license": "MIT",
19
- "bugs": {
20
- "url": "https://github.com/criptopreto/easywork-common-lib/issues"
21
- },
22
- "homepage": "https://github.com/criptopreto/easywork-common-lib#readme",
23
- "dependencies": {
24
- "@nestjs/common": "^10.3.8",
25
- "@nestjs/typeorm": "^10.0.2",
26
- "class-transformer": "^0.5.1",
27
- "class-validator": "^0.14.1",
28
- "rxjs": "^7.8.1",
29
- "typeorm": "^0.3.20"
30
- },
31
- "devDependencies": {
32
- "@rubiin/tsconfig": "^1.1.2",
33
- "@types/node": "^20.12.12",
34
- "ts-loader": "^9.5.1",
35
- "typescript": "^5.4.5"
36
- }
37
- }
1
+ {
2
+ "name": "easywork-common-lib",
3
+ "version": "1.0.149",
4
+ "description": "Librería común de Easywork",
5
+ "main": "dist/index.js",
6
+ "scripts": {
7
+ "build": "tsc",
8
+ "bump": "./scripts/bump.sh"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/criptopreto/easywork-common-lib.git"
13
+ },
14
+ "keywords": [
15
+ "nodejs"
16
+ ],
17
+ "author": "Rosmer Campos",
18
+ "license": "MIT",
19
+ "bugs": {
20
+ "url": "https://github.com/criptopreto/easywork-common-lib/issues"
21
+ },
22
+ "homepage": "https://github.com/criptopreto/easywork-common-lib#readme",
23
+ "dependencies": {
24
+ "@nestjs/common": "^10.3.8",
25
+ "@nestjs/typeorm": "^10.0.2",
26
+ "class-transformer": "^0.5.1",
27
+ "class-validator": "^0.14.1",
28
+ "rxjs": "^7.8.1",
29
+ "typeorm": "^0.3.20"
30
+ },
31
+ "devDependencies": {
32
+ "@rubiin/tsconfig": "^1.1.2",
33
+ "@types/node": "^20.12.12",
34
+ "ts-loader": "^9.5.1",
35
+ "typescript": "^5.4.5"
36
+ }
37
+ }
package/scripts/bump.sh CHANGED
@@ -1,6 +1,6 @@
1
- git add .
2
- git commit -m "bump version"
3
- git push
4
- npm version patch
5
- yarn build
1
+ git add .
2
+ git commit -m "bump version"
3
+ git push
4
+ npm version patch
5
+ yarn build
6
6
  npm publish
package/test.bat CHANGED
@@ -1,16 +1,16 @@
1
- @echo off
2
- setlocal enabledelayedexpansion
3
-
4
- rem Define the root directory
5
- set "root=C:\Users\ROSME\Documents\GitHub\easywork-common-lib"
6
-
7
- rem Iterate through all directories and subdirectories
8
- for /f "delims=" %%d in ('dir "%root%" /ad /b /s') do (
9
- rem Check if the directory name contains node_modules
10
- echo %%d | findstr /i /c:"\node_modules" >nul
11
- echo %%d | findstr /i /c:"\.git" >nul
12
- if errorlevel 1 (
13
- rem If not, list the directory contents
14
- dir "%%d"
15
- )
1
+ @echo off
2
+ setlocal enabledelayedexpansion
3
+
4
+ rem Define the root directory
5
+ set "root=C:\Users\ROSME\Documents\GitHub\easywork-common-lib"
6
+
7
+ rem Iterate through all directories and subdirectories
8
+ for /f "delims=" %%d in ('dir "%root%" /ad /b /s') do (
9
+ rem Check if the directory name contains node_modules
10
+ echo %%d | findstr /i /c:"\node_modules" >nul
11
+ echo %%d | findstr /i /c:"\.git" >nul
12
+ if errorlevel 1 (
13
+ rem If not, list the directory contents
14
+ dir "%%d"
15
+ )
16
16
  )
@@ -1,4 +1,4 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "exclude": ["node_modules", "test", "dist", "**/*spec.ts", "eslint.config.js"]
4
- }
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "exclude": ["node_modules", "test", "dist", "**/*spec.ts", "eslint.config.js"]
4
+ }
package/tsconfig.json CHANGED
@@ -1,26 +1,26 @@
1
- {
2
- "extends": "@rubiin/tsconfig",
3
- "compilerOptions": {
4
- "module": "commonjs",
5
- "declaration": true,
6
- "removeComments": true,
7
- "emitDecoratorMetadata": true,
8
- "experimentalDecorators": true,
9
- "allowSyntheticDefaultImports": true,
10
- "target": "ES2022",
11
- "sourceMap": true,
12
- "outDir": "./dist",
13
- "rootDir": "./src",
14
- "baseUrl": "./src",
15
- "incremental": true,
16
- "strict": true,
17
- "skipLibCheck": true,
18
- "strictNullChecks": false,
19
- "noImplicitAny": false,
20
- "strictBindCallApply": false,
21
- "forceConsistentCasingInFileNames": true,
22
- "noFallthroughCasesInSwitch": false
23
- },
24
- "include": ["test/**/*", "src/**/*", "eslint.config.js"],
25
- "typeRoots": ["./src/common/@types/typings"]
26
- }
1
+ {
2
+ "extends": "@rubiin/tsconfig",
3
+ "compilerOptions": {
4
+ "module": "commonjs",
5
+ "declaration": true,
6
+ "removeComments": true,
7
+ "emitDecoratorMetadata": true,
8
+ "experimentalDecorators": true,
9
+ "allowSyntheticDefaultImports": true,
10
+ "target": "ES2022",
11
+ "sourceMap": true,
12
+ "outDir": "./dist",
13
+ "rootDir": "./src",
14
+ "baseUrl": "./src",
15
+ "incremental": true,
16
+ "strict": true,
17
+ "skipLibCheck": true,
18
+ "strictNullChecks": false,
19
+ "noImplicitAny": false,
20
+ "strictBindCallApply": false,
21
+ "forceConsistentCasingInFileNames": true,
22
+ "noFallthroughCasesInSwitch": false
23
+ },
24
+ "include": ["test/**/*", "src/**/*", "eslint.config.js"],
25
+ "typeRoots": ["./src/common/@types/typings"]
26
+ }