enhance(credits): use instance meta instead of hard code
This commit is contained in:
parent
00729a9b8e
commit
06f160a2b4
19 changed files with 219 additions and 11 deletions
|
@ -397,6 +397,13 @@ export const meta = {
|
|||
optional: false, nullable: false,
|
||||
},
|
||||
},
|
||||
endingCreditMembers: {
|
||||
type: 'array',
|
||||
optional: false, nullable: false,
|
||||
items: {
|
||||
type: 'string',
|
||||
},
|
||||
},
|
||||
urlPreviewDenyList: {
|
||||
type: 'array',
|
||||
optional: false, nullable: false,
|
||||
|
@ -646,6 +653,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
perUserHomeTimelineCacheMax: instance.perUserHomeTimelineCacheMax,
|
||||
perUserListTimelineCacheMax: instance.perUserListTimelineCacheMax,
|
||||
wellKnownWebsites: instance.wellKnownWebsites,
|
||||
endingCreditMembers: instance.endingCreditMembers,
|
||||
notesPerOneAd: instance.notesPerOneAd,
|
||||
urlPreviewDenyList: instance.urlPreviewDenyList,
|
||||
featuredGameChannels: instance.featuredGameChannels,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue