Skip to content

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

393 B
Raw Blame
export type MetadataUpdateMutationInput = {
  type: 'metadata.update';
  namespace: string;
  key: string;
  value: string;
};

export type MetadataUpdateMutationOutput = {
  success: boolean;
};

declare module '@colanode/client/mutations' {
  interface MutationMap {
    'metadata.update': {
      input: MetadataUpdateMutationInput;
      output: MetadataUpdateMutationOutput;
    };
  }
}