@servicelabsco/nestjs-utility-services 1.1.94 → 1.1.96
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/.vscode/settings.json +5 -1
- package/dist/common/exceptions/operation.exception.js +1 -1
- package/dist/common/exceptions/operation.exception.js.map +1 -1
- package/dist/migrations/1598275443562-CreateDocumentTable.js +1 -1
- package/dist/migrations/1598275443562-CreateDocumentTable.js.map +1 -1
- package/dist/migrations/1598276044380-CreateCommentTable.js +1 -1
- package/dist/migrations/1598276044380-CreateCommentTable.js.map +1 -1
- package/dist/platformUtility/dtos/string.search.dto.d.ts +2 -1
- package/dist/platformUtility/dtos/string.search.dto.js +6 -0
- package/dist/platformUtility/dtos/string.search.dto.js.map +1 -1
- package/package.json +1 -1
package/.vscode/settings.json
CHANGED
@@ -5,5 +5,9 @@
|
|
5
5
|
"path-intellisense.absolutePathToWorkspace": false,
|
6
6
|
"workbench.editor.limit.enabled": true,
|
7
7
|
"workbench.editor.limit.value": 5,
|
8
|
-
"git.ignoreLimitWarning": true
|
8
|
+
"git.ignoreLimitWarning": true,
|
9
|
+
"sonarlint.connectedMode.project": {
|
10
|
+
"connectionId": "https-sq-servicelabs-co",
|
11
|
+
"projectKey": "servicelabsco_nestjs-utility-services_AYbKa4hwTzQzhdLPPxIE"
|
12
|
+
}
|
9
13
|
}
|
@@ -6,7 +6,7 @@ class OperationException extends common_1.HttpException {
|
|
6
6
|
constructor(message) {
|
7
7
|
if (!message)
|
8
8
|
message = 'Invalid Operation';
|
9
|
-
super(message, common_1.HttpStatus.
|
9
|
+
super(message, common_1.HttpStatus.UNAUTHORIZED);
|
10
10
|
}
|
11
11
|
}
|
12
12
|
exports.OperationException = OperationException;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"operation.exception.js","sourceRoot":"","sources":["../../../src/common/exceptions/operation.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA2D;AAS3D,MAAa,kBAAmB,SAAQ,sBAAa;IAKjD,YAAY,OAAqB;QAC7B,IAAI,CAAC,OAAO;YAAE,OAAO,GAAG,mBAAmB,CAAC;QAE5C,KAAK,CAAC,OAAO,EAAE,mBAAU,CAAC,
|
1
|
+
{"version":3,"file":"operation.exception.js","sourceRoot":"","sources":["../../../src/common/exceptions/operation.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA2D;AAS3D,MAAa,kBAAmB,SAAQ,sBAAa;IAKjD,YAAY,OAAqB;QAC7B,IAAI,CAAC,OAAO;YAAE,OAAO,GAAG,mBAAmB,CAAC;QAE5C,KAAK,CAAC,OAAO,EAAE,mBAAU,CAAC,YAAY,CAAC,CAAC;IAC5C,CAAC;CACJ;AAVD,gDAUC"}
|
@@ -10,7 +10,7 @@ class CreateDocumentTable1598275443562 extends migration_utility_1.MigrationUtil
|
|
10
10
|
process() {
|
11
11
|
this.primary();
|
12
12
|
this.source();
|
13
|
-
this.string('document_url');
|
13
|
+
this.string('document_url', { width: 1024 });
|
14
14
|
this.foreign({ name: 'type_id', foreignTable: 'sys_lookup_values' });
|
15
15
|
this.json('attributes');
|
16
16
|
this.whoColumns();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"1598275443562-CreateDocumentTable.js","sourceRoot":"","sources":["../../src/migrations/1598275443562-CreateDocumentTable.ts"],"names":[],"mappings":";;;AAAA,6EAAyE;AAEzE,MAAa,gCAAiC,SAAQ,oCAAgB;IAClE;QACI,KAAK,CAAC,eAAe,CAAC,CAAC;QACvB,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,OAAO,EAAE,CAAC;QAEf,IAAI,CAAC,MAAM,EAAE,CAAC;QAEd,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"1598275443562-CreateDocumentTable.js","sourceRoot":"","sources":["../../src/migrations/1598275443562-CreateDocumentTable.ts"],"names":[],"mappings":";;;AAAA,6EAAyE;AAEzE,MAAa,gCAAiC,SAAQ,oCAAgB;IAClE;QACI,KAAK,CAAC,eAAe,CAAC,CAAC;QACvB,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,OAAO,EAAE,CAAC;QAEf,IAAI,CAAC,MAAM,EAAE,CAAC;QAEd,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;QAE7C,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,mBAAmB,EAAE,CAAC,CAAC;QAErE,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACxB,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;CACJ;AAlBD,4EAkBC"}
|
@@ -10,7 +10,7 @@ class CreateCommentTable1598276044380 extends migration_utility_1.MigrationUtili
|
|
10
10
|
process() {
|
11
11
|
this.primary();
|
12
12
|
this.source();
|
13
|
-
this.string('comments');
|
13
|
+
this.string('comments', { width: 1024 });
|
14
14
|
this.json('attributes');
|
15
15
|
this.whoColumns();
|
16
16
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"1598276044380-CreateCommentTable.js","sourceRoot":"","sources":["../../src/migrations/1598276044380-CreateCommentTable.ts"],"names":[],"mappings":";;;AAAA,6EAAyE;AAEzE,MAAa,+BAAgC,SAAQ,oCAAgB;IACjE;QACI,KAAK,CAAC,cAAc,CAAC,CAAC;QACtB,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,OAAO,EAAE,CAAC;QAEf,IAAI,CAAC,MAAM,EAAE,CAAC;QAEd,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"1598276044380-CreateCommentTable.js","sourceRoot":"","sources":["../../src/migrations/1598276044380-CreateCommentTable.ts"],"names":[],"mappings":";;;AAAA,6EAAyE;AAEzE,MAAa,+BAAgC,SAAQ,oCAAgB;IACjE;QACI,KAAK,CAAC,cAAc,CAAC,CAAC;QACtB,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,OAAO,EAAE,CAAC;QAEf,IAAI,CAAC,MAAM,EAAE,CAAC;QAEd,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;QAEzC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACxB,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;CACJ;AAhBD,0EAgBC"}
|
@@ -24,5 +24,11 @@ __decorate([
|
|
24
24
|
(0, class_validator_1.IsOptional)(),
|
25
25
|
__metadata("design:type", Number)
|
26
26
|
], StringSearchDto.prototype, "limit", void 0);
|
27
|
+
__decorate([
|
28
|
+
(0, class_transformer_1.Expose)(),
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
30
|
+
(0, class_validator_1.IsArray)(),
|
31
|
+
__metadata("design:type", Array)
|
32
|
+
], StringSearchDto.prototype, "ids", void 0);
|
27
33
|
exports.StringSearchDto = StringSearchDto;
|
28
34
|
//# sourceMappingURL=string.search.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"string.search.dto.js","sourceRoot":"","sources":["../../../src/platformUtility/dtos/string.search.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,
|
1
|
+
{"version":3,"file":"string.search.dto.js","sourceRoot":"","sources":["../../../src/platformUtility/dtos/string.search.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAsD;AAEtD,MAAa,eAAe;CAa3B;AAZG;IAAC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;4CACA;AAEb;IAAC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;8CACE;AAEf;IAAC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;4CACI;AAZlB,0CAaC"}
|
package/package.json
CHANGED