Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into dev/restu

This commit is contained in:
rstubryan
2025-11-01 08:36:04 +07:00
7 changed files with 185 additions and 41 deletions
+10 -10
View File
@@ -97,21 +97,21 @@ export type flags =
| 'FINISHER'
| 'OVK';
export type ApprovalsLine = {
action_by?: string;
date?: string;
notes?: string;
role?: string;
status: 'approved' | 'rejected' | 'waiting';
}[];
export type BaseApproval = {
step_number: number;
step_name: string;
action: string;
notes: string | null;
notes?: string | null;
action_by: CreatedUser;
action_at: string;
};
export type ApproveAction = 'APPROVED' | 'REJECTED';
export type BaseGroupedApproval = {
step_number: number;
step_name: string;
approvals: BaseApproval[];
};
export type Approvals = BaseApiResponse<BaseApproval>;
export type GroupedApprovals = BaseApiResponse<BaseGroupedApproval[]>;
+4
View File
@@ -0,0 +1,4 @@
export type ApprovalLine = {
step_number: number;
step_name: string;
}[];