@26lights/orcha 0.42.110 → 0.42.112

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,10 @@
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
+ interface CreateSprintPayload {
3
+ projectId: Id;
4
+ name: string;
5
+ startDate: string;
6
+ endDate: string;
7
+ }
2
8
  declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
9
  isEditable: {
4
10
  type: import("vue").PropType<boolean | "only-own">;
@@ -86,7 +92,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
86
92
  updateComment: (payload: UpdateCommentPayload) => void;
87
93
  removeComment: (payload: RemoveCommentPayload) => void;
88
94
  toast: (messageKey: string, type: "error" | "success") => void;
89
- createSprint: (projectId: string) => void;
95
+ createSprint: (payload: CreateSprintPayload) => void;
90
96
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
91
97
  isEditable: {
92
98
  type: import("vue").PropType<boolean | "only-own">;
@@ -174,7 +180,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
174
180
  onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
175
181
  onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
176
182
  onToast?: ((messageKey: string, type: "error" | "success") => any) | undefined;
177
- onCreateSprint?: ((projectId: string) => any) | undefined;
183
+ onCreateSprint?: ((payload: CreateSprintPayload) => any) | undefined;
178
184
  }>, {
179
185
  breadcrumbs: string;
180
186
  userId: 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 Project, type RemoveCommentPayload, type RemoveFilePayload, 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 Id, 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: {
@@ -50,6 +50,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
50
50
  type: import("vue").PropType<ActivityDevStatus[]>;
51
51
  default: () => never[];
52
52
  };
53
+ sprints: {
54
+ type: import("vue").PropType<Sprint[]>;
55
+ default: () => never[];
56
+ };
53
57
  attachmentEnabled: {
54
58
  type: import("vue").PropType<boolean>;
55
59
  required: true;
@@ -120,6 +124,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
120
124
  removeComment: (payload: RemoveCommentPayload) => void;
121
125
  toast: (message: string, type: "error" | "success") => void;
122
126
  startTimer: (payload: StartTimerPayload) => void;
127
+ createSprint: (projectId: string) => void;
123
128
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
124
129
  filters: {
125
130
  type: import("vue").PropType<FeedFilters>;
@@ -169,6 +174,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
169
174
  type: import("vue").PropType<ActivityDevStatus[]>;
170
175
  default: () => never[];
171
176
  };
177
+ sprints: {
178
+ type: import("vue").PropType<Sprint[]>;
179
+ default: () => never[];
180
+ };
172
181
  attachmentEnabled: {
173
182
  type: import("vue").PropType<boolean>;
174
183
  required: true;
@@ -231,6 +240,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
231
240
  onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
232
241
  onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
233
242
  onToast?: ((message: string, type: "error" | "success") => any) | undefined;
243
+ onCreateSprint?: ((projectId: string) => any) | undefined;
234
244
  onAddActivity?: ((payload: AddActivityFeedPayload) => any) | undefined;
235
245
  "onChange:activities"?: ((payload: ChangeFeedActivitiesPayload) => any) | undefined;
236
246
  "onUpdate:filters"?: ((value: FeedFilters) => any) | undefined;
@@ -244,6 +254,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
244
254
  activityTypes: ActivityType[];
245
255
  isTaskCheckable: (task: Subtask) => boolean;
246
256
  devStatuses: ActivityDevStatus[];
257
+ sprints: Sprint[];
247
258
  attachmentEnabled: boolean;
248
259
  projects: Project[];
249
260
  timeTrackingData: Record<Id, TimeTracking>;
@@ -1,4 +1,4 @@
1
- import { type Activity, type ActivityDevStatus, type Id, type UpdateActivityPayload, type AddSubtaskPayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type Subtask, type ActivityStatus, type Phase, type User, type ActivityType, type UpdateSubtaskFieldPayload, type AddFilesPayload, type RemoveFilePayload, type Project, type Attachment, type TimeTracking } from '../types';
1
+ import { type Activity, type ActivityDevStatus, type Id, type UpdateActivityPayload, type AddSubtaskPayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type Subtask, type ActivityStatus, type Phase, type User, type ActivityType, type UpdateSubtaskFieldPayload, type AddFilesPayload, type RemoveFilePayload, type Project, type Attachment, type TimeTracking, type Sprint } from '../types';
2
2
  declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  phaseId: {
4
4
  type: import("vue").PropType<string>;
@@ -59,6 +59,9 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
59
59
  loadAttachmentPreview: {
60
60
  type: import("vue").PropType<(attachment: Attachment) => Promise<Blob>>;
61
61
  };
62
+ sprints: {
63
+ type: import("vue").PropType<Sprint[]>;
64
+ };
62
65
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
63
66
  'update:activity': (payload: UpdateActivityPayload) => void;
64
67
  addSubtask: (payload: AddSubtaskPayload) => void;
@@ -71,6 +74,12 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
71
74
  addComment: (payload: AddCommentPayload) => void;
72
75
  updateComment: (payload: UpdateCommentPayload) => void;
73
76
  removeComment: (payload: RemoveCommentPayload) => void;
77
+ createSprint: (payload: {
78
+ projectId: Id;
79
+ name: string;
80
+ startDate: string;
81
+ endDate: string;
82
+ }) => void;
74
83
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
75
84
  phaseId: {
76
85
  type: import("vue").PropType<string>;
@@ -131,6 +140,9 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
131
140
  loadAttachmentPreview: {
132
141
  type: import("vue").PropType<(attachment: Attachment) => Promise<Blob>>;
133
142
  };
143
+ sprints: {
144
+ type: import("vue").PropType<Sprint[]>;
145
+ };
134
146
  }>> & Readonly<{
135
147
  onDeleteSubtask?: ((payload: {
136
148
  id: Id;
@@ -143,6 +155,12 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
143
155
  onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
144
156
  onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
145
157
  onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
158
+ onCreateSprint?: ((payload: {
159
+ projectId: Id;
160
+ name: string;
161
+ startDate: string;
162
+ endDate: string;
163
+ }) => any) | undefined;
146
164
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
147
165
  declare function __VLS_template(): {
148
166
  default?(_: any): any;
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.110",
7
+ "version": "0.42.112",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],