Skip to content

Documentation


Documentation / @kizami/db / withdrawAutoBreakWaiver

Function: withdrawAutoBreakWaiver()

withdrawAutoBreakWaiver(db, params): Promise<{ createdAt: number; decidedAt: number | null; decidedBy: string | null; decisionNote: string | null; id: string; reason: string; requestedBy: string; status: string; tenantId: string; userId: string; waiveDate: string; } | null>

Defined in: packages/db/src/queries/auto-break-waivers.ts:118

pending の申請を本人が取り下げる。pending 以外(既に決定済み)は 0件更新となり null を返す。

Parameters

db

Database

params

WithdrawAutoBreakWaiverParams

Returns

Promise<{ createdAt: number; decidedAt: number | null; decidedBy: string | null; decisionNote: string | null; id: string; reason: string; requestedBy: string; status: string; tenantId: string; userId: string; waiveDate: string; } | null>