maintenance
This commit is contained in:
parent
6be36a79fd
commit
3215ec02d5
|
@ -136,6 +136,9 @@ export * as 'channels/timeline' from './endpoints/channels/timeline.js';
|
||||||
export * as 'channels/unfavorite' from './endpoints/channels/unfavorite.js';
|
export * as 'channels/unfavorite' from './endpoints/channels/unfavorite.js';
|
||||||
export * as 'channels/unfollow' from './endpoints/channels/unfollow.js';
|
export * as 'channels/unfollow' from './endpoints/channels/unfollow.js';
|
||||||
export * as 'channels/update' from './endpoints/channels/update.js';
|
export * as 'channels/update' from './endpoints/channels/update.js';
|
||||||
|
export * as 'channels/mute/create' from './endpoints/channels/mute/create.js';
|
||||||
|
export * as 'channels/mute/delete' from './endpoints/channels/mute/delete.js';
|
||||||
|
export * as 'channels/mute/list' from './endpoints/channels/mute/list.js';
|
||||||
export * as 'charts/active-users' from './endpoints/charts/active-users.js';
|
export * as 'charts/active-users' from './endpoints/charts/active-users.js';
|
||||||
export * as 'charts/ap-request' from './endpoints/charts/ap-request.js';
|
export * as 'charts/ap-request' from './endpoints/charts/ap-request.js';
|
||||||
export * as 'charts/drive' from './endpoints/charts/drive.js';
|
export * as 'charts/drive' from './endpoints/charts/drive.js';
|
||||||
|
|
|
@ -840,6 +840,15 @@ type ChannelsFollowedResponse = operations['channels___followed']['responses']['
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
type ChannelsFollowRequest = operations['channels___follow']['requestBody']['content']['application/json'];
|
type ChannelsFollowRequest = operations['channels___follow']['requestBody']['content']['application/json'];
|
||||||
|
|
||||||
|
// @public (undocumented)
|
||||||
|
type ChannelsMuteCreateRequest = operations['channels___mute___create']['requestBody']['content']['application/json'];
|
||||||
|
|
||||||
|
// @public (undocumented)
|
||||||
|
type ChannelsMuteDeleteRequest = operations['channels___mute___delete']['requestBody']['content']['application/json'];
|
||||||
|
|
||||||
|
// @public (undocumented)
|
||||||
|
type ChannelsMuteListResponse = operations['channels___mute___list']['responses']['200']['content']['application/json'];
|
||||||
|
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
type ChannelsMyFavoritesResponse = operations['channels___my-favorites']['responses']['200']['content']['application/json'];
|
type ChannelsMyFavoritesResponse = operations['channels___my-favorites']['responses']['200']['content']['application/json'];
|
||||||
|
|
||||||
|
@ -1411,6 +1420,9 @@ declare namespace entities {
|
||||||
ChannelsFollowRequest,
|
ChannelsFollowRequest,
|
||||||
ChannelsFollowedRequest,
|
ChannelsFollowedRequest,
|
||||||
ChannelsFollowedResponse,
|
ChannelsFollowedResponse,
|
||||||
|
ChannelsMuteCreateRequest,
|
||||||
|
ChannelsMuteDeleteRequest,
|
||||||
|
ChannelsMuteListResponse,
|
||||||
ChannelsMyFavoritesResponse,
|
ChannelsMyFavoritesResponse,
|
||||||
ChannelsOwnedRequest,
|
ChannelsOwnedRequest,
|
||||||
ChannelsOwnedResponse,
|
ChannelsOwnedResponse,
|
||||||
|
|
|
@ -1314,6 +1314,39 @@ declare module '../api.js' {
|
||||||
credential?: string | null,
|
credential?: string | null,
|
||||||
): Promise<SwitchCaseResponseType<E, P>>;
|
): Promise<SwitchCaseResponseType<E, P>>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *write:channels*
|
||||||
|
*/
|
||||||
|
request<E extends 'channels/mute/create', P extends Endpoints[E]['req']>(
|
||||||
|
endpoint: E,
|
||||||
|
params: P,
|
||||||
|
credential?: string | null,
|
||||||
|
): Promise<SwitchCaseResponseType<E, P>>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *write:channels*
|
||||||
|
*/
|
||||||
|
request<E extends 'channels/mute/delete', P extends Endpoints[E]['req']>(
|
||||||
|
endpoint: E,
|
||||||
|
params: P,
|
||||||
|
credential?: string | null,
|
||||||
|
): Promise<SwitchCaseResponseType<E, P>>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *read:channels*
|
||||||
|
*/
|
||||||
|
request<E extends 'channels/mute/list', P extends Endpoints[E]['req']>(
|
||||||
|
endpoint: E,
|
||||||
|
params: P,
|
||||||
|
credential?: string | null,
|
||||||
|
): Promise<SwitchCaseResponseType<E, P>>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* No description provided.
|
* No description provided.
|
||||||
*
|
*
|
||||||
|
|
|
@ -170,6 +170,9 @@ import type {
|
||||||
ChannelsFollowRequest,
|
ChannelsFollowRequest,
|
||||||
ChannelsFollowedRequest,
|
ChannelsFollowedRequest,
|
||||||
ChannelsFollowedResponse,
|
ChannelsFollowedResponse,
|
||||||
|
ChannelsMuteCreateRequest,
|
||||||
|
ChannelsMuteDeleteRequest,
|
||||||
|
ChannelsMuteListResponse,
|
||||||
ChannelsMyFavoritesResponse,
|
ChannelsMyFavoritesResponse,
|
||||||
ChannelsOwnedRequest,
|
ChannelsOwnedRequest,
|
||||||
ChannelsOwnedResponse,
|
ChannelsOwnedResponse,
|
||||||
|
@ -706,6 +709,9 @@ export type Endpoints = {
|
||||||
'channels/featured': { req: EmptyRequest; res: ChannelsFeaturedResponse };
|
'channels/featured': { req: EmptyRequest; res: ChannelsFeaturedResponse };
|
||||||
'channels/follow': { req: ChannelsFollowRequest; res: EmptyResponse };
|
'channels/follow': { req: ChannelsFollowRequest; res: EmptyResponse };
|
||||||
'channels/followed': { req: ChannelsFollowedRequest; res: ChannelsFollowedResponse };
|
'channels/followed': { req: ChannelsFollowedRequest; res: ChannelsFollowedResponse };
|
||||||
|
'channels/mute/create': { req: ChannelsMuteCreateRequest; res: EmptyResponse };
|
||||||
|
'channels/mute/delete': { req: ChannelsMuteDeleteRequest; res: EmptyResponse };
|
||||||
|
'channels/mute/list': { req: EmptyRequest; res: ChannelsMuteListResponse };
|
||||||
'channels/my-favorites': { req: EmptyRequest; res: ChannelsMyFavoritesResponse };
|
'channels/my-favorites': { req: EmptyRequest; res: ChannelsMyFavoritesResponse };
|
||||||
'channels/owned': { req: ChannelsOwnedRequest; res: ChannelsOwnedResponse };
|
'channels/owned': { req: ChannelsOwnedRequest; res: ChannelsOwnedResponse };
|
||||||
'channels/search': { req: ChannelsSearchRequest; res: ChannelsSearchResponse };
|
'channels/search': { req: ChannelsSearchRequest; res: ChannelsSearchResponse };
|
||||||
|
|
|
@ -173,6 +173,9 @@ export type ChannelsFeaturedResponse = operations['channels___featured']['respon
|
||||||
export type ChannelsFollowRequest = operations['channels___follow']['requestBody']['content']['application/json'];
|
export type ChannelsFollowRequest = operations['channels___follow']['requestBody']['content']['application/json'];
|
||||||
export type ChannelsFollowedRequest = operations['channels___followed']['requestBody']['content']['application/json'];
|
export type ChannelsFollowedRequest = operations['channels___followed']['requestBody']['content']['application/json'];
|
||||||
export type ChannelsFollowedResponse = operations['channels___followed']['responses']['200']['content']['application/json'];
|
export type ChannelsFollowedResponse = operations['channels___followed']['responses']['200']['content']['application/json'];
|
||||||
|
export type ChannelsMuteCreateRequest = operations['channels___mute___create']['requestBody']['content']['application/json'];
|
||||||
|
export type ChannelsMuteDeleteRequest = operations['channels___mute___delete']['requestBody']['content']['application/json'];
|
||||||
|
export type ChannelsMuteListResponse = operations['channels___mute___list']['responses']['200']['content']['application/json'];
|
||||||
export type ChannelsMyFavoritesResponse = operations['channels___my-favorites']['responses']['200']['content']['application/json'];
|
export type ChannelsMyFavoritesResponse = operations['channels___my-favorites']['responses']['200']['content']['application/json'];
|
||||||
export type ChannelsOwnedRequest = operations['channels___owned']['requestBody']['content']['application/json'];
|
export type ChannelsOwnedRequest = operations['channels___owned']['requestBody']['content']['application/json'];
|
||||||
export type ChannelsOwnedResponse = operations['channels___owned']['responses']['200']['content']['application/json'];
|
export type ChannelsOwnedResponse = operations['channels___owned']['responses']['200']['content']['application/json'];
|
||||||
|
|
|
@ -1094,6 +1094,33 @@ export type paths = {
|
||||||
*/
|
*/
|
||||||
post: operations['channels___followed'];
|
post: operations['channels___followed'];
|
||||||
};
|
};
|
||||||
|
'/channels/mute/create': {
|
||||||
|
/**
|
||||||
|
* channels/mute/create
|
||||||
|
* @description No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *write:channels*
|
||||||
|
*/
|
||||||
|
post: operations['channels___mute___create'];
|
||||||
|
};
|
||||||
|
'/channels/mute/delete': {
|
||||||
|
/**
|
||||||
|
* channels/mute/delete
|
||||||
|
* @description No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *write:channels*
|
||||||
|
*/
|
||||||
|
post: operations['channels___mute___delete'];
|
||||||
|
};
|
||||||
|
'/channels/mute/list': {
|
||||||
|
/**
|
||||||
|
* channels/mute/list
|
||||||
|
* @description No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *read:channels*
|
||||||
|
*/
|
||||||
|
post: operations['channels___mute___list'];
|
||||||
|
};
|
||||||
'/channels/my-favorites': {
|
'/channels/my-favorites': {
|
||||||
/**
|
/**
|
||||||
* channels/my-favorites
|
* channels/my-favorites
|
||||||
|
@ -4634,6 +4661,7 @@ export type components = {
|
||||||
allowRenoteToExternal: boolean;
|
allowRenoteToExternal: boolean;
|
||||||
isFollowing?: boolean;
|
isFollowing?: boolean;
|
||||||
isFavorited?: boolean;
|
isFavorited?: boolean;
|
||||||
|
isMuting?: boolean;
|
||||||
pinnedNotes?: components['schemas']['Note'][];
|
pinnedNotes?: components['schemas']['Note'][];
|
||||||
};
|
};
|
||||||
QueueCount: {
|
QueueCount: {
|
||||||
|
@ -12342,6 +12370,158 @@ export type operations = {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
/**
|
||||||
|
* channels/mute/create
|
||||||
|
* @description No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *write:channels*
|
||||||
|
*/
|
||||||
|
channels___mute___create: {
|
||||||
|
requestBody: {
|
||||||
|
content: {
|
||||||
|
'application/json': {
|
||||||
|
/** Format: misskey:id */
|
||||||
|
channelId: string;
|
||||||
|
/** @description A Unix Epoch timestamp that must lie in the future. `null` means an indefinite mute. */
|
||||||
|
expiresAt?: number | null;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
responses: {
|
||||||
|
/** @description OK (without any results) */
|
||||||
|
204: {
|
||||||
|
content: never;
|
||||||
|
};
|
||||||
|
/** @description Client error */
|
||||||
|
400: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Authentication error */
|
||||||
|
401: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Forbidden error */
|
||||||
|
403: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description I'm Ai */
|
||||||
|
418: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Internal server error */
|
||||||
|
500: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* channels/mute/delete
|
||||||
|
* @description No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *write:channels*
|
||||||
|
*/
|
||||||
|
channels___mute___delete: {
|
||||||
|
requestBody: {
|
||||||
|
content: {
|
||||||
|
'application/json': {
|
||||||
|
/** Format: misskey:id */
|
||||||
|
channelId: string;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
responses: {
|
||||||
|
/** @description OK (without any results) */
|
||||||
|
204: {
|
||||||
|
content: never;
|
||||||
|
};
|
||||||
|
/** @description Client error */
|
||||||
|
400: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Authentication error */
|
||||||
|
401: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Forbidden error */
|
||||||
|
403: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description I'm Ai */
|
||||||
|
418: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Internal server error */
|
||||||
|
500: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* channels/mute/list
|
||||||
|
* @description No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *read:channels*
|
||||||
|
*/
|
||||||
|
channels___mute___list: {
|
||||||
|
responses: {
|
||||||
|
/** @description OK (with results) */
|
||||||
|
200: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Channel'][];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Client error */
|
||||||
|
400: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Authentication error */
|
||||||
|
401: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Forbidden error */
|
||||||
|
403: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description I'm Ai */
|
||||||
|
418: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Internal server error */
|
||||||
|
500: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
/**
|
/**
|
||||||
* channels/my-favorites
|
* channels/my-favorites
|
||||||
* @description No description provided.
|
* @description No description provided.
|
||||||
|
|
Loading…
Reference in New Issue