Magidoc

RootSubscriptionType
Object

Fields

#

colorTagsIndicatorsUpdated

Notifies subscribers of the workspace identified by workspaceId when associateColorTag or disassociateColorTag runs against a Project-side tag (Recipe-side tags do not fire it). Delivers the affected project, re-fetched with the subscriber's permissions. Used to refresh tag indicators across a workspace's project list.

ompPostUpdated

Notifies the calling user (no arguments; the topic is their own user id) when a Post in a thread they are involved in - as author or owner of the thread's root post or any of its replies - is created, updated, or deleted (debounced). For activity on a reply the thread's root post may be delivered instead of the reply itself. Backs the On My Plate posts view.

ompTodosDeleted

[Todo !]!
Non-null

Fires for the given user when one or more of their On My Plate todos are deleted, delivering the deleted Todos for client-side cleanup.

ompTodosUpdated

[Todo !]!
Non-null

Fires for the given user when one or more of their On My Plate todos are created or updated, delivering the affected Todos.

projectBoxesUpdated

Fires when the boxes of the project with the given id change (create, update, delete, move, or reorder), and also on updateProject, delivering the full project as visible to the subscriber so the board's box layout can be refreshed.

projectClosedUpdated

Non-null

Fires when the closedStatus of the project with the given id changes through a project update (between "open", "hold", and "closed"). The payload is the project as visible to the subscriber.

projectColorTagsUpdated

Notifies subscribers when the tag set or tag associations of the project identified by id change - tag renames, default-set seeding, associate/disassociate, text tag creation, and copy or import flows. Delivers the full project, re-fetched with the subscriber's permissions (null when it is not viewable).

projectCreated

Fires when a new project is created in the given workspace (triggered by the createProject mutation), delivering the new project as visible to the subscriber. Subscribers who are not permitted to view the created project receive a null payload.

projectDatesUpdated

Non-null

Fires when the start or due dates of the project with the given id change through a project update. The payload is the project as visible to the subscriber; query its date fields to refresh timeline views.

projectDeleted

Fires when deleteProject soft-deletes a project in the given workspace. The notification carries only the deleted project's id; other fields are empty.

projectPostIndicatorsUpdated

Notifies subscribers of the workspace identified by workspaceId when createPost attaches a new post directly to one of the workspace's projects (posts on slices, tasks, or recipes do not fire it). Delivers the new post, re-checked against the subscriber's permissions. Used to refresh unread-post indicators on project listings.

projectPostsUpdated

Non-null

Fires when a post (comment, status, or issue activity) on the project with the given id is created, updated, or deleted. The payload is the project as visible to the subscriber; query its post-related fields to refresh the activity view.

projectTodosUpdated

[Todo !]!
Non-null

Fires when todos of the project with the given id change — on todo creation and updates, date changes, moves and copies between projects, dependency changes, and CSV todo imports. The payload is the list of affected todos; the subscriber must be able to view the project to receive it. When todos are moved out of the project, the event on the source project delivers the todos' new state so clients can remove them.

projectUpdated

Fires when a project changes — published by the updateProject mutation and by server-side updates such as box, todo, folder, and status-dot changes, and by comment activity on the project. Subscribe by id to receive events for a single project, or by workspaceId to receive events for every project in that workspace. When the subscriber can no longer view the project (for example their assignment was removed), the payload carries only the project id with empty associations so clients can remove it.

stackCreated

Fires when a new stack is created in the given workspace (triggered by the createStack mutation), delivering the new stack as visible to the subscriber.

stackDeleted

Fires when a stack in the given workspace is deleted (triggered by the deleteStack mutation). The payload carries only the deleted stack's id — the record is gone, so all other fields are empty.

stackProjectsReordered

Fires when the projects of a stack are reordered via the reorderStackProjects mutation. Subscribe by id for a single stack or by workspaceId for every stack in that workspace. The payload is the stack as visible to the subscriber; its projects reflect the new order.

stackProjectsUpdated

Fires when a project belonging to the stack with the given id is updated or its todos change, delivering the refreshed list of the stack's projects as visible to the subscriber (the same scope as the stackProjects query).

stackUpdated

Fires when a stack is updated (triggered by the updateStack mutation). Subscribe by id for a single stack or by workspaceId for every stack in that workspace. When the subscriber can no longer view the stack, the payload carries only the stack id so clients can remove it.

todoTimeItemsUpdated

Notifies subscribers when the Timesheet rows of the Todo identified by id change: time entries created or updated on either track (createTimeEntry, updateTimeEntry, and the planned variants), row tags changed via updateTimeItem, and assignment or role changes that affect the task's rows. Delivers the task's current TimeItem list, filtered by the subscriber's permissions - the same result as timeItems with todoId.

todoUpdated

Fires whenever the todo with the given id is updated, delivering the new Todo state.