mirror of https://github.com/abpframework/abp.git
7 changed files with 78 additions and 84 deletions
@ -1,57 +1,57 @@ |
|||
import { Identity } from '../models/identity'; |
|||
import { ABP } from '@abp/ng.core'; |
|||
|
|||
export class IdentityGetRoles { |
|||
export class GetRoles { |
|||
static readonly type = '[Identity] Get Roles'; |
|||
constructor(public payload?: ABP.PageQueryParams) {} |
|||
} |
|||
|
|||
export class IdentityGetRoleById { |
|||
export class GetRoleById { |
|||
static readonly type = '[Identity] Get Role By Id'; |
|||
constructor(public payload: string) {} |
|||
} |
|||
|
|||
export class IdentityDeleteRole { |
|||
export class DeleteRole { |
|||
static readonly type = '[Identity] Delete Role'; |
|||
constructor(public payload: string) {} |
|||
} |
|||
|
|||
export class IdentityAddRole { |
|||
static readonly type = '[Identity] Add Role'; |
|||
export class CreateRole { |
|||
static readonly type = '[Identity] Create Role'; |
|||
constructor(public payload: Identity.RoleSaveRequest) {} |
|||
} |
|||
|
|||
export class IdentityUpdateRole { |
|||
export class UpdateRole { |
|||
static readonly type = '[Identity] Update Role'; |
|||
constructor(public payload: Identity.RoleItem) {} |
|||
} |
|||
|
|||
export class IdentityGetUsers { |
|||
export class GetUsers { |
|||
static readonly type = '[Identity] Get Users'; |
|||
constructor(public payload?: ABP.PageQueryParams) {} |
|||
} |
|||
|
|||
export class IdentityGetUserById { |
|||
export class GetUserById { |
|||
static readonly type = '[Identity] Get User By Id'; |
|||
constructor(public payload: string) {} |
|||
} |
|||
|
|||
export class IdentityDeleteUser { |
|||
export class DeleteUser { |
|||
static readonly type = '[Identity] Delete User'; |
|||
constructor(public payload: string) {} |
|||
} |
|||
|
|||
export class IdentityAddUser { |
|||
static readonly type = '[Identity] Add User'; |
|||
export class CreateUser { |
|||
static readonly type = '[Identity] Create User'; |
|||
constructor(public payload: Identity.UserSaveRequest) {} |
|||
} |
|||
|
|||
export class IdentityUpdateUser { |
|||
export class UpdateUser { |
|||
static readonly type = '[Identity] Update User'; |
|||
constructor(public payload: Identity.UserSaveRequest & { id: string }) {} |
|||
} |
|||
|
|||
export class IdentityGetUserRoles { |
|||
export class GetUserRoles { |
|||
static readonly type = '[Identity] Get User Roles'; |
|||
constructor(public payload: string) {} |
|||
} |
|||
|
|||
Loading…
Reference in new issue