2022-01-24 20:12:36 +00:00
|
|
|
import Model from '@nozbe/watermelondb/Model';
|
|
|
|
|
|
|
|
export interface IRole {
|
|
|
|
id: string;
|
|
|
|
description?: string;
|
2022-02-28 18:00:47 +00:00
|
|
|
mandatory2fa?: boolean;
|
|
|
|
name: string;
|
|
|
|
protected: boolean;
|
|
|
|
// scope?: string;
|
|
|
|
scope: 'Users' | 'Subscriptions';
|
|
|
|
_id: string;
|
2022-01-24 20:12:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export type TRoleModel = IRole & Model;
|