@scalar/api-client
Version:
the open source API testing client
25 lines • 965 B
TypeScript
import type { HttpMethod as HttpMethodType } from '@scalar/helpers/http/http-methods';
export type History = {
id: string;
method: HttpMethodType;
path: string;
duration: number;
status: number;
};
type __VLS_Props = {
/** The id of the target to use for the popover (e.g. address bar) */
target: string;
/** List of all request history items */
history: History[];
};
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
selectHistoryItem: (payload: {
index: number;
}) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
onSelectHistoryItem?: ((payload: {
index: number;
}) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;
//# sourceMappingURL=AddressBarHistory.vue.d.ts.map