UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

14 lines (13 loc) 491 B
import { RuntimeInventory } from "@apic/smith-inventory"; import { IRuntimeSDK } from "./interfaces/IRuntimeSDK.js"; import { RuntimeTransformer } from "./RuntimeTransformer.js"; export class RuntimeSDK implements IRuntimeSDK { public inventory = new RuntimeInventory(); private _transformer?: RuntimeTransformer; public get transformer(): RuntimeTransformer { if (!this._transformer) { this._transformer = new RuntimeTransformer(); } return this._transformer; } }