Vercel/vcr
@swamp/vercel/vcrv2026.10.23.1
01README
Vercel vcr infrastructure models
02Release Notes
- Updated: repository
03Behaviors
@swamp/vercel/vcr/repositoryv2026.10.23.1repository.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| teamId? | string | Vercel team ID |
| slug? | string | Vercel team slug (alternative to teamId) |
| projectId? | string | Project ID or name (slug) within the authenticated team. IDs take precedence over names. Missing or empty values return HTTP 400. |
| name? | string | Single Docker repository name component. |
| 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 Repository
fn get(id: string)
Get a Repository
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Repository |
fn lookup(allowMissing?: boolean)
Look up an existing Repository 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 adopt(id: string)
Import an existing Repository by ID into state for management
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Repository to import |
fn delete(id: string)
Delete the Repository
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Repository |
fn sync(identifier?: string)
Sync Repository state from Vercel
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Repository by id (e.g. one discovered by list) |
Resources
state(infinite)— Repository resource state
lookupResult(infinite)— Outcome of the most recent lookup
04Previous Versions
2026.10.20.1AGPL-3.0-or-later(was none)
- Updated: repository
Modified 1 behaviors
2026.10.13.1
- Updated: repository
2026.10.01.1
- Updated: repository
2026.09.16.1
- Updated: repository
2026.09.15.1
- Updated: repository
2026.09.09.1
- Updated: repository
2026.08.04.1
- Updated: repository
2026.08.03.2
- Updated: repository
05Stats
A
100 / 100
Downloads
25
Archive size
9.2 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