UNPKG

isa-auth-core

Version:
5 lines (4 loc) 258 B
export type StoreErrorType = 'require' | 'wrong'; export declare function storeError(type: StoreErrorType, id: string): void; export type AuthErrorType = 'unauthorized' | 'forbidden'; export declare function authError(type: AuthErrorType, id: string): void;