UNPKG

@scalar/api-client

Version:

the open source API testing client

24 lines 907 B
import type { ClientPlugin } from '../../../../v2/plugins'; import type { ClientLayout } from '../../../../v2/types/layout'; export type CreateApiClientOptions = { /** * The layout of the client, limited to web or desktop in app * @see {@link ClientLayout} * * @default 'desktop' */ layout: Exclude<ClientLayout, 'modal'>; /** * Api client plugins to include in the app */ plugins?: ClientPlugin[]; }; /** * Creates the appropriate router with the appropriate routes based on the layout */ export declare const createAppRouter: (layout: CreateApiClientOptions["layout"]) => import("vue-router").Router; /** * Create the API Client with router and passes in the workspace store as a prop */ export declare const createApiClientApp: (el: HTMLElement | null, { layout }: CreateApiClientOptions) => void; //# sourceMappingURL=create-api-client-app.d.ts.map