import { IBillingReimbursementExpenseEntity } from "../billing_reimbursement_expense.entity.interface"; import { IEntityAuditColumn } from "../entity-audit-columns.interface"; import { IFieldMinMaxConstraint } from "./utils"; /** * excluded, and why: * - "changedStatus", "impact" enums, they carry no min/max * - "id", keyof IEntityAuditColumn generated columns * - "expenseIncurredDate" a datecode held as varchar(32); flagged for an int migration * rather than bounded against a column that is the wrong type */ export type IBillingReimbursementExpenseFieldLengthConstraintsExclude = "id" | "changedStatus" | "impact" | "expenseIncurredDate" | 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 IBillingReimbursementExpenseFieldMinMaxConstraints = { [K in keyof Omit]-?: IFieldMinMaxConstraint; }; export declare const billingReimbursementExpenseFieldMinMaxConstraints: IBillingReimbursementExpenseFieldMinMaxConstraints;