Schemas, components, utilities, and auth interfaces for the Drawn brand portal framework.
Installation
npm install @drawnagency/primitives
What's included
Schemas — Zod schemas for sections, site config, media, and audiences
Components — React components for section rendering, navigation, and editor UI
Auth — AuthProvider interface and session management utilities
Media — Client-side image/video processing pipeline
Usage
import { IndexSchema, SiteConfigSchema } from "@drawnagency/primitives/schemas";
import { generateNavLinks } from "@drawnagency/primitives/lib";
import type { AuthProvider } from "@drawnagency/primitives/auth";