Reorganize repo structure and standards references

This commit is contained in:
david committed 2026-06-29 05:03:42 +02:00
1 parent 3cb93a81be
commit be2054274d
5885 files changed
+2588 -195

No files matched your search

@@ -0,0 +1,46 @@
/**
* Marketing-Funnel Phase 3 — email-sequence engine (Phase 05 #80).
*
* Pure-logic package: definitions, condition DSL, step engine, step runner.
* Storage + queue + mail-provider surfaces are injected by the worker so
* this package has zero runtime dependencies on Prisma or BullMQ.
*/
export * from "./types.js";
export {
resolvePath,
evaluateCondition,
evaluateAllConditions,
} from "./conditions.js";
export {
startSequenceRun,
advanceSequenceRun,
type SequenceEngineStore,
type SequenceEngineQueue,
type SequenceEngineDeps,
type SequenceEngineLogger,
type SequenceRunRow,
type SequenceRunStatus,
type StepDeliveryRow,
type StepDeliveryStatus,
type StartSequenceRunArgs,
type StartSequenceRunResult,
type AdvanceArgs,
type AdvanceResult,
} from "./engine.js";
export {
runStep,
type StepRunnerStore,
type StepRunnerDeps,
type StepRunResult,
type RenderedMail,
type MailSendResult,
} from "./step-runner.js";
export {
buildUnsubscribeUrl,
signUnsubscribeToken,
UnsubscribeTokenSecretMissingError,
verifyUnsubscribeToken,
type SignUnsubscribeTokenInput,
type UnsubscribeTokenPayload,
} from "./unsubscribe-token.js";