@proofkit/typegen
Version:
`@proofkit/typegen` is a tool for generating TypeScript types from FileMaker database schemas, making it easier to work with FileMaker data in modern TypeScript projects.
17 lines (16 loc) • 443 B
TypeScript
import { DataApi } from '../../fmdapi/src.js';
import { TSchema, ValueListsOptions } from './types.js';
export declare const getLayoutMetadata: (args: {
client: ReturnType<typeof DataApi>;
valueLists?: ValueListsOptions;
}) => Promise<{
schema: TSchema[];
portalSchema: {
schemaName: string;
schema: TSchema[];
}[];
valueLists: {
name: string;
values: string[];
}[];
} | undefined>;