Skip to content
Snippets Groups Projects
Commit d35c44a2 authored by stevereis's avatar stevereis
Browse files

Format files

parent a3758a07
No related branches found
No related tags found
No related merge requests found
...@@ -10,11 +10,11 @@ export class EngineResolver { ...@@ -10,11 +10,11 @@ export class EngineResolver {
@Query(() => Domain) @Query(() => Domain)
async hello() { async hello() {
let dummy : Domain = { let dummy: Domain = {
id: "test", id: "test",
label: "test", label: "test",
description: "test", description: "test",
groups:[], groups: [],
variables: [], variables: [],
datasets: [] datasets: []
} }
......
...@@ -3,7 +3,7 @@ import { Category } from "./category.model"; ...@@ -3,7 +3,7 @@ import { Category } from "./category.model";
import { Group } from "./group.model"; import { Group } from "./group.model";
@ObjectType() @ObjectType()
export class Domain extends Group{ export class Domain extends Group {
@Field(type => [Category]) @Field(type => [Category])
datasets: Category[]; datasets: Category[];
} }
\ No newline at end of file
...@@ -9,7 +9,7 @@ export class Group { ...@@ -9,7 +9,7 @@ export class Group {
@Field() @Field()
label: string; label: string;
@Field({ nullable: true}) @Field({ nullable: true })
description?: string; description?: string;
@Field(type => [Group]) @Field(type => [Group])
......
...@@ -13,7 +13,7 @@ export class Variable { ...@@ -13,7 +13,7 @@ export class Variable {
@Field() @Field()
type: string; type: string;
@Field({ nullable: true}) @Field({ nullable: true })
description?: string; description?: string;
@Field(type => [Category]) @Field(type => [Category])
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment