mirror of
https://github.com/IT4Change/gradido.git
synced 2026-01-20 20:01:31 +00:00
14 lines
357 B
TypeScript
14 lines
357 B
TypeScript
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
|
|
import { ObjectType, Field } from 'type-graphql'
|
|
|
|
@ObjectType()
|
|
export class KlickTipp {
|
|
constructor(json: any) {
|
|
this.newsletterState = json.status === 'Subscribed'
|
|
}
|
|
|
|
@Field(() => Boolean)
|
|
newsletterState: boolean
|
|
}
|