From b1e32cc2658d8944032f9daec75e9fabc5629dac Mon Sep 17 00:00:00 2001 From: jerlyrosa Date: Wed, 29 Nov 2023 14:25:39 -0400 Subject: [PATCH] fix(types): add is_active property to AppUserInterface --- src/modules/inventory/index.ts | 2 +- src/types/app.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/inventory/index.ts b/src/modules/inventory/index.ts index d7a1b8f9..1e8c1b0f 100644 --- a/src/modules/inventory/index.ts +++ b/src/modules/inventory/index.ts @@ -129,7 +129,7 @@ export class Inventory { return response.data; } public async getStatus( - whereCondition?: WhereCondition + whereCondition?: WhereCondition[] ): Promise { const response = await this.client.query({ query: GET_STATUS, diff --git a/src/types/app.ts b/src/types/app.ts index c0d3eb8f..e1342438 100644 --- a/src/types/app.ts +++ b/src/types/app.ts @@ -18,10 +18,10 @@ export interface AppUserInterface { roles: string[]; address: AddressInterface; contact: ContantInterface; + is_active: boolean; companies: CompanyInterface[]; branches: BranchInterface[]; created_at: string; - updated_at: string; }