Skip to content

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

354 B
Raw Blame
import { NodeReaction } from '@colanode/client/types/nodes';

export type NodeReactionListQueryInput = {
  type: 'node.reaction.list';
  nodeId: string;
  userId: string;
};

declare module '@colanode/client/queries' {
  interface QueryMap {
    'node.reaction.list': {
      input: NodeReactionListQueryInput;
      output: NodeReaction[];
    };
  }
}