feat: long instance descriptions (#5)
This commit is contained in:
@@ -67,6 +67,7 @@ export const paramDef = {
|
||||
name: { type: 'string', nullable: true },
|
||||
shortName: { type: 'string', nullable: true },
|
||||
description: { type: 'string', nullable: true },
|
||||
longDescription: { type:'string', nullable: true },
|
||||
defaultLightTheme: { type: 'string', nullable: true },
|
||||
defaultDarkTheme: { type: 'string', nullable: true },
|
||||
defaultLike: { type: 'string' },
|
||||
@@ -331,6 +332,10 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
||||
set.description = ps.description;
|
||||
}
|
||||
|
||||
if (ps.longDescription !== undefined) {
|
||||
set.longDescription = ps.longDescription;
|
||||
}
|
||||
|
||||
if (ps.defaultLightTheme !== undefined) {
|
||||
set.defaultLightTheme = ps.defaultLightTheme;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user