@scalar/api-client
Version:
the open source API testing client
48 lines • 2.37 kB
TypeScript
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
import type { SecurityRequirementObject, ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
import type { MergedSecuritySchemes } from '../../../../v2/blocks/scalar-auth-selector-block/index.js';
type __VLS_Props = {
/** Current environment configuration */
environment: XScalarEnvironment;
/** Controls the display of certain borders which are used when we are non-collapsible */
isStatic: boolean;
/** Proxy URL */
proxyUrl: string;
/** Selected security schemes*/
selectedSecuritySchemas: SecurityRequirementObject;
/** Merged security schemes from the document and the config together with the auth store secrets */
securitySchemes: MergedSecuritySchemes;
/** Current server configuration */
server: ServerObject | null;
/** Event bus for authentication updates */
eventBus: WorkspaceEventBus;
};
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:selectedScopes": (payload: Omit<{
id: string[];
name: string;
scopes: string[];
newScopePayload?: {
name: string;
description: string;
flowType: keyof import("@scalar/workspace-store/schemas/v3.1/strict/oauthflows").OAuthFlowsObject;
};
meta: import("@scalar/workspace-store/events").AuthMeta;
}, "meta">) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
"onUpdate:selectedScopes"?: ((payload: Omit<{
id: string[];
name: string;
scopes: string[];
newScopePayload?: {
name: string;
description: string;
flowType: keyof import("@scalar/workspace-store/schemas/v3.1/strict/oauthflows").OAuthFlowsObject;
};
meta: import("@scalar/workspace-store/events").AuthMeta;
}, "meta">) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: typeof __VLS_export;
export default _default;
//# sourceMappingURL=RequestAuthTab.vue.d.ts.map