Skip to content

NotesOps

@azrtydxb/server


Defined in: types.ts:180

deleteNote(notesDir, notePath, userId): Promise<void>

Defined in: types.ts:183

string

string

string

Promise<void>


readNote(notesDir, notePath): Promise<{ content: string; modifiedAt: Date; title: string; }>

Defined in: types.ts:181

string

string

Promise<{ content: string; modifiedAt: Date; title: string; }>


scanDirectory(dir, basePath?): Promise<object[]>

Defined in: types.ts:184

string

string

Promise<object[]>


writeNote(notesDir, notePath, content, userId): Promise<void>

Defined in: types.ts:182

string

string

string

string

Promise<void>