mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-21 12:20:29 -04:00
add objects dialog (#23243)
This commit is contained in:
28
extensions/mssql/src/mssql.d.ts
vendored
28
extensions/mssql/src/mssql.d.ts
vendored
@@ -975,6 +975,16 @@ declare module 'mssql' {
|
||||
supportedSecurableTypes: SecurableTypeMetadata[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Base interface for database level security principal object's view information.
|
||||
*/
|
||||
export interface DatabaseLevelPrincipalViewInfo<T extends SecurityPrincipalObject> extends SecurityPrincipalViewInfo<T> {
|
||||
/**
|
||||
* The schemas in the database.
|
||||
*/
|
||||
schemas: string[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Server level login.
|
||||
*/
|
||||
@@ -1237,7 +1247,7 @@ declare module 'mssql' {
|
||||
/**
|
||||
* The information required to render the user view.
|
||||
*/
|
||||
export interface UserViewInfo extends SecurityPrincipalViewInfo<User> {
|
||||
export interface UserViewInfo extends DatabaseLevelPrincipalViewInfo<User> {
|
||||
/**
|
||||
* All user types supported by the database.
|
||||
*/
|
||||
@@ -1246,10 +1256,6 @@ declare module 'mssql' {
|
||||
* All languages supported by the database.
|
||||
*/
|
||||
languages: string[];
|
||||
/**
|
||||
* All schemas in the database.
|
||||
*/
|
||||
schemas: string[];
|
||||
/**
|
||||
* Name of all the logins in the server.
|
||||
*/
|
||||
@@ -1313,11 +1319,7 @@ declare module 'mssql' {
|
||||
/**
|
||||
* Interface representing the information required to render the application role view.
|
||||
*/
|
||||
export interface ApplicationRoleViewInfo extends SecurityPrincipalViewInfo<ApplicationRoleInfo> {
|
||||
/**
|
||||
* List of all the schemas in the database.
|
||||
*/
|
||||
schemas: string[];
|
||||
export interface ApplicationRoleViewInfo extends DatabaseLevelPrincipalViewInfo<ApplicationRoleInfo> {
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1341,11 +1343,7 @@ declare module 'mssql' {
|
||||
/**
|
||||
* Interface representing the information required to render the database role view.
|
||||
*/
|
||||
export interface DatabaseRoleViewInfo extends SecurityPrincipalViewInfo<DatabaseRoleInfo> {
|
||||
/**
|
||||
* List of all the schemas in the database.
|
||||
*/
|
||||
schemas: string[];
|
||||
export interface DatabaseRoleViewInfo extends DatabaseLevelPrincipalViewInfo<DatabaseRoleInfo> {
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user