Skip to content

Glossary

TermMeaning
TierTop-level access boundary under src/tiers/: users, public, admin, landing. Features live in their tier.
FeatureA self-contained unit under tiers/[tier]/features/[name]/ with components/ hooks/ services/ pages/ utils/ tests/.
RPCA Postgres function called via supabase.rpc() from a hook. Read-only path.
Edge Function (EF)A Deno/TypeScript function called via supabase.functions.invoke() from a service. Handles writes, secrets, external HTTP.
Type A EFUser-facing edge function; requires JWT auth (requireAuth). Named domain-action.
Type B EFCron/internal edge function; deployed --no-verify-jwt. Named domain-noun-verb.
RLSRow-Level Security. Defense-in-depth on every user-facing table; EF is the primary enforcement.
UI HybridTwo-layer UI: global primitives in src/components/ui/ + per-tier overrides in tiers/[tier]/components/ui/.
Edge BuilderThe trader-development feature group (Trade Planner, Psychology, Risk Radar, Session Review, Habit Tracker, Trade Journal).
FinFluencifyThe trainer/course marketplace tier-feature (a.k.a. "FinEd").
cn()Class-composition helper in src/lib/utils.js used with the isLight theme guard.
isLightBoolean from useTheme() driving the component-first dark/light theming.
Change ManifestThe end-of-response table listing touched files so production (Hostinger) can be synced.
docs:gennode tools/generate-docs.js — regenerates the auto-generated reference pages of this portal.