UNPKG

@scalar/api-client

Version:

the open source API testing client

30 lines 1.82 kB
import { type Icon } from '@scalar/components'; import type { WorkspaceEventBus } from '@scalar/workspace-store/events'; import type { AuthMeta } from '@scalar/workspace-store/mutators'; import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments'; import type { OpenApiDocument, ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document'; import { type SecuritySchemeOption } from '../../../../v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js'; type __VLS_Props = { environment: XScalarEnvironment; eventBus: WorkspaceEventBus; /** Whether we can add or delete auth schemes */ isReadOnly?: boolean; /** Creates a static disclosure that cannot be collapsed */ isStatic?: boolean; meta: AuthMeta; security: OpenApiDocument['security']; securitySchemes: NonNullable<OpenApiDocument['components']>['securitySchemes']; selectedSecurity: OpenApiDocument['x-scalar-selected-security']; server: ServerObject | undefined; title: string; }; declare const _default: import("vue").DefineComponent<__VLS_Props, { authIndicator: import("vue").ComputedRef<{ icon: Icon; text: string; } | null>; selectedSchemeOptions: import("vue").ComputedRef<SecuritySchemeOption[]>; schemeOptions: import("vue").ComputedRef<SecuritySchemeOption[] | import("../../../../v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js").SecuritySchemeGroup[]>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; //# sourceMappingURL=AuthSelector.vue.d.ts.map