github-pages-deploy-action/lib/util.d.ts
2022-06-26 13:02:18 +00:00

11 lines
736 B
TypeScript

import { ActionInterface } from './constants';
export declare const isNullOrUndefined: (value: unknown) => value is "" | null | undefined;
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;