Skip to content

Documentation


Documentation / @kizami/db / index / getClosingSnapshotHistory

Function: getClosingSnapshotHistory() ​

getClosingSnapshotHistory(db, params): Promise<ClosingSnapshotGeneration[]>

Defined in: packages/db/src/queries/closings.ts:337

(tenantId, period) の世代一覧(close 1件 + amend 0件以上)を時系列(古い順)で返す。 period が一度も締められていなければ空配列。GET /closings/:period 等、 「誰がいつどの申請でスナップショットを更新したか」を辿る用途に使う。

Parameters ​

db ​

Database

params ​

period ​

string

tenantId ​

string

Returns ​

Promise<ClosingSnapshotGeneration[]>