UNPKG

konsum-db

Version:
20 lines (16 loc) 394 B
import { Base } from "./base.mjs"; import { secondsAsString } from "./util.mjs"; /** * Hints placed on a category at a specific time. */ export class Note extends Base { constructor(time, owner, options) { super(secondsAsString(time), owner, options); } get category() { return this.owner; } get keyPrefix() { return super.keyPrefix + this.category.name + "."; } }