blob: f54e24e2622545ed19debcad559413b478d043e6 (
plain)
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
|
export interface GithubRepo {
name: string;
owner: string;
}
export interface ArtifactMetadata {
releaseName: string;
downloadUrl: string;
}
export enum BinarySourceType { ExplicitPath, GithubBinary }
export type BinarySource = EplicitPathSource | GithubBinarySource;
export interface EplicitPathSource {
type: BinarySourceType.ExplicitPath;
path: string;
}
export interface GithubBinarySource {
type: BinarySourceType.GithubBinary;
repo: GithubRepo;
dir: string;
file: string;
}
|