Initial commit

This commit is contained in:
fraqtal
2026-07-12 08:15:46 +00:00
commit ee0fec0691
1397 changed files with 127242 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
// packages/{{kebabCase feature}}/src/events/handlers/on-{{kebabCase publisher}}-{{kebabCase event}}.handler.ts
import type { {{pascalCase event}}Event } from "@repo/{{kebabCase publisher}}";
export type IOn{{pascalCase publisher}}{{pascalCase event}}Handler = ReturnType<
typeof on{{pascalCase publisher}}{{pascalCase event}}Handler
>;
export const on{{pascalCase publisher}}{{pascalCase event}}Handler =
() =>
async (_event: {{pascalCase event}}Event): Promise<void> => {
// TODO: implement the reaction. Inject dependencies via the factory's
// constructor and use them here. The handler runs inside the consumer's
// span+capture sandwich, so just throwing on failure is the right shape.
};