@26lights/orcha 0.42.227 → 0.42.229

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.
@@ -1,5 +1,9 @@
1
1
  import type { Activity } from '../types';
2
2
  declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ clickable: {
4
+ type: import("vue").PropType<boolean>;
5
+ default: boolean;
6
+ };
3
7
  activity: {
4
8
  type: import("vue").PropType<Activity>;
5
9
  required: true;
@@ -12,7 +16,13 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
12
16
  type: import("vue").PropType<boolean>;
13
17
  default: boolean;
14
18
  };
15
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ openActivity: (activityId: string) => void;
21
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ clickable: {
23
+ type: import("vue").PropType<boolean>;
24
+ default: boolean;
25
+ };
16
26
  activity: {
17
27
  type: import("vue").PropType<Activity>;
18
28
  required: true;
@@ -25,7 +35,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
25
35
  type: import("vue").PropType<boolean>;
26
36
  default: boolean;
27
37
  };
28
- }>> & Readonly<{}>, {
38
+ }>> & Readonly<{
39
+ onOpenActivity?: ((activityId: string) => any) | undefined;
40
+ }>, {
41
+ clickable: boolean;
29
42
  isDraggable: boolean;
30
43
  showMilestone: boolean;
31
44
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -11,8 +11,12 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
11
11
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
12
  activityChange: (payload: {
13
13
  id: string;
14
- sprintId: string | null;
15
- milestoneId: string | null;
14
+ sprintId?: string | null;
15
+ milestoneId?: string | null;
16
+ }) => void;
17
+ openActivity: (payload: {
18
+ activityId: string;
19
+ activityIds: string[];
16
20
  }) => void;
17
21
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
22
  activities: {
@@ -24,10 +28,14 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
24
28
  default: boolean;
25
29
  };
26
30
  }>> & Readonly<{
31
+ onOpenActivity?: ((payload: {
32
+ activityId: string;
33
+ activityIds: string[];
34
+ }) => any) | undefined;
27
35
  onActivityChange?: ((payload: {
28
36
  id: string;
29
- sprintId: string | null;
30
- milestoneId: string | null;
37
+ sprintId?: string | null;
38
+ milestoneId?: string | null;
31
39
  }) => any) | undefined;
32
40
  }>, {
33
41
  isEditable: boolean;
@@ -22,8 +22,12 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
22
22
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
23
  activityChange: (payload: {
24
24
  id: string;
25
- sprintId: string | null;
26
- milestoneId: string | null;
25
+ sprintId?: string | null;
26
+ milestoneId?: string | null;
27
+ }) => void;
28
+ openActivity: (payload: {
29
+ activityId: string;
30
+ activityIds: string[];
27
31
  }) => void;
28
32
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
33
  activities: {
@@ -46,10 +50,14 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
46
50
  required: true;
47
51
  };
48
52
  }>> & Readonly<{
53
+ onOpenActivity?: ((payload: {
54
+ activityId: string;
55
+ activityIds: string[];
56
+ }) => any) | undefined;
49
57
  onActivityChange?: ((payload: {
50
58
  id: string;
51
- sprintId: string | null;
52
- milestoneId: string | null;
59
+ sprintId?: string | null;
60
+ milestoneId?: string | null;
53
61
  }) => any) | undefined;
54
62
  }>, {
55
63
  isEditable: boolean;
@@ -34,8 +34,12 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
34
34
  }) => void;
35
35
  activityChange: (payload: {
36
36
  id: string;
37
- sprintId: string | null;
38
- milestoneId: string | null;
37
+ sprintId?: string | null;
38
+ milestoneId?: string | null;
39
+ }) => void;
40
+ openActivity: (payload: {
41
+ activityId: Id;
42
+ activityIds: Id[];
39
43
  }) => void;
40
44
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
41
45
  activities: {
@@ -57,10 +61,14 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
57
61
  endDate: string;
58
62
  color?: string;
59
63
  }) => any) | undefined;
64
+ onOpenActivity?: ((payload: {
65
+ activityId: Id;
66
+ activityIds: Id[];
67
+ }) => any) | undefined;
60
68
  onActivityChange?: ((payload: {
61
69
  id: string;
62
- sprintId: string | null;
63
- milestoneId: string | null;
70
+ sprintId?: string | null;
71
+ milestoneId?: string | null;
64
72
  }) => any) | undefined;
