Variable: TOKEN\_NAME\_PATH\_CONSTRAINT
Gala Launchpad SDK 9.0.0-rc.5 / index / TOKEN_NAME_PATH_CONSTRAINT
Variable: TOKEN_NAME_PATH_CONSTRAINT
constTOKEN_NAME_PATH_CONSTRAINT:TokenNameConstraint
Defined in: packages/launchpad-sdk/dist/types/constraints.d.ts:46
A token name taken from the path (or a @RequirePool() lookup) with no DTO: the backend checks no
format, the pool must exist. The longest name a pool can have is its column (VARCHAR 255), and names
are letters and digits only, so those are the bounds (a launched name of 21+ characters passes the
chain and the bundler and is served here; only the DTO routes refuse it).
Routes: /v1/tokens/:tokenName and everything under it (stream control, recordings, simulcasts,
bans, image, stats, role, config), /live/:tokenName/chat, GET /v1/messages/pinned,
GET/DELETE /v1/token-bans/:tokenName.