support consume point
This commit is contained in:
@@ -6,6 +6,7 @@ export type PointRuleTriggerType = "EVERY_TIME" | "FIRST_TIME" | "AFTER_COUNT_EV
|
||||
export type PointRuleMode = "FIXED" | "SOURCE_VALUE" | "TIER";
|
||||
export type PointLedgerChangeType = "EARN" | "REVOKE" | "ADJUST";
|
||||
export type PointLedgerDirection = "INCREASE" | "DECREASE";
|
||||
export type PointAction = "EARN" | "CONSUME";
|
||||
|
||||
export type PointRuleCondition = {
|
||||
min?: number;
|
||||
@@ -32,6 +33,7 @@ export type PointRuleTier = {
|
||||
export type PointRuleTierForm = {
|
||||
key: number;
|
||||
maxText: string;
|
||||
pointAction: PointAction;
|
||||
pointValueText: string;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user