resolvo-cms
Version:
Headless CMS for Resolvo websites with real-time content management
8 lines • 586 B
TypeScript
import { CMSField, FieldType } from '../types';
export declare function serializeContent(data: Record<string, any>, fields: CMSField[]): Record<string, any>;
export declare function deserializeContent(data: Record<string, any>, fields: CMSField[]): Record<string, any>;
export declare function formatFieldValue(value: any, type: FieldType): string;
export declare function parseFieldValue(value: string, type: FieldType): any;
export declare function generateFieldId(): string;
export declare function sanitizeFieldName(name: string): string;
//# sourceMappingURL=serialization.d.ts.map