eslintrc-tsnocheck
This commit is contained in:
@@ -2254,7 +2254,8 @@ declare namespace entities {
|
||||
Invite,
|
||||
InviteLimit,
|
||||
UserSorting,
|
||||
OriginType
|
||||
OriginType,
|
||||
Role
|
||||
}
|
||||
}
|
||||
export { entities }
|
||||
@@ -2651,6 +2652,18 @@ type PageEvent = {
|
||||
// @public (undocumented)
|
||||
export const permissions: string[];
|
||||
|
||||
// @public (undocumented)
|
||||
type Role = {
|
||||
id: string;
|
||||
name: string;
|
||||
color: string | null;
|
||||
iconUrl: string | null;
|
||||
description: string;
|
||||
isModerator: boolean;
|
||||
isAdministrator: boolean;
|
||||
displayOrder: number;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
type ServerInfo = {
|
||||
machine: string;
|
||||
@@ -2762,7 +2775,7 @@ type UserDetailed = UserLite & {
|
||||
lang: string | null;
|
||||
lastFetchedAt?: DateString;
|
||||
location: string | null;
|
||||
movedTo: string;
|
||||
movedTo: string | null;
|
||||
notesCount: number;
|
||||
pinnedNoteIds: ID[];
|
||||
pinnedNotes: Note[];
|
||||
@@ -2770,6 +2783,7 @@ type UserDetailed = UserLite & {
|
||||
pinnedPageId: string | null;
|
||||
publicReactions: boolean;
|
||||
securityKeys: boolean;
|
||||
roles: Role[];
|
||||
twoFactorEnabled: boolean;
|
||||
updatedAt: DateString | null;
|
||||
uri: string | null;
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user