@26lights/orcha 0.42.218 → 0.42.220

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,57 +1,57 @@
1
- import { type Activity, type ActivityDevStatus, type Id, type UpdateActivityPayload, type AddSubtaskPayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type Subtask, type ActivityStatus, type Phase, type User, type ActivityType, type UpdateSubtaskFieldPayload, type AddFilesPayload, type RemoveFilePayload, type Project, type Attachment, type TimeTracking, type Sprint } from '../types';
1
+ import { type Activity, type ActivityDevStatus, type Id, type UpdateActivityPayload, type AddSubtaskPayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type Subtask, type ActivityStatus, type Phase, type User, type ActivityType, type UpdateSubtaskFieldPayload, type AddFilesPayload, type RemoveFilePayload, type Project, type Attachment, type TimeTracking, type Sprint, type HistoryEventTransaction } from '../types';
2
2
  declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
- phaseId: {
4
- type: import("vue").PropType<string>;
3
+ phases: {
4
+ type: import("vue").PropType<Phase[]>;
5
5
  required: true;
6
6
  };
7
- milestoneId: {
8
- type: import("vue").PropType<string>;
7
+ activities: {
8
+ type: import("vue").PropType<Activity[]>;
9
9
  required: true;
10
10
  };
11
- activityId: {
11
+ milestoneId: {
12
12
  type: import("vue").PropType<string>;
13
13
  required: true;
14
14
  };
15
- activityTypes: {
16
- type: import("vue").PropType<ActivityType[]>;
17
- };
18
- devStatuses: {
19
- type: import("vue").PropType<ActivityDevStatus[]>;
20
- };
21
- activities: {
22
- type: import("vue").PropType<Activity[]>;
15
+ project: {
16
+ type: import("vue").PropType<Project>;
23
17
  required: true;
24
18
  };
25
- selectedActivity: {
26
- type: import("vue").PropType<Activity>;
27
- };
28
- isTaskCheckable: {
29
- type: import("vue").PropType<(task: Subtask) => boolean>;
30
- };
31
- statuses: {
32
- type: import("vue").PropType<ActivityStatus[]>;
19
+ isEditable: {
20
+ type: import("vue").PropType<boolean>;
33
21
  required: true;
34
22
  };
35
- phases: {
36
- type: import("vue").PropType<Phase[]>;
23
+ history: {
24
+ type: import("vue").PropType<HistoryEventTransaction[]>;
25
+ default: () => never[];
26
+ };
27
+ activityId: {
28
+ type: import("vue").PropType<string>;
37
29
  required: true;
38
30
  };
39
31
  users: {
40
32
  type: import("vue").PropType<User[]>;
41
33
  required: true;
42
34
  };
43
- project: {
44
- type: import("vue").PropType<Project>;
45
- required: true;
46
- };
47
35
  userId: {
48
36
  type: import("vue").PropType<string>;
49
37
  required: true;
50
38
  };
51
- isEditable: {
52
- type: import("vue").PropType<boolean>;
39
+ activityTypes: {
40
+ type: import("vue").PropType<ActivityType[]>;
41
+ };
42
+ isTaskCheckable: {
43
+ type: import("vue").PropType<(task: Subtask) => boolean>;
44
+ };
45
+ statuses: {
46
+ type: import("vue").PropType<ActivityStatus[]>;
53
47
  required: true;
54
48
  };
49
+ devStatuses: {
50
+ type: import("vue").PropType<ActivityDevStatus[]>;
51
+ };
52
+ sprints: {
53
+ type: import("vue").PropType<Sprint[]>;
54
+ };
55
55
  attachmentEnabled: {
56
56
  type: import("vue").PropType<boolean>;
57
57
  required: true;
@@ -59,11 +59,19 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
59
59
  timeTrackingData: {
60
60
  type: import("vue").PropType<Record<string, TimeTracking>>;
61
61
  };
62
+ historyLoading: {
63
+ type: import("vue").PropType<boolean>;
64
+ default: boolean;
65
+ };
62
66
  loadAttachmentPreview: {
63
67
  type: import("vue").PropType<(attachment: Attachment) => Promise<Blob>>;
64
68
  };
65
- sprints: {
66
- type: import("vue").PropType<Sprint[]>;
69
+ phaseId: {
70
+ type: import("vue").PropType<string>;
71
+ required: true;
72
+ };
73
+ selectedActivity: {
74
+ type: import("vue").PropType<Activity>;
67
75
  };
68
76
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
69
77
  'update:activity': (payload: UpdateActivityPayload) => void;
@@ -83,59 +91,60 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
83
91
  startDate: string;
84
92
  endDate: string;
85
93
  }) => void;
94
+ fetchHistory: () => void;
86
95
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
87
- phaseId: {
88
- type: import("vue").PropType<string>;
96
+ phases: {
97
+ type: import("vue").PropType<Phase[]>;
89
98
  required: true;
90
99
  };
91
- milestoneId: {
92
- type: import("vue").PropType<string>;
100
+ activities: {
101
+ type: import("vue").PropType<Activity[]>;
93
102
  required: true;
94
103
  };
95
- activityId: {
104
+ milestoneId: {
96
105
  type: import("vue").PropType<string>;
97
106
  required: true;
98
107
  };
99
- activityTypes: {
100
- type: import("vue").PropType<ActivityType[]>;
101
- };
102
- devStatuses: {
103
- type: import("vue").PropType<ActivityDevStatus[]>;
104
- };
105
- activities: {
106
- type: import("vue").PropType<Activity[]>;
108
+ project: {
109
+ type: import("vue").PropType<Project>;
107
110
  required: true;
108
111
  };
109
- selectedActivity: {
110
- type: import("vue").PropType<Activity>;
111
- };
112
- isTaskCheckable: {
113
- type: import("vue").PropType<(task: Subtask) => boolean>;
114
- };
115
- statuses: {
116
- type: import("vue").PropType<ActivityStatus[]>;
112
+ isEditable: {
113
+ type: import("vue").PropType<boolean>;
117
114
  required: true;
118
115
  };
119
- phases: {
120
- type: import("vue").PropType<Phase[]>;
116
+ history: {
117
+ type: import("vue").PropType<HistoryEventTransaction[]>;
118
+ default: () => never[];
119
+ };
120
+ activityId: {
121
+ type: import("vue").PropType<string>;
121
122
  required: true;
122
123
  };
123
124
  users: {
124
125
  type: import("vue").PropType<User[]>;
125
126
  required: true;
126
127
  };
127
- project: {
128
- type: import("vue").PropType<Project>;
129
- required: true;
130
- };
131
128
  userId: {
132
129
  type: import("vue").PropType<string>;
133
130
  required: true;
134
131
  };
135
- isEditable: {
136
- type: import("vue").PropType<boolean>;
132
+ activityTypes: {
133
+ type: import("vue").PropType<ActivityType[]>;
134
+ };
135
+ isTaskCheckable: {
136
+ type: import("vue").PropType<(task: Subtask) => boolean>;
137
+ };
138
+ statuses: {
139
+ type: import("vue").PropType<ActivityStatus[]>;
137
140
  required: true;
138
141
  };
142
+ devStatuses: {
143
+ type: import("vue").PropType<ActivityDevStatus[]>;
144
+ };
145
+ sprints: {
146
+ type: import("vue").PropType<Sprint[]>;
147
+ };
139
148
  attachmentEnabled: {
140
149
  type: import("vue").PropType<boolean>;
141
150
  required: true;
@@ -143,11 +152,19 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
143
152
  timeTrackingData: {
144
153
  type: import("vue").PropType<Record<string, TimeTracking>>;
145
154
  };
155
+ historyLoading: {
156
+ type: import("vue").PropType<boolean>;
157
+ default: boolean;
158
+ };
146
159
  loadAttachmentPreview: {
147
160
  type: import("vue").PropType<(attachment: Attachment) => Promise<Blob>>;
148
161
  };
149
- sprints: {
150
- type: import("vue").PropType<Sprint[]>;
162
+ phaseId: {
163
+ type: import("vue").PropType<string>;
164
+ required: true;
165
+ };
166
+ selectedActivity: {
167
+ type: import("vue").PropType<Activity>;
151
168
  };
152
169
  }>> & Readonly<{
153
170
  onDeleteSubtask?: ((payload: {
@@ -167,7 +184,11 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
167
184
  startDate: string;
168
185
  endDate: string;
169
186
  }) => any) | undefined;
170
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
187
+ onFetchHistory?: (() => any) | undefined;
188
+ }>, {
189
+ history: HistoryEventTransaction[];
190
+ historyLoading: boolean;
191
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
171
192
  declare function __VLS_template(): {
172
193
  default?(_: any): any;
173
194
  };
@@ -1,17 +1,28 @@
1
- import { type Project, type User, type AddActivityPayload, type UpdateActivityPayload, type AddSubtaskPayload, type AddFilesPayload, type RemoveFilePayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type AddPhasePayload, type AddMilestonePayload, type BulkAddActivityPayload, type BulkAddMilestonePayload, type BulkAddPhasePayload, type Id, type Phase, type ApplyTemplatePayload, type UpdatePhasePayload, type UpdateMilestonePayload, type Subtask, type ActivityStatus, type ActivityDevStatus, type UpdateSubtaskFieldPayload, type Activity, type ActivityType, type SaveTemplatePayload, type TimeTracking, type Attachment, type Sprint } from '../types';
1
+ import { type Project, type User, type AddActivityPayload, type UpdateActivityPayload, type AddSubtaskPayload, type AddFilesPayload, type RemoveFilePayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type AddPhasePayload, type AddMilestonePayload, type BulkAddActivityPayload, type BulkAddMilestonePayload, type BulkAddPhasePayload, type Id, type Phase, type ApplyTemplatePayload, type UpdatePhasePayload, type UpdateMilestonePayload, type Subtask, type ActivityStatus, type ActivityDevStatus, type UpdateSubtaskFieldPayload, type Activity, type ActivityType, type SaveTemplatePayload, type TimeTracking, type Attachment, type Sprint, type HistoryEventTransaction } from '../types';
2
2
  declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
- project: {
4
- type: import("vue").PropType<Project>;
3
+ templates: {
4
+ type: import("vue").PropType<{
5
+ id: Id;
6
+ name: string;
7
+ }[]>;
5
8
  required: true;
6
9
  };
7
10
  phases: {
8
11
  type: import("vue").PropType<Phase[]>;
9
12
  required: true;
10
13
  };
11
- closedStatus: {
12
- type: import("vue").PropType<ActivityStatus>;
14
+ project: {
15
+ type: import("vue").PropType<Project>;
16
+ required: true;
17
+ };
18
+ isEditable: {
19
+ type: import("vue").PropType<boolean | "only-own">;
13
20
  required: true;
14
21
  };
22
+ history: {
23
+ type: import("vue").PropType<HistoryEventTransaction[]>;
24
+ default: () => never[];
25
+ };
15
26
  users: {
16
27
  type: import("vue").PropType<User[]>;
17
28
  required: true;
@@ -20,11 +31,12 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
20
31
  type: import("vue").PropType<string>;
21
32
  required: true;
22
33
  };
23
- templates: {
24
- type: import("vue").PropType<{
25
- id: Id;
26
- name: string;
27
- }[]>;
34
+ showsArchived: {
35
+ type: import("vue").PropType<boolean>;
36
+ required: true;
37
+ };
38
+ activityTypes: {
39
+ type: import("vue").PropType<ActivityType[]>;
28
40
  required: true;
29
41
  };
30
42
  isTaskCheckable: {
@@ -34,27 +46,12 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
34
46
  type: import("vue").PropType<ActivityStatus[]>;
35
47
  required: true;
36
48
  };
37
- activityTypes: {
38
- type: import("vue").PropType<ActivityType[]>;
39
- required: true;
40
- };
41
49
  devStatuses: {
42
50
  type: import("vue").PropType<ActivityDevStatus[]>;
43
51
  };
44
52
  sprints: {
45
53
  type: import("vue").PropType<Sprint[]>;
46
54
  };
47
- selectedActivity: {
48
- type: import("vue").PropType<Activity>;
49
- };
50
- isEditable: {
51
- type: import("vue").PropType<boolean | "only-own">;
52
- required: true;
53
- };
54
- showsArchived: {
55
- type: import("vue").PropType<boolean>;
56
- required: true;
57
- };
58
55
  attachmentEnabled: {
59
56
  type: import("vue").PropType<boolean>;
60
57
  required: true;
@@ -62,9 +59,20 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
62
59
  timeTrackingData: {
63
60
  type: import("vue").PropType<Record<string, TimeTracking>>;
64
61
  };
62
+ historyLoading: {
63
+ type: import("vue").PropType<boolean>;
64
+ default: boolean;
65
+ };
65
66
  loadAttachmentPreview: {
66
67
  type: import("vue").PropType<(attachment: Attachment) => Promise<Blob>>;
67
68
  };
69
+ selectedActivity: {
70
+ type: import("vue").PropType<Activity>;
71
+ };
72
+ closedStatus: {
73
+ type: import("vue").PropType<ActivityStatus>;
74
+ required: true;
75
+ };
68
76
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
69
77
  addPhase: (payload: AddPhasePayload) => void;
70
78
  bulkAddPhase: (payload: BulkAddPhasePayload) => void;
@@ -109,19 +117,31 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
109
117
  applyTemplate: (payload: ApplyTemplatePayload) => void;
110
118
  saveTemplate: (payload: SaveTemplatePayload) => void;
111
119
  'update:showsArchived': (value: boolean) => void;
120
+ fetchHistory: () => void;
112
121
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
113
- project: {
114
- type: import("vue").PropType<Project>;
122
+ templates: {
123
+ type: import("vue").PropType<{
124
+ id: Id;
125
+ name: string;
126
+ }[]>;
115
127
  required: true;
116
128
  };
117
129
  phases: {
118
130
  type: import("vue").PropType<Phase[]>;
119
131
  required: true;
120
132
  };
121
- closedStatus: {
122
- type: import("vue").PropType<ActivityStatus>;
133
+ project: {
134
+ type: import("vue").PropType<Project>;
135
+ required: true;
136
+ };
137
+ isEditable: {
138
+ type: import("vue").PropType<boolean | "only-own">;
123
139
  required: true;
124
140
  };
141
+ history: {
142
+ type: import("vue").PropType<HistoryEventTransaction[]>;
143
+ default: () => never[];
144
+ };
125
145
  users: {
126
146
  type: import("vue").PropType<User[]>;
127
147
  required: true;
@@ -130,11 +150,12 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
130
150
  type: import("vue").PropType<string>;
131
151
  required: true;
132
152
  };
133
- templates: {
134
- type: import("vue").PropType<{
135
- id: Id;
136
- name: string;
137
- }[]>;
153
+ showsArchived: {
154
+ type: import("vue").PropType<boolean>;
155
+ required: true;
156
+ };
157
+ activityTypes: {
158
+ type: import("vue").PropType<ActivityType[]>;
138
159
  required: true;
139
160
  };
140
161
  isTaskCheckable: {
@@ -144,27 +165,12 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
144
165
  type: import("vue").PropType<ActivityStatus[]>;
145
166
  required: true;
146
167
  };
147
- activityTypes: {
148
- type: import("vue").PropType<ActivityType[]>;
149
- required: true;
150
- };
151
168
  devStatuses: {
152
169
  type: import("vue").PropType<ActivityDevStatus[]>;
153
170
  };
154
171
  sprints: {
155
172
  type: import("vue").PropType<Sprint[]>;
156
173
  };
157
- selectedActivity: {
158
- type: import("vue").PropType<Activity>;
159
- };
160
- isEditable: {
161
- type: import("vue").PropType<boolean | "only-own">;
162
- required: true;
163
- };
164
- showsArchived: {
165
- type: import("vue").PropType<boolean>;
166
- required: true;
167
- };
168
174
  attachmentEnabled: {
169
175
  type: import("vue").PropType<boolean>;
170
176
  required: true;
@@ -172,9 +178,20 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
172
178
  timeTrackingData: {
173
179
  type: import("vue").PropType<Record<string, TimeTracking>>;
174
180
  };
181
+ historyLoading: {
182
+ type: import("vue").PropType<boolean>;
183
+ default: boolean;
184
+ };
175
185
  loadAttachmentPreview: {
176
186
  type: import("vue").PropType<(attachment: Attachment) => Promise<Blob>>;
177
187
  };
188
+ selectedActivity: {
189
+ type: import("vue").PropType<Activity>;
190
+ };
191
+ closedStatus: {
192
+ type: import("vue").PropType<ActivityStatus>;
193
+ required: true;
194
+ };
178
195
  }>> & Readonly<{
179
196
  onArchiveActivity?: ((payload: {
180
197
  id: Id;
@@ -193,6 +210,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
193
210
  onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
194
211
  onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
195
212
  onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
213
+ onFetchHistory?: (() => any) | undefined;
196
214
  onAddMilestone?: ((payload: AddMilestonePayload) => any) | undefined;
197
215
  onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
198
216
  onUpdatePhase?: ((payload: UpdatePhasePayload) => any) | undefined;
@@ -219,7 +237,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
219
237
  onApplyTemplate?: ((payload: ApplyTemplatePayload) => any) | undefined;
220
238
  onSaveTemplate?: ((payload: SaveTemplatePayload) => any) | undefined;
221
239
  "onUpdate:showsArchived"?: ((value: boolean) => any) | undefined;
222
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
240
+ }>, {
241
+ history: HistoryEventTransaction[];
242
+ historyLoading: boolean;
243
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
223
244
  declare function __VLS_template(): {
224
245
  activityDetailsBody(props: {
225
246
  activity: Activity;
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.218",
7
+ "version": "0.42.220",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],