fix point consume type
This commit is contained in:
+2
-2
@@ -4,9 +4,9 @@ import type { Customer } from "@/types/Customer";
|
||||
export type PointRuleStatus = "DRAFT" | "ACTIVE" | "INACTIVE" | "DELETED";
|
||||
export type PointRuleTriggerType = "EVERY_TIME" | "FIRST_TIME" | "AFTER_COUNT_EVERY_TIME" | "SOURCE_VALUE" | "CUSTOMER_EVENT_VALUE_TIER";
|
||||
export type PointRuleMode = "FIXED" | "SOURCE_VALUE" | "TIER";
|
||||
export type PointLedgerChangeType = "EARN" | "REVOKE" | "ADJUST";
|
||||
export type PointLedgerChangeType = "EARN" | "CONSUME" | "REVOKE" | "ADJUST";
|
||||
export type PointLedgerDirection = "INCREASE" | "DECREASE";
|
||||
export type PointAction = "EARN" | "CONSUME";
|
||||
export type PointAction = Extract<PointLedgerChangeType, "EARN" | "CONSUME">;
|
||||
|
||||
export type PointRuleCondition = {
|
||||
min?: number;
|
||||
|
||||
Reference in New Issue
Block a user