imdone-api
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -35,2 +35,7 @@ "use strict"; | ||
newCard(opts) { } | ||
addCardToFile(opts) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return null; | ||
}); | ||
} | ||
filterLists(filter, lists) { | ||
@@ -37,0 +42,0 @@ return null; |
{ | ||
"name": "imdone-api", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "Plugin API for imdone", | ||
@@ -5,0 +5,0 @@ "main": "./lib/plugin.js", |
@@ -53,2 +53,14 @@ export interface Task { | ||
} | ||
export interface AddCardToFileOpts { | ||
path: string; | ||
content: string; | ||
list?: string; | ||
tags?: Array<string>; | ||
contexts?: Array<string>; | ||
meta?: Array<string>; | ||
useCardTemplate?: boolean; | ||
} | ||
export interface AddCardToFileResponse { | ||
task: Task; | ||
} | ||
export interface Alert { | ||
@@ -69,2 +81,3 @@ message: string; | ||
newCard(opts: NewCardOpts): void; | ||
addCardToFile(opts: AddCardToFileOpts): Promise<AddCardToFileResponse>; | ||
filterLists(filter: string, lists: Array<List>): Array<List>; | ||
@@ -71,0 +84,0 @@ saveFile(content: string, path: string): void; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17617
510