MCPcopy Create free account
hub / github.com/decaporg/decap-cms / deleteNote

Method deleteNote

packages/decap-cms-core/src/backend.ts:795–801  ·  view source on GitHub ↗
(collection: string, slug: string, noteId: string)

Source from the content-addressed store, hash-verified

793 }
794
795 async deleteNote(collection: string, slug: string, noteId: string): Promise<void> {
796 if (typeof this.implementation.deleteNote === 'function') {
797 return this.implementation.deleteNote(collection, slug, noteId);
798 }
799
800 throw new Error(`Backend '${this.backendName}' does not support deleting notes`);
801 }
802
803 async toggleNoteResolution(collection: string, slug: string, noteId: string): Promise<Note> {
804 if (typeof this.implementation.toggleNoteResolution === 'function') {

Callers 1

deleteNotePersistFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected