@26lights/orcha 0.31.0 → 0.31.2

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.
@@ -21,6 +21,7 @@ export interface TemplateDetails extends Entity, Ordered {
21
21
  export interface Phase extends Entity, Ordered {
22
22
  name?: string;
23
23
  milestones: Milestone[];
24
+ deadline?: string;
24
25
  }
25
26
  export declare const milestoneStatus: {
26
27
  readonly todo: "todo";
@@ -34,6 +35,7 @@ export interface Milestone extends Entity, Ordered {
34
35
  activities: Activity[];
35
36
  status?: MilestoneStatus;
36
37
  phase?: Phase;
38
+ deadline?: string;
37
39
  }
38
40
  export interface ActivityBase extends Entity, Ordered {
39
41
  name: string;
@@ -192,11 +194,13 @@ export interface AddPhasePayload {
192
194
  name: string;
193
195
  rank: string;
194
196
  projectId?: string;
197
+ deadline?: string;
195
198
  }
196
199
  export interface AddMilestonePayload {
197
200
  name: string;
198
201
  rank: string;
199
202
  phaseId: string;
203
+ deadline?: string;
200
204
  }
201
205
  export interface AddActivityPayload {
202
206
  milestoneId: Id;
@@ -211,6 +215,7 @@ export interface UpdateMilestonePayload {
211
215
  name?: string;
212
216
  activities?: Activity[];
213
217
  rules?: Rule[];
218
+ deadline?: string;
214
219
  }
215
220
  export interface UpdateItemPayload<T extends TemplateItemType> {
216
221
  itemType: T;
@@ -224,6 +229,7 @@ export interface UpdatePhasePayload {
224
229
  milestones?: Milestone[];
225
230
  rules?: Rule[];
226
231
  rank?: string;
232
+ deadline?: string;
227
233
  }
228
234
  export type UpdateItemPayloadDataTypes = {
229
235
  [TemplateItemTypeEnum.ACTIVITIES]: UpdateActivityPayload;
@@ -270,7 +276,7 @@ export interface UpdateActivityPayload {
270
276
  type?: string;
271
277
  rank?: string;
272
278
  statusId?: string;
273
- deadline?: string;
279
+ deadline?: string | null;
274
280
  typeId?: Id;
275
281
  assigneeId?: Id | null;
276
282
  projectId?: Id;
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.31.0",
7
+ "version": "0.31.2",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],
@@ -27,7 +27,7 @@
27
27
  "vuedraggable": "~4.1.0"
28
28
  },
29
29
  "dependencies": {
30
- "@26lights/orcha": "^0.31.0",
30
+ "@26lights/orcha": "^0.31.2",
31
31
  "@floating-ui/dom": "^1.5.3",
32
32
  "@vueform/multiselect": "^2.6.2",
33
33
  "@vueuse/core": "^10.2.1",