@26lights/orcha 0.41.121 → 0.41.122

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 Subtask, type UpdateActivityPayload, type User } from '../types';
1
+ import { type StartTimerPayload, type Subtask, type UpdateActivityPayload, type User } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  id: {
4
4
  type: import("vue").PropType<string>;
@@ -62,7 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
62
62
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
63
63
  removeAssignee: (assigneeId: string) => void;
64
64
  updateActivity: (payload: UpdateActivityPayload) => void;
65
- startTimer: (name: string, project: string | undefined, projectId: string | undefined, slug: string | undefined) => void;
65
+ startTimer: (payload: StartTimerPayload) => void;
66
66
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
67
67
  id: {
68
68
  type: import("vue").PropType<string>;
@@ -126,7 +126,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
126
126
  }>> & {
127
127
  onRemoveAssignee?: ((assigneeId: string) => any) | undefined;
128
128
  onUpdateActivity?: ((payload: UpdateActivityPayload) => any) | undefined;
129
- onStartTimer?: ((name: string, project: string | undefined, projectId: string | undefined, slug: string | undefined) => any) | undefined;
129
+ onStartTimer?: ((payload: StartTimerPayload) => any) | undefined;
130
130
  }, {}, {}>, {
131
131
  secondary?(_: {}): any;
132
132
  }>;
@@ -1,4 +1,4 @@
1
- import { type Activity, type ActivityFeedStatus, type ActivityStatus, type ChangeFeedActivitiesPayload, type Id, type UpdateActivityPayload, User } from '../types';
1
+ import { type Activity, type ActivityFeedStatus, type ActivityStatus, type ChangeFeedActivitiesPayload, type Id, type StartTimerPayload, type UpdateActivityPayload, User } from '../types';
2
2
  declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
3
3
  list: Activity[];
4
4
  status: ActivityStatus;
@@ -44,7 +44,7 @@ declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
44
44
  id: Id;
45
45
  }];
46
46
  updateActivity: [input: UpdateActivityPayload];
47
- startTimer: [name: string, project: string | undefined, projectId: string | undefined, slug: string | undefined];
47
+ startTimer: [payload: StartTimerPayload];
48
48
  };
49
49
  }, "slots" | "attrs" | "emit"> | undefined, __VLS_setup?: {
50
50
  props: {
@@ -79,7 +79,7 @@ declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
79
79
  id: Id;
80
80
  }];
81
81
  updateActivity: [input: UpdateActivityPayload];
82
- startTimer: [name: string, project: string | undefined, projectId: string | undefined, slug: string | undefined];
82
+ startTimer: [payload: StartTimerPayload];
83
83
  };
84
84
  }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
85
85
  [key: string]: any;
@@ -117,7 +117,7 @@ declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
117
117
  id: Id;
118
118
  }];
119
119
  updateActivity: [input: UpdateActivityPayload];
120
- startTimer: [name: string, project: string | undefined, projectId: string | undefined, slug: string | undefined];
120
+ startTimer: [payload: StartTimerPayload];
121
121
  };
122
122
  } | undefined;
123
123
  };
@@ -273,6 +273,13 @@ export interface AddSubtaskPayload {
273
273
  activityId: Id;
274
274
  name: string;
275
275
  }
276
+ export interface StartTimerPayload {
277
+ activityId: Id;
278
+ activityName: string;
279
+ project?: string;
280
+ projectId?: string;
281
+ activitySlug?: string;
282
+ }
276
283
  export interface UpdateActivityPayload {
277
284
  id: Id;
278
285
  name?: string;
@@ -1,4 +1,4 @@
1
- import { type Activity, type ActivityStatus, type ActivityType, type AddActivityFeedPayload, type AddCommentPayload, type AddFilesPayload, type AddSubtaskPayload, type ChangeFeedActivitiesPayload, type FeedFilters, type Project, type RemoveCommentPayload, type RemoveFilePayload, type Subtask, type UpdateActivityPayload, type UpdateCommentPayload, type UpdateSubtaskFieldPayload, type User } from '../types';
1
+ import { type Activity, type ActivityStatus, type ActivityType, type AddActivityFeedPayload, type AddCommentPayload, type AddFilesPayload, type AddSubtaskPayload, type ChangeFeedActivitiesPayload, type FeedFilters, type Project, type RemoveCommentPayload, type RemoveFilePayload, type StartTimerPayload, type Subtask, type UpdateActivityPayload, type UpdateCommentPayload, type UpdateSubtaskFieldPayload, type User } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  filters: {
4
4
  type: import("vue").PropType<FeedFilters>;
@@ -95,7 +95,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
95
95
  updateComment: (payload: UpdateCommentPayload) => void;
96
96
  removeComment: (payload: RemoveCommentPayload) => void;
97
97
  toast: (message: string, type: "success" | "error") => void;
98
- startTimer: (name: string, project: string | undefined, projectId: string | undefined, slug: string | undefined) => void;
98
+ startTimer: (payload: StartTimerPayload) => void;
99
99
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
100
100
  filters: {
101
101
  type: import("vue").PropType<FeedFilters>;
@@ -165,7 +165,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
165
165
  required: true;
166
166
  };
167
167
  }>> & {
168
- onStartTimer?: ((name: string, project: string | undefined, projectId: string | undefined, slug: string | undefined) => any) | undefined;
168
+ onStartTimer?: ((payload: StartTimerPayload) => any) | undefined;
169
169
  onSelectActivity?: ((activityId: string | null, activitySlug: string | null) => any) | undefined;
170
170
  onArchiveActivity?: ((payload: {
171
171
  id: string;
@@ -1,4 +1,4 @@
1
- import { type ActivityStatus, type AddActivityPayload, type Phase, type UpdateActivityPayload, type UpdateMilestonePayload, type User } from '../types';
1
+ import { type ActivityStatus, type AddActivityPayload, type Phase, type StartTimerPayload, type UpdateActivityPayload, type UpdateMilestonePayload, type User } from '../types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  milestoneId: {
4
4
  type: import("vue").PropType<string>;
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
37
37
  unarchiveActivity: (payload: {
38
38
  id: string;
39
39
  }) => void;
40
- startTimer: (name: string, project: string | undefined, projectId: string | undefined, slug: string | undefined) => void;
40
+ startTimer: (payload: StartTimerPayload) => void;
41
41
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
42
  milestoneId: {
43
43
  type: import("vue").PropType<string>;
@@ -68,7 +68,7 @@ declare const _default: import("vue").DefineComponent<{
68
68
  }>> & {
69
69
  onClose?: ((e: Event) => any) | undefined;
70
70
  onUpdateActivity?: ((args_0: UpdateActivityPayload) => any) | undefined;
71
- onStartTimer?: ((name: string, project: string | undefined, projectId: string | undefined, slug: string | undefined) => any) | undefined;
71
+ onStartTimer?: ((payload: StartTimerPayload) => any) | undefined;
72
72
  onArchiveActivity?: ((payload: {
73
73
  id: string;
74
74
  }) => 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.41.121",
7
+ "version": "0.41.122",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],