@26lights/orcha 0.2.3 → 0.2.5
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.
|
@@ -11,25 +11,28 @@ export declare function useFeedStore(): {
|
|
|
11
11
|
endDate?: string | undefined;
|
|
12
12
|
assignees?: string[] | undefined;
|
|
13
13
|
comments?: {
|
|
14
|
-
id: string;
|
|
15
14
|
userId: string;
|
|
16
15
|
content: string;
|
|
17
16
|
createdAt: string;
|
|
17
|
+
__typename: string;
|
|
18
|
+
id: string;
|
|
18
19
|
}[] | undefined;
|
|
19
20
|
attachments?: {
|
|
20
|
-
id: string;
|
|
21
21
|
createdAt: string;
|
|
22
22
|
url: string;
|
|
23
23
|
extension: string;
|
|
24
|
+
__typename: string;
|
|
25
|
+
id: string;
|
|
24
26
|
}[] | undefined;
|
|
25
27
|
status?: import('../types').ActivityStatus | undefined;
|
|
26
28
|
order: number;
|
|
27
|
-
id: string;
|
|
28
29
|
name?: string | undefined;
|
|
29
30
|
subtasks?: {
|
|
30
|
-
id: string;
|
|
31
31
|
name?: string | undefined;
|
|
32
32
|
status?: import('../types').ActivityStatus | undefined;
|
|
33
|
+
__typename: string;
|
|
34
|
+
id: string;
|
|
35
|
+
rank: string;
|
|
33
36
|
}[] | undefined;
|
|
34
37
|
description?: string | undefined;
|
|
35
38
|
estimation?: number | undefined;
|
|
@@ -38,6 +41,9 @@ export declare function useFeedStore(): {
|
|
|
38
41
|
blocking?: string[] | undefined;
|
|
39
42
|
dependingMilestones?: string[] | undefined;
|
|
40
43
|
type?: string | undefined;
|
|
44
|
+
__typename: string;
|
|
45
|
+
id: string;
|
|
46
|
+
rank: string;
|
|
41
47
|
}[]>;
|
|
42
48
|
selectedActivity: import("vue").ComputedRef<ActivityFeed<import('../types').ActivityFeedStatus> | undefined>;
|
|
43
49
|
selectActivity: (activityId: Id | null) => void;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
2
|
export type Id = string;
|
|
3
|
-
export interface
|
|
3
|
+
export interface Entity {
|
|
4
|
+
__typename: string;
|
|
4
5
|
id: Id;
|
|
6
|
+
}
|
|
7
|
+
export interface Ordered {
|
|
8
|
+
rank: string;
|
|
9
|
+
}
|
|
10
|
+
export interface TemplateDetails extends Entity, Ordered {
|
|
5
11
|
name?: string;
|
|
6
12
|
phases?: Phase[];
|
|
7
13
|
rules?: Rule[];
|
|
@@ -9,20 +15,17 @@ export interface TemplateDetails {
|
|
|
9
15
|
updatedAt?: string;
|
|
10
16
|
updatedBy?: string;
|
|
11
17
|
}
|
|
12
|
-
export interface Phase {
|
|
13
|
-
id: Id;
|
|
18
|
+
export interface Phase extends Entity, Ordered {
|
|
14
19
|
name?: string;
|
|
15
20
|
milestones?: Milestone[];
|
|
16
21
|
order: number;
|
|
17
22
|
}
|
|
18
|
-
export interface Milestone {
|
|
19
|
-
id: Id;
|
|
23
|
+
export interface Milestone extends Entity, Ordered {
|
|
20
24
|
order: number;
|
|
21
25
|
name?: string;
|
|
22
26
|
activities?: Activity[];
|
|
23
27
|
}
|
|
24
|
-
export interface Activity {
|
|
25
|
-
id: Id;
|
|
28
|
+
export interface Activity extends Entity, Ordered {
|
|
26
29
|
order: number;
|
|
27
30
|
name?: string;
|
|
28
31
|
subtasks?: Subtask[];
|
|
@@ -49,19 +52,16 @@ export interface ActivityProject extends Activity {
|
|
|
49
52
|
export interface ActivityFeed<K extends ActivityFeedStatus = ActivityFeedStatus> extends ActivityProject {
|
|
50
53
|
feedStatus: (typeof activityFeedStatus)[K];
|
|
51
54
|
}
|
|
52
|
-
export interface Subtask {
|
|
53
|
-
id: Id;
|
|
55
|
+
export interface Subtask extends Entity, Ordered {
|
|
54
56
|
name?: string;
|
|
55
57
|
status?: ActivityStatus;
|
|
56
58
|
}
|
|
57
|
-
export interface Comment {
|
|
58
|
-
id: Id;
|
|
59
|
+
export interface Comment extends Entity {
|
|
59
60
|
userId: Id;
|
|
60
61
|
content: string;
|
|
61
62
|
createdAt: string;
|
|
62
63
|
}
|
|
63
|
-
export interface Attachment {
|
|
64
|
-
id: Id;
|
|
64
|
+
export interface Attachment extends Entity {
|
|
65
65
|
createdAt: string;
|
|
66
66
|
url: string;
|
|
67
67
|
extension: string;
|