ff-admin-server/src/command/user/role/rolePermissionCommand.ts
2025-01-05 14:14:00 +01:00

16 lines
375 B
TypeScript

import { PermissionString } from "../../../type/permissionTypes";
export interface CreateRolePermissionCommand {
permission: PermissionString;
roleId: number;
}
export interface DeleteRolePermissionCommand {
permission: PermissionString;
roleId: number;
}
export interface UpdateRolePermissionsCommand {
roleId: number;
permissions: Array<PermissionString>;
}