Repository URL to install this package:
|
Version:
0.1.0-sandbox.5 ▾
|
import Model from '../Model/Model';
export declare const TimeStampedModelMixin: (Base: typeof Model) => {
new (obj?: Record<string, any> | undefined): {
_getFields(): {
created: {
name: string;
verboseName: string;
};
modified: {
name: string;
verboseName: string;
};
id: {
name: string;
verboseName: string;
};
};
_parseDatetime(datetimeString: string): Date;
_formatDatetime(datetime: Date): string;
readonly createdDate: Date;
readonly createdDisplay: string;
readonly modifiedDate: Date;
readonly modifiedDisplay: string;
obj?: import("..").APIObject | undefined;
values?: Record<string, any> | undefined;
renderCreateFrame(): null;
renderListFrame(): null;
renderDetailFrame(): null;
renderEditFrame(): null;
fields: Record<string, import("..").ModelFieldDefinition>;
routing?: import("..").ModelRoutingInterface | undefined;
api?: import("..").ModelBackendAPIInterface | undefined;
_getRouting(): import("..").ModelRoutingInterface | undefined;
_getApiConfig(): import("..").ModelAPIConfig | undefined;
_setupApi(): import("..").ModelBackendAPIInterface | undefined;
};
};