65
73
  onUpdateSprint?: ((payload: {
66
74
  id: Id;
@@ -1,4 +1,4 @@
1
- import type { Sprint, Activity, Id } from '../types';
1
+ import type { Sprint, Activity, Id, User, ActivityStatus, ActivityDevStatus, Project, UpdateActivityPayload, AddSubtaskPayload, UpdateSubtaskFieldPayload, AddFilesPayload, RemoveFilePayload, AddCommentPayload, UpdateCommentPayload, RemoveCommentPayload, TimeTracking } from '../types';
2
2
  declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  activities: {
4
4
  type: import("vue").PropType<Activity[]>;
@@ -8,10 +8,38 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
8
8
  type: import("vue").PropType<boolean>;
9
9
  default: boolean;
10
10
  };
11
+ users: {
12
+ type: import("vue").PropType<User[]>;
13
+ default: () => never[];
14
+ };
15
+ userId: {
16
+ type: import("vue").PropType<string>;
17
+ default: undefined;
18
+ };
19
+ statuses: {
20
+ type: import("vue").PropType<ActivityStatus[]>;
21
+ default: () => never[];
22
+ };
23
+ devStatuses: {
24
+ type: import("vue").PropType<ActivityDevStatus[]>;
25
+ default: () => never[];
26
+ };
11
27
  sprints: {
12
28
  type: import("vue").PropType<Sprint[]>;
13
29
  required: true;
14
30
  };
31
+ attachmentEnabled: {
32
+ type: import("vue").PropType<boolean>;
33
+ default: boolean;
34
+ };
35
+ projects: {
36
+ type: import("vue").PropType<Project[]>;
37
+ default: () => never[];
38
+ };
39
+ timeTrackingData: {
40
+ type: import("vue").PropType<Record<string, TimeTracking>>;
41
+ default: () => {};
42
+ };
15
43
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
44
  updateSprint: (payload: {
17
45
  id: Id;
@@ -34,9 +62,21 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
34
62
  }) => void;
35
63
  activityChange: (payload: {
36
64
  id: string;
37
- sprintId: string | null;
38
- milestoneId: string | null;
65
+ sprintId?: string | null;
66
+ milestoneId?: string | null;
67
+ }) => void;
68
+ updateActivity: (payload: UpdateActivityPayload) => void;
69
+ addSubtask: (payload: AddSubtaskPayload) => void;
70
+ updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
71
+ deleteSubtask: (payload: {
72
+ id: Id;
39
73
  }) => void;
74
+ addFiles: (payload: AddFilesPayload) => void;
75
+ removeFile: (payload: RemoveFilePayload) => void;
76
+ addComment: (payload: AddCommentPayload) => void;
77
+ updateComment: (payload: UpdateCommentPayload) => void;
78
+ removeComment: (payload: RemoveCommentPayload) => void;
79
+ fetchHistory: () => void;
40
80
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
41
81
  activities: {
42
82
  type: import("vue").PropType<Activity[]>;
@@ -46,21 +86,61 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
46
86
  type: import("vue").PropType<boolean>;
47
87
  default: boolean;
48
88
  };
89
+ users: {
90
+ type: import("vue").PropType<User[]>;
91
+ default: () => never[];
92
+ };
93
+ userId: {
94
+ type: import("vue").PropType<string>;
95
+ default: undefined;
96
+ };
97
+ statuses: {
98
+ type: import("vue").PropType<ActivityStatus[]>;
99
+ default: () => never[];
100
+ };
101
+ devStatuses: {
102
+ type: import("vue").PropType<ActivityDevStatus[]>;
103
+ default: () => never[];
104
+ };
49
105
  sprints: {
50
106
  type: import("vue").PropType<Sprint[]>;
51
107
  required: true;
52
108
  };
109
+ attachmentEnabled: {
110
+ type: import("vue").PropType<boolean>;
111
+ default: boolean;
112
+ };
113
+ projects: {
114
+ type: import("vue").PropType<Project[]>;
115
+ default: () => never[];
116
+ };
117
+ timeTrackingData: {
118
+ type: import("vue").PropType<Record<string, TimeTracking>>;
119
+ default: () => {};
120
+ };
53
121
  }>> & Readonly<{
122
+ onUpdateActivity?: ((payload: UpdateActivityPayload) => any) | undefined;
123
+ onDeleteSubtask?: ((payload: {
124
+ id: Id;
125
+ }) => any) | undefined;
126
+ onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
127
+ onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
128
+ onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
129
+ onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
130
+ onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
131
+ onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
132
+ onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
54
133
  onCreateSprint?: ((payload: {
55
134
  label?: string;
56
135
  startDate: string;
57
136
  endDate: string;
58
137
  color?: string;
59
138
  }) => any) | undefined;
139
+ onFetchHistory?: (() => any) | undefined;
60
140
  onActivityChange?: ((payload: {
61
141
  id: string;
62
- sprintId: string | null;
63
- milestoneId: string | null;
142
+ sprintId?: string | null;
143
+ milestoneId?: string | null;
64
144
  }) => any) | undefined;
65
145
  onUpdateSprint?: ((payload: {
66
146
  id: Id;
@@ -77,6 +157,13 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
77
157
  }) => any) | undefined;
78
158
  }>, {
79
159
  isEditable: boolean;
160
+ users: User[];
161
+ userId: Id;
162
+ statuses: ActivityStatus[];
163
+ devStatuses: ActivityDevStatus[];
164
+ attachmentEnabled: boolean;
165
+ projects: Project[];
166
+ timeTrackingData: Record<Id, TimeTracking>;
80
167
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
81
168
  declare const _default: typeof __VLS_publicComponent;
82
169
  export default _default;
@@ -28,8 +28,12 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
28
28
  }) => void;
29
29
  activityChange: (payload: {
30
30
  id: string;
31
- sprintId: string | null;
32
- milestoneId: string | null;
31
+ sprintId?: string | null;
32
+ milestoneId?: string | null;
33
+ }) => void;
34
+ openActivity: (payload: {
35
+ activityId: Id;
36
+ activityIds: Id[];
33
37
  }) => void;
34
38
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
39
  activities: {
@@ -45,10 +49,14 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
45
49
  default: boolean;
46
50
  };
47
51
  }>> & Readonly<{
52
+ onOpenActivity?: ((payload: {
53
+ activityId: Id;
54
+ activityIds: Id[];
55
+ }) => any) | undefined;
48
56
  onActivityChange?: ((payload: {
49
57
  id: string;
50
- sprintId: string | null;
51
- milestoneId: string | null;
58
+ sprintId?: string | null;
59
+ milestoneId?: string | null;
52
60
  }) => any) | undefined;
53
61
  onUpdateSprint?: ((payload: {
54
62
  id: Id;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "module",
5
5
  "license": "CC-BY-NC-ND-4.0",
6
6
  "author": "26lights <dev@26lights.com> (https://www.26lights.com)",
7
- "version": "0.42.227",
7
+ "version": "0.42.229",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],