Skip to content

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

420 B
Raw Blame
export type NodeInteractionOpenedMutationInput = {
  type: 'node.interaction.opened';
  userId: string;
  nodeId: string;
};

export type NodeInteractionOpenedMutationOutput = {
  success: boolean;
};

declare module '@colanode/client/mutations' {
  interface MutationMap {
    'node.interaction.opened': {
      input: NodeInteractionOpenedMutationInput;
      output: NodeInteractionOpenedMutationOutput;
    };
  }
}