API Reference / @gtkx/codegen / readGeneratedElements
Function: readGeneratedElements()
readGeneratedElements(
jsxStoreDir):GeneratedElement[]
Defined in: packages/codegen/src/store/jsx/generated-elements.ts:60
Reads the generated JSX inventory without importing the store or resolving its build-only virtual: imports.
Parameters
jsxStoreDir
string
Generated JSX store directory.
Returns
Elements sorted by GLib type name, or an empty array if the inventory is absent, unreadable, unparseable, or has an unrecognized structure.