@26lights/orcha 0.38.20 → 0.38.22

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.
@@ -28,6 +28,9 @@ declare const _default: import("vue").DefineComponent<{
28
28
  archivePhase: (payload: {
29
29
  id: string;
30
30
  }) => void;
31
+ copyPhaseToTemplate: (payload: {
32
+ id: string;
33
+ }) => void;
31
34
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
35
  phase: {
33
36
  type: import("vue").PropType<Phase>;
@@ -54,6 +57,9 @@ declare const _default: import("vue").DefineComponent<{
54
57
  onArchivePhase?: ((payload: {
55
58
  id: string;
56
59
  }) => any) | undefined;
60
+ onCopyPhaseToTemplate?: ((payload: {
61
+ id: string;
62
+ }) => any) | undefined;
57
63
  onArchiveMilestone?: ((payload: {
58
64
  id: string;
59
65
  }) => any) | undefined;
@@ -29,6 +29,9 @@ declare const _default: import("vue").DefineComponent<{
29
29
  archivePhase: (payload: {
30
30
  id: string;
31
31
  }) => void;
32
+ copyPhaseToTemplate: (payload: {
33
+ id: string;
34
+ }) => void;
32
35
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
36
  phases: {
34
37
  type: import("vue").PropType<Phase[]>;
@@ -55,6 +58,9 @@ declare const _default: import("vue").DefineComponent<{
55
58
  onArchivePhase?: ((payload: {
56
59
  id: string;
57
60
  }) => any) | undefined;
61
+ onCopyPhaseToTemplate?: ((payload: {
62
+ id: string;
63
+ }) => any) | undefined;
58
64
  onArchiveMilestone?: ((payload: {
59
65
  id: string;
60
66
  }) => any) | undefined;
@@ -1,16 +1,17 @@
1
+ import { type Phase } from '../types';
1
2
  declare const _default: import("vue").DefineComponent<{
2
- projectId: {
3
- type: import("vue").PropType<string>;
3
+ phases: {
4
+ type: import("vue").PropType<Phase[]>;
4
5
  required: true;
5
6
  };
6
7
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- save: (templateName: string, projectId: string) => void;
8
+ save: (templateName: string, phaseIds: string[]) => void;
8
9
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
- projectId: {
10
- type: import("vue").PropType<string>;
10
+ phases: {
11
+ type: import("vue").PropType<Phase[]>;
11
12
  required: true;
12
13
  };
13
14
  }>> & {
14
- onSave?: ((templateName: string, projectId: string) => any) | undefined;
15
+ onSave?: ((templateName: string, phaseIds: string[]) => any) | undefined;
15
16
  }, {}, {}>;
16
17
  export default _default;
@@ -451,5 +451,5 @@ export type ApplyTemplatePayload = {
451
451
  export type SaveTemplatePayload = {
452
452
  templateName: string;
453
453
  rank: Id;
454
- projectId: Id;
454
+ phaseIds: Id[];
455
455
  };
@@ -66,6 +66,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
66
66
  archiveActivity: (payload: {
67
67
  id: string;
68
68
  }) => void;
69
+ copyPhaseToTemplate: (payload: {
70
+ id: string;
71
+ }) => void;
69
72
  unarchiveActivity: (payload: {
70
73
  id: string;
71
74
  }) => void;
@@ -158,6 +161,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
158
161
  onArchivePhase?: ((payload: {
159
162
  id: string;
160
163
  }) => any) | undefined;
164
+ onCopyPhaseToTemplate?: ((payload: {
165
+ id: string;
166
+ }) => any) | undefined;
161
167
  onArchiveMilestone?: ((payload: {
162
168
  id: string;
163
169
  }) => 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.38.20",
7
+ "version": "0.38.22",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],
@@ -27,7 +27,7 @@
27
27
  "vuedraggable": "~4.1.0"
28
28
  },
29
29
  "dependencies": {
30
- "@26lights/orcha": "^0.38.20",
30
+ "@26lights/orcha": "^0.38.22",
31
31
  "@floating-ui/dom": "^1.5.3",
32
32
  "@vueform/multiselect": "^2.6.6",
33
33
  "@vueuse/core": "^10.8.0",