feat: 投稿日時の範囲を条件に加えてノート検索出来るようにする (#16119)

* feat: 投稿日時の範囲を条件に加えてノート検索出来るようにする

* simplify

* fix ui

* fix CHANGELOG.md

* fix

* fix

* add test

---------

Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
This commit is contained in:
おさむのひと
2026-05-30 19:05:31 +09:00
committed by GitHub
parent 2b016d670f
commit 863046ba8c
8 changed files with 188 additions and 0 deletions
@@ -39,6 +39,8 @@ export const paramDef = {
type: 'object',
properties: {
query: { type: 'string' },
rangeStartAt: { type: 'integer', nullable: true },
rangeEndAt: { type: 'integer', nullable: true },
sinceId: { type: 'string', format: 'misskey:id' },
untilId: { type: 'string', format: 'misskey:id' },
sinceDate: { type: 'integer' },
@@ -78,6 +80,8 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
userId: ps.userId,
channelId: ps.channelId,
host: ps.host,
rangeStartAt: ps.rangeStartAt,
rangeEndAt: ps.rangeEndAt,
}, {
untilId: untilId,
sinceId: sinceId,