formily-request-monorepo
Version:
A flexible, lightweight, non-intrusive plugin for extending formily schema request data.
17 lines (14 loc) • 528 B
TypeScript
// // import type { ISchema } from "@formily/react";
// type II = import('@formily/json-schema').ISchema;
// type S<T> = import('@formily/json-schema').Stringify<T>;
// type XRequestSchema = import('formily-request').XRequest;
// declare module '@formily/react' {
// type ISchema = II & {
// /**
// * 接口请求配置
// * @description 支持配置请求参数或直接引用scope中的请求方法
// */
// 'x-request'?: S<XRequestSchema>;
// properties?: Record<string, ISchema>;
// };
// }