spec(profile): 相互リンクの型定義の修正 (MisskeyIO#706)

This commit is contained in:
まっちゃとーにゅ 2024-08-17 07:00:26 +09:00 committed by GitHub
parent 09c419e11b
commit f11d0461d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 2 deletions

View File

@ -50,6 +50,7 @@ export class MiUserProfile {
name: string | null;
mutualLinks: {
id: string;
url: string;
fileId: MiDriveFile['id'];
description: string | null;
imgSrc: string;

View File

@ -398,7 +398,7 @@ export const packedUserDetailedNotMeOnlySchema = {
type: 'object',
properties: {
id: { type: 'string', format: 'misskey:id' },
url: { type: 'string' },
url: { type: 'string', format: 'url' },
fileId: { type: 'string', format: 'misskey:id' },
description: { type: 'string', nullable: true },
imgSrc: { type: 'string' },

View File

@ -318,7 +318,7 @@ export type ModerationLogPayloads = {
unsetUserMutualLink: {
userId: string;
userUsername: string;
userMutualLinkSections: { name: string | null; mutualLinks: { fileId: string; description: string | null; imgSrc: string; }[]; }[] | []
userMutualLinkSections: { name: string | null; mutualLinks: { id: string; url: string; fileId: string; description: string | null; imgSrc: string; }[]; }[] | []
}
};

View File

@ -3847,6 +3847,7 @@ export type components = {
mutualLinks: ({
/** Format: misskey:id */
id: string;
/** Format: url */
url: string;
/** Format: misskey:id */
fileId: string;