feat: resolve all 22 items in Features and Bugs.txt and complete UI polish
This commit is contained in:
@@ -31,11 +31,13 @@ export interface StorageAdapter {
|
||||
listProjects(): Promise<ProjectMeta[]>;
|
||||
createProject(p: NewProject): Promise<Project>;
|
||||
getProject(id: string): Promise<Project>;
|
||||
deleteProject?(id: string): Promise<void>;
|
||||
|
||||
// books & chapters
|
||||
createBook(b: { projectId: string; title: string }): Promise<Book>;
|
||||
listBooks(projectId: string): Promise<Book[]>;
|
||||
listChapters(bookId: string): Promise<Chapter[]>;
|
||||
deleteChapter?(id: string): Promise<void>;
|
||||
|
||||
// content (debounced autosave)
|
||||
saveDocument(doc: DocumentRef): Promise<void>;
|
||||
|
||||
Reference in New Issue
Block a user