Files
crawlab/frontend/crawlab-ui/typings/utils/auth.d.ts

5 lines
234 B
Go

export declare const getToken: () => string | null;
export declare const setToken: (token: string) => void;
export declare const isAllowedAction: (target: string, action: string) => boolean;
export declare const isPro: () => boolean;