@withpotter/waitlist — module reference

A support module — it mounts no HTTP routes of its own but contributes the internal building blocks below. See the package internal architecture for how the layers fit together.

Internals

Entities

Sequelize models owned by this module.

WaitlistEntry — table waitlist_entries

FieldType
idstring
tenantIdstring
tenantTenant
memberIdstring | null
memberMember
customerEmailstring
customerNamestring | null
customerPhonestring | null
contentIdstring | null
contentContent
resourceIdstring | null
requestedDateDate
requestedStartTimestring | null
requestedEndTimestring | null
timezonestring
statusWaitlistStatus
priorityWaitlistPriority
positionnumber
partySizenumber
notifiedAtDate | null
offerExpiresAtDate | null
offeredDateDate | null
offeredStartTimestring | null
offeredEndTimestring | null
customerNotestring | null
internalNotestring | null
metadataWaitlistMetadata
createdAtDate
updatedAtDate
convertedAtDate | null
cancelledAtDate | null

Repositories

Data-access classes wrapping the entities.

WaitlistRepository

findByTenant · updateByTenant · getNextPosition · getActiveQueue · getNextToOffer · findExpiredOffers · reorderQueue · findByMember · findByEmail · list · getStats

Generated from the module’s source. Routes are relative to the engine root (default http://localhost:3001). For full request/response schemas use the live OpenAPI document.