feat: add loading collections stream to team collection adapter
This commit is contained in:
@@ -1,13 +1,3 @@
|
||||
import { GraphCacheOptimisticUpdaters } from "../graphql"
|
||||
|
||||
export const optimisticDefs: GraphCacheOptimisticUpdaters = {
|
||||
deleteTeam: () => true,
|
||||
leaveTeam: () => true,
|
||||
renameTeam: ({ teamID, newName }) => ({
|
||||
__typename: "Team",
|
||||
id: teamID,
|
||||
name: newName,
|
||||
}),
|
||||
removeTeamMember: () => true,
|
||||
revokeTeamInvitation: () => true,
|
||||
}
|
||||
export const optimisticDefs: GraphCacheOptimisticUpdaters = {}
|
||||
|
||||
Reference in New Issue
Block a user