UNPKG

@maxlkatze/cms

Version:

A git based Nuxt Module CMS - zero effort, zero cost

10 lines (9 loc) 598 B
import type { ContentValue } from '../../../types/ContentTypes.js'; export declare const useEditContentStorage: () => { loadContent: () => Promise<void>; getChanges: (runtimeContent: Record<string, ContentValue>, editContent: Record<string, ContentValue>) => Record<string, ContentValue>; updateContentByKey: (key: string, value: ContentValue) => Promise<void>; revertChangeByKey: (key: string) => Promise<void>; editContent: import("vue").Ref<Record<string, ContentValue>, Record<string, ContentValue>>; changes: import("vue").ComputedRef<Record<string, ContentValue>>; };