alinea
Version:
[](https://npmjs.org/package/alinea) [](https://packagephobia.com/result?p=alinea)
16 lines (14 loc) • 314 B
JavaScript
import "../../chunks/chunk-U5RRZUYZ.js";
// src/cli/serve/MemoryDrafts.ts
var MemoryDrafts = class {
drafts = /* @__PURE__ */ new Map();
async getDraft(entryId) {
return this.drafts.get(entryId);
}
async storeDraft(draft) {
this.drafts.set(draft.entryId, draft);
}
};
export {
MemoryDrafts
};