Refresh storage view (#1)
This commit is contained in:
		
							parent
							
								
									492dc97a0f
								
							
						
					
					
						commit
						3a9795060a
					
				
					 3 changed files with 14 additions and 2 deletions
				
			
		
							
								
								
									
										1
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										1
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							| 
						 | 
					@ -6,6 +6,7 @@
 | 
				
			||||||
    "packages": {
 | 
					    "packages": {
 | 
				
			||||||
        "": {
 | 
					        "": {
 | 
				
			||||||
            "version": "0.0.1",
 | 
					            "version": "0.0.1",
 | 
				
			||||||
 | 
					            "license": "SEE LICENSE IN LICENSE.md",
 | 
				
			||||||
            "dependencies": {
 | 
					            "dependencies": {
 | 
				
			||||||
                "dayjs": "^1.10.4",
 | 
					                "dayjs": "^1.10.4",
 | 
				
			||||||
                "fs-extra": "^9.1.0",
 | 
					                "fs-extra": "^9.1.0",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										10
									
								
								package.json
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								package.json
									
										
									
									
									
								
							| 
						 | 
					@ -159,6 +159,11 @@
 | 
				
			||||||
                "command": "vscode-appwrite.openHealthDocumentation",
 | 
					                "command": "vscode-appwrite.openHealthDocumentation",
 | 
				
			||||||
                "title": "Open health documentation",
 | 
					                "title": "Open health documentation",
 | 
				
			||||||
                "icon": "$(book)"
 | 
					                "icon": "$(book)"
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                "command": "vscode-appwrite.refreshStorage",
 | 
				
			||||||
 | 
					                "title": "Refresh storage",
 | 
				
			||||||
 | 
					                "icon": "$(refresh)"
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
        "views": {
 | 
					        "views": {
 | 
				
			||||||
| 
						 | 
					@ -232,6 +237,11 @@
 | 
				
			||||||
                    "command": "vscode-appwrite.openHealthDocumentation",
 | 
					                    "command": "vscode-appwrite.openHealthDocumentation",
 | 
				
			||||||
                    "when": "view == Health",
 | 
					                    "when": "view == Health",
 | 
				
			||||||
                    "group": "navigation"
 | 
					                    "group": "navigation"
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    "command": "vscode-appwrite.refreshStorage",
 | 
				
			||||||
 | 
					                    "when": "view == Storage",
 | 
				
			||||||
 | 
					                    "group": "navigation"
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
            "view/item/context": [
 | 
					            "view/item/context": [
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -70,4 +70,5 @@ export function registerCommands(context: ExtensionContext): void {
 | 
				
			||||||
    registerCommand("refreshHealth", () => {}, 'health');
 | 
					    registerCommand("refreshHealth", () => {}, 'health');
 | 
				
			||||||
    registerCommand("openHealthDocumentation",  () => openDocumentation('health'));
 | 
					    registerCommand("openHealthDocumentation",  () => openDocumentation('health'));
 | 
				
			||||||
    registerCommand("editPermission", editPermission, 'database');
 | 
					    registerCommand("editPermission", editPermission, 'database');
 | 
				
			||||||
 | 
					    registerCommand("refreshStorage", () => {}, 'storage');
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue