Update mutation naming convention (#47)

This commit is contained in:
Hakan Shehu
2025-06-11 12:55:15 +02:00
committed by GitHub
parent eb3a8a9216
commit 08ffd69229
16 changed files with 140 additions and 130 deletions

View File

@@ -70,7 +70,7 @@ export const RadarProvider = ({ children }: RadarProviderProps) => {
},
markNodeAsSeen: (accountId, workspaceId, nodeId) => {
window.colanode.executeMutation({
type: 'node.mark.seen',
type: 'node.interaction.seen',
nodeId,
accountId,
workspaceId,
@@ -78,7 +78,7 @@ export const RadarProvider = ({ children }: RadarProviderProps) => {
},
markNodeAsOpened: (accountId, workspaceId, nodeId) => {
window.colanode.executeMutation({
type: 'node.mark.opened',
type: 'node.interaction.opened',
nodeId,
accountId,
workspaceId,