import { IEntityAuditColumn } from "../entity-audit-columns.interface"; import { IWorkFromHomeEntity } from "../work_from_home.entity.interface"; import { IFieldMinMaxConstraint } from "./utils"; export type IWorkFromHomeFieldLengthConstraintsExclude = "status" | "id" | keyof IEntityAuditColumn; /** * since some fields are optional, but we still need their * min & max length constraints, we need to make them required in this type * hence we are using -? to make all properties required in this type */ export type IWorkFromHomeFieldMinMaxConstraints = { [K in keyof Omit]-?: IFieldMinMaxConstraint; }; export declare const workFromHomeFieldMinMaxConstraints: IWorkFromHomeFieldMinMaxConstraints;