feat: add status field to Institution and InstitutionPayload types

This commit is contained in:
puriphatt 2025-02-10 13:05:46 +07:00
parent 51313cc4f8
commit 64c1562e47

View file

@ -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;
};