Skip to content

BaseSource Class

Defined in: sources/base.source.ts:5

new BaseSource(config): BaseSource;

Defined in: sources/base.source.ts:8

ParameterType
configStatic

BaseSource

PropertyTypeDefined in
baseBranchstringsources/base.source.ts:6
checkout(branch): void;

Defined in: sources/base.source.ts:12

ParameterType
branchstring

void

commitFile(__namedParameters): void;

Defined in: sources/base.source.ts:40

ParameterType
__namedParameters{ message: string; path: string; }
__namedParameters.messagestring
__namedParameters.pathstring

void

abstract ensurePullRequest(__namedParameters): Promise<void>;

Defined in: sources/base.source.ts:55

Ensures a pull request exists Creates the pull request if it doesn’t exist or updates it if it does

ParameterType
__namedParameters{ branch: string; description: string; title: string; }
__namedParameters.branchstring
__namedParameters.descriptionstring
__namedParameters.titlestring

Promise<void>

push(branch): void;

Defined in: sources/base.source.ts:46

ParameterType
branchstring

void