Skip to content

Commit

Permalink
Fixed syntax errors and linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrosx committed Jun 1, 2023
1 parent 12c9d25 commit b28b16a
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/common/schemas/datafile.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ export class DataFile {
required: true,
description: "Relative path of the file within the dataset folder.",
})
@Prop({
type: String,
required: true
@Prop({
type: String,
required: true,
})
path: string;

Expand All @@ -29,13 +29,13 @@ export class DataFile {

@ApiProperty({
type: Date,
required: true
required: true,
description:
"Time of file creation on disk, format according to chapter 5.6 internet date/time format in RFC 3339. Local times without timezone/offset info are automatically transformed to UTC using the timezone of the API server.",
})
@Prop({
type: Date,
required: true
required: true,
})
time: Date;

Expand All @@ -47,7 +47,7 @@ export class DataFile {
})
@Prop({
type: String,
required: false
required: false,
})
chk: string;

Expand All @@ -58,7 +58,7 @@ export class DataFile {
})
@Prop({
type: String,
required: false
required: false,
})
uid: string;

Expand All @@ -69,18 +69,18 @@ export class DataFile {
})
@Prop({
type: String,
required: false
required: false,
})
gid: string;

@ApiProperty({
type: String,
@ApiProperty({
type: String,
required: false,
description: "Posix permission bits."
description: "Posix permission bits.",
})
@Prop({
type: String,
required: false
type: String,
required: false,
})
perm: string;
}
Expand Down

0 comments on commit b28b16a

Please sign in to comment.