feat: auto note removal

This commit is contained in:
아르페 2024-02-16 08:21:04 +09:00 committed by 무라쿠모
parent ee6d918d99
commit 82a7cdb204
No known key found for this signature in database
GPG key ID: 139D6573F92DA9F7
10 changed files with 166 additions and 14 deletions

View file

@ -641,6 +641,34 @@ export const packedMeDetailedOnlySchema = {
},
},
},
autoRemoval: {
type: 'boolean',
nullable: false, optional: false,
},
autoRemovalCondition: {
type: 'object',
nullable: false, optional: false,
properties: {
id: {
type: 'string',
nullable: false, optional: false,
format: 'id',
example: 'xxxxxxxxxx',
},
deleteAfter: {
type: 'number',
nullable: false, optional: false,
},
noPiningNotes: {
type: 'boolean',
nullable: false, optional: false,
},
noSpecifiedNotes: {
type: 'boolean',
nullable: false, optional: false,
},
},
},
loggedInDays: {
type: 'number',
nullable: false, optional: false,