/** * Shield Service Types * Authentication, authorization, and workspace management */ export interface User { id: string; email: string; name?: string; role?: string; avatar?: string; createdAt?: string; updatedAt?: string; } export interface AuthToken { accessToken: string; refreshToken?: string; expiresIn?: number; tokenType?: string; } export interface LoginResult { user: User; token: AuthToken; } export interface Organization { id: string; name: string; description?: string; icon?: string; members?: User[]; createdAt?: string; updatedAt?: string; } export interface Workspace { id: string; name: string; description?: string; organizationId: string; owner?: User; members?: User[]; createdAt?: string; updatedAt?: string; } export interface Permission { id: string; name: string; description?: string; resource: string; action: string; } export interface UseAuthOptions { onError?: (error: Error) => void; onSuccess?: (user: User) => void; } export interface UseAdminOptions { onError?: (error: Error) => void; } export interface UseOrganizationOptions { onError?: (error: Error) => void; } export interface UseWorkspaceOptions { onError?: (error: Error) => void; } export interface UsePermissionsOptions { onError?: (error: Error) => void; } //# sourceMappingURL=types.d.ts.map