Skip to content
Snippets Groups Projects
algorithm.input.ts 347 B
import { Field, InputType } from '@nestjs/graphql';

@InputType()
export class AlgorithmInput {
  @Field(() => [String])
  datasets: string[];

  @Field(() => [String])
  variables: string[];

  @Field(() => String, { nullable: true })
  filter: string;

  @Field()
  domain: string;

  @Field()
  algorithm: string;

  @Field()
  name: string;
}