Skip to content

refactor: Group membership list #3195

refactor: Group membership list

refactor: Group membership list #3195

Triggered via pull request November 20, 2023 22:27
Status Failure
Total duration 1m 22s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: src/group/groupService.ts#L34
Cannot find module './groupUtils' or its corresponding type declarations.
lint: src/group/groupSlice.ts#L48
Property 'dataEntries' does not exist on type '{ id: string; slug: string; name: string; description: string; email: string; website: string; sharedResources?: { edges: { node: { source?: {} | { id: string; name: string; description: string; entryType: SharedDataDataEntryEntryTypeChoices; ... 5 more ...; visualizations: { ...; }; } | null | undefined; }; }[]; } ...'.
lint: src/group/groupSlice.ts#L164
Type '{ id: string; slug: string; name: string; description: string; email: string; website: string; sharedResources?: { edges: { node: { source?: {} | { id: string; name: string; description: string; entryType: SharedDataDataEntryEntryTypeChoices; ... 5 more ...; visualizations: { ...; }; } | null | undefined; }; }[]; } ...' is not assignable to type 'Group | null'.
lint: src/group/groupSlice.ts#L297
No overload matches this call.
lint: src/group/groupSlice.ts#L385
Type '{ id: string; slug: string; name: string; description: string; email: string; website: string; membershipList?: { membershipsCount?: number | null | undefined; accountMembership?: { id: string; userRole: string; membershipStatus: CollaborationMembershipMembershipStatusChoices; } | null | undefined; } | null | undefi...' is not assignable to type 'Group'.
lint: src/group/groupSlice.ts#L407
Type '{ id: string; slug: string; name: string; description: string; email: string; website: string; membershipList?: { membershipsCount?: number | null | undefined; accountMembership?: { id: string; userRole: string; membershipStatus: CollaborationMembershipMembershipStatusChoices; } | null | undefined; } | null | undefi...' is not assignable to type 'Group'.
lint
Process completed with exit code 2.
build
Process completed with exit code 1.
tests
Process completed with exit code 1.
tests-coverage
Process completed with exit code 1.