@26lights/orcha 0.42.229 → 0.42.231

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.
@@ -19,6 +19,9 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
19
19
  type: import("vue").PropType<string>;
20
20
  required: true;
21
21
  };
22
+ milestoneColor: {
23
+ type: import("vue").PropType<string>;
24
+ };
22
25
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
26
  activityChange: (payload: {
24
27
  id: string;
@@ -49,6 +52,9 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
49
52
  type: import("vue").PropType<string>;
50
53
  required: true;
51
54
  };
55
+ milestoneColor: {
56
+ type: import("vue").PropType<string>;
57
+ };
52
58
  }>> & Readonly<{
53
59
  onOpenActivity?: ((payload: {
54
60
  activityId: string;
@@ -1,11 +1,11 @@
1
- import type { Sprint, Activity, Id, User, ActivityStatus, ActivityDevStatus, Project, UpdateActivityPayload, AddSubtaskPayload, UpdateSubtaskFieldPayload, AddFilesPayload, RemoveFilePayload, AddCommentPayload, UpdateCommentPayload, RemoveCommentPayload, TimeTracking } from '../types';
1
+ import type { Sprint, Activity, Id, User, ActivityStatus, ActivityDevStatus, UpdateActivityPayload, AddSubtaskPayload, UpdateSubtaskFieldPayload, AddFilesPayload, RemoveFilePayload, AddCommentPayload, UpdateCommentPayload, RemoveCommentPayload, TimeTracking, Attachment, Subtask } from '../types';
2
2
  declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  activities: {
4
4
  type: import("vue").PropType<Activity[]>;
5
5
  required: true;
6
6
  };
7
7
  isEditable: {
8
- type: import("vue").PropType<boolean>;
8
+ type: import("vue").PropType<boolean | "only-own">;
9
9
  default: boolean;
10
10
  };
11
11
  users: {
@@ -16,6 +16,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
16
16
  type: import("vue").PropType<string>;
17
17
  default: undefined;
18
18
  };
19
+ isTaskCheckable: {
20
+ type: import("vue").PropType<(task: Subtask) => boolean>;
21
+ default: undefined;
22
+ };
19
23
  statuses: {
20
24
  type: import("vue").PropType<ActivityStatus[]>;
21
25
  default: () => never[];
@@ -32,14 +36,18 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
32
36
  type: import("vue").PropType<boolean>;
33
37
  default: boolean;
34
38
  };
35
- projects: {
36
- type: import("vue").PropType<Project[]>;
37
- default: () => never[];
38
- };
39
39
  timeTrackingData: {
40
40
  type: import("vue").PropType<Record<string, TimeTracking>>;
41
41
  default: () => {};
42
42
  };
43
+ loadAttachmentPreview: {
44
+ type: import("vue").PropType<(attachment: Attachment) => Promise<Blob>>;
45
+ default: undefined;
46
+ };
47
+ selectedActivity: {
48
+ type: import("vue").PropType<Activity>;
49
+ default: undefined;
50
+ };
43
51
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
52
  updateSprint: (payload: {
45
53
  id: Id;
@@ -65,6 +73,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
65
73
  sprintId?: string | null;
66
74
  milestoneId?: string | null;
67
75
  }) => void;
76
+ selectActivity: (activityId: string | null) => void;
68
77
  updateActivity: (payload: UpdateActivityPayload) => void;
69
78
  addSubtask: (payload: AddSubtaskPayload) => void;
70
79
  updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
@@ -83,7 +92,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
83
92
  required: true;
84
93
  };
85
94
  isEditable: {
86
- type: import("vue").PropType<boolean>;
95
+ type: import("vue").PropType<boolean | "only-own">;
87
96
  default: boolean;
88
97
  };
89
98
  users: {
@@ -94,6 +103,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
94
103
  type: import("vue").PropType<string>;
95
104
  default: undefined;
96
105
  };
106
+ isTaskCheckable: {
107
+ type: import("vue").PropType<(task: Subtask) => boolean>;
108
+ default: undefined;
109
+ };
97
110
  statuses: {
98
111
  type: import("vue").PropType<ActivityStatus[]>;
99
112
  default: () => never[];
@@ -110,16 +123,21 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
110
123
  type: import("vue").PropType<boolean>;
111
124
  default: boolean;
112
125
  };
113
- projects: {
114
- type: import("vue").PropType<Project[]>;
115
- default: () => never[];
116
- };
117
126
  timeTrackingData: {
118
127
  type: import("vue").PropType<Record<string, TimeTracking>>;
119
128
  default: () => {};
120
129
  };
130
+ loadAttachmentPreview: {
131
+ type: import("vue").PropType<(attachment: Attachment) => Promise<Blob>>;
132
+ default: undefined;
133
+ };
134
+ selectedActivity: {
135
+ type: import("vue").PropType<Activity>;
136
+ default: undefined;
137
+ };
121
138
  }>> & Readonly<{
122
139
  onUpdateActivity?: ((payload: UpdateActivityPayload) => any) | undefined;
140
+ onSelectActivity?: ((activityId: string | null) => any) | undefined;
123
141
  onDeleteSubtask?: ((payload: {
124
142
  id: Id;
125
143
  }) => any) | undefined;
@@ -156,14 +174,16 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
156
174
  id: Id;
157
175
  }) => any) | undefined;
158
176
  }>, {
159
- isEditable: boolean;
177
+ isEditable: boolean | "only-own";
160
178
  users: User[];
161
179
  userId: Id;
180
+ isTaskCheckable: (task: Subtask) => boolean;
162
181
  statuses: ActivityStatus[];
163
182
  devStatuses: ActivityDevStatus[];
164
183
  attachmentEnabled: boolean;
165
- projects: Project[];
166
184
  timeTrackingData: Record<Id, TimeTracking>;
185
+ loadAttachmentPreview: (attachment: Attachment) => Promise<Blob>;
186
+ selectedActivity: Activity;
167
187
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
168
188
  declare const _default: typeof __VLS_publicComponent;
169
189
  export default _default;
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.229",
7
+ "version": "0.42.231",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],