UNPKG

@becomes/cms

Version:

Simple CMS for building APIs.

9 lines (8 loc) 532 B
import { EntryService } from '../entry'; import { Logger } from 'purple-cheetah'; import { PropChanges } from '../prop/interfaces/prop-changes.interface'; export declare class WidgetUtil { static nameEncode(name: string): string; static updateEntriesWithNewWidgetData(service: EntryService, logger: Logger, oldName: string, newName?: string, changes?: PropChanges[]): Promise<void>; static addNewPropsToWidgetInEntries(entryService: EntryService, logger: Logger, change: PropChanges, widgetId: string): Promise<void>; }