mirror of
https://github.com/docmost/docmost.git
synced 2026-05-21 09:14:07 +08:00
fix types
This commit is contained in:
+1
-21
@@ -62,7 +62,6 @@ export interface AuthProviders {
|
|||||||
deletedAt: Timestamp | null;
|
deletedAt: Timestamp | null;
|
||||||
id: Generated<string>;
|
id: Generated<string>;
|
||||||
isEnabled: Generated<boolean>;
|
isEnabled: Generated<boolean>;
|
||||||
isGroupSyncEnabled: Generated<boolean>;
|
|
||||||
name: string;
|
name: string;
|
||||||
oidcClientId: string | null;
|
oidcClientId: string | null;
|
||||||
oidcClientSecret: string | null;
|
oidcClientSecret: string | null;
|
||||||
@@ -123,7 +122,6 @@ export interface Comments {
|
|||||||
pageId: string;
|
pageId: string;
|
||||||
parentCommentId: string | null;
|
parentCommentId: string | null;
|
||||||
resolvedAt: Timestamp | null;
|
resolvedAt: Timestamp | null;
|
||||||
resolvedById: string | null;
|
|
||||||
selection: string | null;
|
selection: string | null;
|
||||||
type: string | null;
|
type: string | null;
|
||||||
workspaceId: string;
|
workspaceId: string;
|
||||||
@@ -167,23 +165,6 @@ export interface GroupUsers {
|
|||||||
userId: string;
|
userId: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Notifications {
|
|
||||||
actorId: string | null;
|
|
||||||
context: Generated<Json | null>;
|
|
||||||
createdAt: Generated<Timestamp>;
|
|
||||||
deduplicationKey: string | null;
|
|
||||||
emailSentAt: Timestamp | null;
|
|
||||||
entityId: string;
|
|
||||||
entityType: string;
|
|
||||||
id: Generated<string>;
|
|
||||||
readAt: Timestamp | null;
|
|
||||||
recipientId: string;
|
|
||||||
spaceId: string | null;
|
|
||||||
type: string;
|
|
||||||
updatedAt: Generated<Timestamp>;
|
|
||||||
workspaceId: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface PageHistory {
|
export interface PageHistory {
|
||||||
content: Json | null;
|
content: Json | null;
|
||||||
coverPhoto: string | null;
|
coverPhoto: string | null;
|
||||||
@@ -331,12 +312,12 @@ export interface Workspaces {
|
|||||||
deletedAt: Timestamp | null;
|
deletedAt: Timestamp | null;
|
||||||
description: string | null;
|
description: string | null;
|
||||||
emailDomains: Generated<string[] | null>;
|
emailDomains: Generated<string[] | null>;
|
||||||
|
enforceMfa: Generated<boolean | null>;
|
||||||
enforceSso: Generated<boolean>;
|
enforceSso: Generated<boolean>;
|
||||||
hostname: string | null;
|
hostname: string | null;
|
||||||
id: Generated<string>;
|
id: Generated<string>;
|
||||||
licenseKey: string | null;
|
licenseKey: string | null;
|
||||||
logo: string | null;
|
logo: string | null;
|
||||||
enforceMfa: Generated<boolean | null>;
|
|
||||||
name: string | null;
|
name: string | null;
|
||||||
plan: string | null;
|
plan: string | null;
|
||||||
settings: Json | null;
|
settings: Json | null;
|
||||||
@@ -356,7 +337,6 @@ export interface DB {
|
|||||||
fileTasks: FileTasks;
|
fileTasks: FileTasks;
|
||||||
groups: Groups;
|
groups: Groups;
|
||||||
groupUsers: GroupUsers;
|
groupUsers: GroupUsers;
|
||||||
notifications: Notifications;
|
|
||||||
pageHistory: PageHistory;
|
pageHistory: PageHistory;
|
||||||
pages: Pages;
|
pages: Pages;
|
||||||
shares: Shares;
|
shares: Shares;
|
||||||
|
|||||||
Reference in New Issue
Block a user