UNPKG

@becomes/cms

Version:

Simple CMS for building APIs.

15 lines (14 loc) 732 B
import { Group } from './models/group.modal'; import { Prop } from '../prop/interfaces/prop.interface'; import { EntryService } from '../entry'; import { Logger } from 'purple-cheetah'; import { PropChanges } from '../prop/interfaces/prop-changes.interface'; export declare class GroupUtil { static updateGroupPointer(props: Prop[], group: Group): { changes: boolean; props: Prop[]; }; static nameEncode(name: string): string; static updateEntriesWithNewGroupData(service: EntryService, logger: Logger, changes: PropChanges[], groupId: string): Promise<void>; static addNewPropsToWidgetInEntries(entryService: EntryService, logger: Logger, change: PropChanges, groupId: string): Promise<void>; }