fumadocs-mdx
Version:
The built-in source for Fumadocs
22 lines (21 loc) • 521 B
TypeScript
import { s as Plugin } from "../core-O3WLuY_I.js";
//#region src/plugins/json-schema.d.ts
interface JSONSchemaOptions {
/**
* insert `$schema` field to JSON files on creation.
*
* @defaultValue false
*/
insert?: boolean;
}
/**
* Generate JSON schemas locally for collection schemas
*
* note: **it only works with Zod**
*/
declare function jsonSchema({
insert
}?: JSONSchemaOptions): Plugin;
//#endregion
export { JSONSchemaOptions, jsonSchema as default };
//# sourceMappingURL=json-schema.d.ts.map