@26lights/orcha 0.42.228 → 0.42.229

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,5 +1,9 @@
1
1
  import type { Activity } from '../types';
2
2
  declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ clickable: {
4
+ type: import("vue").PropType<boolean>;
5
+ default: boolean;
6
+ };
3
7
  activity: {
4
8
  type: import("vue").PropType<Activity>;
5
9
  required: true;
@@ -12,7 +16,13 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
12
16
  type: import("vue").PropType<boolean>;
13
17
  default: boolean;
14
18
  };
15
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ openActivity: (activityId: string) => void;
21
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ clickable: {
23
+ type: import("vue").PropType<boolean>;
24
+ default: boolean;
25
+ };
16
26
  activity: {
17
27
  type: import("vue").PropType<Activity>;
18
28
  required: true;
@@ -25,7 +35,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
25
35
  type: import("vue").PropType<boolean>;
26
36
  default: boolean;
27
37
  };
28
- }>> & Readonly<{}>, {
38
+ }>> & Readonly<{
39
+ onOpenActivity?: ((activityId: string) => any) | undefined;
40
+ }>, {
41
+ clickable: boolean;
29
42
  isDraggable: boolean;
30
43
  showMilestone: boolean;
31
44
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -14,6 +14,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
14
14
  sprintId?: string | null;
15
15
  milestoneId?: string | null;
16
16
  }) => void;
17
+ openActivity: (payload: {
18
+ activityId: string;
19
+ activityIds: string[];
20
+ }) => void;
17
21
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
22
  activities: {
19
23
  type: import("vue").PropType<Activity[]>;
@@ -24,6 +28,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
24
28
  default: boolean;
25
29
  };
26
30
  }>> & Readonly<{
31
+ onOpenActivity?: ((payload: {
32
+ activityId: string;
33
+ activityIds: string[];
34
+ }) => any) | undefined;
27
35
  onActivityChange?: ((payload: {
28
36
  id: string;
29
37
  sprintId?: string | null;
@@ -25,6 +25,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
25
25
  sprintId?: string | null;
26
26
  milestoneId?: string | null;
27
27
  }) => void;
28
+ openActivity: (payload: {
29
+ activityId: string;
30
+ activityIds: string[];
31
+ }) => void;
28
32
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
33
  activities: {
30
34
  type: import("vue").PropType<Activity[]>;
@@ -46,6 +50,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
46
50
  required: true;
47
51
  };
48
52
  }>> & Readonly<{
53
+ onOpenActivity?: ((payload: {
54
+ activityId: string;
55
+ activityIds: string[];
56
+ }) => any) | undefined;
49
57
  onActivityChange?: ((payload: {
50
58
  id: string;
51
59
  sprintId?: string | null;
@@ -37,6 +37,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
37
37
  sprintId?: string | null;
38
38
  milestoneId?: string | null;
39
39
  }) => void;
40
+ openActivity: (payload: {
41
+ activityId: Id;
42
+ activityIds: Id[];
43
+ }) => void;
40
44
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
41
45
  activities: {
42
46
  type: import("vue").PropType<Activity[]>;
@@ -57,6 +61,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
57
61
  endDate: string;
58
62
  color?: string;
59
63
  }) => any) | undefined;
64
+ onOpenActivity?: ((payload: {
65
+ activityId: Id;
66
+ activityIds: Id[];
67
+ }) => any) | undefined;
60
68
  onActivityChange?: ((payload: {
61
69
  id: string;
62
70
  sprintId?: string | null;
@@ -1,4 +1,4 @@
1
- import type { Sprint, Activity, Id } from '../types';
1
+ import type { Sprint, Activity, Id, User, ActivityStatus, ActivityDevStatus, Project, UpdateActivityPayload, AddSubtaskPayload, UpdateSubtaskFieldPayload, AddFilesPayload, RemoveFilePayload, AddCommentPayload, UpdateCommentPayload, RemoveCommentPayload, TimeTracking } from '../types';
2
2
  declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  activities: {
4
4
  type: import("vue").PropType<Activity[]>;
@@ -8,10 +8,38 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
8
8
  type: import("vue").PropType<boolean>;
9
9
  default: boolean;
10
10
  };
11
+ users: {
12
+ type: import("vue").PropType<User[]>;
13
+ default: () => never[];
14
+ };
15
+ userId: {
16
+ type: import("vue").PropType<string>;
17
+ default: undefined;
18
+ };
19
+ statuses: {
20
+ type: import("vue").PropType<ActivityStatus[]>;
21
+ default: () => never[];
22
+ };
23
+ devStatuses: {
24
+ type: import("vue").PropType<ActivityDevStatus[]>;
25
+ default: () => never[];
26
+ };
11
27
  sprints: {
12
28
  type: import("vue").PropType<Sprint[]>;
13
29
  required: true;
14
30
  };
31
+ attachmentEnabled: {
32
+ type: import("vue").PropType<boolean>;
33
+ default: boolean;
34
+ };
35
+ projects: {
36
+ type: import("vue").PropType<Project[]>;
37
+ default: () => never[];
38
+ };
39
+ timeTrackingData: {
40
+ type: import("vue").PropType<Record<string, TimeTracking>>;
41
+ default: () => {};
42
+ };
15
43
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
44
  updateSprint: (payload: {
17
45
  id: Id;
@@ -37,6 +65,18 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
37
65
  sprintId?: string | null;
38
66
  milestoneId?: string | null;
39
67
  }) => void;
68
+ updateActivity: (payload: UpdateActivityPayload) => void;
69
+ addSubtask: (payload: AddSubtaskPayload) => void;
70
+ updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
71
+ deleteSubtask: (payload: {
72
+ id: Id;
73
+ }) => void;
74
+ addFiles: (payload: AddFilesPayload) => void;
75
+ removeFile: (payload: RemoveFilePayload) => void;
76
+ addComment: (payload: AddCommentPayload) => void;
77
+ updateComment: (payload: UpdateCommentPayload) => void;
78
+ removeComment: (payload: RemoveCommentPayload) => void;
79
+ fetchHistory: () => void;
40
80
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
41
81
  activities: {
42
82
  type: import("vue").PropType<Activity[]>;
@@ -46,17 +86,57 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
46
86
  type: import("vue").PropType<boolean>;
47
87
  default: boolean;
48
88
  };
89
+ users: {
90
+ type: import("vue").PropType<User[]>;
91
+ default: () => never[];
92
+ };
93
+ userId: {
94
+ type: import("vue").PropType<string>;
95
+ default: undefined;
96
+ };
97
+ statuses: {
98
+ type: import("vue").PropType<ActivityStatus[]>;
99
+ default: () => never[];
100
+ };
101
+ devStatuses: {
102
+ type: import("vue").PropType<ActivityDevStatus[]>;
103
+ default: () => never[];
104
+ };
49
105
  sprints: {
50
106
  type: import("vue").PropType<Sprint[]>;
51
107
  required: true;
52
108
  };
109
+ attachmentEnabled: {
110
+ type: import("vue").PropType<boolean>;
111
+ default: boolean;
112
+ };
113
+ projects: {
114
+ type: import("vue").PropType<Project[]>;
115
+ default: () => never[];
116
+ };
117
+ timeTrackingData: {
118
+ type: import("vue").PropType<Record<string, TimeTracking>>;
119
+ default: () => {};
120
+ };
53
121
  }>> & Readonly<{
122
+ onUpdateActivity?: ((payload: UpdateActivityPayload) => any) | undefined;
123
+ onDeleteSubtask?: ((payload: {
124
+ id: Id;
125
+ }) => any) | undefined;
126
+ onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
127
+ onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
128
+ onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
129
+ onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
130
+ onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
131
+ onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
132
+ onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
54
133
  onCreateSprint?: ((payload: {
55
134
  label?: string;
56
135
  startDate: string;
57
136
  endDate: string;
58
137
  color?: string;
59
138
  }) => any) | undefined;
139
+ onFetchHistory?: (() => any) | undefined;
60
140
  onActivityChange?: ((payload: {
61
141
  id: string;
62
142
  sprintId?: string | null;
@@ -77,6 +157,13 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
77
157
  }) => any) | undefined;
78
158
  }>, {
79
159
  isEditable: boolean;
160
+ users: User[];
161
+ userId: Id;
162
+ statuses: ActivityStatus[];
163
+ devStatuses: ActivityDevStatus[];
164
+ attachmentEnabled: boolean;
165
+ projects: Project[];
166
+ timeTrackingData: Record<Id, TimeTracking>;
80
167
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
81
168
  declare const _default: typeof __VLS_publicComponent;
82
169
  export default _default;
@@ -31,6 +31,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
31
31
  sprintId?: string | null;
32
32
  milestoneId?: string | null;
33
33
  }) => void;
34
+ openActivity: (payload: {
35
+ activityId: Id;
36
+ activityIds: Id[];
37
+ }) => void;
34
38
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
39
  activities: {
36
40
  type: import("vue").PropType<Activity[]>;
@@ -45,6 +49,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
45
49
  default: boolean;
46
50
  };
47
51
  }>> & Readonly<{
52
+ onOpenActivity?: ((payload: {
53
+ activityId: Id;
54
+ activityIds: Id[];
55
+ }) => any) | undefined;
48
56
  onActivityChange?: ((payload: {
49
57
  id: string;
50
58
  sprintId?: string | null;
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.228",
7
+ "version": "0.42.229",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],