mirror of
https://github.com/colanode/colanode.git
synced 2025-12-16 11:47:47 +01:00
21 lines
422 B
TypeScript
21 lines
422 B
TypeScript
export type DatabaseUpdateMutationInput = {
|
|
type: 'database.update';
|
|
userId: string;
|
|
databaseId: string;
|
|
name: string;
|
|
avatar?: string | null;
|
|
};
|
|
|
|
export type DatabaseUpdateMutationOutput = {
|
|
success: boolean;
|
|
};
|
|
|
|
declare module '@colanode/client/mutations' {
|
|
interface MutationMap {
|
|
'database.update': {
|
|
input: DatabaseUpdateMutationInput;
|
|
output: DatabaseUpdateMutationOutput;
|
|
};
|
|
}
|
|
}
|