Skip to content

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

368 B
Raw Blame
import { LoginOutput } from '@colanode/core';

export type EmailRegisterMutationInput = {
  type: 'email.register';
  server: string;
  name: string;
  email: string;
  password: string;
};

declare module '@colanode/client/mutations' {
  interface MutationMap {
    'email.register': {
      input: EmailRegisterMutationInput;
      output: LoginOutput;
    };
  }
}