@scalar/api-client
Version:
the open source API testing client
37 lines • 1.46 kB
TypeScript
import type { Workspace } from '../../../../v2/hooks/use-workspace-selector.js';
/**
* The top nav on the web
*
* This no longer contains the links to cookies and environment but just holds the menu and download buttons
*/
declare const _default: import("vue").DefineComponent<{
/**
* The currently active workspace.
* This represents the workspace that the user is currently working in.
*/
activeWorkspace: Workspace;
/**
* The list of all available workspaces.
* Used to render options for workspace switching and selection.
*/
workspaces: Workspace[];
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"create:workspace": () => any;
"select:workspace": (id?: string | undefined) => any;
}, string, import("vue").PublicProps, Readonly<{
/**
* The currently active workspace.
* This represents the workspace that the user is currently working in.
*/
activeWorkspace: Workspace;
/**
* The list of all available workspaces.
* Used to render options for workspace switching and selection.
*/
workspaces: Workspace[];
}> & Readonly<{
"onCreate:workspace"?: (() => any) | undefined;
"onSelect:workspace"?: ((id?: string | undefined) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;
//# sourceMappingURL=WebTopNav.vue.d.ts.map