chore: build
Frontend Admin - EAS Build / build (push) Successful in 1h21m50s
Frontend Client - EAS Build / build (push) Successful in 1h17m38s

This commit is contained in:
Xor290
2026-08-30 15:23:59 +02:00
parent a35031b2a1
commit 6fca16a58c
4 changed files with 146 additions and 61 deletions
+7 -2
View File
@@ -1107,12 +1107,17 @@ export interface PointsTier {
points: number;
}
export interface RewardProductQuantity {
product_id: number;
quantity: number; // quantité individuelle de ce produit (palier de prix catalogue, ex: 1g)
}
export interface RewardCategoryConfig {
category: string;
type: "free_product" | "half_price_product";
all_products: boolean;
product_ids: number[];
quantity: number; // quantité offerte / à -50% (palier de prix catalogue, ex: 1g)
quantity: number; // quantité uniforme si all_products = true
products: RewardProductQuantity[]; // produits + quantité individuelle si all_products = false
}
export interface PointsReward {