github-pages-deploy-action/lib/util.d.ts
2022-04-27 10:39:49 +00:00

11 lines
713 B
TypeScript

import { ActionInterface } from './constants';
export declare const isNullOrUndefined: (value: unknown) => boolean;
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;
export declare const extractErrorMessage: (error: unknown) => string;
/** Strips the protocol from a provided URL. */
export declare const stripProtocolFromUrl: (url: string) => string;