cloudflare
Version:
The official TypeScript library for the Cloudflare API
30 lines • 1.26 kB
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../../core/resource.mjs";
import * as ApplicationsAPI from "./applications.mjs";
import { Applications, BaseApplications, } from "./applications.mjs";
import * as CategoriesAPI from "./categories.mjs";
import { BaseCategories, Categories, } from "./categories.mjs";
export var BaseResourceLibrary = /* @__PURE__ */ (() => {
class BaseResourceLibrary extends APIResource {
}
BaseResourceLibrary._key = Object.freeze([
'zeroTrust',
'resourceLibrary',
]);
return BaseResourceLibrary;
})();
export 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;
ResourceLibrary.BaseApplications = BaseApplications;
ResourceLibrary.Categories = Categories;
ResourceLibrary.BaseCategories = BaseCategories;
return ResourceLibrary;
})();
//# sourceMappingURL=resource-library.mjs.map