@scalar/api-reference
Version:
Generate beautiful API references from OpenAPI documents
36 lines • 2.11 kB
TypeScript
import type { ApiReferenceConfigurationRaw } from '@scalar/types/api-reference';
import type { Heading } from '@scalar/types/legacy';
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
import type { TraversedEntry as TraversedEntryType } from '@scalar/workspace-store/schemas/navigation';
import type { Workspace, WorkspaceDocument } from '@scalar/workspace-store/schemas/workspace';
type __VLS_Props = {
infoSectionId: string;
/** The subset of the configuration object required for the content component */
options: Pick<ApiReferenceConfigurationRaw, 'authentication' | 'baseServerURL' | 'documentDownloadType' | 'expandAllResponses' | 'hiddenClients' | 'hideTestRequestButton' | 'layout' | 'orderRequiredPropertiesFirst' | 'orderSchemaPropertiesBy' | 'persistAuth' | 'proxyUrl' | 'servers' | 'showOperationId'>;
document: WorkspaceDocument | undefined;
xScalarDefaultClient: Workspace['x-scalar-default-client'];
items: TraversedEntryType[];
expandedItems: Record<string, boolean>;
eventBus: WorkspaceEventBus;
environment: XScalarEnvironment;
/** Heading id generator for Markdown headings */
headingSlugGenerator: (heading: Heading) => string;
};
declare var __VLS_5: {}, __VLS_50: {}, __VLS_59: {};
type __VLS_Slots = {} & {
start?: (props: typeof __VLS_5) => any;
} & {
'empty-state'?: (props: typeof __VLS_50) => any;
} & {
end?: (props: typeof __VLS_59) => any;
};
declare const __VLS_component: 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: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=Content.vue.d.ts.map