refactor: Group membership list #3196
Annotations
10 errors
Typecheck TypeScript:
src/group/groupService.ts#L76
Argument of type '(group: GroupNode) => { membershipsInfo: { totalCount: number | undefined; pendingCount: number | undefined; accountMembership: { membershipId: string; userRole: string; membershipStatus: CollaborationMembershipMembershipStatusChoices; } | undefined; membershipsSample: { ...; }[]; enrollMethod: CollaborationMembersh...' is not assignable to parameter of type '(value: { 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; };...'.
|
Typecheck TypeScript:
src/group/groupService.ts#L107
Argument of 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 parameter of type 'GroupNode'.
|
Typecheck TypeScript:
src/group/groupService.ts#L168
Argument of type '(group: GroupNode) => { membershipsInfo: { totalCount: number | undefined; pendingCount: number | undefined; accountMembership: { membershipId: string; userRole: string; membershipStatus: CollaborationMembershipMembershipStatusChoices; } | undefined; membershipsSample: { ...; }[]; enrollMethod: CollaborationMembersh...' is not assignable to parameter of type '(value: { id: string; slug: string; name: string; description: string; email: string; website: string; membershipList?: { memberships: { totalCount: number; edges: { node: { id: string; userRole: string; membershipStatus: CollaborationMembershipMembershipStatusChoices; pendingEmail?: string | ... 1 more ... | undefi...'.
|
Typecheck TypeScript:
src/group/groupService.ts#L189
Argument of type '(group: GroupNode) => { membershipsInfo: { totalCount: number | undefined; pendingCount: number | undefined; accountMembership: { membershipId: string; userRole: string; membershipStatus: CollaborationMembershipMembershipStatusChoices; } | undefined; membershipsSample: { ...; }[]; enrollMethod: CollaborationMembersh...' is not assignable to parameter of type '(value: { id: string; slug: string; name: string; membershipList?: { membershipsCount?: number | null | undefined; accountMembership?: { id: string; userRole: string; membershipStatus: CollaborationMembershipMembershipStatusChoices; } | null | undefined; } | null | undefined; }) => { ...; } | PromiseLike<...>'.
|
Typecheck TypeScript:
src/group/groupService.ts#L257
Argument of type '(group: GroupNode) => { membershipsInfo: { totalCount: number | undefined; pendingCount: number | undefined; accountMembership: { membershipId: string; userRole: string; membershipStatus: CollaborationMembershipMembershipStatusChoices; } | undefined; membershipsSample: { ...; }[]; enrollMethod: CollaborationMembersh...' is not assignable to parameter of type '(value: { 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; };...'.
|
Typecheck TypeScript:
src/group/groupService.ts#L289
Argument of type '(group: GroupNode) => { membershipsInfo: { totalCount: number | undefined; pendingCount: number | undefined; accountMembership: { membershipId: string; userRole: string; membershipStatus: CollaborationMembershipMembershipStatusChoices; } | undefined; membershipsSample: { ...; }[]; enrollMethod: CollaborationMembersh...' is not assignable to parameter of type '(value: { 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; };...'.
|
Typecheck TypeScript:
src/group/groupService.ts#L311
Argument of type '(group: GroupNode) => { membershipsInfo: { totalCount: number | undefined; pendingCount: number | undefined; accountMembership: { membershipId: string; userRole: string; membershipStatus: CollaborationMembershipMembershipStatusChoices; } | undefined; membershipsSample: { ...; }[]; enrollMethod: CollaborationMembersh...' is not assignable to parameter of type '(value: { 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 ...'.
|
Typecheck TypeScript:
src/group/groupService.ts#L338
Argument of type '(group: GroupNode) => { membershipsInfo: { totalCount: number | undefined; pendingCount: number | undefined; accountMembership: { membershipId: string; userRole: string; membershipStatus: CollaborationMembershipMembershipStatusChoices; } | undefined; membershipsSample: { ...; }[]; enrollMethod: CollaborationMembersh...' is not assignable to parameter of type '(value: { 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 ...'.
|
Typecheck TypeScript:
src/group/groupSlice.ts#L297
No overload matches this call.
|
Typecheck TypeScript
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading