perf(posting): serve postings from cache #7
Annotations
10 errors
lint:
server/api/posting/index.delete.ts#L2
'JobPosting' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
|
lint:
server/api/posting/index.delete.ts#L26
Object is possibly 'undefined'.
|
lint:
server/api/posting/index.get.ts#L1
'JobPosting' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
|
lint:
server/api/posting/index.post.ts#L3
'JobPosting' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
|
lint:
server/api/posting/index.post.ts#L28
Argument of type '{ id: string; title: string; contents: string | null; tagsCSV: string | null; owner: string | null; isPublished: boolean; totalApplicants: number; createdAt: Date; updatedAt: Date; } | undefined' is not assignable to parameter of type '{ id: string; title: string; contents: string | null; tagsCSV: string | null; owner: string | null; isPublished: boolean; totalApplicants: number; createdAt: Date; updatedAt: Date; }'.
|
lint:
server/api/posting/index.put.ts#L1
'JobPosting' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
|
lint:
server/api/posting/index.put.ts#L35
'updatedJobPosting' is possibly 'undefined'.
|
lint:
server/api/postings/index.get.ts#L1
'JobPosting' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
|
lint:
server/api/postings/lite.get.ts#L1
'JobPosting' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
|
lint
Process completed with exit code 1.
|