spec(profile): 相互リンクの型定義の修正 (MisskeyIO#706)
This commit is contained in:
parent
09c419e11b
commit
f11d0461d7
@ -50,6 +50,7 @@ export class MiUserProfile {
|
||||
name: string | null;
|
||||
mutualLinks: {
|
||||
id: string;
|
||||
url: string;
|
||||
fileId: MiDriveFile['id'];
|
||||
description: string | null;
|
||||
imgSrc: string;
|
||||
|
@ -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' },
|
||||
|
@ -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; }[]; }[] | []
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -3847,6 +3847,7 @@ export type components = {
|
||||
mutualLinks: ({
|
||||
/** Format: misskey:id */
|
||||
id: string;
|
||||
/** Format: url */
|
||||
url: string;
|
||||
/** Format: misskey:id */
|
||||
fileId: string;
|
||||
|
Loading…
Reference in New Issue
Block a user