@26lights/orcha 0.42.103 → 0.42.104

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,8 +1,8 @@
1
- import { type Activity, type ActivityFeedStatus, type ActivityStatus, type ChangeFeedActivitiesPayload, type Id, type StartTimerPayload, type UpdateActivityPayload, User } from '../types';
1
+ import { type Activity, type ActivityDevStatus, 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: (typeof __VLS_setup)["props"] & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<typeof __VLS_setup, "attrs" | "emit" | "slots">, __VLS_setup?: {
3
3
  props: {
4
4
  list: Activity[];
5
- status: ActivityStatus;
5
+ status: ActivityStatus | ActivityDevStatus;
6
6
  users: User[];
7
7
  userId?: string;
8
8
  title?: string;
@@ -13,6 +13,8 @@ declare const _default: <T extends ActivityFeedStatus>(__VLS_props: (typeof __VL
13
13
  isEditable: boolean | "only-own";
14
14
  tagType?: "project" | "milestone";
15
15
  showHeaderAdd?: boolean;
16
+ /** Whether this is in dev mode - determines if statusId or statusDevId is updated */
17
+ isDevMode?: boolean;
16
18
  };
17
19
  expose(exposed: {}): void;
18
20
  attrs: any;
@@ -8,6 +8,7 @@ export declare const getTemplateRoutes: (rootPath: string, baseRoute?: Partial<R
8
8
  export declare const projectOverviewRoutes: {
9
9
  project: string;
10
10
  feed: string;
11
+ dev: string;
11
12
  mapping: string;
12
13
  milestone: string;
13
14
  activity: string;
@@ -85,7 +85,8 @@ export interface AddActivityFeedPayload {
85
85
  statusId: string;
86
86
  assigneeId?: Id;
87
87
  projectId?: Id;
88
- typeId?: Id;
88
+ type?: "standard" | "dev";
89
+ statusDevId?: Id;
89
90
  }
90
91
  export interface ActivityFeed<K extends ActivityFeedStatus = ActivityFeedStatus> extends ActivityBase {
91
92
  project: {
@@ -302,8 +303,8 @@ export interface UpdateActivityPayload {
302
303
  type?: "standard" | "dev";
303
304
  rank?: string;
304
305
  statusId?: string;
306
+ statusDevId?: string;
305
307
  deadline?: string | null;
306
- typeId?: Id;
307
308
  assigneeId?: Id | null;
308
309
  projectId?: Id;
309
310
  milestoneId?: Id;
@@ -390,7 +391,6 @@ export type Image = {
390
391
  };
391
392
  export declare const feedFilterTypes: {
392
393
  readonly project: "projectId";
393
- readonly type: "typeId";
394
394
  readonly assignee: "assigneeId";
395
395
  };
396
396
  export type FeedFilterTypeKeys = keyof typeof feedFilterTypes;
@@ -1,5 +1,6 @@
1
1
  import type { Attachment, TimeTracking } from '../types';
2
2
  import { type Activity, type ActivityDevStatus, type ActivityStatus, type ActivityType, type AddActivityFeedPayload, type AddCommentPayload, type AddFilesPayload, type AddSubtaskPayload, type ChangeFeedActivitiesPayload, type FeedFilters, type Id, type Project, type RemoveCommentPayload, type RemoveFilePayload, type StartTimerPayload, type Subtask, type UpdateActivityPayload, type UpdateCommentPayload, type UpdateSubtaskFieldPayload, type User } from '../types';
3
+ export type FeedMode = 'standard' | 'dev';
3
4
  declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
5
  filters: {
5
6
  type: import("vue").PropType<FeedFilters>;
@@ -86,6 +87,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
86
87
  type: import("vue").PropType<boolean>;
87
88
  required: true;
88
89
  };
90
+ feedMode: {
91
+ type: import("vue").PropType<FeedMode>;
92
+ default: string;
93
+ };
89
94
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
90
95
  "change:activities": (payload: ChangeFeedActivitiesPayload) => void;
91
96
  addActivity: (payload: AddActivityFeedPayload) => void;
@@ -201,6 +206,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
201
206
  type: import("vue").PropType<boolean>;
202
207
  required: true;
203
208
  };
209
+ feedMode: {
210
+ type: import("vue").PropType<FeedMode>;
211
+ default: string;
212
+ };
204
213
  }>> & Readonly<{
205
214
  onStartTimer?: ((payload: StartTimerPayload) => any) | undefined;
206
215
  onSelectActivity?: ((activityId: string | null, activitySlug: string | null) => any) | undefined;
@@ -243,6 +252,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
243
252
  initialActivityId: Id;
244
253
  initialActivitySlug: Id;
245
254
  searchText: string;
255
+ feedMode: FeedMode;
246
256
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
247
257
  declare function __VLS_template(): {
248
258
  activityDetailsBody(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.42.103",
7
+ "version": "0.42.104",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],