feat: add status field to Institution and InstitutionPayload types
This commit is contained in:
parent
51313cc4f8
commit
64c1562e47
1 changed files with 3 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
import { District, Province, SubDistrict } from '../address';
|
import { District, Province, SubDistrict } from '../address';
|
||||||
|
import { Status } from '../types';
|
||||||
|
|
||||||
export type Institution = {
|
export type Institution = {
|
||||||
id: string;
|
id: string;
|
||||||
|
|
@ -23,6 +24,7 @@ export type Institution = {
|
||||||
subDistrictId: string;
|
subDistrictId: string;
|
||||||
districtId: string;
|
districtId: string;
|
||||||
provinceId: string;
|
provinceId: string;
|
||||||
|
status: Status;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type InstitutionPayload = {
|
export type InstitutionPayload = {
|
||||||
|
|
@ -44,4 +46,5 @@ export type InstitutionPayload = {
|
||||||
subDistrictId: string;
|
subDistrictId: string;
|
||||||
districtId: string;
|
districtId: string;
|
||||||
provinceId: string;
|
provinceId: string;
|
||||||
|
status?: Status;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue