Skip to main content

Vercel/project Routes

@swamp/vercel/project-routesv2026.08.03.3· 1mo agoMODELS
01README

Vercel project-routes infrastructure models

02Release Notes
  • Updated: routes
03Models1
@swamp/vercel/project-routes/routesv2026.08.03.3routes.ts

Global Arguments

ArgumentTypeDescription
teamId?stringVercel team ID
slug?stringVercel team slug (alternative to teamId)
projectIdstringParent projectId
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
routeobject
restore?booleanIf true, restores the staged route to the value in the production version.
position?objectControls where the route is inserted. Defaults to "end" if omitted.
token?stringVercel API token; overrides the VERCEL_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
fn create()
Create a Routes
fn lookup()
Look up an existing Routes by matching global argument values and import it into state
fn update(identifier?: string)
Update Routes attributes
ArgumentTypeDescription
identifier?stringTarget a specific Routes by id (e.g. one discovered by list)

Resources

state(infinite)— Routes resource state
04Stats
A
100 / 100
Downloads
0
Archive size
9.1 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels