mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-21 01:45:33 +02:00
refactor: make noImplicitAny true (#17083)
* wip * Update emojis.emoji.vue * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update manager.ts * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update analytics.ts
This commit is contained in:
@@ -4276,6 +4276,33 @@ export type components = {
|
||||
/** Format: misskey:id */
|
||||
userListId: string;
|
||||
};
|
||||
login?: {
|
||||
/** @enum {string} */
|
||||
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
||||
} | {
|
||||
/** @enum {string} */
|
||||
type: 'list';
|
||||
/** Format: misskey:id */
|
||||
userListId: string;
|
||||
};
|
||||
createToken?: {
|
||||
/** @enum {string} */
|
||||
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
||||
} | {
|
||||
/** @enum {string} */
|
||||
type: 'list';
|
||||
/** Format: misskey:id */
|
||||
userListId: string;
|
||||
};
|
||||
exportCompleted?: {
|
||||
/** @enum {string} */
|
||||
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
||||
} | {
|
||||
/** @enum {string} */
|
||||
type: 'list';
|
||||
/** Format: misskey:id */
|
||||
userListId: string;
|
||||
};
|
||||
};
|
||||
emailNotificationTypes: string[];
|
||||
achievements: components['schemas']['Achievement'][];
|
||||
@@ -6786,8 +6813,10 @@ export interface operations {
|
||||
updatedAt: string | null;
|
||||
text: string;
|
||||
title: string;
|
||||
icon: string | null;
|
||||
display: string;
|
||||
/** @enum {string} */
|
||||
icon: 'info' | 'warning' | 'error' | 'success';
|
||||
/** @enum {string} */
|
||||
display: 'normal' | 'banner' | 'dialog';
|
||||
isActive: boolean;
|
||||
forExistingUsers: boolean;
|
||||
silence: boolean;
|
||||
@@ -8305,16 +8334,7 @@ export interface operations {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
'application/json': {
|
||||
/** Format: id */
|
||||
id: string;
|
||||
aliases: string[];
|
||||
name: string;
|
||||
category: string | null;
|
||||
/** @description The local host is represented with `null`. */
|
||||
host: string | null;
|
||||
url: string;
|
||||
}[];
|
||||
'application/json': components['schemas']['EmojiDetailed'][];
|
||||
};
|
||||
};
|
||||
/** @description Client error */
|
||||
|
||||
@@ -224,7 +224,12 @@ export type Channels = {
|
||||
canceled: (payload: { userId: User['id']; }) => void;
|
||||
changeReadyStates: (payload: { user1: boolean; user2: boolean; }) => void;
|
||||
updateSettings: <K extends ReversiUpdateKey>(payload: { userId: User['id']; key: K; value: ReversiGameDetailed[K]; }) => void;
|
||||
log: (payload: Record<string, unknown>) => void;
|
||||
log: (payload: {
|
||||
time: number;
|
||||
player: boolean;
|
||||
operation: 'put';
|
||||
pos: number;
|
||||
} & { id: string | null }) => void;
|
||||
};
|
||||
receives: {
|
||||
putStone: {
|
||||
@@ -291,7 +296,10 @@ export type NoteUpdatedEvent = { id: Note['id'] } & ({
|
||||
type: 'reacted';
|
||||
body: {
|
||||
reaction: string;
|
||||
emoji: string | null;
|
||||
emoji?: {
|
||||
name: string;
|
||||
url: string;
|
||||
} | null;
|
||||
userId: User['id'];
|
||||
};
|
||||
} | {
|
||||
|
||||
Reference in New Issue
Block a user