@26lights/orcha 0.42.195 → 0.42.196
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.
- package/dist/orcha.cjs.js +35 -35
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +4013 -3966
- package/dist/orcha.umd.js +36 -36
- package/dist/src/components/AoActivityDetails.vue.d.ts +4 -4
- package/dist/src/components/AoHistory.vue.d.ts +3 -3
- package/dist/src/types/index.d.ts +10 -0
- package/package.json +1 -1
|
@@ -1,5 +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 {
|
|
2
|
+
import type { HistoryEventTransaction } from '../types';
|
|
3
3
|
interface CreateSprintPayload {
|
|
4
4
|
projectId: Id;
|
|
5
5
|
name: string;
|
|
@@ -16,7 +16,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
18
|
history: {
|
|
19
|
-
type: import("vue").PropType<
|
|
19
|
+
type: import("vue").PropType<HistoryEventTransaction[]>;
|
|
20
20
|
default: () => never[];
|
|
21
21
|
};
|
|
22
22
|
breadcrumbs: {
|
|
@@ -108,7 +108,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
108
108
|
required: true;
|
|
109
109
|
};
|
|
110
110
|
history: {
|
|
111
|
-
type: import("vue").PropType<
|
|
111
|
+
type: import("vue").PropType<HistoryEventTransaction[]>;
|
|
112
112
|
default: () => never[];
|
|
113
113
|
};
|
|
114
114
|
breadcrumbs: {
|
|
@@ -192,7 +192,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
192
192
|
onCreateSprint?: ((payload: CreateSprintPayload) => any) | undefined;
|
|
193
193
|
}>, {
|
|
194
194
|
milestoneId: string;
|
|
195
|
-
history:
|
|
195
|
+
history: HistoryEventTransaction[];
|
|
196
196
|
breadcrumbs: string;
|
|
197
197
|
userId: string;
|
|
198
198
|
isTemplate: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { HistoryEventTransaction, HistoryPresentationConfig } from '../types';
|
|
2
2
|
declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
events: {
|
|
4
|
-
type: import("vue").PropType<
|
|
4
|
+
type: import("vue").PropType<HistoryEventTransaction[]>;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
7
|
presentationConfig: {
|
|
@@ -9,7 +9,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
9
9
|
};
|
|
10
10
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
11
|
events: {
|
|
12
|
-
type: import("vue").PropType<
|
|
12
|
+
type: import("vue").PropType<HistoryEventTransaction[]>;
|
|
13
13
|
required: true;
|
|
14
14
|
};
|
|
15
15
|
presentationConfig: {
|
|
@@ -46,6 +46,16 @@ export interface HistoryEvent {
|
|
|
46
46
|
changes: HistoryChange[];
|
|
47
47
|
transactionId?: number | null;
|
|
48
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* A transaction groups multiple history events that occurred in the same database transaction.
|
|
51
|
+
*/
|
|
52
|
+
export interface HistoryEventTransaction {
|
|
53
|
+
id: string;
|
|
54
|
+
transactionId: number | null;
|
|
55
|
+
createdAt: string;
|
|
56
|
+
actor?: HistoryActor | null;
|
|
57
|
+
events: HistoryEvent[];
|
|
58
|
+
}
|
|
49
59
|
/**
|
|
50
60
|
* Presentation configuration for history rendering.
|
|
51
61
|
* Allows host applications to provide custom labels and formatting.
|