UNPKG

@scalar/api-client

Version:

the open source API testing client

43 lines 2.04 kB
import type { HttpMethod as HttpMethodType } from '@scalar/helpers/http/http-methods'; import type { WorkspaceEventBus } from '@scalar/workspace-store/events'; import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments'; import type { ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document'; import { type ClientLayout } from '../../../../hooks/index.js'; import { type History } from './AddressBarHistory.vue.js'; type __VLS_Props = { /** Current request path */ path: string; /** Current request method */ method: HttpMethodType; /** Currently selected server */ server: ServerObject | null; /** Server list available for operation/document */ servers: ServerObject[]; /** List of request history */ history: History[]; /** Client layout */ layout: ClientLayout; /** Event bus */ eventBus: WorkspaceEventBus; /** Environment */ environment: XScalarEnvironment; }; declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, { methodConflict: import("vue").Ref<"delete" | "get" | "head" | "options" | "patch" | "post" | "put" | "trace" | null, "delete" | "get" | "head" | "options" | "patch" | "post" | "put" | "trace" | null>; pathConflict: import("vue").Ref<string | null, string | null>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { execute: () => any; "update:servers": () => any; "select:history:item": (payload: { index: number; }) => any; }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onExecute?: (() => any) | undefined; "onUpdate:servers"?: (() => any) | undefined; "onSelect:history:item"?: ((payload: { index: number; }) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: typeof __VLS_export; export default _default; //# sourceMappingURL=AddressBar.vue.d.ts.map