Function transformBanListResponse
- transformBanListResponse(response): (Omit<{
createdAt: string;
expiresAt: null | string;
id: string;
identifier: string;
links: {
href: string;
method: "DELETE";
relationship: "delete";
}[];
reason: string;
status: BanStatus;
updatedAt: string;
}, "createdAt" | "updatedAt" | "expiresAt"> & {
createdAt: Date;
expiresAt: null | Date;
updatedAt: Date;
})[] Returns (Omit<{
createdAt: string;
expiresAt: null | string;
id: string;
identifier: string;
links: {
href: string;
method: "DELETE";
relationship: "delete";
}[];
reason: string;
status: BanStatus;
updatedAt: string;
}, "createdAt" | "updatedAt" | "expiresAt"> & {
createdAt: Date;
expiresAt: null | Date;
updatedAt: Date;
})[]