Skip to main content

Vercel/edge Config

@swamp/vercel/edge-configv2026.10.23.1· AGPL-3.0-or-later· 8d agoBEHAVIORS
01README

Vercel edge-config infrastructure models

02Release Notes
  • Updated: global_config
  • Updated: items
  • Updated: token
03Behaviors3
@swamp/vercel/edge-config/global-configv2026.10.23.1global_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)
resourceSlug?string
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(allowMissing?: boolean)
Look up an existing Global Config by matching global argument values and import it into state
ArgumentTypeDescription
allowMissing?booleanSucceed 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
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
lookupResult(infinite)— Outcome of the most recent lookup
@swamp/vercel/edge-config/itemsv2026.10.23.1items.ts

Global Arguments

ArgumentTypeDescription
teamId?stringVercel team ID
slug?stringVercel team slug (alternative to teamId)
edgeConfigIdstringEdge Config ID
key?stringThe 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(allowMissing?: boolean)
Look up an existing Items by matching global argument values and import it into state
ArgumentTypeDescription
allowMissing?booleanSucceed 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
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
lookupResult(infinite)— Outcome of the most recent lookup
@swamp/vercel/edge-config/tokenv2026.10.23.1token.ts

Global Arguments

ArgumentTypeDescription
teamId?stringVercel team ID
slug?stringVercel team slug (alternative to teamId)
edgeConfigIdstringParent edgeConfigId
label?string
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 Versions9
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