UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

15 lines (13 loc) 519 B
import { IRuntimeSDK } from "@apic/smith-sdk"; import { LWGWRuntimeInventory } from "@apic/lwgw-smith-inventory"; import { LWGWRuntimeTransformer } from "./lwgw_runtime_transformer.js"; export class LWGWRuntimeSDK implements IRuntimeSDK { public inventory = new LWGWRuntimeInventory(); private _transformer?: LWGWRuntimeTransformer; public get transformer(): LWGWRuntimeTransformer { if (!this._transformer) { this._transformer = new LWGWRuntimeTransformer(); } return this._transformer; } }