UNPKG

@scalar/api-client

Version:

the open source API testing client

46 lines 2.03 kB
import type { Environment } from '@scalar/oas-utils/entities/environment'; import type { RequestExampleParameter } from '@scalar/oas-utils/entities/spec'; import type { Workspace } from '@scalar/oas-utils/entities/workspace'; import { type RouteLocationRaw } from 'vue-router'; import type { EnvVariable } from '../../../store/active-entities.js'; type __VLS_Props = { items?: (RequestExampleParameter & { route?: RouteLocationRaw; })[]; /** Hide the enabled column */ hasCheckboxDisabled?: boolean; showUploadButton?: boolean; isGlobal?: boolean; isReadOnly?: boolean; environment: Environment; envVariables: EnvVariable[]; workspace: Workspace; invalidParams?: Set<string>; label?: string; }; declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { updateRow: (idx: number, field: "value" | "key", value: string) => any; toggleRow: (idx: number, enabled: boolean) => any; addRow: () => any; deleteRow: (idx: number) => any; inputFocus: () => any; inputBlur: () => any; uploadFile: (idx: number) => any; removeFile: (idx: number) => any; }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onUpdateRow?: ((idx: number, field: "value" | "key", value: string) => any) | undefined; onToggleRow?: ((idx: number, enabled: boolean) => any) | undefined; onAddRow?: (() => any) | undefined; onDeleteRow?: ((idx: number) => any) | undefined; onInputFocus?: (() => any) | undefined; onInputBlur?: (() => any) | undefined; onUploadFile?: ((idx: number) => any) | undefined; onRemoveFile?: ((idx: number) => any) | undefined; }>, { hasCheckboxDisabled: boolean; showUploadButton: boolean; isGlobal: boolean; isReadOnly: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; //# sourceMappingURL=RequestTable.vue.d.ts.map