UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

36 lines • 1.61 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ResourceLibrary = exports.BaseResourceLibrary = 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 ApplicationsAPI = tslib_1.__importStar(require("./applications.js")); const applications_1 = require("./applications.js"); const CategoriesAPI = tslib_1.__importStar(require("./categories.js")); const categories_1 = require("./categories.js"); var BaseResourceLibrary = /* @__PURE__ */ (() => { class BaseResourceLibrary extends resource_1.APIResource { } BaseResourceLibrary._key = Object.freeze([ 'zeroTrust', 'resourceLibrary', ]); return BaseResourceLibrary; })(); exports.BaseResourceLibrary = BaseResourceLibrary; var ResourceLibrary = /* @__PURE__ */ (() => { class ResourceLibrary extends BaseResourceLibrary { constructor() { super(...arguments); this.applications = new ApplicationsAPI.Applications(this._client); this.categories = new CategoriesAPI.Categories(this._client); } } ResourceLibrary.Applications = applications_1.Applications; ResourceLibrary.BaseApplications = applications_1.BaseApplications; ResourceLibrary.Categories = categories_1.Categories; ResourceLibrary.BaseCategories = categories_1.BaseCategories; return ResourceLibrary; })(); exports.ResourceLibrary = ResourceLibrary; //# sourceMappingURL=resource-library.js.map