fix(admin): align loading history and pallet lookup
This commit is contained in:
@@ -115,6 +115,7 @@ export interface LoadingItem {
|
||||
export interface LoadingHistory {
|
||||
historyId: string
|
||||
itemId: string | null
|
||||
operationId: string
|
||||
actionType: string
|
||||
fromStatus: string | null
|
||||
toStatus: string | null
|
||||
@@ -251,6 +252,7 @@ function normalizeHistory(raw: LoadingHistory): LoadingHistory {
|
||||
...raw,
|
||||
historyId: requiredId(raw.historyId),
|
||||
itemId: optionalId(raw.itemId),
|
||||
operationId: requiredId(raw.operationId),
|
||||
operatorId: requiredId(raw.operatorId),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user