mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-27 14:28:49 +09:00
spec(profile): 相互リンクの型定義の修正 (MisskeyIO#706)
This commit is contained in:
parent
09c419e11b
commit
f11d0461d7
@ -50,6 +50,7 @@ export class MiUserProfile {
|
|||||||
name: string | null;
|
name: string | null;
|
||||||
mutualLinks: {
|
mutualLinks: {
|
||||||
id: string;
|
id: string;
|
||||||
|
url: string;
|
||||||
fileId: MiDriveFile['id'];
|
fileId: MiDriveFile['id'];
|
||||||
description: string | null;
|
description: string | null;
|
||||||
imgSrc: string;
|
imgSrc: string;
|
||||||
|
@ -398,7 +398,7 @@ export const packedUserDetailedNotMeOnlySchema = {
|
|||||||
type: 'object',
|
type: 'object',
|
||||||
properties: {
|
properties: {
|
||||||
id: { type: 'string', format: 'misskey:id' },
|
id: { type: 'string', format: 'misskey:id' },
|
||||||
url: { type: 'string' },
|
url: { type: 'string', format: 'url' },
|
||||||
fileId: { type: 'string', format: 'misskey:id' },
|
fileId: { type: 'string', format: 'misskey:id' },
|
||||||
description: { type: 'string', nullable: true },
|
description: { type: 'string', nullable: true },
|
||||||
imgSrc: { type: 'string' },
|
imgSrc: { type: 'string' },
|
||||||
|
@ -318,7 +318,7 @@ export type ModerationLogPayloads = {
|
|||||||
unsetUserMutualLink: {
|
unsetUserMutualLink: {
|
||||||
userId: string;
|
userId: string;
|
||||||
userUsername: 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: ({
|
mutualLinks: ({
|
||||||
/** Format: misskey:id */
|
/** Format: misskey:id */
|
||||||
id: string;
|
id: string;
|
||||||
|
/** Format: url */
|
||||||
url: string;
|
url: string;
|
||||||
/** Format: misskey:id */
|
/** Format: misskey:id */
|
||||||
fileId: string;
|
fileId: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user