UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

32 lines • 1.23 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Infrastructure = exports.BaseInfrastructure = void 0; const tslib_1 = require("../../../../internal/tslib.js"); // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. const resource_1 = require("../../../../core/resource.js"); const TargetsAPI = tslib_1.__importStar(require("./targets.js")); const targets_1 = require("./targets.js"); var BaseInfrastructure = /* @__PURE__ */ (() => { class BaseInfrastructure extends resource_1.APIResource { } BaseInfrastructure._key = Object.freeze([ 'zeroTrust', 'access', 'infrastructure', ]); return BaseInfrastructure; })(); exports.BaseInfrastructure = BaseInfrastructure; var Infrastructure = /* @__PURE__ */ (() => { class Infrastructure extends BaseInfrastructure { constructor() { super(...arguments); this.targets = new TargetsAPI.Targets(this._client); } } Infrastructure.Targets = targets_1.Targets; Infrastructure.BaseTargets = targets_1.BaseTargets; return Infrastructure; })(); exports.Infrastructure = Infrastructure; //# sourceMappingURL=infrastructure.js.map