Skip to content

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

425 B
Raw Blame
export type UserStorageUpdateMutationInput = {
  type: 'user.storage.update';
  userId: string;
  storageLimit: string;
  maxFileSize: string;
};

export type UserStorageUpdateMutationOutput = {
  success: boolean;
};

declare module '@colanode/client/mutations' {
  interface MutationMap {
    'user.storage.update': {
      input: UserStorageUpdateMutationInput;
      output: UserStorageUpdateMutationOutput;
    };
  }
}