File tree Expand file tree Collapse file tree 2 files changed +7
-14
lines changed
editors/code/src/installation Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,15 @@ export async function fetchArtifactReleaseInfo(
59
59
60
60
return {
61
61
releaseName : release . name ,
62
+ releaseDate : new Date ( release . published_at ) ,
62
63
downloadUrl : artifact . browser_download_url
63
64
} ;
64
65
65
66
// We omit declaration of tremendous amount of fields that we are not using here
66
67
interface GithubRelease {
67
68
name : string ;
69
+ // eslint-disable-next-line camelcase
70
+ published_at : string ;
68
71
assets : Array < {
69
72
name : string ;
70
73
// eslint-disable-next-line camelcase
Original file line number Diff line number Diff line change 1
- import * as vscode from "vscode" ;
2
-
3
1
export interface GithubRepo {
4
2
name : string ;
5
3
owner : string ;
@@ -9,6 +7,7 @@ export interface GithubRepo {
9
7
* Metadata about particular artifact retrieved from GitHub releases.
10
8
*/
11
9
export interface ArtifactReleaseInfo {
10
+ releaseDate : Date ;
12
11
releaseName : string ;
13
12
downloadUrl : string ;
14
13
}
@@ -42,6 +41,9 @@ export namespace ArtifactSource {
42
41
*/
43
42
repo : GithubRepo ;
44
43
44
+
45
+ // FIXME: add installationPath: string;
46
+
45
47
/**
46
48
* Directory on the filesystem where the bundled binary is stored.
47
49
*/
@@ -57,17 +59,5 @@ export namespace ArtifactSource {
57
59
* Tag of github release that denotes a version required by this extension.
58
60
*/
59
61
tag : string ;
60
-
61
- /**
62
- * Object that provides `get()/update()` operations to store metadata
63
- * about the actual binary, e.g. its actual version.
64
- */
65
- storage : vscode . Memento ;
66
-
67
- /**
68
- * Ask for the user permission before downloading the artifact.
69
- */
70
- askBeforeDownload : boolean ;
71
62
}
72
-
73
63
}
You can’t perform that action at this time.
0 commit comments