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

Method toggleNoteResolution

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

Source from the content-addressed store, hash-verified

828 }
829
830 async toggleNoteResolution(collection: string, slug: string, noteId: string): Promise<Note> {
831 if (typeof this.implementation.toggleNoteResolution === 'function') {
832 return this.implementation.toggleNoteResolution(collection, slug, noteId);
833 }
834
835 throw new Error(`Backend '${this.backendName}' does not support toggling note resolution`);
836 }
837
838 async startNotesPolling(
839 collection: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected