@26lights/orcha 0.7.5 → 0.7.7

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,4 @@
1
- import { type Activity, type ActivityBase, type ActivityFeed, type UpdateActivityFieldPayload, type Milestone, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User, type AddFilesPayload, type RemoveFilePayload } from '../types/index';
1
+ import { type ActivityBase, type Milestone, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User, type AddFilesPayload, type RemoveFilePayload, type UpdateActivityInput } from '../types/index';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  activity: {
4
4
  type: import("vue").PropType<ActivityBase>;
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
15
15
  type: import("vue").PropType<string>;
16
16
  };
17
17
  templateActivities: {
18
- type: import("vue").PropType<(Activity | ActivityFeed<import('../types/index').ActivityFeedStatus>)[]>;
18
+ type: import("vue").PropType<any[]>;
19
19
  required: true;
20
20
  };
21
21
  templateMilestones: {
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
28
28
  type: import("vue").PropType<User[]>;
29
29
  };
30
30
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
- 'update:activity': (payload: UpdateActivityFieldPayload) => void;
31
+ 'update:activity': (payload: UpdateActivityInput) => void;
32
32
  close: (args_0: void) => void;
33
33
  addSubtask: (payload: AddSubtaskPayload) => void;
34
34
  updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
@@ -50,7 +50,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
50
50
  type: import("vue").PropType<string>;
51
51
  };
52
52
  templateActivities: {
53
- type: import("vue").PropType<(Activity | ActivityFeed<import('../types/index').ActivityFeedStatus>)[]>;
53
+ type: import("vue").PropType<any[]>;
54
54
  required: true;
55
55
  };
56
56
  templateMilestones: {
@@ -65,7 +65,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
65
65
  }>> & {
66
66
  onClose?: ((args_0?: void | undefined) => any) | undefined;
67
67
  onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
68
- "onUpdate:activity"?: ((payload: UpdateActivityFieldPayload) => any) | undefined;
68
+ "onUpdate:activity"?: ((payload: UpdateActivityInput) => any) | undefined;
69
69
  onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
70
70
  onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
71
71
  onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
@@ -1,4 +1,4 @@
1
- import { type Subtask, type UpdateActivityFieldPayload, type User } from '../types';
1
+ import { type UpdateActivityInput, type Subtask, type User } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  id: {
4
4
  type: import("vue").PropType<string>;
@@ -40,7 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
40
40
  };
41
41
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
42
42
  removeAssignee: (assigneeId: string) => void;
43
- updateActivity: (payload: UpdateActivityFieldPayload) => void;
43
+ updateActivity: (payload: UpdateActivityInput) => void;
44
44
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
45
45
  id: {
46
46
  type: import("vue").PropType<string>;
@@ -82,7 +82,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
82
82
  };
83
83
  }>> & {
84
84
  onRemoveAssignee?: ((assigneeId: string) => any) | undefined;
85
- onUpdateActivity?: ((payload: UpdateActivityFieldPayload) => any) | undefined;
85
+ onUpdateActivity?: ((payload: UpdateActivityInput) => any) | undefined;
86
86
  }, {}, {}>, {
87
87
  secondary?(_: {}): any;
88
88
  }>;
