MCPcopy Create free account

hub / github.com/Sallyn0225/seatview / functions

Functions372 in github.com/Sallyn0225/seatview

↓ 2 callersFunctiongetVenue
(id: string)
src/data/venues.ts:21
↓ 2 callersFunctionhmacKey
(secret: string)
src/server/upload-ticket.ts:75
↓ 2 callersFunctionisCompleteDraft
(draft: RatingDraft)
src/islands/VenueComments.tsx:93
↓ 2 callersFunctionisCurrentRequest
()
src/islands/VenueMain.tsx:118
↓ 2 callersFunctionisDimension
A valid stored image edge: integer 1..IMAGE_MAX_EDGE (anti-tamper).
src/pages/api/upload/sign.ts:54
↓ 2 callersFunctionisNormalized
(n: unknown)
src/pages/api/upload/sign.ts:49
↓ 2 callersFunctionisSelected
(day: number)
src/islands/upload/DateField.tsx:103
↓ 2 callersFunctionisSelectedMonth
(m: number)
src/islands/upload/DateField.tsx:110
↓ 2 callersFunctionisSelectedYear
(y: number)
src/islands/upload/DateField.tsx:116
↓ 2 callersFunctionjournalPath
(remote)
scripts/migrate-coords-frame-to-image.mjs:60
↓ 2 callersFunctionjsonError
(code: string, status: number)
src/pages/api/staging/names.ts:20
↓ 2 callersFunctionlayOutPoints
( photos: readonly PhotoDto[], imageWidth: number, imageHeight: number, )
src/lib/cluster.ts:75
↓ 2 callersFunctionlistStagingVenues
( db: Db, options: ListStagingOptions = {}, )
src/server/staging.ts:74
↓ 2 callersFunctionlocalePath
Build the locale-prefixed pathname for `rest` (the stripLocale output).
src/lib/seo/hreflang-core.ts:31
↓ 2 callersFunctionoptional
Trim + clamp an optional free-text field; empty → null (no blank rows).
src/pages/api/upload/sign.ts:42
↓ 2 callersFunctionparseCount
Parse a non-negative integer query param, or undefined when absent/invalid.
src/pages/api/photos.ts:26
↓ 2 callersFunctionparseCount
Parse a non-negative integer query param, or undefined when absent/invalid.
src/pages/api/staging.ts:47
↓ 2 callersFunctionparseCount
Parse a non-negative integer query param, or undefined when absent/invalid.
src/pages/api/admin/photos.ts:68
↓ 2 callersFunctionparseCount
(value: string | null)
src/pages/api/admin/photo-corrections.ts:30
↓ 2 callersFunctionparseCount
(value: string | null)
src/pages/api/admin/staging.ts:40
↓ 2 callersFunctionprefectureName
(prefecture: Prefecture, locale: Locale)
src/data/prefectures.ts:178
↓ 2 callersFunctionratingAverage
(count: number, sum: number)
src/lib/venue-rating.ts:103
↓ 2 callersFunctionromajiFromSlug
* Derive a Latin display name from a slug for the accessibility locales. * Slugs are already romaji (`tokyo`, `kanto`, `kyushu-okinawa`), so Title-Ca
src/data/prefectures.ts:167
↓ 2 callersFunctionrowScoreSet
(scores: RatingDimensionScores, now: number)
src/server/ratings.ts:94
↓ 2 callersFunctionrowToPhotoDto
(row: PhotoRow)
src/lib/photos.ts:57
↓ 2 callersFunctionrowToScores
( row: ViewerRatingRow | undefined, )
src/server/ratings.ts:37
↓ 2 callersFunctionsetActiveSubMap
(subMapId: string)
src/lib/submap.ts:50
↓ 2 callersFunctionsortAdminStagingVenues
( venues: readonly StagingVenueDto[], )
src/islands/AdminConsole.tsx:995
↓ 2 callersFunctionuseElementSize
()
src/hooks/useElementSize.ts:28
↓ 2 callersFunctionwranglerExecute
(args)
scripts/migrate-coords-frame-to-image.mjs:132
↓ 1 callersFunctionaddSubMapCount
( counts: VenuePhotoCountsDto, subMapId: string, delta: number, )
src/islands/VenuePhotoCountLine.tsx:38
↓ 1 callersFunctionaddVote
( db: Db, venueId: string, ipHash: string, dailyLimit: number, now: number = Date.now(), )
src/server/staging.ts:234
↓ 1 callersFunctionaggSumDelta
( scores: RatingDimensionScores, venueId: string, ipHash: string, )
src/server/ratings.ts:79
↓ 1 callersFunctionapprovePhotoCorrection
( db: Db, id: string, now: number = Date.now(), )
src/server/photo-corrections.ts:132
↓ 1 callersFunctionbuildImageKey
(venueId: string, photoId: string)
src/server/r2/images.ts:29
↓ 1 callersFunctionbuildShareText
( templates: ShareTextTemplates, opts: { venue: string; region: string | null; url: string }, )
src/lib/share.ts:46
↓ 1 callersFunctionbuildShareUrl
( locale: Locale, venueId: string, subMapId: string, photoId: string, )
src/lib/share.ts:26
↓ 1 callersFunctionbuildVenueTree
( options: { includeEmpty?: boolean } = {}, )
src/data/venues.ts:55
↓ 1 callersFunctionclaimPhotoForPurge
( db: Db, id: string, )
src/server/photos.ts:338
↓ 1 callersFunctionclamp
(value: number, min: number, max: number)
src/islands/Seatmap.tsx:525
↓ 1 callersFunctionclusterPctX
( cluster: Cluster, subMap: SubMap, frame: { width: number; height: number }, )
src/islands/Seatmap.tsx:443
↓ 1 callersFunctionclusterPctY
( cluster: Cluster, subMap: SubMap, frame: { width: number; height: number }, )
src/islands/Seatmap.tsx:462
↓ 1 callersFunctionclusterThresholdPx
(scale: number)
src/lib/cluster.ts:62
↓ 1 callersFunctioncommitUpload
( ticket: string, image: File, options: CommitOptions = {}, )
src/lib/upload-client.ts:73
↓ 1 callersFunctioncompleteLegacyOrApplyFreshChange
( db: Db, venueId: string, ipHash: string, scores: RatingDimensionScores, now: number, )
src/server/ratings.ts:275
↓ 1 callersFunctioncompleteLegacyRating
( db: Db, venueId: string, ipHash: string, scores: RatingDimensionScores, now: number, )
src/server/ratings.ts:232
↓ 1 callersFunctioncompressToWebp
( source: File, onProgress?: (percent: number) => void, signal?: AbortSignal, )
src/lib/image-compress.ts:81
↓ 1 callersFunctioncopyToClipboard
(text: string)
src/lib/share.ts:85
↓ 1 callersFunctioncountDistinctVotesToday
( db: Db, ipHash: string, now: number = Date.now(), )
src/server/staging.ts:207
↓ 1 callersFunctioncreatePhotoCorrectionRequest
( db: Db, input: CreatePhotoCorrectionInput, )
src/server/photo-corrections.ts:32
↓ 1 callersFunctioncssEscape
Minimal CSS.escape fallback (attribute selector safety for ulid ids).
src/islands/SeatViewLightbox.tsx:465
↓ 1 callersFunctiondedupKey
( ipHash: string, photoId: string, requestedSeatLabel: string, )
src/server/photo-corrections.ts:23
↓ 1 callersFunctiondeleteAdminPhoto
( id: string, signal?: AbortSignal, )
src/lib/admin-client.ts:97
↓ 1 callersFunctiondeleteAdminStaging
( id: string, signal?: AbortSignal, )
src/lib/admin-client.ts:187
↓ 1 callersFunctiondeleteImage
( bucket: R2Bucket, key: string, )
src/server/r2/images.ts:48
↓ 1 callersFunctiondeleteStagingVenue
(db: Db, id: string)
src/server/staging.ts:332
↓ 1 callersFunctiondemoUlid
(seq)
scripts/gen-demo-seed.mjs:34
↓ 1 callersMethoddisplay
( pixelData: HeifPixelData, callback: (result: HeifPixelData | null) => void, )
src/types/libheif-js.d.ts:10
↓ 1 callersFunctiondraftFromSummary
(summary: VenueRatingSummaryDto)
src/islands/VenueComments.tsx:97
↓ 1 callersFunctionencodeRandom
()
src/server/id.ts:29
↓ 1 callersFunctionencodeTime
(now: number)
src/server/id.ts:18
↓ 1 callersFunctionfetchAdminPhotoCorrections
( offset: number, limit: number, signal?: AbortSignal, )
src/lib/admin-client.ts:203
↓ 1 callersFunctionfetchAdminPhotoVenues
( signal?: AbortSignal, )
src/lib/admin-client.ts:87
↓ 1 callersFunctionfetchAdminStaging
( offset: number, limit: number, signal?: AbortSignal, )
src/lib/admin-client.ts:157
↓ 1 callersFunctionfetchGridPage
( venueId: string, subMapId: string, offset: number, limit: number, signal?: AbortSignal, )
src/lib/photos-client.ts:71
↓ 1 callersFunctionfetchStagingNames
( signal?: AbortSignal, )
src/lib/staging-client.ts:93
↓ 1 callersFunctionfetchStagingPage
( offset: number, limit: number, signal?: AbortSignal, )
src/lib/staging-client.ts:110
↓ 1 callersFunctionfetchSubMapPhotos
( venueId: string, subMapId: string, signal?: AbortSignal, )
src/lib/photos-client.ts:19
↓ 1 callersFunctionfetchSubMapPhotosPage
( venueId: string, subMapId: string, offset: number, limit: number, signal?: AbortSignal, )
src/lib/photos-client.ts:43
↓ 1 callersFunctionfirstIncompleteStep
()
src/islands/upload/UploadSheet.tsx:170
↓ 1 callersFunctionframeToImage
(oldX, oldY, width, height)
scripts/migrate-coords-frame-to-image.mjs:92
↓ 1 callersMethodfree
()
src/types/libheif-js.d.ts:14
↓ 1 callersFunctiongetDeletedPhotoImageKey
( db: Db, id: string, )
src/server/photos.ts:308
↓ 1 callersFunctiongetRatingSummary
( db: Db, venueId: string, viewerIpHash?: string, )
src/server/ratings.ts:145
↓ 1 callersFunctiongetVenuesByPrefecture
(prefectureSlug: string)
src/data/venues.ts:26
↓ 1 callersMethodget_height
()
src/types/libheif-js.d.ts:8
↓ 1 callersMethodget_width
()
src/types/libheif-js.d.ts:7
↓ 1 callersFunctionhardDeletePhoto
( db: Db, id: string, )
src/server/photos.ts:419
↓ 1 callersFunctionheicToBlob
( file: File, signal?: AbortSignal, )
src/lib/heic-decode.ts:67
↓ 1 callersFunctionimageContentRect
(containerW, containerH, naturalW, naturalH)
scripts/migrate-coords-frame-to-image.mjs:70
↓ 1 callersFunctioninsertPhoto
(db: Db, row: NewPhotoRow)
src/server/photos.ts:132
↓ 1 callersFunctioninsertStagingVenue
( db: Db, row: NewStagingVenueRow, )
src/server/staging.ts:165
↓ 1 callersFunctionisAdminPath
(pathname: string)
src/middleware.ts:17
↓ 1 callersFunctionisCoolingDown
( kv: KVNamespace, scope: RateScope, ipHash: string, )
src/server/rate-limit.ts:102
↓ 1 callersFunctionisHeic
(file: File)
src/lib/heic-decode.ts:8
↓ 1 callersFunctionisLocale
(value: string | undefined)
src/lib/seo/hreflang.test.ts:21
↓ 1 callersFunctionisMaintainer
( request: Request, devEmail: string | undefined, )
src/server/admin-auth.ts:45
↓ 1 callersFunctionisRecord
(value: unknown)
src/lib/venue-rating.ts:40
↓ 1 callersFunctionisRepoSlug
(value: string)
src/islands/VenueComments.tsx:69
↓ 1 callersFunctionisThemeChoice
(value: string | null)
src/islands/ThemeToggle.tsx:14
↓ 1 callersFunctionisToday
(day: number)
src/islands/upload/DateField.tsx:99
↓ 1 callersFunctionisTodayMonth
(m: number)
src/islands/upload/DateField.tsx:114
↓ 1 callersFunctionisTodayYear
(y: number)
src/islands/upload/DateField.tsx:118
↓ 1 callersFunctionlistAdminPhotoVenueFacets
( db: Db, )
src/server/photos.ts:226
↓ 1 callersFunctionlistAllPhotosForAdmin
( db: Db, options: ListAllPhotosOptions = {}, )
src/server/photos.ts:196
↓ 1 callersFunctionlistPhotoCorrectionsForAdmin
( db: Db, options: ListPhotoCorrectionsOptions = {}, )
src/server/photo-corrections.ts:95
↓ 1 callersFunctionlistStagingNames
( db: Db, limit: number, )
src/server/staging.ts:135
↓ 1 callersFunctionlistSubMapPhotos
( db: Db, venueId: string, subMapId: string, options: ListPhotosOptions = {}, )
src/server/photos.ts:41
↓ 1 callersFunctionloadSubMapDims
()
scripts/migrate-coords-frame-to-image.mjs:100
↓ 1 callersFunctionloadTurnstileScript
Load the Turnstile script once; resolve when window.turnstile is ready.
src/islands/upload/TurnstileWidget.tsx:42
← previousnext →101–200 of 372, ranked by callers