2022-01-11 13:51:48 +00:00
|
|
|
import Model from '@nozbe/watermelondb/Model';
|
|
|
|
|
|
|
|
export interface IRole {
|
|
|
|
id: string;
|
|
|
|
description?: string;
|
2022-02-14 16:20:29 +00:00
|
|
|
mandatory2fa?: boolean;
|
|
|
|
name: string;
|
|
|
|
protected: boolean;
|
|
|
|
// scope?: string;
|
|
|
|
scope: 'Users' | 'Subscriptions';
|
|
|
|
_id: string;
|
2022-01-11 13:51:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export type TRoleModel = IRole & Model;
|