From 64c1562e47ebc20412be1b8a11213975a3f8af1e Mon Sep 17 00:00:00 2001 From: puriphatt Date: Mon, 10 Feb 2025 13:05:46 +0700 Subject: [PATCH] feat: add status field to Institution and InstitutionPayload types --- src/stores/institution/types.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/stores/institution/types.ts b/src/stores/institution/types.ts index 2282aade..7bd6287f 100644 --- a/src/stores/institution/types.ts +++ b/src/stores/institution/types.ts @@ -1,4 +1,5 @@ import { District, Province, SubDistrict } from '../address'; +import { Status } from '../types'; export type Institution = { id: string; @@ -23,6 +24,7 @@ export type Institution = { subDistrictId: string; districtId: string; provinceId: string; + status: Status; }; export type InstitutionPayload = { @@ -44,4 +46,5 @@ export type InstitutionPayload = { subDistrictId: string; districtId: string; provinceId: string; + status?: Status; };