repository-provider 35.0.4 → 35.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +91 -55
- package/package.json +15 -10
- package/src/base-object.mjs +4 -1
- package/src/base-provider.mjs +5 -5
- package/src/branch.mjs +1 -1
- package/src/multi-group-provider.mjs +1 -1
- package/src/owned-object.mjs +6 -6
- package/src/pull-request.mjs +2 -2
- package/src/ref.mjs +1 -0
- package/src/repository-owner.mjs +5 -5
- package/src/repository.mjs +6 -6
- package/src/single-group-provider.mjs +1 -1
- package/types/application.d.mts +6 -0
- package/types/attribute-extras.d.mts +59 -0
- package/types/attributes.d.mts +99 -0
- package/types/base-object.d.mts +69 -0
- package/types/base-provider.d.mts +288 -0
- package/types/branch.d.mts +85 -0
- package/types/commit.d.mts +20 -0
- package/types/hook.d.mts +92 -0
- package/types/index.d.mts +23 -0
- package/types/issue.d.mts +10 -0
- package/types/milestone.d.mts +46 -0
- package/types/multi-group-provider.d.mts +51 -0
- package/types/named-object.d.mts +71 -0
- package/types/owned-object.d.mts +132 -0
- package/types/project.d.mts +6 -0
- package/types/pull-request.d.mts +233 -0
- package/types/ref.d.mts +113 -0
- package/types/repository-group.d.mts +59 -0
- package/types/repository-owner.d.mts +103 -0
- package/types/repository.d.mts +358 -0
- package/types/review.d.mts +6 -0
- package/types/single-group-provider.d.mts +57 -0
- package/types/tag.d.mts +6 -0
- package/types/util.d.mts +34 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} ContentEntry
|
|
3
|
+
* @property {string} name
|
|
4
|
+
*
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Abstract branch.
|
|
8
|
+
* @class Branch
|
|
9
|
+
* @see {@link Repository#_addBranch}
|
|
10
|
+
* @param {RepositoryOwner} owner
|
|
11
|
+
* @param {string} name
|
|
12
|
+
* @param {Object} options
|
|
13
|
+
*
|
|
14
|
+
* @property {Repository} repository
|
|
15
|
+
* @property {Provider} provider
|
|
16
|
+
* @property {string} name
|
|
17
|
+
*/
|
|
18
|
+
export class Branch extends Ref {
|
|
19
|
+
constructor(owner: any, name: any, options: any);
|
|
20
|
+
/**
|
|
21
|
+
* Delete the branch from the {@link Repository}.
|
|
22
|
+
* @see {@link Repository#deleteBranch}
|
|
23
|
+
* @return {Promise<any>}
|
|
24
|
+
*/
|
|
25
|
+
delete(): Promise<any>;
|
|
26
|
+
/**
|
|
27
|
+
* Commit entries.
|
|
28
|
+
* @param {string} message commit message
|
|
29
|
+
* @param {ContentEntry[]} updates content to be commited
|
|
30
|
+
* @param {Object} options
|
|
31
|
+
* @return {Promise<CommitResult>}
|
|
32
|
+
*/
|
|
33
|
+
commit(message: string, updates: ContentEntry[], options: any): Promise<CommitResult>;
|
|
34
|
+
/**
|
|
35
|
+
* Add commits into a pull request.
|
|
36
|
+
*
|
|
37
|
+
* @param {Commit|AsyncGenerator<Commit>} commits to be commited
|
|
38
|
+
* @param {Object} options
|
|
39
|
+
* @param {Branch|string} options.pullRequestBranch to commit into
|
|
40
|
+
* @param {boolean} [options.dry=false] do not create a branch and do not commit only create dummy PR
|
|
41
|
+
* @param {boolean} options.skipWithoutCommits do not create a PR if no commits are given
|
|
42
|
+
* @param {boolean} options.bodyFromCommitMessages generate body from commit messages
|
|
43
|
+
* @param {string} [options.body] body of the PR
|
|
44
|
+
* @return {Promise<PullRequest>}
|
|
45
|
+
*/
|
|
46
|
+
commitIntoPullRequest(commits: Commit | AsyncGenerator<Commit>, options: {
|
|
47
|
+
pullRequestBranch: Branch | string;
|
|
48
|
+
dry?: boolean;
|
|
49
|
+
skipWithoutCommits: boolean;
|
|
50
|
+
bodyFromCommitMessages: boolean;
|
|
51
|
+
body?: string;
|
|
52
|
+
}): Promise<PullRequest>;
|
|
53
|
+
/**
|
|
54
|
+
* Remove entries form the branch.
|
|
55
|
+
* @param {AsyncIterable<ContentEntry>} entries
|
|
56
|
+
*/
|
|
57
|
+
removeEntries(entries: AsyncIterable<ContentEntry>): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* Create a pull request.
|
|
60
|
+
* @param {Branch} toBranch
|
|
61
|
+
* @param {Object} [options]
|
|
62
|
+
* @return {Promise<PullRequest>}
|
|
63
|
+
*/
|
|
64
|
+
createPullRequest(toBranch: Branch, options?: any): Promise<PullRequest>;
|
|
65
|
+
_addPullRequest(pullRequest: any): Promise<any>;
|
|
66
|
+
deletePullRequest(name: any): Promise<any>;
|
|
67
|
+
/**
|
|
68
|
+
* Create a new {@link Branch} by cloning a given source branch.
|
|
69
|
+
* Simply calls Repository.createBranch() with the receiver as source branch
|
|
70
|
+
* @param {string} name the new branch
|
|
71
|
+
* @param {Object} [options] passed through
|
|
72
|
+
* @return {Promise<Branch>} newly created branch (or already present old one with the same name)
|
|
73
|
+
*/
|
|
74
|
+
createBranch(name: string, options?: any): Promise<Branch>;
|
|
75
|
+
}
|
|
76
|
+
export type ContentEntry = {
|
|
77
|
+
/**
|
|
78
|
+
* /**
|
|
79
|
+
* Abstract branch.
|
|
80
|
+
*/
|
|
81
|
+
name: string;
|
|
82
|
+
};
|
|
83
|
+
import { Ref } from "./ref.mjs";
|
|
84
|
+
import { Commit } from "./commit.mjs";
|
|
85
|
+
import { PullRequest } from "./pull-request.mjs";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} CommitResult
|
|
3
|
+
* @property {string} ref
|
|
4
|
+
*/
|
|
5
|
+
export class User {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* @property {Repository} repository
|
|
9
|
+
* @property {string} message
|
|
10
|
+
* @property {string} sha
|
|
11
|
+
* @property {User} author
|
|
12
|
+
* @property {User} committer
|
|
13
|
+
*/
|
|
14
|
+
export class Commit {
|
|
15
|
+
constructor(repository: any);
|
|
16
|
+
repository: any;
|
|
17
|
+
}
|
|
18
|
+
export type CommitResult = {
|
|
19
|
+
ref: string;
|
|
20
|
+
};
|
package/types/hook.d.mts
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Repository hook.
|
|
3
|
+
*/
|
|
4
|
+
export class Hook extends OwnedObject {
|
|
5
|
+
static defaultEvents: Set<string>;
|
|
6
|
+
static get attributes(): {
|
|
7
|
+
active: {
|
|
8
|
+
type: string;
|
|
9
|
+
default: boolean;
|
|
10
|
+
writable: boolean;
|
|
11
|
+
mandatory: boolean;
|
|
12
|
+
private: boolean;
|
|
13
|
+
isKey: boolean;
|
|
14
|
+
additionalAttributes: any[];
|
|
15
|
+
env: any[];
|
|
16
|
+
};
|
|
17
|
+
secret: {
|
|
18
|
+
private: boolean;
|
|
19
|
+
writable: boolean;
|
|
20
|
+
type: string;
|
|
21
|
+
mandatory: boolean;
|
|
22
|
+
isKey: boolean;
|
|
23
|
+
additionalAttributes: any[];
|
|
24
|
+
env: any[];
|
|
25
|
+
};
|
|
26
|
+
url: {
|
|
27
|
+
description: string;
|
|
28
|
+
writable: boolean;
|
|
29
|
+
type: string;
|
|
30
|
+
mandatory: boolean;
|
|
31
|
+
private: boolean;
|
|
32
|
+
isKey: boolean;
|
|
33
|
+
additionalAttributes: any[];
|
|
34
|
+
env: any[];
|
|
35
|
+
};
|
|
36
|
+
content_type: {
|
|
37
|
+
default: string;
|
|
38
|
+
writable: boolean;
|
|
39
|
+
type: string;
|
|
40
|
+
mandatory: boolean;
|
|
41
|
+
private: boolean;
|
|
42
|
+
isKey: boolean;
|
|
43
|
+
additionalAttributes: any[];
|
|
44
|
+
env: any[];
|
|
45
|
+
};
|
|
46
|
+
insecure_ssl: {
|
|
47
|
+
writable: boolean;
|
|
48
|
+
default: boolean;
|
|
49
|
+
type: string;
|
|
50
|
+
mandatory: boolean;
|
|
51
|
+
private: boolean;
|
|
52
|
+
isKey: boolean;
|
|
53
|
+
additionalAttributes: any[];
|
|
54
|
+
env: any[];
|
|
55
|
+
};
|
|
56
|
+
events: {
|
|
57
|
+
type: string;
|
|
58
|
+
default: Set<string>;
|
|
59
|
+
};
|
|
60
|
+
id: {
|
|
61
|
+
isKey: boolean;
|
|
62
|
+
description: string;
|
|
63
|
+
type: string;
|
|
64
|
+
writable: boolean;
|
|
65
|
+
mandatory: boolean;
|
|
66
|
+
private: boolean;
|
|
67
|
+
additionalAttributes: any[];
|
|
68
|
+
env: any[];
|
|
69
|
+
};
|
|
70
|
+
name: {
|
|
71
|
+
isKey: boolean;
|
|
72
|
+
type: string;
|
|
73
|
+
writable: boolean;
|
|
74
|
+
mandatory: boolean;
|
|
75
|
+
private: boolean;
|
|
76
|
+
additionalAttributes: any[];
|
|
77
|
+
env: any[];
|
|
78
|
+
};
|
|
79
|
+
description: {
|
|
80
|
+
description: string;
|
|
81
|
+
writable: boolean;
|
|
82
|
+
type: string;
|
|
83
|
+
mandatory: boolean;
|
|
84
|
+
private: boolean;
|
|
85
|
+
isKey: boolean;
|
|
86
|
+
additionalAttributes: any[];
|
|
87
|
+
env: any[];
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
static get delteteMethodName(): string;
|
|
91
|
+
}
|
|
92
|
+
import { OwnedObject } from "./owned-object.mjs";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export * from "./base-object.mjs";
|
|
2
|
+
export * from "./named-object.mjs";
|
|
3
|
+
export * from "./owned-object.mjs";
|
|
4
|
+
export * from "./repository-owner.mjs";
|
|
5
|
+
export * from "./base-provider.mjs";
|
|
6
|
+
export * from "./single-group-provider.mjs";
|
|
7
|
+
export * from "./multi-group-provider.mjs";
|
|
8
|
+
export * from "./repository-group.mjs";
|
|
9
|
+
export * from "./repository.mjs";
|
|
10
|
+
export * from "./ref.mjs";
|
|
11
|
+
export * from "./commit.mjs";
|
|
12
|
+
export * from "./branch.mjs";
|
|
13
|
+
export * from "./tag.mjs";
|
|
14
|
+
export * from "./project.mjs";
|
|
15
|
+
export * from "./issue.mjs";
|
|
16
|
+
export * from "./pull-request.mjs";
|
|
17
|
+
export * from "./hook.mjs";
|
|
18
|
+
export * from "./milestone.mjs";
|
|
19
|
+
export * from "./review.mjs";
|
|
20
|
+
export * from "./application.mjs";
|
|
21
|
+
export * from "./attribute-extras.mjs";
|
|
22
|
+
export * from "./util.mjs";
|
|
23
|
+
export * from "./attributes.mjs";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*/
|
|
4
|
+
export class Issue extends OwnedObject {
|
|
5
|
+
labels(): AsyncGenerator<never, void, unknown>;
|
|
6
|
+
assignees(): AsyncGenerator<never, void, unknown>;
|
|
7
|
+
assignee(): Promise<void>;
|
|
8
|
+
milestone(): Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
import { OwnedObject } from "./owned-object.mjs";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*/
|
|
3
|
+
export class Milestone extends OwnedObject {
|
|
4
|
+
static get attributes(): {
|
|
5
|
+
state: {
|
|
6
|
+
writable: boolean;
|
|
7
|
+
type: string;
|
|
8
|
+
mandatory: boolean;
|
|
9
|
+
private: boolean;
|
|
10
|
+
isKey: boolean;
|
|
11
|
+
additionalAttributes: any[];
|
|
12
|
+
env: any[];
|
|
13
|
+
};
|
|
14
|
+
id: {
|
|
15
|
+
isKey: boolean;
|
|
16
|
+
description: string;
|
|
17
|
+
type: string;
|
|
18
|
+
writable: boolean;
|
|
19
|
+
mandatory: boolean;
|
|
20
|
+
private: boolean;
|
|
21
|
+
additionalAttributes: any[];
|
|
22
|
+
env: any[];
|
|
23
|
+
};
|
|
24
|
+
name: {
|
|
25
|
+
isKey: boolean;
|
|
26
|
+
type: string;
|
|
27
|
+
writable: boolean;
|
|
28
|
+
mandatory: boolean;
|
|
29
|
+
private: boolean;
|
|
30
|
+
additionalAttributes: any[];
|
|
31
|
+
env: any[];
|
|
32
|
+
};
|
|
33
|
+
description: {
|
|
34
|
+
description: string;
|
|
35
|
+
writable: boolean;
|
|
36
|
+
type: string;
|
|
37
|
+
mandatory: boolean;
|
|
38
|
+
private: boolean;
|
|
39
|
+
isKey: boolean;
|
|
40
|
+
additionalAttributes: any[];
|
|
41
|
+
env: any[];
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
issues(): AsyncGenerator<never, void, unknown>;
|
|
45
|
+
}
|
|
46
|
+
import { OwnedObject } from "./owned-object.mjs";
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provider supporting serveral repository groups.
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export class MultiGroupProvider extends BaseProvider {
|
|
6
|
+
/**
|
|
7
|
+
* Lookup a repository in the provider and all of its repository groups.
|
|
8
|
+
* @param {string} name of the repository
|
|
9
|
+
* @return {Promise<Repository|undefined>}
|
|
10
|
+
*/
|
|
11
|
+
repository(name: string): Promise<Repository | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Lookup a branch.
|
|
14
|
+
* @param {string} name of the branch
|
|
15
|
+
* @return {Promise<Branch|undefined>}
|
|
16
|
+
*/
|
|
17
|
+
branch(name: string): Promise<Branch | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Lookup a repository group.
|
|
20
|
+
* @param {string} name of the group
|
|
21
|
+
* @return {Promise<RepositoryGroup|undefined>}
|
|
22
|
+
*/
|
|
23
|
+
repositoryGroup(name: string): Promise<RepositoryGroup | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* List groups.
|
|
26
|
+
* @param {string[]|string} [patterns]
|
|
27
|
+
* @return {AsyncIterable<RepositoryGroup>} all matching repositories groups of the provider
|
|
28
|
+
*/
|
|
29
|
+
repositoryGroups(patterns?: string[] | string): AsyncIterable<RepositoryGroup>;
|
|
30
|
+
/**
|
|
31
|
+
* Create a new repository group.
|
|
32
|
+
* If there is already a group for the given name it will be returend instead
|
|
33
|
+
* @param {string} name of the group
|
|
34
|
+
* @param {Object} [options]
|
|
35
|
+
* @return {Promise<RepositoryGroup>}
|
|
36
|
+
*/
|
|
37
|
+
createRepositoryGroup(name: string, options?: any): Promise<RepositoryGroup>;
|
|
38
|
+
/**
|
|
39
|
+
* Add a new repository group (not provider specific actions are executed).
|
|
40
|
+
* @param {string} name of the group
|
|
41
|
+
* @param {Object} [options]
|
|
42
|
+
* @return {RepositoryGroup}
|
|
43
|
+
*/
|
|
44
|
+
addRepositoryGroup(name: string, options?: any): RepositoryGroup;
|
|
45
|
+
_addRepositoryGroup(repositoryGroup: any): void;
|
|
46
|
+
#private;
|
|
47
|
+
}
|
|
48
|
+
import { BaseProvider } from "./base-provider.mjs";
|
|
49
|
+
import { Repository } from "./repository.mjs";
|
|
50
|
+
import { Branch } from "./branch.mjs";
|
|
51
|
+
import { RepositoryGroup } from "./repository-group.mjs";
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Object with a name.
|
|
3
|
+
* @param {string} name
|
|
4
|
+
* @param {Object} [options]
|
|
5
|
+
* @param {Object} [additionalProperties]
|
|
6
|
+
*
|
|
7
|
+
* @property {string} name
|
|
8
|
+
*/
|
|
9
|
+
export class NamedObject extends BaseObject {
|
|
10
|
+
static get attributes(): {
|
|
11
|
+
id: {
|
|
12
|
+
isKey: boolean;
|
|
13
|
+
description: string;
|
|
14
|
+
type: string;
|
|
15
|
+
writable: boolean;
|
|
16
|
+
mandatory: boolean;
|
|
17
|
+
private: boolean;
|
|
18
|
+
additionalAttributes: any[];
|
|
19
|
+
env: any[];
|
|
20
|
+
};
|
|
21
|
+
name: {
|
|
22
|
+
isKey: boolean;
|
|
23
|
+
type: string;
|
|
24
|
+
writable: boolean;
|
|
25
|
+
mandatory: boolean;
|
|
26
|
+
private: boolean;
|
|
27
|
+
additionalAttributes: any[];
|
|
28
|
+
env: any[];
|
|
29
|
+
};
|
|
30
|
+
description: {
|
|
31
|
+
description: string;
|
|
32
|
+
writable: boolean;
|
|
33
|
+
type: string;
|
|
34
|
+
mandatory: boolean;
|
|
35
|
+
private: boolean;
|
|
36
|
+
isKey: boolean;
|
|
37
|
+
additionalAttributes: any[];
|
|
38
|
+
env: any[];
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
constructor(name: any, options: any, additionalProperties: any);
|
|
42
|
+
set name(name: any);
|
|
43
|
+
get name(): any;
|
|
44
|
+
/**
|
|
45
|
+
* Beautified name use for human displaying only.
|
|
46
|
+
* @return {string} human readable name
|
|
47
|
+
*/
|
|
48
|
+
get displayName(): string;
|
|
49
|
+
/**
|
|
50
|
+
* Name with default parts removed
|
|
51
|
+
* @return {string}
|
|
52
|
+
*/
|
|
53
|
+
get condensedName(): string;
|
|
54
|
+
/**
|
|
55
|
+
* Complete name in the hierachy.
|
|
56
|
+
* @return {string}
|
|
57
|
+
*/
|
|
58
|
+
get fullCondensedName(): string;
|
|
59
|
+
/**
|
|
60
|
+
* Check for equality.
|
|
61
|
+
* @param {NamedObject} other
|
|
62
|
+
* @return {boolean} true if names are equal and have the same provider
|
|
63
|
+
*/
|
|
64
|
+
equals(other: NamedObject): boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Provided name and all defined attributes.
|
|
67
|
+
*/
|
|
68
|
+
toJSON(): any;
|
|
69
|
+
#private;
|
|
70
|
+
}
|
|
71
|
+
import { BaseObject } from "./base-object.mjs";
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Named Object registering itself in the owner.
|
|
3
|
+
*/
|
|
4
|
+
export class OwnedObject extends NamedObject {
|
|
5
|
+
/**
|
|
6
|
+
* Method name to be called to register one instance in the owner.
|
|
7
|
+
* sample: Application => _addApplication
|
|
8
|
+
* @return {string}
|
|
9
|
+
*/
|
|
10
|
+
static get addMethodName(): string;
|
|
11
|
+
/**
|
|
12
|
+
* Method name to be called to unregister one instance in the owner.
|
|
13
|
+
* sample: Application => _deleteApplication
|
|
14
|
+
* @return {string}
|
|
15
|
+
*/
|
|
16
|
+
static get deleteMethodName(): string;
|
|
17
|
+
constructor(owner: any, name: any, options: any, additionalProperties: any);
|
|
18
|
+
owner: any;
|
|
19
|
+
/**
|
|
20
|
+
* Removes the receiver from the owner.
|
|
21
|
+
*/
|
|
22
|
+
delete(): void;
|
|
23
|
+
/**
|
|
24
|
+
* Check for equality.
|
|
25
|
+
* @param {OwnedObject} other
|
|
26
|
+
* @return {boolean} true if receiver and owner are equal
|
|
27
|
+
*/
|
|
28
|
+
equals(other: OwnedObject): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Url of home page.
|
|
31
|
+
* @see {@link Repository#homePageURL}
|
|
32
|
+
* @return {string} as provided from the owner
|
|
33
|
+
*/
|
|
34
|
+
get homePageURL(): string;
|
|
35
|
+
/**
|
|
36
|
+
* Url of issue tracking system.
|
|
37
|
+
* @see {@link Repository#issuesURL}
|
|
38
|
+
* @return {string} as provided from the repository
|
|
39
|
+
*/
|
|
40
|
+
get issuesURL(): string;
|
|
41
|
+
/**
|
|
42
|
+
* Forwarded from the owner.
|
|
43
|
+
* @return {boolean}
|
|
44
|
+
*/
|
|
45
|
+
get isLocked(): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Forwarded from the owner.
|
|
48
|
+
* @return {boolean}
|
|
49
|
+
*/
|
|
50
|
+
get isArchived(): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Forwarded from the owner.
|
|
53
|
+
* @return {boolean}
|
|
54
|
+
*/
|
|
55
|
+
get isDisabled(): boolean;
|
|
56
|
+
/**
|
|
57
|
+
* API as given by the owner.
|
|
58
|
+
* @return {string} url
|
|
59
|
+
*/
|
|
60
|
+
get api(): string;
|
|
61
|
+
/**
|
|
62
|
+
* API as given by the owner.
|
|
63
|
+
* @return {string} url
|
|
64
|
+
*/
|
|
65
|
+
get slug(): string;
|
|
66
|
+
/**
|
|
67
|
+
* URL as given by the owner.
|
|
68
|
+
* @return {string} url
|
|
69
|
+
*/
|
|
70
|
+
get url(): string;
|
|
71
|
+
/**
|
|
72
|
+
* The provider we live in.
|
|
73
|
+
* @return {BaseProvider}
|
|
74
|
+
*/
|
|
75
|
+
get provider(): BaseProvider;
|
|
76
|
+
/**
|
|
77
|
+
* Forwarded to the owner.
|
|
78
|
+
* @param {...any} args
|
|
79
|
+
*/
|
|
80
|
+
trace(...args: any[]): any;
|
|
81
|
+
/**
|
|
82
|
+
* Forwarded to the owner.
|
|
83
|
+
* @param {...any} args
|
|
84
|
+
*/
|
|
85
|
+
info(...args: any[]): any;
|
|
86
|
+
/**
|
|
87
|
+
* Forwarded to the owner.
|
|
88
|
+
* @param {...any} args
|
|
89
|
+
*/
|
|
90
|
+
warn(...args: any[]): any;
|
|
91
|
+
/**
|
|
92
|
+
* Forwarded to the owner.
|
|
93
|
+
* @param {...any} args
|
|
94
|
+
*/
|
|
95
|
+
error(...args: any[]): any;
|
|
96
|
+
/**
|
|
97
|
+
* Forwarded to the owner.
|
|
98
|
+
* @param {...any} args
|
|
99
|
+
*/
|
|
100
|
+
debug(...args: any[]): any;
|
|
101
|
+
/**
|
|
102
|
+
* By default we use the owners implementation.
|
|
103
|
+
* @return {Repository} as defined in the owner
|
|
104
|
+
*/
|
|
105
|
+
get repositoryClass(): Repository;
|
|
106
|
+
/**
|
|
107
|
+
* By default we use the owners implementation.
|
|
108
|
+
* @return {PullRequest} as defined in the owner
|
|
109
|
+
*/
|
|
110
|
+
get pullRequestClass(): PullRequest;
|
|
111
|
+
/**
|
|
112
|
+
* By default we use the owners implementation.
|
|
113
|
+
* @return {Branch} as defined in the owner
|
|
114
|
+
*/
|
|
115
|
+
get branchClass(): Branch;
|
|
116
|
+
/**
|
|
117
|
+
* By default we use the owners implementation.
|
|
118
|
+
* @return {Tag} as defined in the owner
|
|
119
|
+
*/
|
|
120
|
+
get tagClass(): Tag;
|
|
121
|
+
/**
|
|
122
|
+
* By default we use the owners implementation.
|
|
123
|
+
* @return {ContentEntry} as defined in the owner
|
|
124
|
+
*/
|
|
125
|
+
get entryClass(): ContentEntry;
|
|
126
|
+
/**
|
|
127
|
+
* By default we use the owners implementation.
|
|
128
|
+
* @return {Hook} as defined in the owner
|
|
129
|
+
*/
|
|
130
|
+
get hookClass(): Hook;
|
|
131
|
+
}
|
|
132
|
+
import { NamedObject } from "./named-object.mjs";
|