1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00

Chore: Fixed server db types

This commit is contained in:
Laurent Cozic 2022-02-01 14:40:02 +00:00
parent 2f7ab7e92e
commit a4e279270b
2 changed files with 0 additions and 38 deletions

Binary file not shown.

View File

@ -269,26 +269,6 @@ export interface UserDeletion extends WithDates {
error?: string;
}
export interface Organization {
id?: Uuid;
name?: string;
owner_id?: Uuid;
max_users?: number;
updated_time?: string;
created_time?: string;
}
export interface OrganizationUser {
id?: Uuid;
organization_id?: Uuid;
user_id?: Uuid;
invitation_email?: string;
invitation_status?: number;
is_admin?: number;
updated_time?: string;
created_time?: string;
}
export interface Email extends WithDates {
id?: number;
recipient_name?: string;
@ -483,24 +463,6 @@ export const databaseSchema: DatabaseTables = {
updated_time: { type: 'string' },
created_time: { type: 'string' },
},
organizations: {
id: { type: 'string' },
name: { type: 'string' },
owner_id: { type: 'string' },
max_users: { type: 'number' },
updated_time: { type: 'string' },
created_time: { type: 'string' },
},
organization_users: {
id: { type: 'string' },
organization_id: { type: 'string' },
user_id: { type: 'string' },
invitation_email: { type: 'string' },
invitation_status: { type: 'number' },
is_admin: { type: 'number' },
updated_time: { type: 'string' },
created_time: { type: 'string' },
},
emails: {
id: { type: 'number' },
recipient_name: { type: 'string' },