mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 14:55:44 +00:00
refactor(FE-238-86): change useApprovalSteps params, and minimize fetching data
This commit is contained in:
Vendored
-4
@@ -113,10 +113,6 @@ export type BaseGroupedApproval = {
|
||||
approvals: BaseApproval[];
|
||||
};
|
||||
|
||||
interface ModuleWithApproval {
|
||||
approval?: BaseApproval;
|
||||
}
|
||||
|
||||
export type Approvals = BaseApiResponse<BaseApproval>;
|
||||
|
||||
export type GroupedApprovals = BaseApiResponse<BaseGroupedApproval[]>;
|
||||
|
||||
Vendored
-14
@@ -2,17 +2,3 @@ export type ApprovalLine = {
|
||||
step_number: number;
|
||||
step_name: string;
|
||||
}[];
|
||||
|
||||
export interface ApprovalWorkflow {
|
||||
key: string;
|
||||
steps: ApprovalLine;
|
||||
}
|
||||
|
||||
export interface AppConfigData {
|
||||
approval_workflows: ApprovalWorkflow[];
|
||||
flags: string[];
|
||||
warehouse_types: string[];
|
||||
stock_log: string;
|
||||
supplier_categories: string[];
|
||||
customer_supplier_types: string[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user