Auth Storage Adapter
Types
Types
AuthToStorage
type AuthToStorage = T & { id: string; createdAt: string; updatedAt: string; }
StorageToAuth
type StorageToAuth = { [P in Exclude<keyof T, "createdAt" | "updatedAt">]: T[P]; }
Auth Storage Adapter
type AuthToStorage = T & { id: string; createdAt: string; updatedAt: string; }
type StorageToAuth = { [P in Exclude<keyof T, "createdAt" | "updatedAt">]: T[P]; }