1800dbbdbd
* userProjectsUpdated.added test * multi region support * userStreamAdded * commit subs tested * fix for proj workspace assignment * undo commitHelper main changes * disable all ffs mode * createTestWorkspace support when workspaces arent enabled * project create fix * workspace projects updated subscription * WIP new workspace sub * updated workspaceCreated * updated workspaceUpdated * BE for workspace updated sub * workspace updated sub * ts err fix
18 lines
441 B
TypeScript
18 lines
441 B
TypeScript
import { graphql } from '~/lib/common/generated/gql'
|
|
|
|
export const onWorkspaceUpdatedSubscription = graphql(`
|
|
subscription onWorkspaceUpdated(
|
|
$workspaceId: String
|
|
$workspaceSlug: String
|
|
$invitesFilter: PendingWorkspaceCollaboratorsFilter
|
|
) {
|
|
workspaceUpdated(workspaceId: $workspaceId, workspaceSlug: $workspaceSlug) {
|
|
id
|
|
workspace {
|
|
id
|
|
...WorkspaceProjectList_Workspace
|
|
}
|
|
}
|
|
}
|
|
`)
|