@aappddeevv/dynamics-client-ui
Version:
## What is it? A library to help you create great dynamics applications.
13 lines (12 loc) • 535 B
TypeScript
/**
* Utilities for working the data model.
*/
import * as Model from "./DataModel";
export * from "./time";
export declare const formattedValuePostfix = "@OData.Community.Display.V1.FormattedValue";
/** Convert an attribute name to one with a OData formatted value. */
export declare function toFVName(name: string): string;
/**
* Copies object and adds DateStr attributse if corresponding Model.Audit attributes exist.
*/
export declare function enhanceAudit<T extends Model.Audit>(audit: T, format?: string): T & Model.DateStr;