chore: change the quota sync to the queue

This commit is contained in:
mahyargdz
2025-07-15 15:52:01 +03:30
parent 9e0923c675
commit c7c18ebd4c
12 changed files with 300 additions and 87 deletions
@@ -0,0 +1,16 @@
export interface ISyncUserQuotaJob {
userId: string;
businessId: string;
wildduckUserId: string;
}
export interface ISyncBusinessQuotaJob {
businessId: string;
businessName: string;
}
export type ISyncAllUsersQuotaJob = Record<string, never>;
export type ISyncAllBusinessesQuotaJob = Record<string, never>;
export type ISyncComprehensiveQuotaJob = Record<string, never>;