UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

14 lines 529 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from 'cloudflare/resource'; export class Bindings extends APIResource { /** * List the bindings for a Workers script. */ get(params, options) { const { zone_id } = params; return this._client.get(`/zones/${zone_id}/workers/script/bindings`, options)._thenUnwrap((obj) => obj.result); } } (function (Bindings) { })(Bindings || (Bindings = {})); //# sourceMappingURL=bindings.mjs.map