@scalar/api-client
Version:
the open source API testing client
35 lines • 1.41 kB
TypeScript
import type { ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
import type { ClientLayout } from '../../../hooks/index.js';
type __VLS_Props = {
/** List of servers that are available for the operation/document level */
servers: ServerObject[];
/** Currently selected server */
server: ServerObject | null;
/** The id of the target to use for the popover (e.g. address bar) */
target: string;
/** Client layout */
layout: ClientLayout;
};
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:variable": (payload: {
index: number;
key: string;
value: string;
}) => any;
"update:selectedServer": (payload: {
url: string;
}) => any;
"update:servers": () => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
"onUpdate:variable"?: ((payload: {
index: number;
key: string;
value: string;
}) => any) | undefined;
"onUpdate:selectedServer"?: ((payload: {
url: string;
}) => any) | undefined;
"onUpdate:servers"?: (() => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;
//# sourceMappingURL=ServerDropdown.vue.d.ts.map