@26lights/orcha 0.42.108 → 0.42.110
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/locales/en/translation.json +4 -0
- package/dist/orcha.cjs.js +29 -29
- package/dist/orcha.es.js +2821 -2774
- package/dist/orcha.umd.js +34 -34
- package/dist/src/components/AoActivityDetails.vue.d.ts +12 -1
- package/dist/src/types/index.d.ts +8 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
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 AddCommentPayload, type RemoveCommentPayload, type UpdateCommentPayload, type ActivityType, type Project, type TimeTracking } from '../types/index';
|
|
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
2
|
declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
isEditable: {
|
|
4
4
|
type: import("vue").PropType<boolean | "only-own">;
|
|
@@ -52,6 +52,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
52
52
|
type: import("vue").PropType<ActivityDevStatus[]>;
|
|
53
53
|
default: () => never[];
|
|
54
54
|
};
|
|
55
|
+
sprints: {
|
|
56
|
+
type: import("vue").PropType<Sprint[]>;
|
|
57
|
+
default: () => never[];
|
|
58
|
+
};
|
|
55
59
|
attachmentEnabled: {
|
|
56
60
|
type: import("vue").PropType<boolean>;
|
|
57
61
|
required: true;
|
|
@@ -82,6 +86,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
82
86
|
updateComment: (payload: UpdateCommentPayload) => void;
|
|
83
87
|
removeComment: (payload: RemoveCommentPayload) => void;
|
|
84
88
|
toast: (messageKey: string, type: "error" | "success") => void;
|
|
89
|
+
createSprint: (projectId: string) => void;
|
|
85
90
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
86
91
|
isEditable: {
|
|
87
92
|
type: import("vue").PropType<boolean | "only-own">;
|
|
@@ -135,6 +140,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
135
140
|
type: import("vue").PropType<ActivityDevStatus[]>;
|
|
136
141
|
default: () => never[];
|
|
137
142
|
};
|
|
143
|
+
sprints: {
|
|
144
|
+
type: import("vue").PropType<Sprint[]>;
|
|
145
|
+
default: () => never[];
|
|
146
|
+
};
|
|
138
147
|
attachmentEnabled: {
|
|
139
148
|
type: import("vue").PropType<boolean>;
|
|
140
149
|
required: true;
|
|
@@ -165,6 +174,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
165
174
|
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
166
175
|
onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
|
|
167
176
|
onToast?: ((messageKey: string, type: "error" | "success") => any) | undefined;
|
|
177
|
+
onCreateSprint?: ((projectId: string) => any) | undefined;
|
|
168
178
|
}>, {
|
|
169
179
|
breadcrumbs: string;
|
|
170
180
|
userId: string;
|
|
@@ -175,6 +185,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
175
185
|
isTaskCheckable: (task: Subtask) => boolean;
|
|
176
186
|
statuses: ActivityStatus[];
|
|
177
187
|
devStatuses: ActivityDevStatus[];
|
|
188
|
+
sprints: Sprint[];
|
|
178
189
|
projects: Project[];
|
|
179
190
|
timeTrackingData: Record<Id, TimeTracking>;
|
|
180
191
|
loadAttachmentPreview: (attachment: Attachment) => Promise<Blob>;
|
|
@@ -71,6 +71,7 @@ export interface Activity extends ActivityBase {
|
|
|
71
71
|
assignee?: User;
|
|
72
72
|
status?: ActivityStatus;
|
|
73
73
|
devStatus?: ActivityDevStatus;
|
|
74
|
+
sprint?: Sprint;
|
|
74
75
|
deadline?: string;
|
|
75
76
|
project?: Project;
|
|
76
77
|
comments?: Comment[];
|
|
@@ -132,6 +133,12 @@ export interface ActivityStatus extends Entity {
|
|
|
132
133
|
export interface ActivityDevStatus extends Entity {
|
|
133
134
|
name: string;
|
|
134
135
|
}
|
|
136
|
+
export interface Sprint extends Entity {
|
|
137
|
+
name: string;
|
|
138
|
+
projectId: string;
|
|
139
|
+
startDate: string;
|
|
140
|
+
endDate: string;
|
|
141
|
+
}
|
|
135
142
|
export declare const activityFeedStatus: {
|
|
136
143
|
readonly future: "future";
|
|
137
144
|
readonly this_month: "this_month";
|
|
@@ -309,6 +316,7 @@ export interface UpdateActivityPayload {
|
|
|
309
316
|
projectId?: Id;
|
|
310
317
|
milestoneId?: Id;
|
|
311
318
|
private?: boolean;
|
|
319
|
+
sprintId?: Id;
|
|
312
320
|
}
|
|
313
321
|
export interface AddRulePayload {
|
|
314
322
|
templateId: Id;
|