@scalar/api-client
Version:
the open source API testing client
40 lines • 1.5 kB
TypeScript
import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
import type { SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
type __VLS_Props = {
data: TableRow;
isReadOnly?: boolean;
hasCheckboxDisabled?: boolean;
invalidParams?: Set<string>;
label?: string;
environment: XScalarEnvironment;
showUploadButton?: boolean;
};
export type TableRow = {
name: string;
value: string | File | null;
globalRoute?: string;
isDisabled?: boolean;
schema?: SchemaObject;
isRequired?: boolean;
};
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
updateRow: (payload: Partial<{
key: string;
value: string;
isEnabled: boolean;
}>) => any;
deleteRow: () => any;
uploadFile: () => any;
removeFile: () => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
onUpdateRow?: ((payload: Partial<{
key: string;
value: string;
isEnabled: boolean;
}>) => any) | undefined;
onDeleteRow?: (() => any) | undefined;
onUploadFile?: (() => any) | undefined;
onRemoveFile?: (() => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;
//# sourceMappingURL=RequestTableRow.vue.d.ts.map