@probot/octokit-plugin-config
Version:
Get/set persisted configuration using YAML/JSON files in repositories
22 lines (21 loc) • 553 B
TypeScript
type Options = {
owner: string;
path: string;
url: string;
extendsValue: string;
};
/**
* Computes parameters to retrieve the configuration file specified in _extends
*
* Base can either be the name of a repository in the same organization or
* a full slug "organization/repo".
*
* @param options
* @return The params needed to retrieve a configuration file
*/
export declare function extendsToGetContentParams({ owner, path, url, extendsValue, }: Options): {
owner: string;
repo: string;
path: string;
};
export {};