mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 16:52:08 +01:00
feat: add repository pattern, service layer architecture, and scheduler management
- Implement repository pattern for data access layer - Add comprehensive service layer for business logic - Create scheduler management system with health monitoring - Add bounded buffer utility for memory management - Enhance security audit logging with retention policies
This commit is contained in:
@ -22,10 +22,10 @@ interface CSRFContextType {
|
||||
loading: boolean;
|
||||
error: string | null;
|
||||
refreshToken: () => Promise<void>;
|
||||
addTokenToFetch: (_options: RequestInit) => RequestInit;
|
||||
addTokenToFormData: (_formData: FormData) => FormData;
|
||||
addTokenToFetch: (options: RequestInit) => RequestInit;
|
||||
addTokenToFormData: (formData: FormData) => FormData;
|
||||
addTokenToObject: <T extends Record<string, unknown>>(
|
||||
_obj: T
|
||||
obj: T
|
||||
) => T & { csrfToken: string };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user