All files / graphql/upload/dto file-upload-input.dto.ts

72.72% Statements 8/11
100% Branches 0/0
25% Functions 1/4
57.14% Lines 4/7

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15        1x   3x     3x     3x    
import { Field, InputType } from '@nestjs/graphql';
import { FileUpload } from 'graphql-upload/processRequest.mjs';
 
@InputType()
export class AppFileUploadInputDto implements Partial<FileUpload> {
  @Field(() => String)
  public filename = '';
 
  @Field(() => String)
  public mimetype = '';
 
  @Field(() => String)
  public encoding = '';
}