mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 09:59:47 -05:00
194 lines
6.6 KiB
JSON
194 lines
6.6 KiB
JSON
{
|
|
"name": "extensionSamples",
|
|
"displayName": "Extension Samples",
|
|
"description": "Extension Samples",
|
|
"version": "0.1.0",
|
|
"publisher": "Microsoft",
|
|
"engines": {
|
|
"vscode": "^1.26.0",
|
|
"azdata": "*"
|
|
},
|
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
"repository": "https://github.com/Microsoft/azuredatastudio",
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"main": "./out/src/extension",
|
|
"contributes": {
|
|
"configuration": [],
|
|
"commands": [],
|
|
"views": {},
|
|
"menus": {},
|
|
"dashboard.tabs": [
|
|
{
|
|
"id": "extension-samples",
|
|
"title": "Extension Samples",
|
|
"description": "This is the dashboard extension samples.",
|
|
"container": {
|
|
"nav-section": [
|
|
{
|
|
"id": "widgets-container1",
|
|
"title": "Widgets",
|
|
"icon": {
|
|
"light": "./out/src/media/file.svg",
|
|
"dark": "./out/src/media/file_inverse.svg"
|
|
},
|
|
"container": {
|
|
"widgets-container1": {}
|
|
}
|
|
},
|
|
{
|
|
"id": "grid-tab",
|
|
"title": "GridLayout",
|
|
"icon": {
|
|
"light": "./out/src/media/file.svg",
|
|
"dark": "./out/src/media/file_inverse.svg"
|
|
},
|
|
"container": {
|
|
"grid-container1": {}
|
|
}
|
|
},
|
|
{
|
|
"id": "webviewExample",
|
|
"title": "Webivew",
|
|
"icon": {
|
|
"light": "./out/src/media/file.svg",
|
|
"dark": "./out/src/media/file_inverse.svg"
|
|
},
|
|
"container": {
|
|
"webview-container": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"dashboard.insights": {
|
|
"id": "query-data-store-db-insight",
|
|
"contrib": {
|
|
"name": "Top 5 Slowest Queries",
|
|
"provider": "MSSQL",
|
|
"gridItemConfig": {
|
|
"x": 2,
|
|
"y": 1
|
|
},
|
|
"type": {
|
|
"timeSeries": {
|
|
"dataDirection": "horizontal",
|
|
"dataType": "point",
|
|
"legendPosition": "top",
|
|
"labelFirstColumn": false,
|
|
"columnsAsLabels": false
|
|
}
|
|
},
|
|
"queryFile": "./out/src/sql/qds.sql",
|
|
"details": {
|
|
"queryFile": "./out/src/sql/qds_detail.sql",
|
|
"label": {
|
|
"icon": "file",
|
|
"column": "query_id",
|
|
"state": []
|
|
},
|
|
"value": "max_duration"
|
|
}
|
|
}
|
|
},
|
|
"dashboard.containers": [
|
|
{
|
|
"id": "grid-container1",
|
|
"container": {
|
|
"grid-container": [
|
|
{
|
|
"name": "Tasks",
|
|
"row": 0,
|
|
"col": 0,
|
|
"widget": {
|
|
"tasks-widget": [
|
|
{
|
|
"name": "backup",
|
|
"when": "!mssql:iscloud && mssql:engineedition != 11"
|
|
},
|
|
{
|
|
"name": "restore",
|
|
"when": "!mssql:iscloud && mssql:engineedition != 11"
|
|
},
|
|
"configureDashboard",
|
|
"newQuery"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "Web view buttons",
|
|
"widget": {
|
|
"webview-widget": {
|
|
"id": "webview-button"
|
|
}
|
|
},
|
|
"row": 0,
|
|
"col": 1
|
|
},
|
|
{
|
|
"name": "Web view count",
|
|
"webview": {
|
|
"id": "webview-count"
|
|
},
|
|
"row": 1,
|
|
"col": 0,
|
|
"colspan": "*"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "widgets-container1",
|
|
"container": {
|
|
"widgets-container": [
|
|
{
|
|
"widget": {
|
|
"query-data-store-db-insight": {}
|
|
}
|
|
},
|
|
{
|
|
"widget": {
|
|
"explorer-widget": {}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"snippets": []
|
|
},
|
|
"scripts": {
|
|
"build": "gulp build",
|
|
"compile": "gulp compile",
|
|
"watch": "gulp watch"
|
|
},
|
|
"dependencies": {
|
|
"fs-extra": "^5.0.0",
|
|
"handlebars": "^4.7.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/azdata": "^1.25.0",
|
|
"@types/mocha": "^2.2.42",
|
|
"@types/node": "^7.0.43",
|
|
"@types/vscode": "^1.51.0",
|
|
"child-process-promise": "^2.2.1",
|
|
"del": "^3.0.0",
|
|
"gulp": "^4.0.0",
|
|
"gulp-color": "0.0.1",
|
|
"gulp-sourcemaps": "^2.6.4",
|
|
"gulp-tslint": "^6.0.2",
|
|
"gulp-typescript": "^3.2.4",
|
|
"should": "^13.2.1",
|
|
"temp-write": "^3.4.0",
|
|
"tslint": "^3.14.0",
|
|
"typemoq": "^2.1.0",
|
|
"typescript": "^4.1.2",
|
|
"vsce": "1.36.2"
|
|
}
|
|
}
|