import IUser from './User'; export interface IEditorTrackerProps { /** * Date of data creation */ createdAt?: Date; /** * Identity of the person that created the data */ createdBy?: IUser | string; /** * Date of data updates */ updatedAt?: Date; /** * Identity of the person that updated the data */ updatedBy?: IUser | string; } export interface ISoftDeleteProps { deleted?: boolean; /** * Date of data deletes */ deletedAt?: Date; /** * Identity of the person that deleted the data */ deletedBy?: IUser | string; } export interface IOrganizationProps { organization?: string; } export default interface IBase extends IEditorTrackerProps, ISoftDeleteProps, IOrganizationProps { /** * UUID * @pattern ^[0-9a-f]{32}$ */ _id?: string; /** * @TJS-type object */ props?: any; /** * @TJS-type object */ extendedProps?: any; }