UNPKG

@premieroctet/next-admin

Version:

Next-Admin provides a customizable and turnkey admin dashboard for applications built with Next.js and powered by the Prisma ORM. It aims to simplify the development process by providing a turnkey admin system that can be easily integrated into your proje

13 lines 634 B
import { UiSchema } from "@rjsf/utils"; import { EditFieldsOptions, ModelName, Schema, SchemaDefinitions } from "../types"; export type Schemas = { schema: any; uiSchema: UiSchema; }; export declare function getSchemaForResource(schema: any, resource: string): any; export declare function getSchemas<M extends ModelName>(data: any, schema: SchemaDefinitions[M], editFieldsOptions?: EditFieldsOptions<M>): Schemas & { edit: boolean; id?: string | number; }; export declare const getDefinitionFromRef: (schema: Schema, ref: string) => import("..").SchemaModel<Prisma.ModelName>; //# sourceMappingURL=jsonSchema.d.ts.map