UNPKG

@proofkit/typegen

Version:

20 lines (19 loc) 528 B
import { DataApi } from '@proofkit/fmdapi'; import { TSchema, ValueListsOptions } from './types.js'; /** * Calls the FileMaker Data API to get the layout metadata and returns a schema */ 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>;