@managemint-solutions/entities 1.0.32 → 1.1.1

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.
@@ -0,0 +1,42 @@
1
+ export type TaskIdDto = {
2
+ taskId: string;
3
+ };
4
+ export type GetTasksDto = {
5
+ search?: string | null;
6
+ page: number;
7
+ page_size: number;
8
+ client_id?: string | null;
9
+ project_id?: string | null;
10
+ assigned_to_id?: string | null;
11
+ created_after?: string | null;
12
+ created_before?: string | null;
13
+ start_date_after?: string | null;
14
+ start_date_before?: string | null;
15
+ end_date_after?: string | null;
16
+ end_date_before?: string | null;
17
+ status_id_in?: string[] | null;
18
+ priority_in?: number[] | null;
19
+ archive: boolean;
20
+ };
21
+ export type CreateTaskDto = {
22
+ name: string;
23
+ description?: string | null;
24
+ start_date?: string | null;
25
+ end_date?: string | null;
26
+ status_id?: string | null;
27
+ priority?: number | null;
28
+ assigned_to_id?: string | null;
29
+ project_id?: string | null;
30
+ client_id?: string | null;
31
+ };
32
+ export type UpdateTaskDto = {
33
+ name: string;
34
+ description?: string | null;
35
+ start_date?: string | null;
36
+ end_date?: string | null;
37
+ status_id?: string | null;
38
+ priority?: number | null;
39
+ assigned_to_id?: string | null;
40
+ project_id?: string | null;
41
+ client_id?: string | null;
42
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,43 @@
1
+ import { ClientIdentity } from "../clients";
2
+ import { ProjectIdentity } from "../projects";
3
+ import { StatusEntity } from "../status";
4
+ import { UserIdentity } from "../users";
5
+ export type TaskIdentity = {
6
+ mms_id: string;
7
+ name: string;
8
+ };
9
+ export type TaskSummary = {
10
+ mms_id: string;
11
+ name: string;
12
+ start_date: Date;
13
+ end_date: Date | null;
14
+ status: StatusEntity | null;
15
+ priority: number;
16
+ assigned_to: UserIdentity | null;
17
+ };
18
+ export type TaskEntity = {
19
+ mms_id: string;
20
+ created_at: string;
21
+ created_by: UserIdentity;
22
+ updated_at: string;
23
+ last_updated_by: UserIdentity;
24
+ name: string;
25
+ description: string | null;
26
+ start_date: Date;
27
+ end_date: Date | null;
28
+ status: StatusEntity | null;
29
+ priority: number;
30
+ assigned_to: UserIdentity | null;
31
+ project_id: ProjectIdentity | null;
32
+ client_id: ClientIdentity | null;
33
+ archived: boolean;
34
+ archived_at: Date | null;
35
+ archived_by: UserIdentity | null;
36
+ unarchived_at: Date | null;
37
+ unarchived_by: UserIdentity | null;
38
+ deleted: boolean;
39
+ deleted_at: Date | null;
40
+ deleted_by: UserIdentity | null;
41
+ restored_at: Date | null;
42
+ restored_by: UserIdentity | null;
43
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managemint-solutions/entities",
3
- "version": "1.0.32",
3
+ "version": "1.1.1",
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": {