-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.d.ts
57 lines (51 loc) · 969 Bytes
/
types.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
interface IGitHubApi {
version: string;
url: string;
token: string;
repository?: IRepository;
}
interface IRepository {
name: string;
owner: string;
}
interface IResult {
result?: object;
error?: string;
documentation_url?: string;
status?: number;
}
interface IUpdateRelease {
releaseId: number;
tag_name: string;
target_commitish: string;
body: string;
name: string;
prerelease: boolean;
make_latest: string;
}
/* eslint-disable @typescript-eslint/no-explicit-any */
interface IObject {
[key: string]: any;
}
interface ICreateRelease {
tag_name: string;
target_commitish?: string;
body?: string;
name?: string;
prerelease?: boolean;
draft?: boolean;
discussion_category_name?: string;
generate_release_notes?: boolean;
make_latest?: string;
}
interface ICreateTag {
tag: string;
message: string;
object: string;
type: string;
tagger: {
name: string;
email: string;
date: string;
};
}