Refresh storage view (#1)

This commit is contained in:
Alex Weininger 2021-04-29 22:29:59 -07:00 committed by GitHub
parent 492dc97a0f
commit 3a9795060a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 2 deletions

1
package-lock.json generated
View file

@ -6,6 +6,7 @@
"packages": {
"": {
"version": "0.0.1",
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"dayjs": "^1.10.4",
"fs-extra": "^9.1.0",

View file

@ -20,8 +20,8 @@
},
"homepage": "https://github.com/streamlux/vscode-appwrite",
"bugs": {
"url": "https://github.com/streamlux/vscode-appwrite/issues",
"email": "engineering@streamlux.com"
"url": "https://github.com/streamlux/vscode-appwrite/issues",
"email": "engineering@streamlux.com"
},
"license": "SEE LICENSE IN LICENSE.md",
"activationEvents": [
@ -159,6 +159,11 @@
"command": "vscode-appwrite.openHealthDocumentation",
"title": "Open health documentation",
"icon": "$(book)"
},
{
"command": "vscode-appwrite.refreshStorage",
"title": "Refresh storage",
"icon": "$(refresh)"
}
],
"views": {
@ -232,6 +237,11 @@
"command": "vscode-appwrite.openHealthDocumentation",
"when": "view == Health",
"group": "navigation"
},
{
"command": "vscode-appwrite.refreshStorage",
"when": "view == Storage",
"group": "navigation"
}
],
"view/item/context": [

View file

@ -70,4 +70,5 @@ export function registerCommands(context: ExtensionContext): void {
registerCommand("refreshHealth", () => {}, 'health');
registerCommand("openHealthDocumentation", () => openDocumentation('health'));
registerCommand("editPermission", editPermission, 'database');
registerCommand("refreshStorage", () => {}, 'storage');
}