mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
fix db types duplication
This commit is contained in:
@@ -1,51 +1,6 @@
|
|||||||
import {
|
import { DB } from '@docmost/db/types/db';
|
||||||
ApiKeys,
|
|
||||||
Attachments,
|
|
||||||
AuthAccounts,
|
|
||||||
AuthProviders,
|
|
||||||
Backlinks,
|
|
||||||
Billing,
|
|
||||||
Comments,
|
|
||||||
FileTasks,
|
|
||||||
Groups,
|
|
||||||
GroupUsers,
|
|
||||||
Notifications,
|
|
||||||
PageHistory,
|
|
||||||
Pages,
|
|
||||||
Shares,
|
|
||||||
SpaceMembers,
|
|
||||||
Spaces,
|
|
||||||
UserMfa,
|
|
||||||
Users,
|
|
||||||
UserTokens,
|
|
||||||
Watchers,
|
|
||||||
WorkspaceInvitations,
|
|
||||||
Workspaces,
|
|
||||||
} from '@docmost/db/types/db';
|
|
||||||
import { PageEmbeddings } from '@docmost/db/types/embeddings.types';
|
import { PageEmbeddings } from '@docmost/db/types/embeddings.types';
|
||||||
|
|
||||||
export interface DbInterface {
|
export interface DbInterface extends DB {
|
||||||
attachments: Attachments;
|
|
||||||
authAccounts: AuthAccounts;
|
|
||||||
authProviders: AuthProviders;
|
|
||||||
backlinks: Backlinks;
|
|
||||||
billing: Billing;
|
|
||||||
comments: Comments;
|
|
||||||
fileTasks: FileTasks;
|
|
||||||
groups: Groups;
|
|
||||||
groupUsers: GroupUsers;
|
|
||||||
notifications: Notifications;
|
|
||||||
pageEmbeddings: PageEmbeddings;
|
pageEmbeddings: PageEmbeddings;
|
||||||
pageHistory: PageHistory;
|
|
||||||
pages: Pages;
|
|
||||||
shares: Shares;
|
|
||||||
spaceMembers: SpaceMembers;
|
|
||||||
spaces: Spaces;
|
|
||||||
userMfa: UserMfa;
|
|
||||||
users: Users;
|
|
||||||
userTokens: UserTokens;
|
|
||||||
watchers: Watchers;
|
|
||||||
workspaceInvitations: WorkspaceInvitations;
|
|
||||||
workspaces: Workspaces;
|
|
||||||
apiKeys: ApiKeys;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user