Skip to content

Commit 88ffcc2

Browse files
Prettified.
1 parent 7fac57b commit 88ffcc2

File tree

2 files changed

+26
-30
lines changed

2 files changed

+26
-30
lines changed
Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
2-
import {Job} from './job.entity'
3-
1+
import { Job } from './job.entity';
42

53
export class Company {
6-
id: number ;
7-
name: string ;
8-
jobs?: Job[] ;
9-
createdAt: Date ;
4+
id: number;
5+
name: string;
6+
jobs?: Job[];
7+
createdAt: Date;
108
}
Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
1-
2-
import {Prisma} from '@prisma/client'
3-
import {Company} from './company.entity'
4-
import {JobTag} from './jobTag.entity'
5-
import {JobMetadata} from './jobMetadata.entity'
6-
1+
import { Prisma } from '@prisma/client';
2+
import { Company } from './company.entity';
3+
import { JobTag } from './jobTag.entity';
4+
import { JobMetadata } from './jobMetadata.entity';
75

86
export class Job {
9-
id: number ;
10-
title: string ;
11-
companyId: number | null;
12-
company?: Company | null;
13-
author: string | null;
14-
location: string | null;
15-
url: string ;
16-
postedAt: Date | null;
17-
description: string | null;
18-
isRemote: boolean | null;
19-
createdAt: Date ;
20-
updatedAt: Date ;
21-
source: string | null;
22-
externalId: string | null;
23-
data: Prisma.JsonValue | null;
24-
tags?: JobTag[] ;
25-
metadata?: JobMetadata[] ;
7+
id: number;
8+
title: string;
9+
companyId: number | null;
10+
company?: Company | null;
11+
author: string | null;
12+
location: string | null;
13+
url: string;
14+
postedAt: Date | null;
15+
description: string | null;
16+
isRemote: boolean | null;
17+
createdAt: Date;
18+
updatedAt: Date;
19+
source: string | null;
20+
externalId: string | null;
21+
data: Prisma.JsonValue | null;
22+
tags?: JobTag[];
23+
metadata?: JobMetadata[];
2624
}

0 commit comments

Comments
 (0)