Kaizen
Browse modulesBookingsbookings/serverFunctions

Function: createBookingServices()

function createBookingServices(options: CreateBookingServicesOptions): BookingServices;

Defined in: server/bookings/factory.ts:110

Create ready-to-use booking services.

Resolves the Prisma client from the ambient registry — call initPrismaClient (or registerPrismaClient) on @the-kaizen-labs/taproot/persistence at application startup before using this factory.

Call this per-request (or per-unit-of-work), not once at application startup. getActorId is resolved at construction time to populate audit fields on repository writes.

Parameters

ParameterType
optionsCreateBookingServicesOptions

Returns

BookingServices

On this page