Some checks failed
build-images / web (push) Has been cancelled
vision2026-ci / Python SDK resource tests (push) Has been cancelled
build-images / api (push) Has been cancelled
build-images / worker-gpu (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Has been cancelled
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Has been cancelled
codeql / Analyze (javascript-typescript) (push) Has been cancelled
codeql / Analyze (python) (push) Has been cancelled
perf / API hot-path micro-smoke (budgeted) (push) Has been cancelled
perf / Desktop engine crates (release build check) (push) Has been cancelled
vision2026-ci / API phase modules (ruff + pytest) (push) Has been cancelled
vision2026-ci / Alembic upgrade + drift check (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Has been cancelled
Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
54 lines
1.9 KiB
TypeScript
54 lines
1.9 KiB
TypeScript
/**
|
|
* Typed API layer barrel — all domains re-exported in one place.
|
|
*
|
|
* Import individual domains for explicit granularity:
|
|
* import { listJobs, createJob } from "@/lib/api/jobs";
|
|
*
|
|
* Or import everything from here:
|
|
* import { listJobs, listVoices, getAnalytics } from "@/lib/api";
|
|
* // (the above still works — this barrel does not shadow it)
|
|
*
|
|
* Domain breakdown:
|
|
* auth — device session, file uploads / presign
|
|
* catalog — read-only creator catalogs (caption-styles, music, layouts…)
|
|
* studio — avatars, voices, me profile
|
|
* jobs — create/list/poll reels, broll, social copy, share links
|
|
* insights — analytics, notifications, performance, leaderboard
|
|
* billing — plans, providers, checkout
|
|
* referral — referral code + redeem
|
|
* presets — saved job configs
|
|
* connections — OAuth connections + publishing
|
|
* workspaces — team workspaces, RBAC, audit trail, admin
|
|
* developer — API keys, usage, brand, creator profiles
|
|
* media — ideas, marketplace, scheduled publishes
|
|
* motion — camera-move catalog, detail, compile, render history
|
|
* wallet — top-up, transfers, sources, destinations
|
|
*
|
|
* The shared primitives (ApiError, RequestOptions, API_BASE) are re-exported
|
|
* from lib/api for convenience.
|
|
*/
|
|
|
|
export {
|
|
API_BASE,
|
|
ApiError,
|
|
isAbortError,
|
|
POLL_INTERVAL_MS,
|
|
type RequestOptions,
|
|
} from "@/lib/api";
|
|
|
|
// Domain re-exports (subset — prefer importing from domain files for clarity)
|
|
export * from "./auth";
|
|
export * from "./billing";
|
|
export * from "./catalog";
|
|
export * from "./connections";
|
|
export * from "./developer";
|
|
export * from "./insights";
|
|
export * from "./jobs";
|
|
export * from "./media";
|
|
export * from "./motion";
|
|
export * from "./presets";
|
|
export * from "./referral";
|
|
export * from "./studio";
|
|
export * from "./wallet";
|
|
export * from "./workspaces";
|