@managemint-solutions/entities 1.0.19 → 1.0.21
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/dist/supporting-files/dto/index.d.ts +11 -0
- package/dist/supporting-files/dto/index.js +1 -0
- package/dist/supporting-files/enum/index.d.ts +19 -0
- package/dist/supporting-files/enum/index.js +22 -0
- package/dist/supporting-files/index.d.ts +10 -0
- package/dist/supporting-files/index.js +1 -0
- package/package.json +14 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SupportingFilesEntityTypes } from "../enum";
|
|
2
|
+
export type SupportingFileIdDto = {
|
|
3
|
+
supportingFileId: string;
|
|
4
|
+
};
|
|
5
|
+
export type GetSupportingFilesDto = {
|
|
6
|
+
entity: SupportingFilesEntityTypes;
|
|
7
|
+
entityId: string;
|
|
8
|
+
};
|
|
9
|
+
export type UploadSupportingFilesDto = {
|
|
10
|
+
files: File[];
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare enum SupportingFilesEntityTypes {
|
|
2
|
+
CLIENT = "clients",
|
|
3
|
+
PROJECT = "projects",
|
|
4
|
+
BUDGET_EXPENSE = "budget_expenses",
|
|
5
|
+
TASKS = "tasks"
|
|
6
|
+
}
|
|
7
|
+
export declare enum SupportingFilesExtensions {
|
|
8
|
+
PDF = "pdf",
|
|
9
|
+
DOC = "doc",
|
|
10
|
+
DOCX = "docx",
|
|
11
|
+
XLS = "xls",
|
|
12
|
+
XLSX = "xlsx",
|
|
13
|
+
PPT = "ppt",
|
|
14
|
+
PPTX = "pptx",
|
|
15
|
+
JPG = "jpg",
|
|
16
|
+
JPEG = "jpeg",
|
|
17
|
+
PNG = "png",
|
|
18
|
+
GIF = "gif"
|
|
19
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export var SupportingFilesEntityTypes;
|
|
2
|
+
(function (SupportingFilesEntityTypes) {
|
|
3
|
+
SupportingFilesEntityTypes["CLIENT"] = "clients";
|
|
4
|
+
SupportingFilesEntityTypes["PROJECT"] = "projects";
|
|
5
|
+
SupportingFilesEntityTypes["BUDGET_EXPENSE"] = "budget_expenses";
|
|
6
|
+
SupportingFilesEntityTypes["TASKS"] = "tasks";
|
|
7
|
+
})(SupportingFilesEntityTypes || (SupportingFilesEntityTypes = {}));
|
|
8
|
+
;
|
|
9
|
+
export var SupportingFilesExtensions;
|
|
10
|
+
(function (SupportingFilesExtensions) {
|
|
11
|
+
SupportingFilesExtensions["PDF"] = "pdf";
|
|
12
|
+
SupportingFilesExtensions["DOC"] = "doc";
|
|
13
|
+
SupportingFilesExtensions["DOCX"] = "docx";
|
|
14
|
+
SupportingFilesExtensions["XLS"] = "xls";
|
|
15
|
+
SupportingFilesExtensions["XLSX"] = "xlsx";
|
|
16
|
+
SupportingFilesExtensions["PPT"] = "ppt";
|
|
17
|
+
SupportingFilesExtensions["PPTX"] = "pptx";
|
|
18
|
+
SupportingFilesExtensions["JPG"] = "jpg";
|
|
19
|
+
SupportingFilesExtensions["JPEG"] = "jpeg";
|
|
20
|
+
SupportingFilesExtensions["PNG"] = "png";
|
|
21
|
+
SupportingFilesExtensions["GIF"] = "gif";
|
|
22
|
+
})(SupportingFilesExtensions || (SupportingFilesExtensions = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@managemint-solutions/entities",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"description": "Entity types used by both the api and portal",
|
|
5
5
|
"homepage": "https://github.com/ManageMint-Solutions/managemint-solutions-entities#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -115,6 +115,19 @@
|
|
|
115
115
|
"./additional-details/enum": {
|
|
116
116
|
"types": "./dist/additional-details/enum/index.d.ts",
|
|
117
117
|
"default": "./dist/additional-details/enum/index.js"
|
|
118
|
+
},
|
|
119
|
+
|
|
120
|
+
"./supporting-files": {
|
|
121
|
+
"types": "./dist/supporting-files/index.d.ts",
|
|
122
|
+
"default": "./dist/supporting-files/index.js"
|
|
123
|
+
},
|
|
124
|
+
"./supporting-files/dto": {
|
|
125
|
+
"types": "./dist/supporting-files/dto/index.d.ts",
|
|
126
|
+
"default": "./dist/supporting-files/dto/index.js"
|
|
127
|
+
},
|
|
128
|
+
"./supporting-files/enum": {
|
|
129
|
+
"types": "./dist/supporting-files/enum/index.d.ts",
|
|
130
|
+
"default": "./dist/supporting-files/enum/index.js"
|
|
118
131
|
}
|
|
119
132
|
},
|
|
120
133
|
"scripts": {
|