Vercel/edge Config
@swamp/vercel/edge-configv2026.08.03.5
01README
Vercel edge-config infrastructure models
02Release Notes
- Updated: global_config
- Updated: items
- Updated: token
03Models
@swamp/vercel/edge-config/global-configv2026.08.03.3global_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) |
| 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()
Look up an existing Global Config by matching global argument values and import it into state
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
@swamp/vercel/edge-config/itemsv2026.08.03.4items.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()
Look up an existing Items by matching global argument values and import it into state
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
@swamp/vercel/edge-config/tokenv2026.08.03.4token.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.08.03.4
- Updated: token
05Stats
A
100 / 100
Downloads
0
Archive size
14.5 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
06Platforms
07Labels