@26lights/orcha 0.41.108 → 0.41.110

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,10 @@
1
1
  import { type ActivityFeed, type Milestone, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User, type AddFilesPayload, type RemoveFilePayload, type UpdateActivityPayload, type Activity, type Subtask, type ActivityStatus, type AddCommentPayload, type RemoveCommentPayload, type UpdateCommentPayload, type ActivityType, type Project } from '../types/index';
2
+ interface ActiveTimer {
3
+ activityId: string;
4
+ startedAt: string | Date;
5
+ elapsedBeforeStartMs: number;
6
+ status: 'running' | 'paused';
7
+ }
2
8
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
9
  isEditable: {
4
10
  type: import("vue").PropType<boolean | "only-own">;
@@ -48,6 +54,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
48
54
  type: import("vue").PropType<Project[]>;
49
55
  default: () => never[];
50
56
  };
57
+ activeTimer: {
58
+ type: import("vue").PropType<ActiveTimer | null>;
59
+ default: null;
60
+ };
51
61
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
52
62
  'update:activity': (payload: UpdateActivityPayload) => void;
53
63
  close: (args_0: void) => void;
@@ -62,6 +72,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
62
72
  updateComment: (payload: UpdateCommentPayload) => void;
63
73
  removeComment: (payload: RemoveCommentPayload) => void;
64
74
  toast: (messageKey: string, type: "success" | "error") => void;
75
+ 'start-timer': (activity: Activity) => void;
76
+ 'pause-timer': (activity: Activity) => void;
77
+ 'stop-timer': (activity: Activity) => void;
65
78
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
66
79
  isEditable: {
67
80
  type: import("vue").PropType<boolean | "only-own">;
@@ -111,6 +124,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
111
124
  type: import("vue").PropType<Project[]>;
112
125
  default: () => never[];
113
126
  };
127
+ activeTimer: {
128
+ type: import("vue").PropType<ActiveTimer | null>;
129
+ default: null;
130
+ };
114
131
  }>> & {
115
132
  onClose?: ((args_0?: void | undefined) => any) | undefined;
116
133
  onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
@@ -125,8 +142,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
125
142
  onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
126
143
  onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
127
144
  onToast?: ((messageKey: string, type: "success" | "error") => any) | undefined;
145
+ "onStart-timer"?: ((activity: Activity) => any) | undefined;
146
+ "onPause-timer"?: ((activity: Activity) => any) | undefined;
147
+ "onStop-timer"?: ((activity: Activity) => any) | undefined;
128
148
  }, {
129
149
  projects: Project[];
150
+ activeTimer: ActiveTimer | null;
130
151
  }, {}>, {
131
152
  header(): any;
132
153
  default(props: {
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.108",
7
+ "version": "0.41.110",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],