mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
17 lines
470 B
TypeScript
17 lines
470 B
TypeScript
import { SignatureMap } from '@/data/proto/3_3/SignatureMap'
|
|
|
|
import { AbstractLoggingView } from './AbstractLogging.view'
|
|
import { SignaturePairLoggingView } from './SignaturePairLogging.view'
|
|
|
|
export class SignatureMapLoggingView extends AbstractLoggingView {
|
|
public constructor(private self: SignatureMap) {
|
|
super()
|
|
}
|
|
|
|
public toJSON() {
|
|
return {
|
|
sigPair: this.self.sigPair.map((value) => new SignaturePairLoggingView(value).toJSON()),
|
|
}
|
|
}
|
|
}
|