@scalar/api-client
Version:
the open source API testing client
39 lines • 2.3 kB
TypeScript
import type { HttpMethod } from '@scalar/helpers/http/http-methods';
import type { ClientPlugin } from '@scalar/oas-utils/helpers';
import type { WorkspaceStore } from '@scalar/workspace-store/client';
import type { SelectedSecurity } from '@scalar/workspace-store/entities/auth';
import type { AuthMeta, WorkspaceEventBus } from '@scalar/workspace-store/events';
import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
import type { XScalarCookie } from '@scalar/workspace-store/schemas/extensions/general/x-scalar-cookies';
import type { OpenApiDocument, OperationObject, ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
import type { ClientLayout } from '../../../hooks/index.js';
import type { ClientOptionGroup } from '../../../v2/blocks/operation-code-sample/index.js';
import { type MergedSecuritySchemes } from '../../../v2/blocks/scalar-auth-selector-block/index.js';
import type { SecuritySchemeObjectSecret } from '../../../v2/blocks/scalar-auth-selector-block/helpers/secret-types';
export type ExtendedScalarCookie = XScalarCookie & {
location: 'document' | 'workspace';
};
type __VLS_Props = {
authMeta: AuthMeta;
clientOptions: ClientOptionGroup[];
environment: XScalarEnvironment;
eventBus: WorkspaceEventBus;
exampleKey: string;
globalCookies: ExtendedScalarCookie[];
layout: ClientLayout;
method: HttpMethod;
operation: OperationObject;
path: string;
plugins: ClientPlugin[];
proxyUrl: string;
securityRequirements: OpenApiDocument['security'];
securitySchemes: MergedSecuritySchemes;
selectedClient: WorkspaceStore['workspace']['x-scalar-default-client'];
selectedSecurity: SelectedSecurity;
selectedSecuritySchemes: SecuritySchemeObjectSecret[];
server: ServerObject | null;
};
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: typeof __VLS_export;
export default _default;
//# sourceMappingURL=RequestBlock.vue.d.ts.map