@26lights/orcha 0.42.197 → 0.42.199

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.
@@ -79,6 +79,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
79
79
  type: import("vue").PropType<Record<string, TimeTracking>>;
80
80
  default: () => {};
81
81
  };
82
+ historyLoading: {
83
+ type: import("vue").PropType<boolean>;
84
+ default: boolean;
85
+ };
82
86
  loadAttachmentPreview: {
83
87
  type: import("vue").PropType<(attachment: Attachment) => Promise<Blob>>;
84
88
  default: undefined;
@@ -98,6 +102,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
98
102
  removeComment: (payload: RemoveCommentPayload) => void;
99
103
  toast: (messageKey: string, type: "error" | "success") => void;
100
104
  createSprint: (payload: CreateSprintPayload) => void;
105
+ fetchHistory: (args_0: void) => void;
101
106
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
102
107
  milestoneId: {
103
108
  type: import("vue").PropType<string>;
@@ -171,6 +176,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
171
176
  type: import("vue").PropType<Record<string, TimeTracking>>;
172
177
  default: () => {};
173
178
  };
179
+ historyLoading: {
180
+ type: import("vue").PropType<boolean>;
181
+ default: boolean;
182
+ };
174
183
  loadAttachmentPreview: {
175
184
  type: import("vue").PropType<(attachment: Attachment) => Promise<Blob>>;
176
185
  default: undefined;
@@ -190,6 +199,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
190
199
  onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
191
200
  onToast?: ((messageKey: string, type: "error" | "success") => any) | undefined;
192
201
  onCreateSprint?: ((payload: CreateSprintPayload) => any) | undefined;
202
+ onFetchHistory?: ((args_0?: void | undefined) => any) | undefined;
193
203
  }>, {
194
204
  milestoneId: string;
195
205
  history: HistoryEventTransaction[];
@@ -204,6 +214,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
204
214
  sprints: Sprint[];
205
215
  projects: Project[];
206
216
  timeTrackingData: Record<Id, TimeTracking>;
217
+ historyLoading: boolean;
207
218
  loadAttachmentPreview: (attachment: Attachment) => Promise<Blob>;
208
219
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
209
220
  declare function __VLS_template(): {
@@ -7,6 +7,9 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
7
7
  presentationConfig: {
8
8
  type: import("vue").PropType<HistoryPresentationConfig>;
9
9
  };
10
+ loading: {
11
+ type: import("vue").PropType<boolean>;
12
+ };
10
13
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
14
  events: {
12
15
  type: import("vue").PropType<HistoryEventTransaction[]>;
@@ -15,6 +18,9 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
15
18
  presentationConfig: {
16
19
  type: import("vue").PropType<HistoryPresentationConfig>;
17
20
  };
21
+ loading: {
22
+ type: import("vue").PropType<boolean>;
23
+ };
18
24
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
25
  declare const _default: typeof __VLS_publicComponent;
20
26
  export default _default;
@@ -16,7 +16,6 @@ export interface HistoryValue {
16
16
  }
17
17
  export interface HistoryChange {
18
18
  field: string;
19
- label: string;
20
19
  oldValue: HistoryValue | null;
21
20
  newValue: HistoryValue | null;
22
21
  type: HistoryChangeType;
@@ -1,5 +1,5 @@
1
1
  import type { Attachment, TimeTracking } from '../types';
2
- import { type Activity, type ActivityDevStatus, type AuditLog, type ActivityStatus, type ActivityType, type AddActivityFeedPayload, type AddCommentPayload, type AddFilesPayload, type AddSubtaskPayload, type ChangeFeedActivitiesPayload, type FeedFilters, type Id, type Milestone, type Project, type RemoveCommentPayload, type RemoveFilePayload, type Sprint, type StartTimerPayload, type Subtask, type UpdateActivityPayload, type UpdateCommentPayload, type UpdateSubtaskFieldPayload, type User } from '../types';
2
+ import { type Activity, type ActivityDevStatus, type ActivityStatus, type ActivityType, type AddActivityFeedPayload, type AddCommentPayload, type AddFilesPayload, type AddSubtaskPayload, type ChangeFeedActivitiesPayload, type FeedFilters, type HistoryEventTransaction, type Id, type Milestone, type Project, type RemoveCommentPayload, type RemoveFilePayload, type Sprint, type StartTimerPayload, type Subtask, type UpdateActivityPayload, type UpdateCommentPayload, type UpdateSubtaskFieldPayload, type User } from '../types';
3
3
  export type FeedMode = 'standard' | 'dev';
4
4
  declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
5
  filters: {
@@ -111,9 +111,13 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
111
111
  default: () => {};
112
112
  };
113
113
  activityHistory: {
114
- type: import("vue").PropType<AuditLog[]>;
114
+ type: import("vue").PropType<HistoryEventTransaction[]>;
115
115
  default: () => never[];
116
116
  };
117
+ activityHistoryLoading: {
118
+ type: import("vue").PropType<boolean>;
119
+ default: boolean;
120
+ };
117
121
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
118
122
  "change:activities": (payload: ChangeFeedActivitiesPayload) => void;
119
123
  addActivity: (payload: AddActivityFeedPayload) => void;
@@ -149,6 +153,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
149
153
  startDate: string;
150
154
  endDate: string;
151
155
  }) => void;
156
+ fetchHistory: () => void;
152
157
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
153
158
  filters: {
154
159
  type: import("vue").PropType<FeedFilters>;
@@ -259,9 +264,13 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
259
264
  default: () => {};
260
265
  };
261
266
  activityHistory: {
262
- type: import("vue").PropType<AuditLog[]>;
267
+ type: import("vue").PropType<HistoryEventTransaction[]>;
263
268
  default: () => never[];
264
269
  };
270
+ activityHistoryLoading: {
271
+ type: import("vue").PropType<boolean>;
272
+ default: boolean;
273
+ };
265
274
  }>> & Readonly<{
266
275
  onStartTimer?: ((payload: StartTimerPayload) => any) | undefined;
267
276
  onSelectActivity?: ((activityId: string | null, activitySlug: string | null) => any) | undefined;
@@ -289,6 +298,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
289
298
  startDate: string;
290
299
  endDate: string;
291
300
  }) => any) | undefined;
301
+ onFetchHistory?: (() => any) | undefined;
292
302
  onAddActivity?: ((payload: AddActivityFeedPayload) => any) | undefined;
293
303
  "onChange:activities"?: ((payload: ChangeFeedActivitiesPayload) => any) | undefined;
294
304
  "onUpdate:filters"?: ((value: FeedFilters) => any) | undefined;
@@ -318,7 +328,8 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
318
328
  plannedManDays: number;
319
329
  remainingPlannedManDays: number;
320
330
  }>;
321
- activityHistory: AuditLog[];
331
+ activityHistory: HistoryEventTransaction[];
332
+ activityHistoryLoading: boolean;
322
333
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
323
334
  declare function __VLS_template(): {
324
335
  activityDetailsBody(props: {
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.197",
7
+ "version": "0.42.199",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],