chore: fix
This commit is contained in:
@@ -663,10 +663,15 @@ export const deleteCategoryAdmin = async (
|
||||
|
||||
export interface AppSettings {
|
||||
penalties_enabled: boolean;
|
||||
show_amende_score: boolean;
|
||||
points_enabled: boolean;
|
||||
points_categories_weed: string[];
|
||||
points_categories_zipette: string[];
|
||||
points_separated: boolean;
|
||||
points_weed_threshold_price: number;
|
||||
points_weed_per_threshold: number;
|
||||
points_zipette_threshold_price: number;
|
||||
points_zipette_per_threshold: number;
|
||||
}
|
||||
|
||||
export const getSettings = async (): Promise<{ success: boolean; settings?: AppSettings; error?: string }> => {
|
||||
|
||||
Reference in New Issue
Block a user