chore(generators): add // <gen:*> anchor comments for event/job generators
This commit is contained in:
@@ -79,4 +79,6 @@ export async function bindDevSeed{{pascalCase name}}(
|
||||
),
|
||||
),
|
||||
);
|
||||
// <gen:event-handlers>
|
||||
// <gen:jobs>
|
||||
}
|
||||
|
||||
@@ -71,4 +71,6 @@ export function bindProduction{{pascalCase name}}(
|
||||
),
|
||||
),
|
||||
);
|
||||
// <gen:event-handlers>
|
||||
// <gen:jobs>
|
||||
}
|
||||
|
||||
@@ -4,4 +4,6 @@ export const {{constantCase name}}_SYMBOLS = {
|
||||
IGet{{pascalCase entity}}UseCase: Symbol.for("{{kebabCase name}}:IGet{{pascalCase entity}}UseCase"),
|
||||
// Controllers
|
||||
IGet{{pascalCase entity}}Controller: Symbol.for("{{kebabCase name}}:IGet{{pascalCase entity}}Controller"),
|
||||
// <gen:event-handler-symbols>
|
||||
// <gen:job-symbols>
|
||||
} as const;
|
||||
|
||||
@@ -14,3 +14,5 @@ export {
|
||||
|
||||
// Controller type aliases
|
||||
export type { IGet{{pascalCase entity}}Controller } from "./interface-adapters/controllers/get-{{kebabCase entity}}.controller";
|
||||
|
||||
// <gen:events>
|
||||
|
||||
Reference in New Issue
Block a user