mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-20 09:25:33 +02:00
@@ -72,8 +72,7 @@ export const packedMetaLiteSchema = {
|
||||
optional: false, nullable: true,
|
||||
},
|
||||
clientOptions: {
|
||||
type: 'object',
|
||||
optional: false, nullable: false,
|
||||
ref: 'MetaClientOptions',
|
||||
},
|
||||
disableRegistration: {
|
||||
type: 'boolean',
|
||||
@@ -397,3 +396,23 @@ export const packedMetaDetailedSchema = {
|
||||
},
|
||||
],
|
||||
} as const;
|
||||
|
||||
export const packedMetaClientOptionsSchema = {
|
||||
type: 'object',
|
||||
optional: false, nullable: false,
|
||||
properties: {
|
||||
entrancePageStyle: {
|
||||
type: 'string',
|
||||
enum: ['classic', 'simple'],
|
||||
optional: false, nullable: false,
|
||||
},
|
||||
showTimelineForVisitor: {
|
||||
type: 'boolean',
|
||||
optional: false, nullable: false,
|
||||
},
|
||||
showActivitiesForVisitor: {
|
||||
type: 'boolean',
|
||||
optional: false, nullable: false,
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user