refactor: update training labels and add agency status to user types
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s

This commit is contained in:
puriphatt 2025-04-08 11:12:42 +07:00
parent 98ab120e56
commit 0de6921636
4 changed files with 63 additions and 13 deletions

View file

@ -57,6 +57,9 @@ export type User = {
citizenIssue?: Date | null;
citizenId: string;
branch: Branch[];
remark?: string;
agencyStatus?: AgencyStatus;
};
export type UserCreate = {
@ -105,8 +108,17 @@ export type UserCreate = {
citizenExpire?: Date | null;
citizenIssue?: Date | null;
citizenId: string;
remark?: string;
agencyStatus?: AgencyStatus;
};
export enum AgencyStatus {
Normal = 'Normal',
Canceled = 'Canceled',
Blacklist = 'Blacklist',
}
export type UserAttachment = {
name: string;
url: string;