@26lights/orcha 0.42.190 → 0.42.191

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,4 +1,5 @@
1
1
  import { type ActivityFeed, type Milestone, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type Id, type User, type AddFilesPayload, type Attachment, type RemoveFilePayload, type UpdateActivityPayload, type Activity, type Subtask, type ActivityStatus, type ActivityDevStatus, type Sprint, type AddCommentPayload, type RemoveCommentPayload, type UpdateCommentPayload, type ActivityType, type Project, type TimeTracking } from '../types/index';
2
+ import type { ActivityHistory } from '../types';
2
3
  interface CreateSprintPayload {
3
4
  projectId: Id;
4
5
  name: string;
@@ -14,6 +15,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
14
15
  type: import("vue").PropType<boolean | "only-own">;
15
16
  required: true;
16
17
  };
18
+ history: {
19
+ type: import("vue").PropType<ActivityHistory[]>;
20
+ default: () => never[];
21
+ };
17
22
  breadcrumbs: {
18
23
  type: import("vue").PropType<string>;
19
24
  default: string;
@@ -102,6 +107,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
102
107
  type: import("vue").PropType<boolean | "only-own">;
103
108
  required: true;
104
109
  };
110
+ history: {
111
+ type: import("vue").PropType<ActivityHistory[]>;
112
+ default: () => never[];
113
+ };
105
114
  breadcrumbs: {
106
115
  type: import("vue").PropType<string>;
107
116
  default: string;
@@ -183,6 +192,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
183
192
  onCreateSprint?: ((payload: CreateSprintPayload) => any) | undefined;
184
193
  }>, {
185
194
  milestoneId: string;
195
+ history: ActivityHistory[];
186
196
  breadcrumbs: string;
187
197
  userId: string;
188
198
  isTemplate: boolean;
@@ -135,6 +135,21 @@ export interface ActivityStatus extends Entity {
135
135
  export interface ActivityDevStatus extends Entity {
136
136
  name: string;
137
137
  }
138
+ export interface ActivityHistory {
139
+ id: number;
140
+ schemaName: string;
141
+ tableName: string;
142
+ recordKey: string;
143
+ foreignKey: string | null;
144
+ changedForeignKey: string | null;
145
+ operation: string;
146
+ oldData: string | null;
147
+ newData: string | null;
148
+ actorUserId: string | null;
149
+ actionName: string | null;
150
+ transactionId: number;
151
+ createdAt: string;
152
+ }
138
153
  export interface Sprint extends Entity {
139
154
  name: string;
140
155
  projectId: string;
@@ -1,5 +1,5 @@
1
1
  import type { Attachment, TimeTracking } 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 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 ActivityHistory, 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';
3
3
  export type FeedMode = 'standard' | 'dev';
4
4
  declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
5
  filters: {
@@ -110,6 +110,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
110
110
  }>>;
111
111
  default: () => {};
112
112
  };
113
+ activityHistory: {
114
+ type: import("vue").PropType<ActivityHistory[]>;
115
+ default: () => never[];
116
+ };
113
117
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
114
118
  "change:activities": (payload: ChangeFeedActivitiesPayload) => void;
115
119
  addActivity: (payload: AddActivityFeedPayload) => void;
@@ -254,6 +258,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
254
258
  }>>;
255
259
  default: () => {};
256
260
  };
261
+ activityHistory: {
262
+ type: import("vue").PropType<ActivityHistory[]>;
263
+ default: () => never[];
264
+ };
257
265
  }>> & Readonly<{
258
266
  onStartTimer?: ((payload: StartTimerPayload) => any) | undefined;
259
267
  onSelectActivity?: ((activityId: string | null, activitySlug: string | null) => any) | undefined;
@@ -310,6 +318,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
310
318
  plannedManDays: number;
311
319
  remainingPlannedManDays: number;
312
320
  }>;
321
+ activityHistory: ActivityHistory[];
313
322
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
314
323
  declare function __VLS_template(): {
315
324
  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.190",
7
+ "version": "0.42.191",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],