[EdgeDB] Add Engagement
queries | refactor service/repo layers appropriately
#2297
Annotations
10 errors
lint:
src/components/engagement/engagement.edgedb.repository.ts#L119
Property 'createInternshipEngagement' in type 'EngagementEdgeDBRepository' is not assignable to the same property in base type 'PublicOf<EngagementRepository>'.
|
lint:
src/components/engagement/engagement.edgedb.repository.ts#L161
Property 'updateInternship' in type 'EngagementEdgeDBRepository' is not assignable to the same property in base type 'PublicOf<EngagementRepository>'.
|
lint:
src/components/engagement/engagement.edgedb.repository.ts#L191
Property 'listAllByProjectId' in type 'EngagementEdgeDBRepository' is not assignable to the same property in base type 'PublicOf<EngagementRepository>'.
|
lint:
src/components/engagement/engagement.edgedb.repository.ts#L198
Property 'getOngoingEngagementIds' in type 'EngagementEdgeDBRepository' is not assignable to the same property in base type 'PublicOf<EngagementRepository>'.
|
lint:
src/components/engagement/engagement.edgedb.repository.ts#L209
Property 'engagements' does not exist on type '$expr_Cast<$Project, Cardinality.One>'.
|
lint:
src/components/engagement/engagement.repository.ts#L369
Argument of type 'Secured<LinkTo<"File"> | null>' is not assignable to parameter of type 'Secured<LinkTo<"File"> | FileId>'.
|
lint:
src/components/engagement/engagement.repository.ts#L407
Argument of type 'Secured<LinkTo<"File"> | null>' is not assignable to parameter of type 'Secured<LinkTo<"File"> | FileId>'.
|
lint:
src/components/engagement/engagement.service.ts#L215
Argument of type 'Secured<LinkTo<"File"> | null>' is not assignable to parameter of type 'Secured<LinkTo<"File"> | FileId>'.
|
lint:
src/components/product/handlers/extract-products-from-pnp.handler.ts#L56
'engagement.pnp' is possibly 'null'.
|
lint
Process completed with exit code 2.
|