UNPKG

@scalar/api-client

Version:

the open source API testing client

44 lines 1.78 kB
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[]; isReadOnly?: boolean; /** Hide the enabled column */ hasCheckboxDisabled?: boolean; invalidParams?: Set<string>; label?: string; showUploadButton?: boolean; showAddRowPlaceholder?: boolean; environment: XScalarEnvironment; }; declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { updateRow: (index: number, payload: Partial<{ key: string; value: string; isEnabled: boolean; }>) => any; addRow: (payload: Partial<{ key: string; value: string; isEnabled: boolean; }>) => any; deleteRow: (index: number) => any; uploadFile: (index?: number | undefined) => any; removeFile: (index: number) => any; }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onUpdateRow?: ((index: number, payload: Partial<{ key: string; value: string; isEnabled: boolean; }>) => any) | undefined; onAddRow?: ((payload: Partial<{ key: string; value: string; isEnabled: boolean; }>) => any) | undefined; onDeleteRow?: ((index: number) => any) | undefined; onUploadFile?: ((index?: number | undefined) => any) | undefined; onRemoveFile?: ((index: number) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; //# sourceMappingURL=RequestTable.vue.d.ts.map