forked from TencentBlueKing/blueking-dbm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frontend): 权限查询页 TencentBlueKing#6905
- Loading branch information
Showing
40 changed files
with
3,956 additions
and
225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,19 @@ | ||
{ | ||
"eslint.validate": ["javascript", "javascriptreact", "html", "vue"], | ||
"eslint.alwaysShowStatus": true, | ||
"files.eol": "\n", | ||
"editor.unfoldOnClickAfterEndOfLine": true, | ||
"editor.tabSize": 2, | ||
"diffEditor.ignoreTrimWhitespace": false, | ||
"typescript.updateImportsOnFileMove.enabled": "always", | ||
"explorer.confirmDelete": false, | ||
"explorer.confirmDragAndDrop": false, | ||
"editor.fontLigatures": false, | ||
"editor.fontVariations": false, | ||
"i18n-lazyer.defaultFolder": "\\src\\locales", | ||
"search.smartCase": true, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "explicit" | ||
}, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[javascriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[json]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[html]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[css]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
// "editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"editor.tabSize": 2, | ||
"css.validate": false, | ||
"stylelint.enable": true, | ||
"scss.validate": false, | ||
"stylelint.validate": ["css", "scss", "vue"], | ||
"preCI.localCodeCheck.filter.whitePath": "", | ||
"preCI.localCodeCheck.filter.skipPath": "", | ||
"preCI.localCodeCheck.checkerSet.JS": ["standard_js"], | ||
"peacock.remoteColor": "#45e35f", | ||
"bk-code-ai.enable": false, | ||
"workbench.colorCustomizations": { | ||
"activityBar.activeBackground": "#71ea85", | ||
"activityBar.background": "#71ea85", | ||
"activityBar.foreground": "#15202b", | ||
"activityBar.inactiveForeground": "#15202b99", | ||
"activityBarBadge.background": "#8874ea", | ||
"activityBarBadge.foreground": "#15202b", | ||
"commandCenter.border": "#15202b99", | ||
"sash.hoverBorder": "#71ea85", | ||
"statusBar.background": "#45e35f", | ||
"statusBar.foreground": "#15202b", | ||
"statusBarItem.hoverBackground": "#20d53e", | ||
"statusBarItem.remoteBackground": "#45e35f", | ||
"statusBarItem.remoteForeground": "#15202b", | ||
"titleBar.activeBackground": "#45e35f", | ||
"titleBar.activeForeground": "#15202b", | ||
"titleBar.inactiveBackground": "#45e35f99", | ||
"titleBar.inactiveForeground": "#15202b99" | ||
}, | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
export const MysqlDbOperations = { | ||
dml: ['select', 'insert', 'update', 'delete', 'show view'], | ||
ddl: [ | ||
'create', | ||
'alter', | ||
'drop', | ||
'index', | ||
'create view', | ||
'execute', | ||
'trigger', | ||
'event', | ||
'create routine', | ||
'alter routine', | ||
'references', | ||
'create temporary tables', | ||
], | ||
glob: ['file', 'reload', 'show databases', 'process', 'replication slave', 'replication client'], | ||
}; | ||
|
||
export const MysqlDdlSensitiveWords = [ | ||
'trigger', | ||
'event', | ||
'create routine', | ||
'alter routine', | ||
'references', | ||
'create temporary tables', | ||
]; | ||
|
||
export const TendbClusterDbOperations = { | ||
dml: ['select', 'insert', 'update', 'delete'], | ||
ddl: ['execute'], | ||
glob: ['file', 'reload', 'process', 'show databases'], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.