Merge upstream
This commit is contained in:
commit
ad42eccfa4
24 changed files with 529 additions and 20 deletions
|
@ -179,7 +179,7 @@ export const packedUserLiteSchema = {
|
|||
behavior: {
|
||||
type: 'string',
|
||||
nullable: false, optional: true,
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -386,6 +386,29 @@ export const packedUserDetailedNotMeOnlySchema = {
|
|||
type: 'string',
|
||||
nullable: false, optional: true,
|
||||
},
|
||||
mutualLinkSections: {
|
||||
type: 'array',
|
||||
items: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
name: { type: 'string', nullable: true },
|
||||
mutualLinks: {
|
||||
type: 'array',
|
||||
items: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
url: { type: 'string' },
|
||||
fileId: { type: 'string', format: 'misskey:id' },
|
||||
description: { type: 'string', nullable: true },
|
||||
imgSrc: { type: 'string' },
|
||||
},
|
||||
required: ['url', 'fileId'],
|
||||
},
|
||||
},
|
||||
},
|
||||
required: ['mutualLinks'],
|
||||
},
|
||||
},
|
||||
//#region relations
|
||||
isFollowing: {
|
||||
type: 'boolean',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue