Skip to content

extractForms

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/utils/form-validation-extractor.ts

Combined entry point — merges code + template, enriching template fields with code-level rules.

Signature

ts
function extractForms(code: string, templateContent: string | undefined, filePath: string, componentName: string, framework: Framework): FormDefinition[]

Parameters

NameType
codestring
templateContent`string
filePathstring
componentNamestring
frameworkFramework

Returns: FormDefinition[]

Was this page helpful?

Download as PDF