Vercel/project Routes
@swamp/vercel/project-routesv2026.10.23.1
01README
Vercel project-routes infrastructure models
02Release Notes
- Updated: routes
03Behaviors
@swamp/vercel/project-routes/routesv2026.10.23.1routes.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| teamId? | string | Vercel team ID |
| slug? | string | Vercel team slug (alternative to teamId) |
| projectId | string | Parent projectId |
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| route? | object | |
| restore? | boolean | If true, restores the staged route to the value in the production version. |
| position? | object | Controls where the route is inserted. Defaults to "end" if omitted. |
| token? | string | Vercel 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(allowMissing?: boolean)
Look up an existing Routes by matching global argument values and import it into state
| Argument | Type | Description |
|---|---|---|
| allowMissing? | boolean | Succeed and record found: false in lookupResult when nothing matches, instead of failing |
fn update(identifier?: string)
Update Routes attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Routes by id (e.g. one discovered by list) |
Resources
state(infinite)— Routes resource state
lookupResult(infinite)— Outcome of the most recent lookup
04Previous Versions
2026.10.20.2AGPL-3.0-or-later
- Updated: routes
Modified 1 behaviors
2026.10.20.1AGPL-3.0-or-later(was none)
- Updated: routes
2026.10.13.1
- Updated: routes
2026.10.01.1
- Updated: routes
2026.08.03.3
- Updated: routes
05Stats
A
100 / 100
Downloads
25
Archive size
9.8 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
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
06Platforms
07Labels