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:
parent
2f7ab7e92e
commit
a4e279270b
Binary file not shown.
@ -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' },
|
||||
|
Loading…
Reference in New Issue
Block a user