mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
13 lines
273 B
TypeScript
13 lines
273 B
TypeScript
|
|
import attributes from "../../../services/attributes";
|
||
|
|
|
||
|
|
export default class BoardApi {
|
||
|
|
|
||
|
|
constructor(public columns: string[]) {
|
||
|
|
}
|
||
|
|
|
||
|
|
async changeColumn(noteId: string, newColumn: string) {
|
||
|
|
await attributes.setLabel(noteId, "status", newColumn);
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|