@flowpanel/core
v0.1.0
Published
Core logic for FlowPanel — types, defineAdmin, runtime helpers
Readme
@flowpanel/core
Core types, builders, and runtime for FlowPanel.
Most users should depend on
flowpanel(the umbrella package) — it re-exports everything from@flowpanel/coreand the other workspace packages. Depend on@flowpanel/coredirectly only when publishing your own FlowPanel adapter or extension.
What's here
defineAdmin(config)— the config entry point.- Builders:
resource,dashboard,page,metric,table,custom,statGroup,queue. - Types:
Adapter,AdminConfig,ResolvedAdminConfig,WidgetContext,ActionContext,LabelsConfig,ThemeConfig,FlowpanelTypes,Session,Scope, errors. - Runtime:
createPublisher(memory + Redis),createRateLimiter(memory + Redis),runWithRequestContext,emitAudit,checkRequireRole,assertResourceScope.
Subpath exports
@flowpanel/core— main entry@flowpanel/core/labels—LabelsConfig+mergeLabels(pure data, safe in client bundles)@flowpanel/core/auth—withClerk,withNextAuth,withLucia
Documentation
License
MIT
