Skip to content

Commit

Permalink
feat: add new actions to refresh watching and tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
meenahoda committed Jun 19, 2019
1 parent 58e8a7d commit 98325c2
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions lib/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,43 @@
},
{
"$ref": "#/definitions/Action.RefreshRemit"
},
{
"$ref": "#/definitions/Action.RefreshTasks"
},
{
"$ref": "#/definitions/Action.RefreshWatching"
}
]
},
"Action.RefreshTasks": {
"additionalProperties": true,
"description": "When invoked this will refresh the users tasks.",
"properties": {
"type": {
"type": "string",
"description": "Must be `\"Action.RefreshTasks\"`"
}
},
"required": [
"type"
],
"type": "object"
},
"Action.RefreshWatching": {
"additionalProperties": true,
"description": "When invoked this will refresh the users watched cards.",
"properties": {
"type": {
"type": "string",
"description": "Must be `\"Action.RefreshWatching\"`"
}
},
"required": [
"type"
],
"type": "object"
},
"Action.RefreshRemit": {
"additionalProperties": true,
"description": "When invoked this will refresh the app's remit.",
Expand Down
2 changes: 1 addition & 1 deletion test/simple-manifest-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ describe('Run some manifestation tests', () => {
expect(requiredElements.includes(element.type)).to.equal(true)
requiredElements.splice(requiredElements.indexOf(element.type), 1)
})
expect(requiredElements.length).to.equal(35)
expect(requiredElements.length).to.equal(37)
})
})

0 comments on commit 98325c2

Please sign in to comment.