UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

12 lines 711 B
import { Gateway } from "../models/gateway.model.js"; import { GatewayEndpoints } from "../models/gateway-endpoint.model.js"; export interface IStudioGatewayIndexedDbHandler { setGatewayInstances(gatewayInstance: Gateway): Promise<void>; getGatewayInstances(): Promise<Gateway[] | void>; getGatewayInstance(name: string): Promise<Gateway | void>; deleteGatewayInstance(name: string): Promise<void>; updateGatewayInstance(name: string, gatewayInstance: Gateway): Promise<void>; setEndpoints(gatewayEndpoint: string[], gatewayName: string, apiName: string): Promise<void>; getEndpoints(): Promise<GatewayEndpoints[] | void>; } //# sourceMappingURL=gateway-indexed-db.interface.d.ts.map