chore: add point pool

This commit is contained in:
2026-03-14 00:23:02 +01:00
parent f7be7ea5aa
commit 0523ed6356
10 changed files with 441 additions and 399 deletions
+8 -7
View File
@@ -704,6 +704,13 @@ export interface PointsTier {
points: number;
}
export interface PointsPool {
key: string;
name: string;
categories: string[];
tiers: PointsTier[];
}
export interface PostalZone {
name: string;
min_amount: number;
@@ -744,13 +751,7 @@ export interface AppSettings {
penalties_enabled: boolean;
show_amende_score: boolean;
points_enabled: boolean;
points_categories_weed: string[];
points_categories_zipette: string[];
points_categories_total: string[];
points_separated: boolean;
points_weed_tiers: PointsTier[];
points_zipette_tiers: PointsTier[];
points_total_tiers: PointsTier[];
points_pools: PointsPool[];
referral_enabled: boolean;
delivery_schedule: DeliverySchedule;
postal_zones: PostalZone[];