forked from mirrors/misskey
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:
@@ -854,7 +854,14 @@ export type Channels = {
|
||||
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: {
|
||||
@@ -3872,7 +3879,7 @@ type VerifyEmailRequest = operations['verify-email']['requestBody']['content']['
|
||||
// src/entities.ts:55:2 - (ae-forgotten-export) The symbol "ModerationLogPayloads" needs to be exported by the entry point index.d.ts
|
||||
// src/streaming.ts:57:3 - (ae-forgotten-export) The symbol "ReconnectingWebSocket" needs to be exported by the entry point index.d.ts
|
||||
// src/streaming.types.ts:226:4 - (ae-forgotten-export) The symbol "ReversiUpdateKey" needs to be exported by the entry point index.d.ts
|
||||
// src/streaming.types.ts:236:4 - (ae-forgotten-export) The symbol "ReversiUpdateSettings" needs to be exported by the entry point index.d.ts
|
||||
// src/streaming.types.ts:241:4 - (ae-forgotten-export) The symbol "ReversiUpdateSettings" needs to be exported by the entry point index.d.ts
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
|
||||
|
||||
@@ -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