@scalar/api-client
Version:
the open source API testing client
72 lines • 2.88 kB
TypeScript
import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
import { type TableRow } from '../../../../v2/blocks/request-block/components/RequestTableRow.vue.js';
type __VLS_Props = {
data: TableRow[];
/** Hide the enabled column */
hasCheckboxDisabled?: boolean;
invalidParams?: Set<string>;
label?: string;
showUploadButton?: boolean;
showAddRowPlaceholder?: boolean;
environment: XScalarEnvironment;
};
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
navigate: (route: NonNullable<({
replace?: boolean;
namespace?: string;
workspaceSlug?: string;
callback?: (status: "success" | "error") => void;
} & ({
page: "document";
path: "overview" | "servers" | "environment" | "authentication" | "cookies" | "settings";
documentSlug?: string;
} | {
page: "workspace";
path: "environment" | "cookies" | "settings";
} | {
page: "example";
documentSlug?: string;
path: string;
method: import("@scalar/helpers/http/http-methods").HttpMethod;
exampleName: string;
})) | undefined>) => any;
deleteRow: (index: number) => any;
uploadFile: (index: number) => any;
removeFile: (index: number) => any;
upsertRow: (index: number, payload: {
name: string;
value: string | File | undefined;
isDisabled: boolean;
}) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
onNavigate?: ((route: NonNullable<({
replace?: boolean;
namespace?: string;
workspaceSlug?: string;
callback?: (status: "success" | "error") => void;
} & ({
page: "document";
path: "overview" | "servers" | "environment" | "authentication" | "cookies" | "settings";
documentSlug?: string;
} | {
page: "workspace";
path: "environment" | "cookies" | "settings";
} | {
page: "example";
documentSlug?: string;
path: string;
method: import("@scalar/helpers/http/http-methods").HttpMethod;
exampleName: string;
})) | undefined>) => any) | undefined;
onDeleteRow?: ((index: number) => any) | undefined;
onUploadFile?: ((index: number) => any) | undefined;
onRemoveFile?: ((index: number) => any) | undefined;
onUpsertRow?: ((index: number, payload: {
name: string;
value: string | File | undefined;
isDisabled: boolean;
}) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: typeof __VLS_export;
export default _default;
//# sourceMappingURL=RequestTable.vue.d.ts.map