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

Method toggleNoteResolution

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

Source from the content-addressed store, hash-verified

660 }
661
662 async toggleNoteResolution(collection: string, slug: string, noteId: string): Promise<Note> {
663 if (typeof this.implementation.toggleNoteResolution === 'function') {
664 return this.implementation.toggleNoteResolution(collection, slug, noteId);
665 }
666
667 throw new Error(`Backend '${this.backendName}' does not support toggling note resolution`);
668 }
669
670 async startNotesPolling(
671 collection: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected