Update misskey-js API md file

This commit is contained in:
ssmucny 2023-04-24 22:39:22 -04:00
parent bcbc261e3b
commit 5295ddae71
1 changed files with 982 additions and 975 deletions

View File

@ -1680,6 +1680,12 @@ export type Endpoints = {
expiresAt?: null | number; expiresAt?: null | number;
expiredAfter?: null | number; expiredAfter?: null | number;
}; };
event?: null | {
title: string;
start: number;
end?: null | number;
metadata: Record<string, string[]>;
};
}; };
res: { res: {
createdNote: Note; createdNote: Note;
@ -1759,16 +1765,17 @@ export type Endpoints = {
}; };
'notes/events/search': { 'notes/events/search': {
req: { req: {
query?: string;
sinceId?: Note['id']; sinceId?: Note['id'];
untilId?: Note['id']; untilId?: Note['id'];
limit?: number; limit?: number;
offset?: number; offset?: number;
host?: string;
users?: User['id'][]; users?: User['id'][];
sinceDate?: number; sinceDate?: number;
untilDate?: number; untilDate?: number;
sortBy?: 'startDate' | 'craetedAt';
filters?: Record<string, string[]>; filters?: Record<string, string[]>;
sortBy?: 'startDate' | 'createAt' };
res: Note[]; res: Note[];
}; };
'notes/reactions': { 'notes/reactions': {
@ -2429,7 +2436,7 @@ export type Endpoints = {
title: string; title: string;
start: DateString; start: DateString;
end: DateString | null; end: DateString | null;
metadata: Record<string, string[]>; metadata: Record<string, string>;
}; };
files: DriveFile[]; files: DriveFile[];
fileIds: DriveFile['id'][]; fileIds: DriveFile['id'][];
@ -2740,7 +2747,7 @@ export type Endpoints = {
// //
// src/api.types.ts:16:32 - (ae-forgotten-export) The symbol "TODO" needs to be exported by the entry point index.d.ts // src/api.types.ts:16:32 - (ae-forgotten-export) The symbol "TODO" needs to be exported by the entry point index.d.ts
// src/api.types.ts:18:25 - (ae-forgotten-export) The symbol "NoParams" needs to be exported by the entry point index.d.ts // src/api.types.ts:18:25 - (ae-forgotten-export) The symbol "NoParams" needs to be exported by the entry point index.d.ts
// src/api.types.ts:602:27 - (ae-forgotten-export) The symbol "ShowUserReq" needs to be exported by the entry point index.d.ts // src/api.types.ts:614:18 - (ae-forgotten-export) The symbol "ShowUserReq" needs to be exported by the entry point index.d.ts
// src/streaming.types.ts:33:4 - (ae-forgotten-export) The symbol "FIXME" needs to be exported by the entry point index.d.ts // src/streaming.types.ts:33:4 - (ae-forgotten-export) The symbol "FIXME" needs to be exported by the entry point index.d.ts
// (No @packageDocumentation comment for this package) // (No @packageDocumentation comment for this package)