Skip to main content

Vercel/edge Config

@swamp/vercel/edge-configv2026.08.03.5· 1mo agoMODELS
01README

Vercel edge-config infrastructure models

02Release Notes
  • Updated: global_config
  • Updated: items
  • Updated: token
03Models3
@swamp/vercel/edge-config/global-configv2026.08.03.3global_config.ts

Global Arguments

ArgumentTypeDescription
teamId?stringVercel team ID
slug?stringVercel team slug (alternative to teamId)
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
items?record
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 Global Config
fn get(id: string)
Get a Global Config
ArgumentTypeDescription
idstringThe 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
ArgumentTypeDescription
idstringThe ID of the Global Config to import
fn update(identifier?: string)
Update Global Config attributes
ArgumentTypeDescription
identifier?stringTarget a specific Global Config by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Global Config
ArgumentTypeDescription
idstringThe ID of the Global Config
fn sync(identifier?: string)
Sync Global Config state from Vercel
ArgumentTypeDescription
identifier?stringTarget 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

ArgumentTypeDescription
teamId?stringVercel team ID
slug?stringVercel team slug (alternative to teamId)
edgeConfigIdstringEdge Config ID
keystringThe key of the Edge Config item
value?stringThe value of the Edge Config item
description?stringA description of the Edge Config item
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 Items
fn get(id: string)
Get a Items
ArgumentTypeDescription
idstringThe 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
ArgumentTypeDescription
idstringThe ID of the Items to import
fn sync(identifier?: string)
Sync Items state from Vercel
ArgumentTypeDescription
identifier?stringTarget 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

ArgumentTypeDescription
teamId?stringVercel team ID
slug?stringVercel team slug (alternative to teamId)
edgeConfigIdstringParent edgeConfigId
labelstring
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 Token
fn get(id: string)
Get a Token
ArgumentTypeDescription
idstringThe ID of the Token
fn adopt(id: string)
Import an existing Token by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Token to import
fn sync(identifier?: string)
Sync Token state from Vercel
ArgumentTypeDescription
identifier?stringTarget a specific Token by id (e.g. one discovered by list)

Resources

state(infinite)— Token resource state
04Previous Versions1
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