Skip to content

Documentation


Documentation / @kizami/db / NewClosingSnapshotInput

Interface: NewClosingSnapshotInput

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

Properties

category

category: "statutory" | "overtime" | "overtime60h" | "lateNight" | "statutoryHoliday" | "flexFrame" | "flexActual" | "flexDiff" | "fixedWithinScheduled" | "fixedExtraWithinStatutory" | `allowance:${string}`

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

ClosingSnapshotCategory(固定5+3+2種)、または手当の動的区分 `${typeof ALLOWANCE_CLOSING_SNAPSHOT_CATEGORY_PREFIX}${definitionId}` (schema/closings.ts のコメント参照。テンプレートリテラル型で「allowance: で始まる文字列」に 絞ることで、無関係な任意文字列が category に紛れ込むのを型で防ぐ)。


closingEventId

closingEventId: string

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


minutes

minutes: number

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


tenantId

tenantId: string

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


userId

userId: string

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