Update misskey-js API md file

This commit is contained in:
ssmucny 2023-04-24 22:39:22 -04:00
parent bcbc261e3b
commit 5295ddae71

View file

@ -1680,6 +1680,12 @@ export type Endpoints = {
expiresAt?: null | number;
expiredAfter?: null | number;
};
event?: null | {
title: string;
start: number;
end?: null | number;
metadata: Record<string, string[]>;
};
};
res: {
createdNote: Note;
@ -1759,16 +1765,17 @@ export type Endpoints = {
};
'notes/events/search': {
req: {
query?: string;
sinceId?: Note['id'];
untilId?: Note['id'];
limit?: number;
offset?: number;
host?: string;
users?: User['id'][];
sinceDate?: number;
untilDate?: number;
sortBy?: 'startDate' | 'craetedAt';
filters?: Record<string, string[]>;
sortBy?: 'startDate' | 'createAt'
};
res: Note[];
};
'notes/reactions': {
@ -2429,7 +2436,7 @@ export type Endpoints = {
title: string;
start: DateString;
end: DateString | null;
metadata: Record<string, string[]>;
metadata: Record<string, string>;
};
files: DriveFile[];
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: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
// (No @packageDocumentation comment for this package)