eslintrc-tsnocheck

This commit is contained in:
Kagami Sascha Rosylight
2023-07-31 03:56:33 +02:00
parent fa03f61529
commit 2d3269273f
9 changed files with 50 additions and 7 deletions

View File

@@ -57,7 +57,7 @@ export type UserDetailed = UserLite & {
lang: string | null;
lastFetchedAt?: DateString;
location: string | null;
movedTo: string;
movedTo: string | null;
notesCount: number;
pinnedNoteIds: ID[];
pinnedNotes: Note[];
@@ -65,6 +65,7 @@ export type UserDetailed = UserLite & {
pinnedPageId: string | null;
publicReactions: boolean;
securityKeys: boolean;
roles: Role[],
twoFactorEnabled: boolean;
updatedAt: DateString | null;
uri: string | null;
@@ -546,3 +547,14 @@ export type UserSorting =
| '+updatedAt'
| '-updatedAt';
export type OriginType = 'combined' | 'local' | 'remote';
export type Role = {
id: string;
name: string;
color: string | null;
iconUrl: string | null;
description: string;
isModerator: boolean;
isAdministrator: boolean;
displayOrder: number;
}