Release/test #11
@@ -16,6 +16,11 @@ function entry(raw: SailingCalendarEntry): SailingCalendarEntry {
|
||||
warehouseId: String(raw.warehouseId ?? ''),
|
||||
channelCode: String(raw.channelCode ?? ''),
|
||||
channelName: String(raw.channelName ?? raw.channelCode ?? ''),
|
||||
templateId: raw.templateId == null ? null : String(raw.templateId),
|
||||
channelId: raw.channelId == null ? null : String(raw.channelId),
|
||||
etaAt: raw.etaAt ?? null,
|
||||
sourceType: raw.sourceType ?? null,
|
||||
plannedCapacityCbm: raw.plannedCapacityCbm == null ? null : number(raw.plannedCapacityCbm),
|
||||
volumeSummary: summary(raw.volumeSummary),
|
||||
version: number(raw.version),
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -36,6 +36,11 @@ export interface SailingCalendarEntry {
|
||||
status: SailingStatus
|
||||
volumeSummary: SailingVolumeSummary
|
||||
version: number
|
||||
templateId?: string | null
|
||||
channelId?: string | null
|
||||
etaAt?: string | null
|
||||
sourceType?: string | null
|
||||
plannedCapacityCbm?: number | null
|
||||
remark?: string | null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user