feat(announcement): お知らせの既読処理にチュートリアル受講を要求できるように (MisskeyIO#753)
This commit is contained in:
parent
c47140eab7
commit
d005daae84
30 changed files with 130 additions and 20 deletions
|
@ -37,6 +37,7 @@ export const paramDef = {
|
|||
display: { type: 'string', enum: ['normal', 'banner', 'dialog'] },
|
||||
forExistingUsers: { type: 'boolean' },
|
||||
needConfirmationToRead: { type: 'boolean' },
|
||||
needEnrollmentTutorialToRead: { type: 'boolean' },
|
||||
closeDuration: { type: 'number', default: 0 },
|
||||
displayOrder: { type: 'number', default: 0 },
|
||||
silence: { type: 'boolean' },
|
||||
|
@ -68,6 +69,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
icon: ps.icon,
|
||||
forExistingUsers: ps.forExistingUsers,
|
||||
needConfirmationToRead: ps.needConfirmationToRead,
|
||||
needEnrollmentTutorialToRead: ps.needEnrollmentTutorialToRead,
|
||||
closeDuration: ps.closeDuration,
|
||||
displayOrder: ps.displayOrder,
|
||||
silence: ps.silence,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue