mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-04-01 01:20:31 -04:00
support scripting in object management dialogs (#22429)
* user management - scripting * remove confirmation * update sts * update string
This commit is contained in:
@@ -1538,6 +1538,15 @@ export namespace CreateLoginRequest {
|
||||
export const type = new RequestType<CreateLoginRequestParams, void, void, void>('objectManagement/createLogin');
|
||||
}
|
||||
|
||||
export interface ScriptLoginRequestParams {
|
||||
contextId: string;
|
||||
login: mssql.ObjectManagement.Login;
|
||||
}
|
||||
|
||||
export namespace ScriptLoginRequest {
|
||||
export const type = new RequestType<ScriptLoginRequestParams, string, void, void>('objectManagement/scriptLogin');
|
||||
}
|
||||
|
||||
export interface UpdateLoginRequestParams {
|
||||
contextId: string;
|
||||
login: mssql.ObjectManagement.Login;
|
||||
@@ -1576,6 +1585,15 @@ export namespace CreateUserRequest {
|
||||
export const type = new RequestType<CreateUserRequestParams, void, void, void>('objectManagement/createUser');
|
||||
}
|
||||
|
||||
export interface ScriptUserRequestParams {
|
||||
contextId: string;
|
||||
user: mssql.ObjectManagement.User;
|
||||
}
|
||||
|
||||
export namespace ScriptUserRequest {
|
||||
export const type = new RequestType<ScriptUserRequestParams, string, void, void>('objectManagement/scriptUser');
|
||||
}
|
||||
|
||||
export interface UpdateUserRequestParams {
|
||||
contextId: string;
|
||||
user: mssql.ObjectManagement.User;
|
||||
|
||||
Reference in New Issue
Block a user