Chore: Migrate Role definition to Typescript

This commit is contained in:
Reinaldo Neto 2021-12-21 15:54:41 -03:00
parent b75e192e20
commit 1068d11964
1 changed files with 8 additions and 0 deletions

8
app/definitions/IRole.ts Normal file
View File

@ -0,0 +1,8 @@
import Model from '@nozbe/watermelondb/Model';
export interface IRole {
id: string;
description: string;
}
export type TRoleModel = IRole & Model;