@cfxlabsinc/b2b-services
    Preparing search index...
    AdminProductLimitRule: Omit<
        SelectProductLimitRule,
        | "id"
        | "routeId"
        | "customerId"
        | "externalId"
        | "matcherHash"
        | "currentVersionId"
        | "deletedAt",
    > & Omit<
        SelectProductLimitRuleVersion,
        "id"
        | "ruleId"
        | "matcherHash"
        | "createdAt",
    > & {
        customerId: SelectCustomer["externalId"] | null;
        customerName: SelectCustomer["name"] | null;
        id: string;
        productId: ProductName;
        routeId: SelectProductRoute["externalId"];
        routeName: string;
        vendorId: Vendor;
    }

    Admin-tier view of a limit rule = identity columns + the columns of the rule's current version.

    Type Declaration

    • customerId: SelectCustomer["externalId"] | null
    • customerName: SelectCustomer["name"] | null
    • id: string
    • productId: ProductName
    • routeId: SelectProductRoute["externalId"]
    • routeName: string

      Composed route display name: ${product.name} · ${product_vendor.name} for the rule's route. Both columns are NOT NULL and the route join is INNER, so this is always present.

    • vendorId: Vendor