feat(auth): add user and role management
This commit is contained in:
9
packages/types/index.d.ts
vendored
9
packages/types/index.d.ts
vendored
@@ -95,6 +95,15 @@ export interface IUser {
|
||||
connections: IConnection[];
|
||||
flows: IFlow[];
|
||||
steps: IStep[];
|
||||
role: IRole;
|
||||
}
|
||||
|
||||
export interface IRole {
|
||||
id: string;
|
||||
key: string;
|
||||
name: string;
|
||||
description: string;
|
||||
isAdmin: boolean;
|
||||
}
|
||||
|
||||
export interface IFieldDropdown {
|
||||
|
Reference in New Issue
Block a user