easywork-common-lib 1.0.203 → 1.0.205
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 +2 -2
- package/.vscode/settings.json +12 -12
- package/dist/entities/drive/folder.entity.js +1 -1
- package/dist/entities/drive/folder.entity.js.map +1 -1
- package/dist/entities/notifications/notification.entity.d.ts +1 -0
- package/dist/entities/notifications/notification.entity.js +8 -0
- package/dist/entities/notifications/notification.entity.js.map +1 -1
- package/package.json +37 -37
- package/scripts/bump.sh +5 -5
- package/test.bat +15 -15
- package/tsconfig.build.json +4 -4
- package/tsconfig.json +26 -26
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/entities/easyapp/index.d.ts +0 -1
- package/dist/entities/easyapp/index.js +0 -18
- package/dist/entities/easyapp/index.js.map +0 -1
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
|
package/.vscode/settings.json
CHANGED
|
@@ -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
|
}
|
|
@@ -59,6 +59,6 @@ __decorate([
|
|
|
59
59
|
], Folder.prototype, "owners", void 0);
|
|
60
60
|
exports.Folder = Folder = __decorate([
|
|
61
61
|
(0, typeorm_1.Entity)(),
|
|
62
|
-
(0, typeorm_1.Index)(["name", "parent"
|
|
62
|
+
(0, typeorm_1.Index)(["name", "parent"], { unique: true })
|
|
63
63
|
], Folder);
|
|
64
64
|
//# sourceMappingURL=folder.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"folder.entity.js","sourceRoot":"","sources":["../../../src/entities/drive/folder.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmD;AACnD,qDAA4C;AAC5C,qCAAsE;AACtE,+CAAqC;AACrC,0EAA+D;AAGxD,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,qBAAU;IAGlC,IAAI,CAAS;IAMb,MAAM,CAAS;IAMf,KAAK,CAAU;IAMf,OAAO,CAAY;IAOnB,MAAM,CAAkB;CAC3B,CAAA;AA7BY,wBAAM;AAGf;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;I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AAC,CAAC;IACZ,IAAA,gBAAM,GAAE;;oCACI;AAMb;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACrB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACtB,CAAC;8BACM,MAAM;sCAAC;AAMf;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE;QAC1C,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACtB,CAAC;;qCACa;AAMf;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE;QAChD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACtB,CAAC;;uCACiB;AAOnB;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAY,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE;QAClE,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACd,CAAC;;sCACsB;iBA5Bf,MAAM;IAFlB,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GAC/B,MAAM,CA6BlB"}
|
|
@@ -20,6 +20,7 @@ let Notification = class Notification extends common_1.BaseEntitySimple {
|
|
|
20
20
|
category;
|
|
21
21
|
subCategory;
|
|
22
22
|
channels;
|
|
23
|
+
metadata;
|
|
23
24
|
entityId;
|
|
24
25
|
readAt;
|
|
25
26
|
canceledAt;
|
|
@@ -58,6 +59,13 @@ __decorate([
|
|
|
58
59
|
}),
|
|
59
60
|
__metadata("design:type", Array)
|
|
60
61
|
], Notification.prototype, "channels", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, typeorm_1.Column)({
|
|
64
|
+
type: "simple-json",
|
|
65
|
+
nullable: true
|
|
66
|
+
}),
|
|
67
|
+
__metadata("design:type", Object)
|
|
68
|
+
], Notification.prototype, "metadata", void 0);
|
|
61
69
|
__decorate([
|
|
62
70
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
63
71
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.entity.js","sourceRoot":"","sources":["../../../src/entities/notifications/notification.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gDAAsC;AACtC,yCAAgD;AAChD,qCAAoD;AACpD,8CAAwG;AAGjG,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,yBAAgB;IAE9C,OAAO,CAAS;IAGhB,KAAK,CAAS;IAOd,QAAQ,CAAuB;IAO/B,WAAW,CAA0B;IAOrC,QAAQ,CAAwB;
|
|
1
|
+
{"version":3,"file":"notification.entity.js","sourceRoot":"","sources":["../../../src/entities/notifications/notification.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gDAAsC;AACtC,yCAAgD;AAChD,qCAAoD;AACpD,8CAAwG;AAGjG,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,yBAAgB;IAE9C,OAAO,CAAS;IAGhB,KAAK,CAAS;IAOd,QAAQ,CAAuB;IAO/B,WAAW,CAA0B;IAOrC,QAAQ,CAAwB;IAMhC,QAAQ,CAAsB;IAG9B,QAAQ,CAAS;IAGjB,MAAM,CAAO;IAGb,UAAU,CAAO;IAOjB,SAAS,CAAQ;CACpB,CAAA;AAjDY,oCAAY;AAErB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;6CACT;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2CACd;AAOd;IALC,IAAA,gBAAM,EAAC;QACJ,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,4BAAoB;QAC1B,OAAO,EAAE,4BAAoB,CAAC,OAAO;KACxC,CAAC;;8CAC6B;AAO/B;IALC,IAAA,gBAAM,EAAC;QACJ,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,+BAAuB;QAC7B,OAAO,EAAE,+BAAuB,CAAC,OAAO;KAC3C,CAAC;;iDACmC;AAOrC;IALC,IAAA,gBAAM,EAAC;QACJ,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,2BAAmB;QACzB,KAAK,EAAE,IAAI;KACd,CAAC;;8CAC8B;AAMhC;IAJC,IAAA,gBAAM,EAAC;QACJ,IAAI,EAAE,aAAa;QACnB,QAAQ,EAAE,IAAI;KACjB,CAAC;;8CAC4B;AAG9B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACtC,IAAI;4CAAC;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAClC,IAAI;gDAAC;AAOjB;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACnB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACjB,CAAC;8BACU,kBAAI;+CAAC;uBAhDR,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CAiDxB"}
|
package/package.json
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "easywork-common-lib",
|
|
3
|
-
"version": "1.0.
|
|
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.205",
|
|
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
|
-
npm version patch
|
|
4
|
-
yarn build
|
|
5
|
-
npm publish
|
|
1
|
+
git add .
|
|
2
|
+
git commit -m "bump version"
|
|
3
|
+
npm version patch
|
|
4
|
+
yarn build
|
|
5
|
+
npm publish
|
|
6
6
|
git push
|
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
|
)
|
package/tsconfig.build.json
CHANGED
|
@@ -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
|
+
}
|