@26lights/orcha 0.8.0 → 0.8.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.
- package/dist/locales/en/translation.json +3 -1
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +2898 -2757
- package/dist/orcha.umd.js +2 -2
- package/dist/src/components/AoActivityDetails.vue.d.ts +3 -3
- package/dist/src/components/AoActivityDetailsComments.vue.d.ts +3 -0
- package/dist/src/components/AoAddTemplateModal.vue.d.ts +16 -0
- package/dist/src/components/AoCardFeed.vue.d.ts +3 -3
- package/dist/src/components/AoCardProjectItemMilestone.vue.d.ts +9 -5
- package/dist/src/components/AoCardProjectItemPhase.vue.d.ts +6 -2
- package/dist/src/components/AoListKanban.vue.d.ts +4 -4
- package/dist/src/components/AoModal.vue.d.ts +18 -3
- package/dist/src/components/AoProjectPhase.vue.d.ts +5 -1
- package/dist/src/components/AoProjectPhases.vue.d.ts +27 -0
- package/dist/src/components/AoTemplateDetailsMilestones.vue.d.ts +2 -2
- package/dist/src/composables/useProjectOverviewStore.d.ts +104 -1
- package/dist/src/types/index.d.ts +18 -51
- package/dist/src/views/AoFeed.vue.d.ts +3 -3
- package/dist/src/views/AoProjectOverviewActivityDetails.vue.d.ts +5 -5
- package/dist/src/views/AoProjectOverviewMilestoneDetails.vue.d.ts +3 -1
- package/dist/src/views/AoProjectOverviewProject.vue.d.ts +17 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ActivityBase, type ActivityFeed, type Milestone, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User, type AddFilesPayload, type RemoveFilePayload, type
|
|
1
|
+
import { type ActivityBase, type ActivityFeed, type Milestone, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User, type AddFilesPayload, type RemoveFilePayload, type UpdateActivityPayload, type Activity, type Subtask } from '../types/index';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
activity: {
|
|
4
4
|
type: import("vue").PropType<ActivityBase>;
|
|
@@ -31,7 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
31
31
|
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
32
32
|
};
|
|
33
33
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
-
'update:activity': (payload:
|
|
34
|
+
'update:activity': (payload: UpdateActivityPayload) => void;
|
|
35
35
|
close: (args_0: void) => void;
|
|
36
36
|
addSubtask: (payload: AddSubtaskPayload) => void;
|
|
37
37
|
updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
|
|
@@ -77,7 +77,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
77
77
|
id: string;
|
|
78
78
|
}) => any) | undefined;
|
|
79
79
|
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
80
|
-
"onUpdate:activity"?: ((payload:
|
|
80
|
+
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
81
81
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
82
82
|
onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
|
|
83
83
|
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
@@ -10,6 +10,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
};
|
|
11
11
|
newComment: {
|
|
12
12
|
type: import("vue").PropType<string>;
|
|
13
|
+
default: string;
|
|
13
14
|
};
|
|
14
15
|
userId: {
|
|
15
16
|
type: import("vue").PropType<string>;
|
|
@@ -38,6 +39,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
39
|
};
|
|
39
40
|
newComment: {
|
|
40
41
|
type: import("vue").PropType<string>;
|
|
42
|
+
default: string;
|
|
41
43
|
};
|
|
42
44
|
userId: {
|
|
43
45
|
type: import("vue").PropType<string>;
|
|
@@ -57,5 +59,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
59
|
}) => any) | undefined;
|
|
58
60
|
}, {
|
|
59
61
|
comments: Comment[];
|
|
62
|
+
newComment: string;
|
|
60
63
|
}, {}>;
|
|
61
64
|
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
projectId: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
apply: (templateId: string, projectId: string) => void;
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
projectId: {
|
|
10
|
+
type: import("vue").PropType<string>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & {
|
|
14
|
+
onApply?: ((templateId: string, projectId: string) => any) | undefined;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type UpdateActivityPayload, type Subtask, type User } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
id: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
@@ -37,7 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
37
37
|
};
|
|
38
38
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
39
|
removeAssignee: (assigneeId: string) => void;
|
|
40
|
-
updateActivity: (payload:
|
|
40
|
+
updateActivity: (payload: UpdateActivityPayload) => void;
|
|
41
41
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
42
|
id: {
|
|
43
43
|
type: import("vue").PropType<string>;
|
|
@@ -76,7 +76,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
76
76
|
};
|
|
77
77
|
}>> & {
|
|
78
78
|
onRemoveAssignee?: ((assigneeId: string) => any) | undefined;
|
|
79
|
-
onUpdateActivity?: ((payload:
|
|
79
|
+
onUpdateActivity?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
80
80
|
}, {}, {}>, {
|
|
81
81
|
secondary?(_: {}): any;
|
|
82
82
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActivityStatus, type
|
|
1
|
+
import { ActivityStatus, type Activity, UpdateMilestone } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
id: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
@@ -8,12 +8,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
8
8
|
type: import("vue").PropType<string>;
|
|
9
9
|
};
|
|
10
10
|
activities: {
|
|
11
|
-
type: import("vue").PropType<
|
|
11
|
+
type: import("vue").PropType<Activity[]>;
|
|
12
12
|
};
|
|
13
13
|
doneStatus: {
|
|
14
14
|
type: import("vue").PropType<ActivityStatus>;
|
|
15
15
|
};
|
|
16
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
updateMilestone: (payload: UpdateMilestone) => void;
|
|
18
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
19
|
id: {
|
|
18
20
|
type: import("vue").PropType<string>;
|
|
19
21
|
required: true;
|
|
@@ -22,12 +24,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
22
24
|
type: import("vue").PropType<string>;
|
|
23
25
|
};
|
|
24
26
|
activities: {
|
|
25
|
-
type: import("vue").PropType<
|
|
27
|
+
type: import("vue").PropType<Activity[]>;
|
|
26
28
|
};
|
|
27
29
|
doneStatus: {
|
|
28
30
|
type: import("vue").PropType<ActivityStatus>;
|
|
29
31
|
};
|
|
30
|
-
}
|
|
32
|
+
}>> & {
|
|
33
|
+
onUpdateMilestone?: ((payload: UpdateMilestone) => any) | undefined;
|
|
34
|
+
}, {}, {}>, {
|
|
31
35
|
secondary?(_: {}): any;
|
|
32
36
|
}>;
|
|
33
37
|
export default _default;
|
|
@@ -13,7 +13,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
13
13
|
milestones: {
|
|
14
14
|
type: import("vue").PropType<Milestone[]>;
|
|
15
15
|
};
|
|
16
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
'update:title': (v: string) => void;
|
|
18
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
19
|
id: {
|
|
18
20
|
type: import("vue").PropType<string>;
|
|
19
21
|
required: true;
|
|
@@ -27,7 +29,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
29
|
milestones: {
|
|
28
30
|
type: import("vue").PropType<Milestone[]>;
|
|
29
31
|
};
|
|
30
|
-
}
|
|
32
|
+
}>> & {
|
|
33
|
+
"onUpdate:title"?: ((v: string) => any) | undefined;
|
|
34
|
+
}, {}, {}>, {
|
|
31
35
|
secondary?(_: {}): any;
|
|
32
36
|
}>;
|
|
33
37
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type UpdateActivityPayload, type ChangeFeedActivitiesPayload, type Id, type ActivityStatus, type Activity, type ActivityFeedStatus, User } from '../types';
|
|
2
2
|
declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
|
|
3
3
|
list: Activity[];
|
|
4
4
|
status: ActivityStatus;
|
|
@@ -34,7 +34,7 @@ declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
|
|
|
34
34
|
archiveActivity: [payload: {
|
|
35
35
|
id: Id;
|
|
36
36
|
}];
|
|
37
|
-
updateActivity: [input:
|
|
37
|
+
updateActivity: [input: UpdateActivityPayload];
|
|
38
38
|
};
|
|
39
39
|
}, "slots" | "attrs" | "emit"> | undefined, __VLS_setup?: {
|
|
40
40
|
props: {
|
|
@@ -62,7 +62,7 @@ declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
|
|
|
62
62
|
archiveActivity: [payload: {
|
|
63
63
|
id: Id;
|
|
64
64
|
}];
|
|
65
|
-
updateActivity: [input:
|
|
65
|
+
updateActivity: [input: UpdateActivityPayload];
|
|
66
66
|
};
|
|
67
67
|
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
68
68
|
[key: string]: any;
|
|
@@ -93,7 +93,7 @@ declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
|
|
|
93
93
|
archiveActivity: [payload: {
|
|
94
94
|
id: Id;
|
|
95
95
|
}];
|
|
96
|
-
updateActivity: [input:
|
|
96
|
+
updateActivity: [input: UpdateActivityPayload];
|
|
97
97
|
};
|
|
98
98
|
} | undefined;
|
|
99
99
|
};
|
|
@@ -1,10 +1,25 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
size: {
|
|
3
|
+
type: import("vue").PropType<"sm" | "md">;
|
|
4
|
+
required: true;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
8
|
close: (args_0: void) => void;
|
|
3
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
size: {
|
|
11
|
+
type: import("vue").PropType<"sm" | "md">;
|
|
12
|
+
required: true;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}>> & {
|
|
4
16
|
onClose?: ((args_0?: void | undefined) => any) | undefined;
|
|
5
|
-
}, {
|
|
17
|
+
}, {
|
|
18
|
+
size: "sm" | "md";
|
|
19
|
+
}, {}>, {
|
|
6
20
|
header?(_: {}): any;
|
|
7
21
|
default?(_: {}): any;
|
|
22
|
+
footer?(_: {}): any;
|
|
8
23
|
}>;
|
|
9
24
|
export default _default;
|
|
10
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Phase, AddMilestonePayload } from '../types';
|
|
1
|
+
import { type Phase, AddMilestonePayload, UpdatePhase, UpdateMilestone } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
phase: {
|
|
4
4
|
type: import("vue").PropType<Phase>;
|
|
@@ -9,6 +9,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
};
|
|
10
10
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
addMilestone: (payload: AddMilestonePayload) => void;
|
|
12
|
+
updateMilestone: (payload: UpdateMilestone) => void;
|
|
13
|
+
updatePhase: (payload: UpdatePhase) => void;
|
|
12
14
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
15
|
phase: {
|
|
14
16
|
type: import("vue").PropType<Phase>;
|
|
@@ -18,6 +20,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
20
|
type: import("vue").PropType<string>;
|
|
19
21
|
};
|
|
20
22
|
}>> & {
|
|
23
|
+
onUpdateMilestone?: ((payload: UpdateMilestone) => any) | undefined;
|
|
21
24
|
onAddMilestone?: ((payload: AddMilestonePayload) => any) | undefined;
|
|
25
|
+
onUpdatePhase?: ((payload: UpdatePhase) => any) | undefined;
|
|
22
26
|
}, {}, {}>;
|
|
23
27
|
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AddMilestonePayload, Phase, UpdateMilestone, UpdatePhase } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
phases: {
|
|
4
|
+
type: import("vue").PropType<Phase[]>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
projectName: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
addMilestone: (payload: AddMilestonePayload) => void;
|
|
12
|
+
updateMilestone: (payload: UpdateMilestone) => void;
|
|
13
|
+
updatePhase: (payload: UpdatePhase) => void;
|
|
14
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
phases: {
|
|
16
|
+
type: import("vue").PropType<Phase[]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
projectName: {
|
|
20
|
+
type: import("vue").PropType<string>;
|
|
21
|
+
};
|
|
22
|
+
}>> & {
|
|
23
|
+
onUpdateMilestone?: ((payload: UpdateMilestone) => any) | undefined;
|
|
24
|
+
onAddMilestone?: ((payload: AddMilestonePayload) => any) | undefined;
|
|
25
|
+
onUpdatePhase?: ((payload: UpdatePhase) => any) | undefined;
|
|
26
|
+
}, {}, {}>;
|
|
27
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Phase, type UpdateMilestonePayload, type
|
|
1
|
+
import { type Phase, type UpdateMilestonePayload, type RemoveMilestonePayload } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
templateId: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
@@ -31,10 +31,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
required: true;
|
|
32
32
|
};
|
|
33
33
|
}>> & {
|
|
34
|
+
onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
|
|
34
35
|
onAddMilestone?: ((payload: {
|
|
35
36
|
phaseId: string;
|
|
36
37
|
}) => any) | undefined;
|
|
37
|
-
onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
|
|
38
38
|
onUpdatePhase?: ((payload: UpdateItemPhasePayload) => any) | undefined;
|
|
39
39
|
onRemoveMilestone?: ((payload: RemoveMilestonePayload) => any) | undefined;
|
|
40
40
|
}, {}, {}>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { type MaybeRef } from 'vue';
|
|
2
|
-
import { type User, type Id } from '../types';
|
|
2
|
+
import { type User, type Id, type TemplateDetails } from '../types';
|
|
3
3
|
type InitUseProjectOverviewStorePayload = {
|
|
4
4
|
users: MaybeRef<User[]>;
|
|
5
5
|
userId: MaybeRef<Id>;
|
|
6
|
+
templates: MaybeRef<TemplateDetails[]>;
|
|
6
7
|
};
|
|
7
8
|
export default function useProjectOverviewStore(): {
|
|
8
9
|
init: (initPayload: InitUseProjectOverviewStorePayload) => void;
|
|
@@ -13,5 +14,107 @@ export default function useProjectOverviewStore(): {
|
|
|
13
14
|
picture?: string | undefined;
|
|
14
15
|
}[]>;
|
|
15
16
|
userId: import("vue").Ref<string>;
|
|
17
|
+
templates: import("vue").Ref<{
|
|
18
|
+
name?: string | undefined;
|
|
19
|
+
phases: {
|
|
20
|
+
name?: string | undefined;
|
|
21
|
+
milestones: {
|
|
22
|
+
name?: string | undefined;
|
|
23
|
+
activities: {
|
|
24
|
+
assignee?: {
|
|
25
|
+
id: string;
|
|
26
|
+
firstName?: string | undefined;
|
|
27
|
+
lastName?: string | undefined;
|
|
28
|
+
picture?: string | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
status: {
|
|
31
|
+
name: string;
|
|
32
|
+
__typename: string;
|
|
33
|
+
id: string;
|
|
34
|
+
};
|
|
35
|
+
deadline?: string | undefined;
|
|
36
|
+
project?: {
|
|
37
|
+
id: string;
|
|
38
|
+
name?: string | undefined;
|
|
39
|
+
phases?: any[] | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
comments?: {
|
|
42
|
+
author: {
|
|
43
|
+
id: string;
|
|
44
|
+
firstName?: string | undefined;
|
|
45
|
+
lastName?: string | undefined;
|
|
46
|
+
picture?: string | undefined;
|
|
47
|
+
};
|
|
48
|
+
message: string;
|
|
49
|
+
createdAt: string;
|
|
50
|
+
updatedAt?: string | undefined;
|
|
51
|
+
__typename: string;
|
|
52
|
+
id: string;
|
|
53
|
+
}[] | undefined;
|
|
54
|
+
duration?: number | undefined;
|
|
55
|
+
durationType?: import('../types').DurationTypes | undefined;
|
|
56
|
+
name: string;
|
|
57
|
+
description?: string | undefined;
|
|
58
|
+
estimation?: number | undefined;
|
|
59
|
+
important?: boolean | undefined;
|
|
60
|
+
type?: {
|
|
61
|
+
name: string;
|
|
62
|
+
__typename: string;
|
|
63
|
+
id: string;
|
|
64
|
+
} | undefined;
|
|
65
|
+
milestone?: any | undefined;
|
|
66
|
+
dependingOn?: string[] | undefined;
|
|
67
|
+
blocking?: string[] | undefined;
|
|
68
|
+
attachments?: {
|
|
69
|
+
createdAt: string;
|
|
70
|
+
name: string;
|
|
71
|
+
size: number;
|
|
72
|
+
lastModified: number;
|
|
73
|
+
type: string;
|
|
74
|
+
url: string;
|
|
75
|
+
id: string;
|
|
76
|
+
__typename: string;
|
|
77
|
+
}[] | undefined;
|
|
78
|
+
tasks?: {
|
|
79
|
+
name: string;
|
|
80
|
+
assignee?: {
|
|
81
|
+
id: string;
|
|
82
|
+
} | undefined;
|
|
83
|
+
isDone?: boolean | undefined;
|
|
84
|
+
__typename: string;
|
|
85
|
+
id: string;
|
|
86
|
+
rank: string;
|
|
87
|
+
}[] | undefined;
|
|
88
|
+
__typename: string;
|
|
89
|
+
id: string;
|
|
90
|
+
rank: string;
|
|
91
|
+
}[];
|
|
92
|
+
status?: import('../types').MilestoneStatus | undefined;
|
|
93
|
+
__typename: string;
|
|
94
|
+
id: string;
|
|
95
|
+
rank: string;
|
|
96
|
+
}[];
|
|
97
|
+
__typename: string;
|
|
98
|
+
id: string;
|
|
99
|
+
rank: string;
|
|
100
|
+
}[];
|
|
101
|
+
rules?: {
|
|
102
|
+
id: string;
|
|
103
|
+
itemType?: import('../types').TemplateItemType | undefined;
|
|
104
|
+
subItemId?: string | undefined;
|
|
105
|
+
comparator?: import('../types').RuleComparator | undefined;
|
|
106
|
+
trigger?: import('../types').RuleTriggerTypes | undefined;
|
|
107
|
+
deadline?: string | undefined;
|
|
108
|
+
startDate?: string | undefined;
|
|
109
|
+
duration?: number | undefined;
|
|
110
|
+
durationUnit?: import('../types').RuleDurationUnits | undefined;
|
|
111
|
+
}[] | undefined;
|
|
112
|
+
order: number;
|
|
113
|
+
updatedAt?: string | undefined;
|
|
114
|
+
updatedBy?: string | undefined;
|
|
115
|
+
__typename: string;
|
|
116
|
+
id: string;
|
|
117
|
+
rank: string;
|
|
118
|
+
}[]>;
|
|
16
119
|
};
|
|
17
120
|
export {};
|
|
@@ -4,6 +4,7 @@ export interface Entity {
|
|
|
4
4
|
id: Id;
|
|
5
5
|
}
|
|
6
6
|
export interface Ordered {
|
|
7
|
+
id: string;
|
|
7
8
|
rank: string;
|
|
8
9
|
}
|
|
9
10
|
export interface ActivityType extends Entity {
|
|
@@ -66,29 +67,6 @@ export interface AddActivityFeedPayload {
|
|
|
66
67
|
rank: string;
|
|
67
68
|
statusId: string;
|
|
68
69
|
}
|
|
69
|
-
export interface UpdateActivityFeedPayload {
|
|
70
|
-
id: Id;
|
|
71
|
-
name?: string;
|
|
72
|
-
rank?: Id;
|
|
73
|
-
description?: string;
|
|
74
|
-
estimation?: number;
|
|
75
|
-
important?: boolean;
|
|
76
|
-
typeId?: Id;
|
|
77
|
-
assigneeId?: Id | null;
|
|
78
|
-
statusId?: Id;
|
|
79
|
-
deadline?: string;
|
|
80
|
-
active?: boolean;
|
|
81
|
-
}
|
|
82
|
-
export interface ActivityProject extends ActivityBase {
|
|
83
|
-
projectId: Id;
|
|
84
|
-
projectName?: string;
|
|
85
|
-
milestoneId: Id;
|
|
86
|
-
phaseId: Id;
|
|
87
|
-
deadline?: string;
|
|
88
|
-
comments?: Comment[];
|
|
89
|
-
attachments?: Attachment[];
|
|
90
|
-
status?: ActivityStatus;
|
|
91
|
-
}
|
|
92
70
|
export interface ActivityFeed<K extends ActivityFeedStatus = ActivityFeedStatus> extends ActivityBase {
|
|
93
71
|
projectId: Id;
|
|
94
72
|
milestoneId?: Id;
|
|
@@ -218,27 +196,31 @@ export interface AddActivityPayload {
|
|
|
218
196
|
projectId?: Id;
|
|
219
197
|
}
|
|
220
198
|
export interface UpdateMilestonePayload {
|
|
221
|
-
id: Id;
|
|
222
199
|
phaseId?: Id;
|
|
223
200
|
rank?: string;
|
|
224
201
|
name?: string;
|
|
225
202
|
activities?: Activity[];
|
|
226
203
|
rules?: Rule[];
|
|
227
204
|
}
|
|
205
|
+
export interface UpdateMilestone {
|
|
206
|
+
id: Id;
|
|
207
|
+
data: UpdateMilestonePayload;
|
|
208
|
+
}
|
|
228
209
|
export interface UpdateItemPayload<T extends TemplateItemType> {
|
|
229
210
|
itemType: T;
|
|
230
211
|
id: Id;
|
|
231
212
|
templateId: Id;
|
|
232
213
|
data: UpdateItemPayloadDataTypes[T];
|
|
233
214
|
}
|
|
234
|
-
export type UpdateItemTemplatePayload = UpdateItemPayload<typeof templateItemType.TEMPLATES>;
|
|
235
|
-
export type UpdateItemActivityPayload = UpdateItemPayload<typeof templateItemType.ACTIVITIES>;
|
|
236
|
-
export type UpdateItemMilestonePayload = UpdateItemPayload<typeof templateItemType.MILESTONES>;
|
|
237
|
-
export type UpdateItemPhasePayload = UpdateItemPayload<typeof templateItemType.PHASES>;
|
|
238
215
|
export interface UpdatePhasePayload {
|
|
239
216
|
name?: string;
|
|
240
217
|
milestones?: Milestone[];
|
|
241
218
|
rules?: Rule[];
|
|
219
|
+
rank?: string;
|
|
220
|
+
}
|
|
221
|
+
export interface UpdatePhase {
|
|
222
|
+
id: Id;
|
|
223
|
+
data: UpdatePhasePayload;
|
|
242
224
|
}
|
|
243
225
|
export type UpdateItemPayloadDataTypes = {
|
|
244
226
|
[TemplateItemTypeEnum.ACTIVITIES]: UpdateActivityPayload;
|
|
@@ -246,6 +228,10 @@ export type UpdateItemPayloadDataTypes = {
|
|
|
246
228
|
[TemplateItemTypeEnum.PHASES]: UpdatePhasePayload;
|
|
247
229
|
};
|
|
248
230
|
export type UpdateItemPayloadData<T extends TemplateItemTypeEnum> = UpdateItemPayloadDataTypes[T];
|
|
231
|
+
export interface MoveItemPayload {
|
|
232
|
+
id: Id;
|
|
233
|
+
rank: string;
|
|
234
|
+
}
|
|
249
235
|
export interface RemoveItemPayload {
|
|
250
236
|
type: TemplateItemType;
|
|
251
237
|
templateId: Id;
|
|
@@ -281,23 +267,6 @@ export interface UpdateActivityPayload {
|
|
|
281
267
|
type?: string;
|
|
282
268
|
rank?: string;
|
|
283
269
|
}
|
|
284
|
-
export interface UpdateActivityFieldPayload {
|
|
285
|
-
id: Id;
|
|
286
|
-
name?: string;
|
|
287
|
-
rules?: Rule[];
|
|
288
|
-
tasks?: Subtask[];
|
|
289
|
-
description?: string;
|
|
290
|
-
estimation?: number;
|
|
291
|
-
important?: boolean;
|
|
292
|
-
dependingOn?: Id[];
|
|
293
|
-
blocking?: Id[];
|
|
294
|
-
dependingMilestones?: Id[];
|
|
295
|
-
type?: string;
|
|
296
|
-
status?: ActivityStatus;
|
|
297
|
-
deadline?: string;
|
|
298
|
-
assignee?: Id;
|
|
299
|
-
attachments?: Attachment[];
|
|
300
|
-
}
|
|
301
270
|
export interface AddRulePayload {
|
|
302
271
|
templateId: Id;
|
|
303
272
|
}
|
|
@@ -418,12 +387,6 @@ export type UdpateProjectActivityData = {
|
|
|
418
387
|
dependingMilestones?: Id[];
|
|
419
388
|
type?: string;
|
|
420
389
|
};
|
|
421
|
-
export type UpdateProjectActivityPayload = {
|
|
422
|
-
itemType: typeof templateItemType.ACTIVITIES;
|
|
423
|
-
id: Id;
|
|
424
|
-
projectId: Id;
|
|
425
|
-
data: UdpateProjectActivityData;
|
|
426
|
-
};
|
|
427
390
|
export type UpdateSubtaskFieldPayload = {
|
|
428
391
|
id: Id;
|
|
429
392
|
name?: string;
|
|
@@ -458,3 +421,7 @@ export type UpdateCommentPayload = {
|
|
|
458
421
|
export type RemoveCommentPayload = {
|
|
459
422
|
id: Id;
|
|
460
423
|
};
|
|
424
|
+
export type ApplyTemplatePayload = {
|
|
425
|
+
templateId: Id;
|
|
426
|
+
projectId: Id;
|
|
427
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ChangeFeedActivitiesPayload, type Project, type FeedFilters, type User, type AddSubtaskPayload, type UpdateSubtaskFieldPayload, type AddFilesPayload, type RemoveFilePayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type Activity, type AddActivityFeedPayload, type
|
|
1
|
+
import { type ChangeFeedActivitiesPayload, type Project, type FeedFilters, type User, type AddSubtaskPayload, type UpdateSubtaskFieldPayload, type AddFilesPayload, type RemoveFilePayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type Activity, type AddActivityFeedPayload, type UpdateActivityPayload, ActivityType, Subtask } from '../types';
|
|
2
2
|
import { ActivityStatus } from '../types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
filters: {
|
|
@@ -45,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
addActivity: (payload: AddActivityFeedPayload) => void;
|
|
46
46
|
'update:filters': (value: FeedFilters) => void;
|
|
47
47
|
selectActivity: (activityId: string | null) => void;
|
|
48
|
-
'update:activity': (payload:
|
|
48
|
+
'update:activity': (payload: UpdateActivityPayload) => void;
|
|
49
49
|
archiveActivity: (payload: {
|
|
50
50
|
id: string;
|
|
51
51
|
}) => void;
|
|
@@ -111,7 +111,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
111
|
id: string;
|
|
112
112
|
}) => any) | undefined;
|
|
113
113
|
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
114
|
-
"onUpdate:activity"?: ((payload:
|
|
114
|
+
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
115
115
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
116
116
|
onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
|
|
117
117
|
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type Activity, type UpdateActivityPayload, type AddSubtaskPayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
phaseId: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
@@ -16,14 +16,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
type: import("vue").PropType<string[]>;
|
|
17
17
|
};
|
|
18
18
|
activities: {
|
|
19
|
-
type: import("vue").PropType<
|
|
19
|
+
type: import("vue").PropType<Activity[]>;
|
|
20
20
|
required: true;
|
|
21
21
|
};
|
|
22
22
|
assigneesOptions: {
|
|
23
23
|
type: import("vue").PropType<Record<string, string>>;
|
|
24
24
|
};
|
|
25
25
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
-
'update:activity': (payload:
|
|
26
|
+
'update:activity': (payload: UpdateActivityPayload) => void;
|
|
27
27
|
addSubtask: (payload: AddSubtaskPayload) => void;
|
|
28
28
|
addComment: (payload: AddCommentPayload) => void;
|
|
29
29
|
updateComment: (payload: UpdateCommentPayload) => void;
|
|
@@ -45,14 +45,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
type: import("vue").PropType<string[]>;
|
|
46
46
|
};
|
|
47
47
|
activities: {
|
|
48
|
-
type: import("vue").PropType<
|
|
48
|
+
type: import("vue").PropType<Activity[]>;
|
|
49
49
|
required: true;
|
|
50
50
|
};
|
|
51
51
|
assigneesOptions: {
|
|
52
52
|
type: import("vue").PropType<Record<string, string>>;
|
|
53
53
|
};
|
|
54
54
|
}>> & {
|
|
55
|
-
"onUpdate:activity"?: ((payload:
|
|
55
|
+
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
56
56
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
57
57
|
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
58
58
|
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type User, type AddActivityPayload, type Phase } from '../types';
|
|
1
|
+
import { type User, type AddActivityPayload, type Phase, UpdateActivityPayload } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
milestoneId: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
@@ -25,6 +25,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
26
|
close: (e: Event) => void;
|
|
27
27
|
addActivity: (args_0: AddActivityPayload) => void;
|
|
28
|
+
updateActivity: (args_0: UpdateActivityPayload) => void;
|
|
28
29
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
30
|
milestoneId: {
|
|
30
31
|
type: import("vue").PropType<string>;
|
|
@@ -50,6 +51,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
51
|
};
|
|
51
52
|
}>> & {
|
|
52
53
|
onClose?: ((e: Event) => any) | undefined;
|
|
54
|
+
onUpdateActivity?: ((args_0: UpdateActivityPayload) => any) | undefined;
|
|
53
55
|
onAddActivity?: ((args_0: AddActivityPayload) => any) | undefined;
|
|
54
56
|
}, {}, {}>;
|
|
55
57
|
export default _default;
|