PhiaUiDesign.Catalog.CatalogServer (phia_ui v0.1.17)

Copy Markdown View Source

GenServer that caches introspected component data in ETS for fast access. Refreshes on demand.

Summary

Functions

Get all components (cached)

Get components grouped by tier

Returns a specification to start this module under a supervisor.

Get all families

Get a single component info

Force refresh the cache

Search components by name (fuzzy)

Functions

all()

Get all components (cached)

by_tier()

Get components grouped by tier

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

families()

Get all families

get(key)

Get a single component info

refresh()

Force refresh the cache

search(query)

Search components by name (fuzzy)

start_link(opts \\ [])