@26lights/orcha 0.7.26 → 0.7.28

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.
@@ -32,6 +32,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
32
32
  close: (args_0: void) => void;
33
33
  addSubtask: (payload: AddSubtaskPayload) => void;
34
34
  updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
35
+ deleteSubtask: (payload: {
36
+ id: string;
37
+ }) => void;
35
38
  addFiles: (payload: AddFilesPayload) => void;
36
39
  removeFile: (payload: RemoveFilePayload) => void;
37
40
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -64,6 +67,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
64
67
  };
65
68
  }>> & {
66
69
  onClose?: ((args_0?: void | undefined) => any) | undefined;
70
+ onDeleteSubtask?: ((payload: {
71
+ id: string;
72
+ }) => any) | undefined;
67
73
  onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
68
74
  "onUpdate:activity"?: ((payload: UpdateActivityFeedPayload) => any) | undefined;
69
75
  onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
@@ -1,4 +1,4 @@
1
- import { type Subtask, type UpdateSubtaskFieldPayload, type AddSubtaskPayload } from '../types';
1
+ import { type Subtask, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, User } from '../types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  activityId: {
4
4
  type: import("vue").PropType<string>;
@@ -11,13 +11,14 @@ declare const _default: import("vue").DefineComponent<{
11
11
  isCheckable: {
12
12
  type: import("vue").PropType<boolean>;
13
13
  };
14
- assigneesOptions: {
15
- type: import("vue").PropType<Record<string, string>[]>;
16
- required: true;
14
+ users: {
15
+ type: import("vue").PropType<User[]>;
17
16
  };
18
17
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
18
  add: (payload: AddSubtaskPayload) => void;
20
- delete: (id: string) => void;
19
+ delete: (payload: {
20
+ id: string;
21
+ }) => void;
21
22
  update: (payload: UpdateSubtaskFieldPayload) => void;
22
23
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
24
  activityId: {
@@ -31,13 +32,14 @@ declare const _default: import("vue").DefineComponent<{
31
32
  isCheckable: {
32
33
  type: import("vue").PropType<boolean>;
33
34
  };
34
- assigneesOptions: {
35
- type: import("vue").PropType<Record<string, string>[]>;
36
- required: true;
35
+ users: {
36
+ type: import("vue").PropType<User[]>;
37
37
  };
38
38
  }>> & {
39
39
  onUpdate?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
40
40
  onAdd?: ((payload: AddSubtaskPayload) => any) | undefined;
41
- onDelete?: ((id: string) => any) | undefined;
41
+ onDelete?: ((payload: {
42
+ id: string;
43
+ }) => any) | undefined;
42
44
  }, {}, {}>;
43
45
  export default _default;
@@ -112,9 +112,11 @@ export interface ActivityFeed<K extends ActivityFeedStatus = ActivityFeedStatus>
112
112
  feedStatus: (typeof activityFeedStatus)[K];
113
113
  }
114
114
  export interface Subtask extends Entity, Ordered {
115
- name?: string;
116
- status?: ActivityStatus;
117
- assignees?: Id[];
115
+ name: string;
116
+ assignee?: {
117
+ id: Id;
118
+ };
119
+ isDone?: boolean;
118
120
  }
119
121
  export interface Comment extends Entity {
120
122
  userId: Id;
@@ -274,9 +276,6 @@ export interface RemoveActivityPayload {
274
276
  export interface AddSubtaskPayload {
275
277
  activityId: Id;
276
278
  name: string;
277
- rank: Id;
278
- phaseId?: Id;
279
- milestoneId?: Id;
280
279
  }
281
280
  export interface UpdateActivityPayload {
282
281
  id: Id;
@@ -438,8 +437,8 @@ export type UpdateProjectActivityPayload = {
438
437
  export type UpdateSubtaskFieldPayload = {
439
438
  id: Id;
440
439
  name?: string;
441
- assignees?: Id[];
442
- status?: ActivityStatus;
440
+ assigneeId?: Id;
441
+ isDone?: boolean;
443
442
  };
444
443
  export type MultiselectOption = {
445
444
  label: string;
@@ -1,4 +1,4 @@
1
- import { type ChangeFeedActivitiesPayload, type Project, type FeedFilters, type User, type AddSubtaskPayload, type AddFilesPayload, type RemoveFilePayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type Activity, type AddActivityFeedPayload, type UpdateActivityFeedPayload, ActivityType } from '../types';
1
+ import { type ChangeFeedActivitiesPayload, type Project, type FeedFilters, type User, type AddSubtaskPayload, type UpdateSubtaskFieldPayload, type AddFilesPayload, type RemoveFilePayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type Activity, type AddActivityFeedPayload, type UpdateActivityFeedPayload, ActivityType } from '../types';
2
2
  import { ActivityStatus } from '../types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  filters: {
@@ -43,6 +43,10 @@ declare const _default: import("vue").DefineComponent<{
43
43
  'update:searchText': (value: string) => void;
44
44
  'clear:searchText': (event: Event) => void;
45
45
  addSubtask: (payload: AddSubtaskPayload) => void;
46
+ updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
47
+ deleteSubtask: (payload: {
48
+ id: string;
49
+ }) => void;
46
50
  addFiles: (payload: AddFilesPayload) => void;
47
51
  removeFile: (payload: RemoveFilePayload) => void;
48
52
  addComment: (payload: AddCommentPayload) => void;
@@ -84,9 +88,13 @@ declare const _default: import("vue").DefineComponent<{
84
88
  }>> & {
85
89
  onSelectActivity?: ((activityId: string | null) => any) | undefined;
86
90
  onArchiveActivity?: ((activityId: string) => any) | undefined;
91
+ onDeleteSubtask?: ((payload: {
92
+ id: string;
93
+ }) => any) | undefined;
87
94
  onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
88
95
  "onUpdate:activity"?: ((payload: UpdateActivityFeedPayload) => any) | undefined;
89
96
  onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
97
+ onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
90
98
  onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
91
99
  onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
92
100
  onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
@@ -1,4 +1,5 @@
1
1
  import { type TemplateDetails, type TemplateItemType, type AddItemPayload, type UpdateItemPayload, type AddRulePayload, type RemoveRulePayload, type ActivityType, type AddFilesPayload, type RemoveFilePayload, type RemoveItemPayload } from '../types';
2
+ import { User } from '../types';
2
3
  declare const _default: import("vue").DefineComponent<{
3
4
  templateId: {
4
5
  type: import("vue").PropType<string>;
@@ -7,6 +8,10 @@ declare const _default: import("vue").DefineComponent<{
7
8
  templates: {
8
9
  type: import("vue").PropType<TemplateDetails[]>;
9
10
  };
11
+ users: {
12
+ type: import("vue").PropType<User[]>;
13
+ required: true;
14
+ };
10
15
  phaseId: {
11
16
  type: import("vue").PropType<string>;
12
17
  };
@@ -35,6 +40,10 @@ declare const _default: import("vue").DefineComponent<{
35
40
  templates: {
36
41
  type: import("vue").PropType<TemplateDetails[]>;
37
42
  };
43
+ users: {
44
+ type: import("vue").PropType<User[]>;
45
+ required: true;
46
+ };
38
47
  phaseId: {
39
48
  type: import("vue").PropType<string>;
40
49
  };
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.7.26",
7
+ "version": "0.7.28",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],