mirror of
https://github.com/colanode/colanode.git
synced 2025-12-29 00:25:03 +01:00
Update mutation naming convention (#47)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user