Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

408 B
Raw Blame
export type NodeInteractionSeenMutationInput = {
  type: 'node.interaction.seen';
  userId: string;
  nodeId: string;
};

export type NodeInteractionSeenMutationOutput = {
  success: boolean;
};

declare module '@colanode/client/mutations' {
  interface MutationMap {
    'node.interaction.seen': {
      input: NodeInteractionSeenMutationInput;
      output: NodeInteractionSeenMutationOutput;
    };
  }
}