- Node/Express/TypeScript API under /api/v1 with JWT auth (login, refresh, logout, /me) - Prisma schema: vendors, users, roles, products, categories, taxes, transactions - SQLite for local dev; Postgres via docker-compose for production - Full CRUD routes for vendors, users, categories, taxes, products with Zod validation and RBAC - Paginated list endpoints scoped per vendor; refresh token rotation - React/TypeScript admin SPA (Vite): login, protected routing, sidebar layout - Pages: Dashboard, Catalog (tabbed Products/Categories/Taxes), Users, Vendor Settings - Shared UI: Table, Modal, FormField, Btn, PageHeader components - Multi-stage Dockerfile; docker-compose with Postgres healthcheck - Seed script with demo vendor and owner account - INSTRUCTIONS.md, ROADMAP.md, .claude/launch.json for dev server config Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
107 lines
2.4 KiB
TypeScript
107 lines
2.4 KiB
TypeScript
export type {
|
|
ActionFunction,
|
|
ActionFunctionArgs,
|
|
AgnosticDataIndexRouteObject,
|
|
AgnosticDataNonIndexRouteObject,
|
|
AgnosticDataRouteMatch,
|
|
AgnosticDataRouteObject,
|
|
AgnosticIndexRouteObject,
|
|
AgnosticNonIndexRouteObject,
|
|
AgnosticPatchRoutesOnNavigationFunction,
|
|
AgnosticPatchRoutesOnNavigationFunctionArgs,
|
|
AgnosticRouteMatch,
|
|
AgnosticRouteObject,
|
|
DataStrategyFunction,
|
|
DataStrategyFunctionArgs,
|
|
DataStrategyMatch,
|
|
DataStrategyResult,
|
|
ErrorResponse,
|
|
FormEncType,
|
|
FormMethod,
|
|
HTMLFormMethod,
|
|
JsonFunction,
|
|
LazyRouteFunction,
|
|
LoaderFunction,
|
|
LoaderFunctionArgs,
|
|
ParamParseKey,
|
|
Params,
|
|
PathMatch,
|
|
PathParam,
|
|
PathPattern,
|
|
RedirectFunction,
|
|
ShouldRevalidateFunction,
|
|
ShouldRevalidateFunctionArgs,
|
|
TrackedPromise,
|
|
UIMatch,
|
|
V7_FormMethod,
|
|
DataWithResponseInit as UNSAFE_DataWithResponseInit,
|
|
} from "./utils";
|
|
|
|
export {
|
|
AbortedDeferredError,
|
|
data,
|
|
defer,
|
|
generatePath,
|
|
getToPathname,
|
|
isRouteErrorResponse,
|
|
joinPaths,
|
|
json,
|
|
matchPath,
|
|
matchRoutes,
|
|
normalizePathname,
|
|
redirect,
|
|
redirectDocument,
|
|
replace,
|
|
resolvePath,
|
|
resolveTo,
|
|
stripBasename,
|
|
} from "./utils";
|
|
|
|
export type {
|
|
BrowserHistory,
|
|
BrowserHistoryOptions,
|
|
HashHistory,
|
|
HashHistoryOptions,
|
|
History,
|
|
InitialEntry,
|
|
Location,
|
|
MemoryHistory,
|
|
MemoryHistoryOptions,
|
|
Path,
|
|
To,
|
|
} from "./history";
|
|
|
|
export {
|
|
Action,
|
|
createBrowserHistory,
|
|
createHashHistory,
|
|
createMemoryHistory,
|
|
createPath,
|
|
parsePath,
|
|
} from "./history";
|
|
|
|
export * from "./router";
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
// DANGER! PLEASE READ ME!
|
|
// We consider these exports an implementation detail and do not guarantee
|
|
// against any breaking changes, regardless of the semver release. Use with
|
|
// extreme caution and only if you understand the consequences. Godspeed.
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/** @internal */
|
|
export type { RouteManifest as UNSAFE_RouteManifest } from "./utils";
|
|
export {
|
|
DeferredData as UNSAFE_DeferredData,
|
|
ErrorResponseImpl as UNSAFE_ErrorResponseImpl,
|
|
convertRoutesToDataRoutes as UNSAFE_convertRoutesToDataRoutes,
|
|
convertRouteMatchToUiMatch as UNSAFE_convertRouteMatchToUiMatch,
|
|
decodePath as UNSAFE_decodePath,
|
|
getResolveToMatches as UNSAFE_getResolveToMatches,
|
|
} from "./utils";
|
|
|
|
export {
|
|
invariant as UNSAFE_invariant,
|
|
warning as UNSAFE_warning,
|
|
} from "./history";
|