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

Fix linter warnings

parent 1e77e42b
No related branches found
No related tags found
No related merge requests found
import { HttpService } from '@nestjs/axios'; import { HttpService } from '@nestjs/axios';
import { Request } from 'express';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
import { IEngineOptions, IEngineService } from 'src/engine/engine.interfaces'; import { IEngineOptions, IEngineService } from 'src/engine/engine.interfaces';
...@@ -13,23 +12,23 @@ export default class DataShieldService implements IEngineService { ...@@ -13,23 +12,23 @@ export default class DataShieldService implements IEngineService {
return 'datashield'; return 'datashield';
} }
getExperiment(uuid: string): Observable<string> { getExperiment(): Observable<string> {
throw new Error('Method not implemented.'); throw new Error('Method not implemented.');
} }
deleteExperiment(uuid: string, request: Request): Observable<string> { deleteExperiment(): Observable<string> {
throw new Error('Method not implemented.'); throw new Error('Method not implemented.');
} }
editExperiment(uuid: string, request: Request): Observable<string> { editExperiment(): Observable<string> {
throw new Error('Method not implemented.'); throw new Error('Method not implemented.');
} }
startExperimentTransient(request: Request): Observable<string> { startExperimentTransient(): Observable<string> {
throw new Error('Method not implemented.'); throw new Error('Method not implemented.');
} }
startExperiment(request: Request): Observable<string> { startExperiment(): Observable<string> {
throw new Error('Method not implemented.'); throw new Error('Method not implemented.');
} }
......
...@@ -4,6 +4,6 @@ import { Group } from './group.model'; ...@@ -4,6 +4,6 @@ import { Group } from './group.model';
@ObjectType() @ObjectType()
export class Domain extends Group { export class Domain extends Group {
@Field((type) => [Category]) @Field(() => [Category])
datasets: Category[]; datasets: Category[];
} }
...@@ -12,9 +12,9 @@ export class Group { ...@@ -12,9 +12,9 @@ export class Group {
@Field({ nullable: true }) @Field({ nullable: true })
description?: string; description?: string;
@Field((type) => [Group]) @Field(() => [Group])
groups: Group[]; groups: Group[];
@Field((type) => [Variable]) @Field(() => [Variable])
variables: Variable[]; variables: Variable[];
} }
...@@ -16,9 +16,9 @@ export class Variable { ...@@ -16,9 +16,9 @@ export class Variable {
@Field({ nullable: true }) @Field({ nullable: true })
description?: string; description?: string;
@Field((type) => [Category]) @Field(() => [Category])
enumerations: Category[]; enumerations: Category[];
@Field((type) => [Group]) @Field(() => [Group])
groups: Group[]; groups: Group[];
} }
import { HttpService } from '@nestjs/axios';
import { Controller, Get } from '@nestjs/common'; import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service'; import { AppService } from './app.service';
......
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