Vercel/edge Config
@swamp/vercel/edge-configv2026.10.23.1
01README
Vercel edge-config infrastructure models
02Release Notes
- Updated: global_config
- Updated: items
- Updated: token
03Behaviors
@swamp/vercel/edge-config/global-configv2026.10.23.1global_config.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| teamId? | string | Vercel team ID |
| slug? | string | Vercel team slug (alternative to teamId) |
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| resourceSlug? | string | |
| items? | record | |
| 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 Global Config
fn get(id: string)
Get a Global Config
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Global Config |
fn lookup(allowMissing?: boolean)
Look up an existing Global Config 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 Global Config by ID into state for management
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Global Config to import |
fn update(identifier?: string)
Update Global Config attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Global Config by id (e.g. one discovered by list) |
fn delete(id: string)
Delete the Global Config
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Global Config |
fn sync(identifier?: string)
Sync Global Config state from Vercel
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Global Config by id (e.g. one discovered by list) |
Resources
state(infinite)— Global Config resource state
lookupResult(infinite)— Outcome of the most recent lookup
@swamp/vercel/edge-config/itemsv2026.10.23.1items.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| teamId? | string | Vercel team ID |
| slug? | string | Vercel team slug (alternative to teamId) |
| edgeConfigId | string | Edge Config ID |
| key? | string | The key of the Edge Config item |
| value? | string | The value of the Edge Config item |
| description? | string | A description of the Edge Config item |
| 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 Items
fn get(id: string)
Get a Items
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Items |
fn lookup(allowMissing?: boolean)
Look up an existing Items 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 Items by ID into state for management
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Items to import |
fn sync(identifier?: string)
Sync Items state from Vercel
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Items by key (e.g. one discovered by list) |
Resources
state(infinite)— Items resource state
lookupResult(infinite)— Outcome of the most recent lookup
@swamp/vercel/edge-config/tokenv2026.10.23.1token.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| teamId? | string | Vercel team ID |
| slug? | string | Vercel team slug (alternative to teamId) |
| edgeConfigId | string | Parent edgeConfigId |
| label? | string | |
| 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 Token
fn get(id: string)
Get a Token
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Token |
fn adopt(id: string)
Import an existing Token by ID into state for management
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Token to import |
fn sync(identifier?: string)
Sync Token state from Vercel
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Token by id (e.g. one discovered by list) |
Resources
state(infinite)— Token resource state
04Previous Versions
2026.10.20.3AGPL-3.0-or-later
- Updated: token
2026.10.20.2AGPL-3.0-or-later
- Updated: global_config
- Updated: items
Modified 2 behaviors
2026.10.20.1AGPL-3.0-or-later(was none)
- Updated: items
2026.10.13.1
- Updated: global_config
- Updated: items
- Updated: token
2026.10.02.1
- Updated: global_config
- Updated: items
2026.10.01.1
- Updated: global_config
- Updated: items
- Updated: token
2026.09.16.1
- Updated: global_config
- Updated: items
- Updated: token
2026.08.03.5
- Updated: global_config
- Updated: items
- Updated: token
2026.08.03.4
- Updated: token
05Stats
A
100 / 100
Downloads
33
Archive size
12.9 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