mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
19 lines
580 B
TypeScript
19 lines
580 B
TypeScript
import { GetPublicCommunityInfoResult } from '@/graphql/api/1_0/model/GetPublicCommunityInfoResult'
|
|
import { AbstractLoggingView } from 'database'
|
|
|
|
export class GetPublicCommunityInfoResultLoggingView extends AbstractLoggingView {
|
|
public constructor(private self: GetPublicCommunityInfoResult) {
|
|
super()
|
|
}
|
|
|
|
public toJSON(): any {
|
|
return {
|
|
name: this.self.name,
|
|
description: this.self.description,
|
|
creationDate: this.dateToString(this.self.creationDate),
|
|
publicKey: this.self.publicKey,
|
|
publicJwtKey: this.self.publicJwtKey,
|
|
}
|
|
}
|
|
}
|