@scalar/api-client
Version:
the open source API testing client
47 lines • 1.96 kB
TypeScript
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;
/** The amount remaining to load from 100 -> 0 */
percentage?: number;
/** Event bus */
eventBus: WorkspaceEventBus;
/** Environment */
environment: XScalarEnvironment;
};
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
execute: () => any;
"update:servers": () => any;
"update:path": (payload: {
value: string;
}) => any;
"update:method": (payload: {
value: HttpMethodType;
}) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
onExecute?: (() => any) | undefined;
"onUpdate:servers"?: (() => any) | undefined;
"onUpdate:path"?: ((payload: {
value: string;
}) => any) | undefined;
"onUpdate:method"?: ((payload: {
value: HttpMethodType;
}) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;
//# sourceMappingURL=AddressBar.vue.d.ts.map