Skip to main content

Vercel/dns

@swamp/vercel/dnsv2026.10.23.1· AGPL-3.0-or-later· 28d agoBEHAVIORS
01README

Vercel dns infrastructure models

02Release Notes
  • Updated: records
03Behaviors1
@swamp/vercel/dns/recordsv2026.10.23.1records.ts

Global Arguments

ArgumentTypeDescription
teamId?stringVercel team ID
slug?stringVercel team slug (alternative to teamId)
domainstringParent domain
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
type?enumThe type of record, it could be one of the valid DNS records.
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 Records
fn lookup(allowMissing?: boolean)
Look up an existing Records 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 delete(id: string)
Delete the Records
ArgumentTypeDescription
idstringThe ID of the Records

Resources

state(infinite)— Records resource state
lookupResult(infinite)— Outcome of the most recent lookup
04Previous Versions4
2026.10.20.2AGPL-3.0-or-later
  • Updated: records

Modified 1 behaviors

2026.10.20.1AGPL-3.0-or-later(was none)
  • Updated: records
2026.10.13.1
  • Updated: records
2026.10.01.1
  • Updated: records
05Stats
A
100 / 100
Downloads
27
Archive size
7.7 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