Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adrienbaron/lecoindujazz
/ functions
Functions
60 in github.com/adrienbaron/lecoindujazz
⨍
Functions
60
◇
Types & classes
9
↓ 98 callers
Function
generateRowLabel
()
app/models/seatMap.ts:127
↓ 90 callers
Function
generateEmptySpace
( count = 1, { type = "spacing" }: { type?: EmptySpace["type"] } = {} )
app/models/seatMap.ts:112
↓ 41 callers
Function
seatsDecreasing
( numSeats: number, min: number, seatAttributes: SeatAttributes = {} )
app/models/seatMap.ts:196
↓ 41 callers
Function
seatsIncreasing
( numSeats: number, max: number, seatAttributes: SeatAttributes = {} )
app/models/seatMap.ts:203
↓ 38 callers
Function
generateCorridor
()
app/models/seatMap.ts:122
↓ 19 callers
Function
generateSeatRow
( rowLetter: RowLetter, seats: (SeatForRow | EmptySpace)[] )
app/models/seatMap.ts:137
↓ 17 callers
Function
addBisAtEnd
( seats: SeatForRow[], seatAttributes: SeatAttributes = {} )
app/models/seatMap.ts:151
↓ 16 callers
Function
addBisAtStart
( seats: SeatForRow[], seatAttributes: SeatAttributes = {} )
app/models/seatMap.ts:145
↓ 16 callers
Function
alternateSeats
(numSeats: number)
app/models/seatMap.ts:193
↓ 6 callers
Function
getSessionStorage
( context: AppLoadContext, )
app/session.ts:7
↓ 5 callers
Function
formatPrice
(priceInCents: number)
app/utils/price.ts:1
↓ 5 callers
Function
generateOrchestraRowWithoutBis
({ letter, seatsBefore = [], seatsAfter = [], }: { letter: RowLetter; seatsBefore?: (SeatForRow | Em
app/models/calaisTheatreSeatingPlan.ts:348
↓ 5 callers
Function
getDbFromContext
( cloudflareEnv: Record<string, unknown>, )
app/services/db.service.server.ts:20
↓ 4 callers
Function
generateOrchestraRowWithBis
({ letter, seatsBefore = [], seatsAfter = [], }: { letter: RowLetter; seatsBefore?: (SeatForRow | Em
app/models/calaisTheatreSeatingPlan.ts:326
↓ 4 callers
Function
generateSeatSection
( type: SeatSectionType, rows: SeatRowForSection[] )
app/models/seatMap.ts:91
↓ 4 callers
Function
getSeatPrice
(seat: Seat)
app/models/seatMap.ts:36
↓ 4 callers
Function
getSetCookieHeader
( context: AppLoadContext, session: Session, )
app/session.ts:34
↓ 4 callers
Function
showToHumanString
(show: Show)
app/models/shows.ts:32
↓ 3 callers
Function
getPurchasedSeatsForShow
( db: DrizzleD1Database, showId: string, )
app/services/db.service.server.ts:30
↓ 3 callers
Function
isEmptySpace
(seat: unknown)
app/models/seatMap.ts:88
↓ 3 callers
Function
seatToHumanString
({ num, rowLetter, isBis, hasRestrictedView, isWheelchairAccessible, }: Seat)
app/models/seatMap.ts:24
↓ 2 callers
Function
getLockedSeatsForSession
( db: DrizzleD1Database, sessionId: string, )
app/services/db.service.server.ts:86
↓ 2 callers
Function
getLockedSeatsForShow
( db: DrizzleD1Database, showId: string, )
app/services/db.service.server.ts:43
↓ 2 callers
Function
getSeatByIdMap
(sections: SeatSection[])
app/models/seatMap.ts:210
↓ 2 callers
Function
sessionToExpireInSeconds
(lockedSeatsForSession: LockedSeatModel[])
app/routes/basket.tsx:169
↓ 2 callers
Function
setSeatLockHasChild
( db: DrizzleD1Database, showId: string, seatId: string, hasChild: boolean, )
app/services/db.service.server.ts:282
↓ 1 callers
Function
adminLockAndUnlockSeats
( db: DrizzleD1Database, showId: string, selectedSeatsIdWithStatuses: SeatIdWithStatus[], )
app/services/db.service.server.ts:152
↓ 1 callers
Function
alternateNums
(numSeats: number)
app/models/seatMap.ts:164
↓ 1 callers
Function
contextWithDb
( cloudflareEnv: Record<string, unknown>, )
app/services/db.service.server.ts:14
↓ 1 callers
Function
getAllUnavailableSeatsForShow
( db: DrizzleD1Database, showId: string, )
app/services/db.service.server.ts:63
↓ 1 callers
Function
numsDecreasing
(numSeats: number, min: number)
app/models/seatMap.ts:179
↓ 1 callers
Function
numsIncreasing
(numSeats: number, max: number)
app/models/seatMap.ts:186
↓ 1 callers
Function
registerPurchase
( db: DrizzleD1Database, stripeCheckoutSessionId: string, customerDetails: { name: string; email: string
app/services/db.service.server.ts:102
↓ 1 callers
Function
unlockSeat
( db: DrizzleD1Database, showId: string, seatId: string, )
app/services/db.service.server.ts:267
↓ 1 callers
Function
useOnFocus
(onFocus: () => void)
app/utils/useOnFocus.ts:3
Function
Admin
()
app/routes/admin.tsx:34
Function
App
()
app/root.tsx:90
Function
Basket
()
app/routes/basket.tsx:180
Function
BearIcon
({ className }: { className?: string })
app/components/icons.tsx:57
Function
Book
()
app/routes/book.$showId.tsx:168
Function
CheckIcon
()
app/components/icons.tsx:19
Function
ErrorBoundary
({ error }: Route.ErrorBoundaryProps)
app/root.tsx:146
Function
Index
()
app/routes/_index.tsx:6
Function
Layout
({ children }: { children: React.ReactNode })
app/root.tsx:46
Function
SeatMap
({ unavailableSeats, onSeatToggle, allowSelectUnavailableSeats, keyRef, })
app/components/seatMap/seatMap.tsx:15
Function
SeatMapSeat
({ seat, unavailableSeatsIdSet, allowSelectUnavailableSeats, onSeatToggle, pointerDownTimeInMsRef, }
app/components/seatMap/components/seatMapSeat.tsx:15
Function
SuccessIcon
()
app/components/icons.tsx:3
Function
TrashIcon
({ className }: { className?: string })
app/components/icons.tsx:44
Function
WarningIcon
()
app/components/icons.tsx:28
Function
action
({ request, context, params: { showId }, }: ActionFunctionArgs)
app/routes/book.$showId.tsx:66
Function
action
({ context, request }: ActionFunctionArgs)
app/routes/basket.tsx:40
Function
action
({ request, context }: ActionFunctionArgs)
app/routes/admin.tsx:7
Function
action
({ context, request })
app/routes/hooks.stripe.tsx:16
Function
handleRequest
( request: Request, responseStatusCode: number, responseHeaders: Headers, routerContext: EntryContext,
app/entry.server.tsx:6
Function
links
()
app/root.tsx:32
Function
loader
({ context, request }: LoaderFunctionArgs)
app/root.tsx:65
Function
loader
({ context, request, params: { showId }, }: LoaderFunctionArgs)
app/routes/book.$showId.tsx:42
Function
meta
({ data })
app/root.tsx:25
Function
onError
(error: unknown)
app/entry.server.tsx:19
Function
onReconnect
()
app/routes/book.$showId.tsx:248