@@ -1,4 +1,4 @@
1
- import { type ActivityProject } from '../types';
1
+ import { ActivityStatus, type ActivityProject } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  id: {
4
4
  type: import("vue").PropType<string>;
@@ -10,6 +10,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
10
10
  activities: {
11
11
  type: import("vue").PropType<ActivityProject[]>;
12
12
  };
13
+ doneStatus: {
14
+ type: import("vue").PropType<ActivityStatus>;
15
+ };
13
16
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
17
  id: {
15
18
  type: import("vue").PropType<string>;
@@ -21,6 +24,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
21
24
  activities: {
22
25
  type: import("vue").PropType<ActivityProject[]>;
23
26
  };
27
+ doneStatus: {
28
+ type: import("vue").PropType<ActivityStatus>;
29
+ };
24
30
  }>>, {}, {}>, {
25
31
  secondary?(_: {}): any;
26
32
  }>;
@@ -1,7 +1,7 @@
1
- import { type ActivityFeed, type ChangeFeedActivitiesPayload, type Id, type UpdateFeedActivityPayload } from '../types';
2
- declare const _default: <T extends "done" | "future" | "this_month" | "this_week" | "today">(__VLS_props: {
3
- list: ActivityFeed<T>[];
4
- status: T;
1
+ import { type UpdateActivityInput, type ChangeFeedActivitiesPayload, type Id, type ActivityStatus, type Activity, type ActivityFeedStatus } from '../types';
2
+ declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
3
+ list: Activity[];
4
+ status: ActivityStatus;
5
5
  title?: string | undefined;
6
6
  footerLabel?: string | undefined;
7
7
  isLoading?: boolean | undefined;
@@ -9,8 +9,8 @@ declare const _default: <T extends "done" | "future" | "this_month" | "this_week
9
9
  noMoreLabel?: string | undefined;
10
10
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
11
11
  props: {
12
- list: ActivityFeed<T>[];
13
- status: T;
12
+ list: Activity[];
13
+ status: ActivityStatus;
14
14
  title?: string | undefined;
15
15
  footerLabel?: string | undefined;
16
16
  isLoading?: boolean | undefined;
@@ -26,16 +26,16 @@ declare const _default: <T extends "done" | "future" | "this_month" | "this_week
26
26
  emit: {
27
27
  add: [void];
28
28
  'update:list': [value: unknown[]];
29
- 'change:list': [value: ChangeFeedActivitiesPayload<T>];
29
+ 'change:list': [value: ChangeFeedActivitiesPayload];
30
30
  loadMore: [void];
31
31
  selectActivity: [activityId: Id];
32
32
  archiveActivity: [activityId: Id];
33
- updateActivity: [payload: UpdateFeedActivityPayload];
33
+ updateActivity: [input: UpdateActivityInput];
34
34
  };
35
35
  }, "slots" | "attrs" | "emit"> | undefined, __VLS_setup?: {
36
36
  props: {
37
- list: ActivityFeed<T>[];
38
- status: T;
37
+ list: Activity[];
38
+ status: ActivityStatus;
39
39
  title?: string | undefined;
40
40
  footerLabel?: string | undefined;
41
41
  isLoading?: boolean | undefined;
@@ -51,19 +51,19 @@ declare const _default: <T extends "done" | "future" | "this_month" | "this_week
51
51
  emit: {
52
52
  add: [void];
53
53
  'update:list': [value: unknown[]];
54
- 'change:list': [value: ChangeFeedActivitiesPayload<T>];
54
+ 'change:list': [value: ChangeFeedActivitiesPayload];
55
55
  loadMore: [void];
56
56
  selectActivity: [activityId: Id];
57
57
  archiveActivity: [activityId: Id];
58
- updateActivity: [payload: UpdateFeedActivityPayload];
58
+ updateActivity: [input: UpdateActivityInput];
59
59
  };
60
60
  }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
61
61
  [key: string]: any;
62
62
  }> & {
63
63
  __ctx?: {
64
64
  props: {
65
- list: ActivityFeed<T>[];
66
- status: T;
65
+ list: Activity[];
66
+ status: ActivityStatus;
67
67
  title?: string | undefined;
68
68
  footerLabel?: string | undefined;
69
69
  isLoading?: boolean | undefined;
@@ -79,11 +79,11 @@ declare const _default: <T extends "done" | "future" | "this_month" | "this_week
79
79
  emit: {
80
80
  add: [void];
81
81
  'update:list': [value: unknown[]];
82
- 'change:list': [value: ChangeFeedActivitiesPayload<T>];
82
+ 'change:list': [value: ChangeFeedActivitiesPayload];
83
83
  loadMore: [void];
84
84
  selectActivity: [activityId: Id];
85
85
  archiveActivity: [activityId: Id];
86
- updateActivity: [payload: UpdateFeedActivityPayload];
86
+ updateActivity: [input: UpdateActivityInput];
87
87
  };
88
88
  } | undefined;
89
89
  };
@@ -1,14 +1,40 @@
1
1
  import { type MaybeRef } from 'vue';
2
- import { type ActivityFeed, type Id } from '../types';
2
+ import { type Activity, type Id } from '../types';
3
3
  export declare function useFeedStore(): {
4
- init: (activities: MaybeRef<ActivityFeed[]>) => void;
4
+ init: (activities: MaybeRef<Activity[]>) => void;
5
5
  activities: import("vue").Ref<{
6
- projectId?: string | undefined;
7
- milestoneId?: string | undefined;
8
- phaseId?: string | undefined;
9
- projectName?: string | undefined;
10
- endDate?: string | undefined;
11
- assignees?: string[] | undefined;
6
+ assignee?: {
7
+ id: string;
8
+ firstName?: string | undefined;
9
+ lastName?: string | undefined;
10
+ picture?: string | undefined;
11
+ } | undefined;
12
+ status: {
13
+ name: string;
14
+ __typename: string;
15
+ id: string;
16
+ };
17
+ deadline: string;
18
+ project: {
19
+ id: string;
20
+ name?: string | undefined;
21
+ phases?: {
22
+ name?: string | undefined;
23
+ milestones: {
24
+ order: number;
25
+ name?: string | undefined;
26
+ activities: any[];
27
+ status?: import('../types').MilestoneStatus | undefined;
28
+ __typename: string;
29
+ id: string;
30
+ rank: string;
31
+ }[];
32
+ order: number;
33
+ __typename: string;
34
+ id: string;
35
+ rank: string;
36
+ }[] | undefined;
37
+ };
12
38
  comments?: {
13
39
  userId: string;
14
40
  content: string;
@@ -17,6 +43,28 @@ export declare function useFeedStore(): {
17
43
  __typename: string;
18
44
  id: string;
19
45
  }[] | undefined;
46
+ duration?: number | undefined;
47
+ durationType?: import('../types').DurationTypes | undefined;
48
+ name: string;
49
+ description?: string | undefined;
50
+ estimation?: number | undefined;
51
+ important?: boolean | undefined;
52
+ type?: {
53
+ name: string;
54
+ __typename: string;
55
+ id: string;
56
+ } | undefined;
57
+ milestone?: {
58
+ order: number;
59
+ name?: string | undefined;
60
+ activities: any[];
61
+ status?: import('../types').MilestoneStatus | undefined;
62
+ __typename: string;
63
+ id: string;
64
+ rank: string;
65
+ } | undefined;
66
+ dependingOn?: string[] | undefined;
67
+ blocking?: string[] | undefined;
20
68
  attachments?: {
21
69
  createdAt: string;
22
70
  name: string;
@@ -27,29 +75,22 @@ export declare function useFeedStore(): {
27
75
  id: string;
28
76
  __typename: string;
29
77
  }[] | undefined;
30
- status?: import('../types').ActivityStatus | undefined;
31
- feedStatus: "done" | "future" | "this_month" | "this_week" | "today";
32
- id: string;
33
- order: number;
34
- name?: string | undefined;
35
- subtasks?: {
78
+ tasks?: {
36
79
  name?: string | undefined;
37
- status?: import('../types').ActivityStatus | undefined;
80
+ status?: {
81
+ name: string;
82
+ __typename: string;
83
+ id: string;
84
+ } | undefined;
38
85
  assignees?: string[] | undefined;
39
86
  __typename: string;
40
87
  id: string;
41
88
  rank: string;
42
89
  }[] | undefined;
43
- description?: string | undefined;
44
- estimation?: number | undefined;
45
- isImportant?: boolean | undefined;
46
- dependingOn?: string[] | undefined;
47
- blocking?: string[] | undefined;
48
- dependingMilestones?: string[] | undefined;
49
- type?: string | undefined;
50
90
  __typename: string;
91
+ id: string;
51
92
  rank: string;
52
93
  }[]>;
53
- selectedActivity: import("vue").ComputedRef<ActivityFeed<import('../types').ActivityFeedStatus> | undefined>;
94
+ selectedActivity: import("vue").ComputedRef<Activity | undefined>;
54
95
  selectActivity: (activityId: Id | null) => void;
55
96
  };
@@ -34,7 +34,7 @@ export declare const milestoneStatus: {
34
34
  readonly archived: "archived";
35
35
  };
36
36
  export type MilestoneStatusKeys = keyof typeof milestoneStatus;
37
- export type MilestoneStatus = (typeof milestoneStatus)[ActivityStatusKeys];
37
+ export type MilestoneStatus = (typeof milestoneStatus)[MilestoneStatusKeys];
38
38
  export interface Milestone extends Entity, Ordered {
39
39
  order: number;
40
40
  name?: string;
@@ -49,19 +49,16 @@ export interface MilestoneProject extends Entity, Ordered {
49
49
  status?: MilestoneStatus;
50
50
  }
51
51
  export interface ActivityBase extends Entity, Ordered {
52
- id: Id;
53
- order: number;
54
- name?: string;
55
- subtasks?: Subtask[];
52
+ name: string;
56
53
  description?: string;
57
54
  estimation?: number;
58
- isImportant?: boolean;
55
+ important?: boolean;
56
+ type?: ActivityType;
57
+ milestone?: Milestone;
59
58
  dependingOn?: Id[];
60
59
  blocking?: Id[];
61
- dependingMilestones?: Id[];
62
- type?: string;
63
- assignees?: Id[];
64
60
  attachments?: Attachment[];
61
+ tasks?: Subtask[];
65
62
  }
66
63
  export declare const durationTypes: {
67
64
  readonly months: "months";
@@ -71,9 +68,31 @@ export declare const durationTypes: {
71
68
  export type DurationTypesKeys = keyof typeof durationTypes;
72
69
  export type DurationTypes = (typeof durationTypes)[DurationTypesKeys];
73
70
  export interface Activity extends ActivityBase {
71
+ assignee?: User;
72
+ status: ActivityStatus;
73
+ deadline: string;
74
+ project: Project;
75
+ comments?: Comment[];
74
76
  duration?: number;
75
77
  durationType?: DurationTypes;
76
78
  }
79
+ export interface AddActivityInput {
80
+ projectId: string;
81
+ statusId?: string;
82
+ }
83
+ export interface UpdateActivityInput {
84
+ id: Id;
85
+ name?: string;
86
+ rank?: Id;
87
+ description?: string;
88
+ estimation?: number;
89
+ important?: boolean;
90
+ typeId?: Id;
91
+ assigneeId?: Id;
92
+ statusId?: Id;
93
+ deadline?: string;
94
+ active?: boolean;
95
+ }
77
96
  export interface ActivityProject extends ActivityBase {
78
97
  projectId: Id;
79
98
  projectName?: string;
@@ -93,8 +112,6 @@ export interface ActivityFeed<K extends ActivityFeedStatus = ActivityFeedStatus>
93
112
  assignees?: Id[];
94
113
  comments?: Comment[];
95
114
  attachments?: Attachment[];
96
- status?: ActivityStatus;
97
- projectId?: Id;
98
115
  feedStatus: (typeof activityFeedStatus)[K];
99
116
  }
100
117
  export interface Subtask extends Entity, Ordered {
@@ -119,13 +136,9 @@ export interface FileLike extends Entity {
119
136
  export interface Attachment extends FileLike {
120
137
  createdAt: string;
121
138
  }
122
- export declare const activityStatus: {
123
- readonly todo: "todo";
124
- readonly done: "done";
125
- readonly archived: "archived";
126
- };
127
- export type ActivityStatusKeys = keyof typeof activityStatus;
128
- export type ActivityStatus = (typeof activityStatus)[ActivityStatusKeys];
139
+ export interface ActivityStatus extends Entity {
140
+ name: string;
141
+ }
129
142
  export declare const activityFeedStatus: {
130
143
  readonly future: "future";
131
144
  readonly this_month: "this_month";
@@ -210,6 +223,12 @@ export interface AddMilestonePayload {
210
223
  rank: string;
211
224
  phaseId: string;
212
225
  }
226
+ export interface AddActivityPayload {
227
+ phaseId: Id;
228
+ milestoneId: Id;
229
+ name: string;
230
+ rank: Id;
231
+ }
213
232
  export interface UpdateMilestonePayload {
214
233
  id: Id;
215
234
  order: number;
@@ -239,12 +258,6 @@ export type UpdateItemPayloadDataTypes = {
239
258
  [TemplateItemTypeEnum.PHASES]: UpdatePhasePayload;
240
259
  };
241
260
  export type UpdateItemPayloadData<T extends TemplateItemTypeEnum> = UpdateItemPayloadDataTypes[T];
242
- export interface AddActivityPayload {
243
- phaseId: Id;
244
- milestoneId: Id;
245
- name: string;
246
- rank: Id;
247
- }
248
261
  export interface RemoveItemPayload {
249
262
  type: TemplateItemType;
250
263
  templateId: Id;
@@ -290,7 +303,7 @@ export interface UpdateActivityFieldPayload {
290
303
  id: Id;
291
304
  name?: string;
292
305
  rules?: Rule[];
293
- subtasks?: Subtask[];
306
+ tasks?: Subtask[];
294
307
  description?: string;
295
308
  estimation?: number;
296
309
  isImportant?: boolean;
@@ -323,53 +336,53 @@ export declare const listUpdateTypes: {
323
336
  };
324
337
  export type ListUpdateTypesKeys = keyof typeof listUpdateTypes;
325
338
  export type ListUpdateTypes = (typeof listUpdateTypes)[ListUpdateTypesKeys];
326
- export type FeedListUpdateType<T extends ActivityFeedStatus> = {
327
- element: ActivityFeed<T>;
339
+ export type FeedListUpdateType = {
340
+ element: Activity;
328
341
  };
329
- export type FeedListUpdateAdd<T extends ActivityFeedStatus> = {
342
+ export type FeedListUpdateAdd = {
330
343
  add: {
331
- element: ActivityFeed<T>;
344
+ element: Activity;
332
345
  newIndex: number;
333
346
  };
334
347
  };
335
- export type FeedListUpdateRemove<T extends ActivityFeedStatus> = {
348
+ export type FeedListUpdateRemove = {
336
349
  removed: {
337
- element: FeedListUpdateType<T>;
350
+ element: FeedListUpdateType;
338
351
  oldIndex: number;
339
352
  };
340
353
  };
341
- export type FeedListUpdateMoved<T extends ActivityFeedStatus> = {
354
+ export type FeedListUpdateMoved = {
342
355
  moved: {
343
- element: FeedListUpdateType<T>;
356
+ element: FeedListUpdateType;
344
357
  newIndex: number;
345
358
  oldIndex: number;
346
359
  };
347
360
  };
348
- export type FeedListUpdateUnion<T extends ActivityFeedStatus> = FeedListUpdateAdd<T> | FeedListUpdateRemove<T> | FeedListUpdateMoved<T>;
349
- export type FeedListUpdates<T extends ActivityFeedStatus> = {
350
- [listUpdateTypes.add]: FeedListUpdateAdd<T>;
351
- [listUpdateTypes.remove]: FeedListUpdateRemove<T>;
352
- [listUpdateTypes.moved]: FeedListUpdateMoved<T>;
361
+ export type FeedListUpdateUnion = FeedListUpdateAdd | FeedListUpdateRemove | FeedListUpdateMoved;
362
+ export type FeedListUpdates = {
363
+ [listUpdateTypes.add]: FeedListUpdateAdd;
364
+ [listUpdateTypes.remove]: FeedListUpdateRemove;
365
+ [listUpdateTypes.moved]: FeedListUpdateMoved;
353
366
  };
354
- export type FeedListUpdate<T extends ActivityFeedStatus, K extends ListUpdateTypesKeys> = FeedListUpdates<T>[K];
367
+ export type FeedListUpdate<K extends ListUpdateTypesKeys> = FeedListUpdates[K];
355
368
  export interface UpdateFeedActivitiesPayload<T extends ActivityFeedStatus> {
356
369
  payload: {
357
370
  status: T;
358
371
  activities: ActivityFeed<T>[];
359
372
  };
360
373
  }
361
- export interface ChangeFeedActivitiesChange<T extends ActivityFeedStatus> {
362
- change: FeedListUpdateUnion<T>;
374
+ export interface ChangeFeedActivitiesChange {
375
+ change: FeedListUpdateUnion;
363
376
  }
364
- export type ChangeFeedActivitiesPayload<T extends ActivityFeedStatus = ActivityFeedStatus> = ChangeFeedActivitiesChange<T> & {
365
- status: T;
377
+ export type ChangeFeedActivitiesPayload = ChangeFeedActivitiesChange & {
378
+ status: ActivityStatus;
366
379
  };
367
380
  export type AddFeedActivityPayload = {
368
- status: ActivityFeedStatus;
381
+ status: ActivityStatus;
369
382
  };
370
383
  export type Project = {
371
- projectId: string;
372
- projectName?: string;
384
+ id: string;
385
+ name?: string;
373
386
  phases?: Phase[];
374
387
  };
375
388
  export declare const feedFilters: {
@@ -388,7 +401,7 @@ export type UdpateFeedActivityData = {
388
401
  id: Id;
389
402
  phaseId?: Id;
390
403
  milestoneId?: Id;
391
- order: number;
404
+ rank: number;
392
405
  name?: string;
393
406
  rules?: Rule[];
394
407
  subtasks?: Subtask[];
@@ -1,11 +1,12 @@
1
- import { type ActivityFeed, type ActivityFeedStatus, type ChangeFeedActivitiesPayload, type AddFeedActivityPayload, type Project, type UpdateFeedFilterPayload, type FeedFiltersMap, type User, type UpdateFeedActivityPayload, type AddSubtaskPayload, type AddFilesPayload, type RemoveFilePayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload } from '../types';
1
+ import { type ChangeFeedActivitiesPayload, type Project, type UpdateFeedFilterPayload, type FeedFiltersMap, type User, type AddSubtaskPayload, type AddFilesPayload, type RemoveFilePayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type Activity, type AddActivityInput, type UpdateActivityInput } from '../types';
2
+ import { ActivityStatus } from '../types';
2
3
  declare const _default: import("vue").DefineComponent<{
3
4
  activities: {
4
- type: import("vue").PropType<ActivityFeed<ActivityFeedStatus>[]>;
5
+ type: import("vue").PropType<Activity[]>;
5
6
  required: true;
6
7
  };
7
8
  statuses: {
8
- type: import("vue").PropType<ActivityFeedStatus[]>;
9
+ type: import("vue").PropType<ActivityStatus[]>;
9
10
  required: true;
10
11
  };
11
12
  projects: {
@@ -33,10 +34,10 @@ declare const _default: import("vue").DefineComponent<{
33
34
  };
34
35
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
36
  'change:activities': (payload: ChangeFeedActivitiesPayload) => void;
36
- addActivity: (payload: AddFeedActivityPayload) => void;
37
+ addActivity: (payload: Partial<AddActivityInput>) => void;
37
38
  'update:filter': (payload: UpdateFeedFilterPayload) => void;
38
39
  selectActivity: (activityId: string | null) => void;
39
- 'update:activity': (payload: UpdateFeedActivityPayload) => void;
40
+ 'update:activity': (payload: UpdateActivityInput) => void;
40
41
  archiveActivity: (activityId: string) => void;
41
42
  'update:searchText': (value: string) => void;
42
43
  'clear:searchText': (e: Event) => void;
@@ -48,11 +49,11 @@ declare const _default: import("vue").DefineComponent<{
48
49
  removeComment: (payload: RemoveCommentPayload) => void;
49
50
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
50
51
  activities: {
51
- type: import("vue").PropType<ActivityFeed<ActivityFeedStatus>[]>;
52
+ type: import("vue").PropType<Activity[]>;
52
53
  required: true;
53
54
  };
54
55
  statuses: {
55
- type: import("vue").PropType<ActivityFeedStatus[]>;
56
+ type: import("vue").PropType<ActivityStatus[]>;
56
57
  required: true;
57
58
  };
58
59
  projects: {
@@ -82,13 +83,13 @@ declare const _default: import("vue").DefineComponent<{
82
83
  onSelectActivity?: ((activityId: string | null) => any) | undefined;
83
84
  onArchiveActivity?: ((activityId: string) => any) | undefined;
84
85
  onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
85
- "onUpdate:activity"?: ((payload: UpdateFeedActivityPayload) => any) | undefined;
86
+ "onUpdate:activity"?: ((payload: UpdateActivityInput) => any) | undefined;
86
87
  onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
87
88
  onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
88
89
  onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
89
90
  onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
90
91
  "onChange:activities"?: ((payload: ChangeFeedActivitiesPayload) => any) | undefined;
91
- onAddActivity?: ((payload: AddFeedActivityPayload) => any) | undefined;
92
+ onAddActivity?: ((payload: Partial<AddActivityInput>) => any) | undefined;
92
93
  "onUpdate:filter"?: ((payload: UpdateFeedFilterPayload) => any) | undefined;
93
94
  "onUpdate:searchText"?: ((value: string) => any) | undefined;
94
95
  "onClear:searchText"?: ((e: Event) => any) | undefined;
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.5",
7
+ "version": "0.7.7",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],