mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
19 lines
639 B
TypeScript
19 lines
639 B
TypeScript
import { GradidoDeferredTransfer } from '@/data/proto/3_3/GradidoDeferredTransfer'
|
|
|
|
import { AbstractLoggingView } from './AbstractLogging.view'
|
|
import { GradidoTransferLoggingView } from './GradidoTransferLogging.view'
|
|
|
|
export class GradidoDeferredTransferLoggingView extends AbstractLoggingView {
|
|
public constructor(private self: GradidoDeferredTransfer) {
|
|
super()
|
|
}
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
public toJSON(): any {
|
|
return {
|
|
...new GradidoTransferLoggingView(this.self.transfer).toJSON(),
|
|
...{ timeout: this.timestampSecondsToDateString(this.self.timeout) },
|
|
}
|
|
}
|
|
}
|