@scalar/api-client
Version:
the open source API testing client
69 lines • 2.3 kB
TypeScript
import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
import type { RequestBodyObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
type __VLS_Props = {
/** Request body */
requestBody?: RequestBodyObject;
/** Currently selected example key for the current operation */
exampleKey: string;
/** Display title */
title: string;
/** Selected environment */
environment: XScalarEnvironment;
};
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:contentType": (payload: {
value: string;
}) => any;
"update:value": (payload: {
value?: string | File;
contentType: string;
}) => any;
"add:formRow": (payload: {
data: Partial<{
key: string;
value?: string | File;
}>;
contentType: string;
}) => any;
"update:formRow": (payload: {
index: number;
data: Partial<{
key: string;
value: string | File | null;
}>;
contentType: string;
}) => any;
"delete:fromRow": (payload: {
index: number;
contentType: string;
}) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
"onUpdate:contentType"?: ((payload: {
value: string;
}) => any) | undefined;
"onUpdate:value"?: ((payload: {
value?: string | File;
contentType: string;
}) => any) | undefined;
"onAdd:formRow"?: ((payload: {
data: Partial<{
key: string;
value?: string | File;
}>;
contentType: string;
}) => any) | undefined;
"onUpdate:formRow"?: ((payload: {
index: number;
data: Partial<{
key: string;
value: string | File | null;
}>;
contentType: string;
}) => any) | undefined;
"onDelete:fromRow"?: ((payload: {
index: number;
contentType: string;
}) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;
//# sourceMappingURL=RequestBody.vue.d.ts.map