@26lights/orcha 0.2.7 → 0.2.9

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.
@@ -142,6 +142,25 @@ export interface AddItemPayload {
142
142
  templateId: Id;
143
143
  phaseId?: Id;
144
144
  milestoneId?: Id;
145
+ item: AddPhasePayload | AddMilestonePayload | AddActivityPayload;
146
+ }
147
+ export interface AddPhasePayload {
148
+ name: string;
149
+ rank: string;
150
+ templateId: string;
151
+ }
152
+ export interface AddMilestonePayload {
153
+ name: string;
154
+ rank: string;
155
+ phaseId: string;
156
+ }
157
+ export interface UpdateMilestonePayload {
158
+ id: Id;
159
+ order: number;
160
+ phaseId: Id;
161
+ name?: string;
162
+ activities?: Activity[];
163
+ rules?: Rule[];
145
164
  }
146
165
  export interface UpdateItemPayload {
147
166
  subItemType: TemplateSubItemType;
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.2.7",
7
+ "version": "0.2.9",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],