einhornimmond 987582c3ef Revert "use root biome config for backend, add useImportType rule"
This reverts commit bb8132791557fb9dcbf117ff7c3622a83e2e3730.
2025-04-30 09:29:09 +02:00

26 lines
423 B
TypeScript

import { Field, Int, ObjectType } from 'type-graphql'
import { Space as HumhubSpace } from '@/apis/humhub/model/Space'
@ObjectType()
export class Space {
@Field(() => Int)
id: number
@Field(() => String)
guid: string
@Field(() => String)
name: string
@Field(() => String)
description: string
@Field(() => String)
url: string
constructor(data: HumhubSpace) {
Object.assign(this, data)
}
}