clubhouse-lib
Advanced tools
Comparing version 0.6.1 to 0.7.0
@@ -411,3 +411,3 @@ 'use strict'; | ||
key: 'createIteration', | ||
value: function createIteration(storyID, params) { | ||
value: function createIteration(params) { | ||
return this.createResource('iterations', params); | ||
@@ -420,3 +420,3 @@ } | ||
key: 'getIteration', | ||
value: function getIteration(storyID, iterationID) { | ||
value: function getIteration(iterationID) { | ||
return this.getResource('iterations/' + iterationID); | ||
@@ -429,3 +429,3 @@ } | ||
key: 'updateIteration', | ||
value: function updateIteration(storyID, iterationID, params) { | ||
value: function updateIteration(iterationID, params) { | ||
return this.updateResource('iterations/' + iterationID, params); | ||
@@ -438,3 +438,3 @@ } | ||
key: 'deleteIteration', | ||
value: function deleteIteration(storyID, iterationID) { | ||
value: function deleteIteration(iterationID) { | ||
return this.deleteResource('iterations/' + iterationID); | ||
@@ -441,0 +441,0 @@ } |
{ | ||
"name": "clubhouse-lib", | ||
"version": "0.6.1", | ||
"version": "0.7.0", | ||
"description": "A Promise based library to the Clubhouse REST API", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -45,5 +45,5 @@ export default class Client { | ||
listIterations(): Promise<Array<Iteration>> | ||
createIteration(storyID: ID, params: IterationChange): Promise<Iteration> | ||
getIteration(storyID: ID, iterationID: ID): Promise<Iteration> | ||
deleteIteration(storyID: ID, iterationID: ID): Promise<{}> | ||
createIteration(params: IterationChange): Promise<Iteration> | ||
getIteration(iterationID: ID): Promise<Iteration> | ||
deleteIteration(iterationID: ID): Promise<{}> | ||
} | ||
@@ -284,2 +284,3 @@ | ||
epic_id: ID; | ||
iteration_id: ID; | ||
tasks_id: Array<ID>; | ||
@@ -304,2 +305,3 @@ app_url: string; | ||
epic_id?: ID; | ||
iteration_id?: ID; | ||
story_type: StoryType; | ||
@@ -306,0 +308,0 @@ estimate?: number; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
877
48219