@26lights/orcha 0.42.253 → 0.42.254

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
- import { type StartTimerPayload, type Subtask, type UpdateActivityPayload, type User } from '../types';
1
+ import { type Sprint, type StartTimerPayload, type Subtask, type UpdateActivityPayload, type User } from '../types';
2
+ type ActivityPriority = 'P0' | 'P1' | 'P2';
2
3
  declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
4
  id: {
4
5
  type: import("vue").PropType<string>;
@@ -29,8 +30,8 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
29
30
  deadline: {
30
31
  type: import("vue").PropType<string>;
31
32
  };
32
- important: {
33
- type: import("vue").PropType<boolean>;
33
+ priority: {
34
+ type: import("vue").PropType<ActivityPriority>;
34
35
  };
35
36
  blocked: {
36
37
  type: import("vue").PropType<boolean>;
@@ -62,6 +63,9 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
62
63
  tagType: {
63
64
  type: import("vue").PropType<"project" | "milestone">;
64
65
  };
66
+ sprint: {
67
+ type: import("vue").PropType<Sprint>;
68
+ };
65
69
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
66
70
  removeAssignee: (assigneeId: string) => void;
67
71
  updateActivity: (payload: UpdateActivityPayload) => void;
@@ -96,8 +100,8 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
96
100
  deadline: {
97
101
  type: import("vue").PropType<string>;
98
102
  };
99
- important: {
100
- type: import("vue").PropType<boolean>;
103
+ priority: {
104
+ type: import("vue").PropType<ActivityPriority>;
101
105
  };
102
106
  blocked: {
103
107
  type: import("vue").PropType<boolean>;
@@ -129,6 +133,9 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
129
133
  tagType: {
130
134
  type: import("vue").PropType<"project" | "milestone">;
131
135
  };
136
+ sprint: {
137
+ type: import("vue").PropType<Sprint>;
138
+ };
132
139
  }>> & Readonly<{
133
140
  onRemoveAssignee?: ((assigneeId: string) => any) | undefined;
134
141
  onUpdateActivity?: ((payload: UpdateActivityPayload) => any) | undefined;
@@ -126,11 +126,12 @@ export interface Milestone extends Entity, Ordered {
126
126
  color?: string;
127
127
  active: boolean;
128
128
  }
129
+ export type ActivityPriority = 'P0' | 'P1' | 'P2';
129
130
  export interface ActivityBase extends Entity, Ordered {
130
131
  name: string;
131
132
  description?: string;
132
133
  estimation?: number;
133
- important?: boolean;
134
+ priority: ActivityPriority;
134
135
  type?: ActivityType;
135
136
  activityType?: "standard" | "dev";
136
137
  milestone?: Milestone;
@@ -454,7 +455,7 @@ export interface UpdateActivityPayload {
454
455
  tasks?: Subtask[];
455
456
  description?: string;
456
457
  estimation?: number;
457
- important?: boolean;
458
+ priority?: ActivityPriority;
458
459
  dependingOn?: Id[];
459
460
  blocking?: Id[];
460
461
  dependingMilestones?: 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.42.253",
7
+ "version": "0.42.254",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],