Chore: Migrate Permission definition to Typescript

This commit is contained in:
Reinaldo Neto 2021-12-21 15:49:23 -03:00
parent b75e192e20
commit 3c1d4f701d
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
import Model from '@nozbe/watermelondb/Model';
export interface IPermission {
roles: string[];
_updatedAt: Date;
}
export type TPermissionModel = IPermission & Model;