cloudflare
Version:
The official TypeScript library for the Cloudflare API
26 lines • 923 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../../../core/resource.mjs";
import * as TargetsAPI from "./targets.mjs";
import { BaseTargets, Targets, } from "./targets.mjs";
export var BaseInfrastructure = /* @__PURE__ */ (() => {
class BaseInfrastructure extends APIResource {
}
BaseInfrastructure._key = Object.freeze([
'zeroTrust',
'access',
'infrastructure',
]);
return BaseInfrastructure;
})();
export var Infrastructure = /* @__PURE__ */ (() => {
class Infrastructure extends BaseInfrastructure {
constructor() {
super(...arguments);
this.targets = new TargetsAPI.Targets(this._client);
}
}
Infrastructure.Targets = Targets;
Infrastructure.BaseTargets = BaseTargets;
return Infrastructure;
})();
//# sourceMappingURL=infrastructure.mjs.map