function hasPackageBookingsTx
hasPackageBookingsTx(
tx: TxScope,
groupId: number,
): Promise<boolean>

Transaction-local recheck: whether any sold booking still holds this group's package id. Used inside the group write transaction so a checkout that commits between a request-level sold-hidden check and the write rolls the un-packaging back rather than revealing concealed member names.

Parameters

groupId: number

Return Type

Promise<boolean>

Usage

import { hasPackageBookingsTx } from "doc.ts";