@valentine-efagene/qshelter-common 1.0.3 → 1.0.4
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.
|
@@ -13,6 +13,23 @@ export interface IDocument {
|
|
|
13
13
|
name: string;
|
|
14
14
|
description: string;
|
|
15
15
|
}
|
|
16
|
+
export declare class CreateDocumentDto {
|
|
17
|
+
url: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare class UpdateDocumentDto {
|
|
22
|
+
url?: string;
|
|
23
|
+
name?: string;
|
|
24
|
+
description?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare class UpdateDocumentStatusDto {
|
|
27
|
+
status: DocumentStatus;
|
|
28
|
+
comment?: string;
|
|
29
|
+
}
|
|
30
|
+
export declare class DocumentReuploadDto {
|
|
31
|
+
url: string;
|
|
32
|
+
}
|
|
16
33
|
export declare class PaginatedData {
|
|
17
34
|
total: number;
|
|
18
35
|
totalPages: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Currency = exports.ResponseMessage = exports.Frequency = exports.PaginatedData = exports.Status = exports.DocumentStatus = void 0;
|
|
3
|
+
exports.Currency = exports.ResponseMessage = exports.Frequency = exports.PaginatedData = exports.DocumentReuploadDto = exports.UpdateDocumentStatusDto = exports.UpdateDocumentDto = exports.CreateDocumentDto = exports.Status = exports.DocumentStatus = void 0;
|
|
4
4
|
var DocumentStatus;
|
|
5
5
|
(function (DocumentStatus) {
|
|
6
6
|
DocumentStatus["APPROVED"] = "APPROVED";
|
|
@@ -13,6 +13,18 @@ var Status;
|
|
|
13
13
|
Status["PENDING"] = "PENDING";
|
|
14
14
|
Status["DECLINED"] = "DECLINED";
|
|
15
15
|
})(Status || (exports.Status = Status = {}));
|
|
16
|
+
class CreateDocumentDto {
|
|
17
|
+
}
|
|
18
|
+
exports.CreateDocumentDto = CreateDocumentDto;
|
|
19
|
+
class UpdateDocumentDto {
|
|
20
|
+
}
|
|
21
|
+
exports.UpdateDocumentDto = UpdateDocumentDto;
|
|
22
|
+
class UpdateDocumentStatusDto {
|
|
23
|
+
}
|
|
24
|
+
exports.UpdateDocumentStatusDto = UpdateDocumentStatusDto;
|
|
25
|
+
class DocumentReuploadDto {
|
|
26
|
+
}
|
|
27
|
+
exports.DocumentReuploadDto = DocumentReuploadDto;
|
|
16
28
|
class PaginatedData {
|
|
17
29
|
}
|
|
18
30
|
exports.PaginatedData = PaginatedData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.type.js","sourceRoot":"","sources":["../../types/common.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;IACnB,uCAAqB,CAAA;AACvB,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB;AAED,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,+BAAqB,CAAA;IACrB,6BAAmB,CAAA;IACnB,+BAAqB,CAAA;AACvB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAQD,MAAa,aAAa;CAMzB;AAND,sCAMC;AAED,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,4BAAe,CAAA;AACjB,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AAED,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,mDAAgC,CAAA;IAChC,mDAAgC,CAAA;IAChC,mDAAgC,CAAA;IAChC,mDAAgC,CAAA;IAChC,mDAAgC,CAAA;IAChC,8CAA2B,CAAA;AAC7B,CAAC,EAPW,eAAe,+BAAf,eAAe,QAO1B;AAED,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;AACb,CAAC,EANW,QAAQ,wBAAR,QAAQ,QAMnB"}
|
|
1
|
+
{"version":3,"file":"common.type.js","sourceRoot":"","sources":["../../types/common.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;IACnB,uCAAqB,CAAA;AACvB,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB;AAED,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,+BAAqB,CAAA;IACrB,6BAAmB,CAAA;IACnB,+BAAqB,CAAA;AACvB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAQD,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,uBAAuB;CAGnC;AAHD,0DAGC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,aAAa;CAMzB;AAND,sCAMC;AAED,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,4BAAe,CAAA;AACjB,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AAED,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,mDAAgC,CAAA;IAChC,mDAAgC,CAAA;IAChC,mDAAgC,CAAA;IAChC,mDAAgC,CAAA;IAChC,mDAAgC,CAAA;IAChC,8CAA2B,CAAA;AAC7B,CAAC,EAPW,eAAe,+BAAf,eAAe,QAO1B;AAED,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;AACb,CAAC,EANW,QAAQ,wBAAR,QAAQ,QAMnB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valentine-efagene/qshelter-common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Shared common utilities, DTOs, entities, guards, middleware, decorators, and pagination for QShelter",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -91,4 +91,4 @@
|
|
|
91
91
|
"@types/node": "^20.0.0",
|
|
92
92
|
"@types/handlebars": "^4.1.0"
|
|
93
93
|
}
|
|
94
|
-
}
|
|
94
|
+
}
|