From 3c1d4f701dc4a3d55c5fe5257bd60dbffec0e5cc Mon Sep 17 00:00:00 2001 From: Reinaldo Neto Date: Tue, 21 Dec 2021 15:49:23 -0300 Subject: [PATCH] Chore: Migrate Permission definition to Typescript --- app/definitions/IPermission.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/definitions/IPermission.ts diff --git a/app/definitions/IPermission.ts b/app/definitions/IPermission.ts new file mode 100644 index 000000000..14e1a500c --- /dev/null +++ b/app/definitions/IPermission.ts @@ -0,0 +1,8 @@ +import Model from '@nozbe/watermelondb/Model'; + +export interface IPermission { + roles: string[]; + _updatedAt: Date; +} + +export type TPermissionModel = IPermission & Model;