@microsoft/vscode-azureresources-api
Advanced tools
Comparing version 2.0.4 to 2.1.0
@@ -7,2 +7,8 @@ | ||
## Unreleased | ||
## [2.1.0] - 2023-06-13 | ||
* Extend `ViewPropertiesModel` to allow async loading of properties | ||
## [2.0.4] - 2023-02-22 | ||
@@ -9,0 +15,0 @@ |
@@ -367,3 +367,3 @@ import type { Environment } from '@azure/ms-rest-azure-env'; | ||
export declare interface ViewPropertiesModel { | ||
export declare type ViewPropertiesModel = { | ||
/** | ||
@@ -373,3 +373,13 @@ * File name displayed in VS Code. | ||
label: string; | ||
} & (ViewPropertiesModelAsync | ViewPropertiesModelSync); | ||
export declare interface ViewPropertiesModelAsync { | ||
/** | ||
* Async function to get the raw data associated with the resource to populate the properties file. | ||
*/ | ||
getData: () => Promise<{}>; | ||
} | ||
export declare interface ViewPropertiesModelSync { | ||
/** | ||
* Raw data associated with the resource to populate the properties file. | ||
@@ -376,0 +386,0 @@ */ |
@@ -75,3 +75,3 @@ "use strict"; | ||
AzExtResourceType["WebHostingEnvironments"] = "WebHostingEnvironments"; | ||
})(AzExtResourceType = exports.AzExtResourceType || (exports.AzExtResourceType = {})); | ||
})(AzExtResourceType || (exports.AzExtResourceType = AzExtResourceType = {})); | ||
//# sourceMappingURL=AzExtResourceType.js.map |
@@ -63,3 +63,3 @@ "use strict"; | ||
apiUtils.getExtensionExports = getExtensionExports; | ||
})(apiUtils = exports.apiUtils || (exports.apiUtils = {})); | ||
})(apiUtils || (exports.apiUtils = apiUtils = {})); | ||
//# sourceMappingURL=apiUtils.js.map |
{ | ||
"name": "@microsoft/vscode-azureresources-api", | ||
"version": "2.0.4", | ||
"version": "2.1.0", | ||
"description": "Type declarations and client library for the Azure Resources extension API", | ||
@@ -20,6 +20,8 @@ "repository": { | ||
"devDependencies": { | ||
"@azure/ms-rest-azure-env": "^2.0.0", | ||
"@types/node": "^16.0.0", | ||
"@types/vscode": "^1.64.0" | ||
}, | ||
"peerDependencies": { | ||
"@azure/ms-rest-azure-env": "^2.0.0" | ||
} | ||
} |
45642
2
675
1