Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b15f638

Browse files
committedFeb 15, 2024··
chore: update misskey js
1 parent 42e0261 commit b15f638

File tree

6 files changed

+105
-10
lines changed

6 files changed

+105
-10
lines changed
 

‎packages/misskey-js/etc/misskey-js.api.md

+8
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,12 @@ type AdminInviteListResponse = operations['admin/invite/list']['responses']['200
208208
// @public (undocumented)
209209
type AdminMetaResponse = operations['admin/meta']['responses']['200']['content']['application/json'];
210210

211+
// @public (undocumented)
212+
type AdminNirilaDeleteUserLogAccessRequest = operations['admin/nirila-delete-user-log-access']['requestBody']['content']['application/json'];
213+
214+
// @public (undocumented)
215+
type AdminNirilaDeleteUserLogAccessResponse = operations['admin/nirila-delete-user-log-access']['responses']['200']['content']['application/json'];
216+
211217
// @public (undocumented)
212218
type AdminNotePublicToHomeRequest = operations['admin/note-public-to-home']['requestBody']['content']['application/json'];
213219

@@ -1058,6 +1064,8 @@ declare namespace entities {
10581064
AnnouncementCreated,
10591065
EmptyRequest,
10601066
EmptyResponse,
1067+
AdminNirilaDeleteUserLogAccessRequest,
1068+
AdminNirilaDeleteUserLogAccessResponse,
10611069
AdminMetaResponse,
10621070
AdminAbuseUserReportsRequest,
10631071
AdminAbuseUserReportsResponse,

‎packages/misskey-js/src/autogen/apiClientJSDoc.ts

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
/*
2-
* version: 2023.12.1
3-
* generatedAt: 2023-12-27T13:38:13.458Z
2+
* version: 2023.12.2-kinel.1
3+
* generatedAt: 2024-02-15T16:11:40.190Z
44
*/
55

66
import type { SwitchCaseResponseType } from '../api.js';
77
import type { Endpoints } from './endpoint.js';
88

99
declare module '../api.js' {
1010
export interface APIClient {
11+
/**
12+
* No description provided.
13+
*
14+
* **Credential required**: *Yes* / **Permission**: *read:admin:nirila-delete-user-log-access*
15+
*/
16+
request<E extends 'admin/nirila-delete-user-log-access', P extends Endpoints[E]['req']>(
17+
endpoint: E,
18+
params: P,
19+
credential?: string | null,
20+
): Promise<SwitchCaseResponseType<E, P>>;
21+
1122
/**
1223
* No description provided.
1324
*

‎packages/misskey-js/src/autogen/endpoint.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
/*
2-
* version: 2023.12.1
3-
* generatedAt: 2023-12-27T13:38:13.451Z
2+
* version: 2023.12.2-kinel.1
3+
* generatedAt: 2024-02-15T16:11:40.187Z
44
*/
55

66
import type {
77
EmptyRequest,
88
EmptyResponse,
9+
AdminNirilaDeleteUserLogAccessRequest,
10+
AdminNirilaDeleteUserLogAccessResponse,
911
AdminMetaResponse,
1012
AdminAbuseUserReportsRequest,
1113
AdminAbuseUserReportsResponse,
@@ -544,6 +546,7 @@ import type {
544546
} from './entities.js';
545547

546548
export type Endpoints = {
549+
'admin/nirila-delete-user-log-access': { req: AdminNirilaDeleteUserLogAccessRequest; res: AdminNirilaDeleteUserLogAccessResponse };
547550
'admin/meta': { req: EmptyRequest; res: AdminMetaResponse };
548551
'admin/abuse-user-reports': { req: AdminAbuseUserReportsRequest; res: AdminAbuseUserReportsResponse };
549552
'admin/accounts/create': { req: AdminAccountsCreateRequest; res: AdminAccountsCreateResponse };

‎packages/misskey-js/src/autogen/entities.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
/*
2-
* version: 2023.12.1
3-
* generatedAt: 2023-12-27T13:38:13.447Z
2+
* version: 2023.12.2-kinel.1
3+
* generatedAt: 2024-02-15T16:11:40.185Z
44
*/
55

66
import { operations } from './types.js';
77

88
export type EmptyRequest = Record<string, unknown> | undefined;
99
export type EmptyResponse = Record<string, unknown> | undefined;
1010

11+
export type AdminNirilaDeleteUserLogAccessRequest = operations['admin/nirila-delete-user-log-access']['requestBody']['content']['application/json'];
12+
export type AdminNirilaDeleteUserLogAccessResponse = operations['admin/nirila-delete-user-log-access']['responses']['200']['content']['application/json'];
1113
export type AdminMetaResponse = operations['admin/meta']['responses']['200']['content']['application/json'];
1214
export type AdminAbuseUserReportsRequest = operations['admin/abuse-user-reports']['requestBody']['content']['application/json'];
1315
export type AdminAbuseUserReportsResponse = operations['admin/abuse-user-reports']['responses']['200']['content']['application/json'];

‎packages/misskey-js/src/autogen/models.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* version: 2023.12.1
3-
* generatedAt: 2023-12-27T13:38:13.444Z
2+
* version: 2023.12.2-kinel.1
3+
* generatedAt: 2024-02-15T16:11:40.183Z
44
*/
55

66
import { components } from './types.js';

‎packages/misskey-js/src/autogen/types.ts

+73-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
/* eslint @typescript-eslint/no-explicit-any: 0 */
33

44
/*
5-
* version: 2023.12.1
6-
* generatedAt: 2023-12-27T13:38:13.340Z
5+
* version: 2023.12.2-kinel.1
6+
* generatedAt: 2024-02-15T16:11:40.091Z
77
*/
88

99
/**
@@ -17,6 +17,15 @@ type XOR<T, U> = (T | U) extends object ? (Without<T, U> & U) | (Without<U, T> &
1717
type OneOf<T extends any[]> = T extends [infer Only] ? Only : T extends [infer A, infer B, ...infer Rest] ? OneOf<[XOR<A, B>, ...Rest]> : never;
1818

1919
export type paths = {
20+
'/admin/nirila-delete-user-log-access': {
21+
/**
22+
* admin/nirila-delete-user-log-access
23+
* @description No description provided.
24+
*
25+
* **Credential required**: *Yes* / **Permission**: *read:admin:nirila-delete-user-log-access*
26+
*/
27+
post: operations['admin/nirila-delete-user-log-access'];
28+
};
2029
'/admin/meta': {
2130
/**
2231
* admin/meta
@@ -4391,6 +4400,68 @@ export type external = Record<string, never>;
43914400

43924401
export type operations = {
43934402

4403+
/**
4404+
* admin/nirila-delete-user-log-access
4405+
* @description No description provided.
4406+
*
4407+
* **Credential required**: *Yes* / **Permission**: *read:admin:nirila-delete-user-log-access*
4408+
*/
4409+
'admin/nirila-delete-user-log-access': {
4410+
requestBody: {
4411+
content: {
4412+
'application/json': {
4413+
/** @default 10 */
4414+
limit?: number;
4415+
/** Format: misskey:id */
4416+
sinceId?: string;
4417+
/** Format: misskey:id */
4418+
untilId?: string;
4419+
email?: string;
4420+
username?: string;
4421+
/** Format: misskey:id */
4422+
userId?: string;
4423+
};
4424+
};
4425+
};
4426+
responses: {
4427+
/** @description OK (with results) */
4428+
200: {
4429+
content: {
4430+
'application/json': Record<string, never> | Record<string, never>[];
4431+
};
4432+
};
4433+
/** @description Client error */
4434+
400: {
4435+
content: {
4436+
'application/json': components['schemas']['Error'];
4437+
};
4438+
};
4439+
/** @description Authentication error */
4440+
401: {
4441+
content: {
4442+
'application/json': components['schemas']['Error'];
4443+
};
4444+
};
4445+
/** @description Forbidden error */
4446+
403: {
4447+
content: {
4448+
'application/json': components['schemas']['Error'];
4449+
};
4450+
};
4451+
/** @description I'm Ai */
4452+
418: {
4453+
content: {
4454+
'application/json': components['schemas']['Error'];
4455+
};
4456+
};
4457+
/** @description Internal server error */
4458+
500: {
4459+
content: {
4460+
'application/json': components['schemas']['Error'];
4461+
};
4462+
};
4463+
};
4464+
};
43944465
/**
43954466
* admin/meta
43964467
* @description No description provided.

0 commit comments

Comments
 (0)
Please sign in to comment.