import { IBillingParticularLineItemEntity } from "../billing_particular_line_item.entity.interface"; import { IEntityAuditColumn } from "../entity-audit-columns.interface"; import { IFieldMinMaxConstraint } from "./utils"; /** * excluded, and why: * - "source", "changedStatus" enums, they carry no min/max * - "id", keyof IEntityAuditColumn generated columns */ export type IBillingParticularLineItemFieldLengthConstraintsExclude = "id" | "source" | "changedStatus" | 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 IBillingParticularLineItemFieldMinMaxConstraints = { [K in keyof Omit]-?: IFieldMinMaxConstraint; }; export declare const billingParticularLineItemFieldMinMaxConstraints: IBillingParticularLineItemFieldMinMaxConstraints;