@26lights/orcha 0.2.7 → 0.2.8

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,23 @@ 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
+ }
151
+ export interface AddMilestonePayload {
152
+ name: string;
153
+ rank: string;
154
+ }
155
+ export interface UpdateMilestonePayload {
156
+ id: Id;
157
+ order: number;
158
+ phaseId: Id;
159
+ name?: string;
160
+ activities?: Activity[];
161
+ rules?: Rule[];
145
162
  }
146
163
  export interface UpdateItemPayload {
147
164
  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.8",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],