2021-02-08 12:58:32 +08:00
|
|
|
import { ActionInterface } from './constants';
|
2021-11-18 20:58:07 +08:00
|
|
|
export declare const isNullOrUndefined: (value: unknown, allowEmptyString?: boolean) => boolean;
|
2021-02-08 12:58:32 +08:00
|
|
|
export declare const generateTokenType: (action: ActionInterface) => string;
|
|
|
|
export declare const generateRepositoryPath: (action: ActionInterface) => string;
|
|
|
|
export declare const generateFolderPath: (action: ActionInterface) => string;
|
|
|
|
export declare const checkParameters: (action: ActionInterface) => void;
|
|
|
|
export declare const suppressSensitiveInformation: (str: string, action: ActionInterface) => string;
|
2021-11-18 20:58:07 +08:00
|
|
|
export declare const extractErrorMessage: (error: unknown) => string;
|
2021-03-04 22:04:23 +08:00
|
|
|
/** Strips the protocol from a provided URL. */
|
|
|
|
export declare const stripProtocolFromUrl: (url: string) => string;
|