feat: enhance user limits

This commit is contained in:
gosangam
2026-06-23 14:21:59 +05:30
parent f92b41384e
commit 7b81bbc791
4 changed files with 27 additions and 11 deletions
+8
View File
@@ -49,6 +49,14 @@ export type User = {
* later — surfaced here for completeness, no UI edits them today. */
preferred_chanting_time: string | null;
peak_active_time: string | null;
/** Effective save limits in force for this user (plan default merged with
* any admin override). -1 means unlimited. Drives the "X / Y used" displays
* and the create-action gates. */
limits: {
bookmarks: number;
public_collections: number;
private_collections: number;
};
created_at: string;
updated_at: string;
};