InferAutoFormValues
InferAutoFormValues<
TTable,TNested> =TNestedextends readonlyNestedTableConfig[] ?InferTableRow<TTable> &InferNestedValues<TNested> :InferTableRow<TTable>
Defined in: packages/forms/src/types.ts:348
The fully inferred form value shape for an AutoForm given a parent table and a tuple of nested configs.
InferAutoFormValues<typeof recipes, [{ table: typeof ingredients; foreignKey: "recipeId" }]>
resolves to
InferTableRow<typeof recipes> & { ingredients: Array<InferTableRow<typeof ingredients>> }.
Type Parameters
Section titled “Type Parameters”TTable
Section titled “TTable”TTable extends Table
TNested
Section titled “TNested”TNested extends readonly NestedTableConfig[] | undefined