@rolexjs/core 0.4.1 → 0.5.0
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.
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -180,6 +180,12 @@ interface Platform {
|
|
|
180
180
|
plan: Plan | null;
|
|
181
181
|
tasks: Task[];
|
|
182
182
|
}) | null;
|
|
183
|
+
/** List all active (uncompleted) goals for a role */
|
|
184
|
+
allActiveGoals(roleId: string): Goal[];
|
|
185
|
+
/** Get the currently focused goal name for a role */
|
|
186
|
+
getFocusedGoal(roleId: string): string | null;
|
|
187
|
+
/** Set the focused goal for a role by name */
|
|
188
|
+
setFocusedGoal(roleId: string, name: string): void;
|
|
183
189
|
/** Create a new goal from Gherkin source */
|
|
184
190
|
createGoal(roleId: string, name: string, source: string, testable?: boolean): Goal;
|
|
185
191
|
/** Create a plan for the current active goal */
|