chore: bump version to oscar.9b

This commit is contained in:
オスカー、 2024-08-11 13:11:14 +09:00
parent ad42eccfa4
commit 1345d0e2bd
Signed by: SWREI
GPG Key ID: 139D6573F92DA9F7
6 changed files with 174 additions and 2 deletions

76
locales/index.d.ts vendored
View File

@ -2400,6 +2400,14 @@ export interface Locale extends ILocale {
* *
*/ */
"unsetUserBannerConfirm": string; "unsetUserBannerConfirm": string;
/**
*
*/
"unsetUserMutualLink": string;
/**
*
*/
"unsetUserMutualLinkConfirm": string;
/** /**
* *
*/ */
@ -5147,6 +5155,18 @@ export interface Locale extends ILocale {
* {host} * {host}
*/ */
"areYouSureToRemoveAllFollowings": ParameterizedString<"host">; "areYouSureToRemoveAllFollowings": ParameterizedString<"host">;
/**
*
*/
"mutualLink": string;
/**
*
*/
"mutualBannerThisUser": string;
/**
*
*/
"maximum": string;
"_bubbleGame": { "_bubbleGame": {
/** /**
* *
@ -6988,6 +7008,14 @@ export interface Locale extends ILocale {
* *
*/ */
"avatarDecorationLimit": string; "avatarDecorationLimit": string;
/**
*
*/
"mutualLinkSectionLimit": string;
/**
*
*/
"mutualLinkLimit": string;
}; };
"_condition": { "_condition": {
/** /**
@ -8340,6 +8368,10 @@ export interface Locale extends ILocale {
* *
*/ */
"write:admin:unset-user-banner": string; "write:admin:unset-user-banner": string;
/**
*
*/
"write:admin:unset-user-mutual-link": string;
/** /**
* *
*/ */
@ -8926,6 +8958,50 @@ export interface Locale extends ILocale {
* {max} * {max}
*/ */
"avatarDecorationMax": ParameterizedString<"max">; "avatarDecorationMax": ParameterizedString<"max">;
/**
*
*/
"mutualLinksEdit": string;
/**
*
*/
"mutualLinksBanner": string;
/**
*
*/
"mutualLinksDescriptionEdit": string;
/**
* URL
*/
"mutualLinksUrl": string;
/**
*
*/
"mutualLinkPining": string;
/**
*
*/
"mutualLinksDescription": string;
/**
*
*/
"addMutualLink": string;
/**
*
*/
"addMutualLinkSection": string;
/**
*
*/
"sectionName": string;
/**
*
*/
"sectionNameNoneDescription": string;
/**
*
*/
"sectionNameNone": string;
}; };
"_exportOrImport": { "_exportOrImport": {
/** /**

View File

@ -1,6 +1,6 @@
{ {
"name": "misskey", "name": "misskey",
"version": "2024.5.0-oscar.9", "version": "2024.5.0-oscar.9b",
"codename": "nasubi", "codename": "nasubi",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,7 +1,7 @@
{ {
"type": "module", "type": "module",
"name": "misskey-js", "name": "misskey-js",
"version": "2024.5.0-oscar.9", "version": "2024.5.0-oscar.9b",
"description": "Misskey SDK for JavaScript", "description": "Misskey SDK for JavaScript",
"types": "./built/dts/index.d.ts", "types": "./built/dts/index.d.ts",
"exports": { "exports": {

View File

@ -290,6 +290,17 @@ 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:admin:unset-user-mutual-link*
*/
request<E extends 'admin/unset-user-mutual-link', P extends Endpoints[E]['req']>(
endpoint: E,
params: P,
credential?: string | null,
): Promise<SwitchCaseResponseType<E, P>>;
/** /**
* No description provided. * No description provided.
* *

View File

@ -37,6 +37,7 @@ import type {
AdminAvatarDecorationsUpdateRequest, AdminAvatarDecorationsUpdateRequest,
AdminUnsetUserAvatarRequest, AdminUnsetUserAvatarRequest,
AdminUnsetUserBannerRequest, AdminUnsetUserBannerRequest,
AdminUnsetUserMutualLinkRequest,
AdminDriveDeleteAllFilesOfAUserRequest, AdminDriveDeleteAllFilesOfAUserRequest,
AdminDriveFilesRequest, AdminDriveFilesRequest,
AdminDriveFilesResponse, AdminDriveFilesResponse,
@ -609,6 +610,7 @@ export type Endpoints = {
'admin/unset-user-avatar': { req: AdminUnsetUserAvatarRequest; res: EmptyResponse }; 'admin/unset-user-avatar': { req: AdminUnsetUserAvatarRequest; res: EmptyResponse };
'admin/unset-user-banner': { req: AdminUnsetUserBannerRequest; res: EmptyResponse }; 'admin/unset-user-banner': { req: AdminUnsetUserBannerRequest; res: EmptyResponse };
'admin/dispose-cache': { req: EmptyRequest; res: EmptyResponse }; 'admin/dispose-cache': { req: EmptyRequest; res: EmptyResponse };
'admin/unset-user-mutual-link': { req: AdminUnsetUserMutualLinkRequest; res: EmptyResponse };
'admin/drive/clean-remote-files': { req: EmptyRequest; res: EmptyResponse }; 'admin/drive/clean-remote-files': { req: EmptyRequest; res: EmptyResponse };
'admin/drive/cleanup': { req: EmptyRequest; res: EmptyResponse }; 'admin/drive/cleanup': { req: EmptyRequest; res: EmptyResponse };
'admin/drive/delete-all-files-of-a-user': { req: AdminDriveDeleteAllFilesOfAUserRequest; res: EmptyResponse }; 'admin/drive/delete-all-files-of-a-user': { req: AdminDriveDeleteAllFilesOfAUserRequest; res: EmptyResponse };

View File

@ -247,6 +247,15 @@ export type paths = {
*/ */
post: operations['admin___dispose-cache']; post: operations['admin___dispose-cache'];
}; };
'/admin/unset-user-mutual-link': {
/**
* admin/unset-user-mutual-link
* @description No description provided.
*
* **Credential required**: *Yes* / **Permission**: *write:admin:unset-user-mutual-link*
*/
post: operations['admin___unset-user-mutual-link'];
};
'/admin/drive/clean-remote-files': { '/admin/drive/clean-remote-files': {
/** /**
* admin/drive/clean-remote-files * admin/drive/clean-remote-files
@ -3843,6 +3852,16 @@ export type components = {
roles: components['schemas']['RoleLite'][]; roles: components['schemas']['RoleLite'][];
memo: string | null; memo: string | null;
moderationNote?: string; moderationNote?: string;
mutualLinkSections: ({
name: string | null;
mutualLinks: ({
url: string;
/** Format: misskey:id */
fileId: string;
description: string | null;
imgSrc: string;
})[];
})[];
isFollowing?: boolean; isFollowing?: boolean;
isFollowed?: boolean; isFollowed?: boolean;
hasPendingFollowRequestFromYou?: boolean; hasPendingFollowRequestFromYou?: boolean;
@ -4938,6 +4957,8 @@ export type components = {
rateLimitFactor: number; rateLimitFactor: number;
avatarDecorationLimit: number; avatarDecorationLimit: number;
canUseAccountRemoval: boolean; canUseAccountRemoval: boolean;
mutualLinkSectionLimit: number;
mutualLinkLimit: number;
}; };
ReversiGameLite: { ReversiGameLite: {
/** Format: id */ /** Format: id */
@ -6878,6 +6899,58 @@ export type operations = {
}; };
}; };
}; };
/**
* admin/unset-user-mutual-link
* @description No description provided.
*
* **Credential required**: *Yes* / **Permission**: *write:admin:unset-user-mutual-link*
*/
'admin___unset-user-mutual-link': {
requestBody: {
content: {
'application/json': {
/** Format: misskey:id */
userId: 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'];
};
};
};
};
/** /**
* admin/drive/clean-remote-files * admin/drive/clean-remote-files
* @description No description provided. * @description No description provided.
@ -20272,6 +20345,16 @@ export type operations = {
}; };
emailNotificationTypes?: string[]; emailNotificationTypes?: string[];
alsoKnownAs?: string[]; alsoKnownAs?: string[];
mutualLinkSections?: ({
name?: string | null;
mutualLinks: ({
/** Format: url */
url: string;
/** Format: misskey:id */
fileId: string;
description?: string | null;
})[];
})[];
}; };
}; };
}; };