UNPKG

@levo-so/client

Version:

<img alt="Levo" src="https://static.levocdn.com/png/Levo-Logo.png" width="50" height="50">

11 lines (10 loc) 369 B
import type { LemaField } from '../../types/lema'; export type LemaFieldRecord = Record<string, Omit<LemaField, 'fields'> & { fields: LemaFieldRecord; }>; export declare const generateInterface: (name: string, fields: LemaFieldRecord, options?: { nested?: boolean; array?: boolean; level?: number; kind?: "root" | "create" | "update"; }) => string;