Variable: VCSEvents
Makaio Framework / contracts / VCSEvents
Variable: VCSEvents
Section titled “Variable: VCSEvents”
constVCSEvents:BusSubjects<FlatSubjectDefinitions<"vcs:events", {comment.created:ZodObject<{commentId:ZodNumber;prNumber:ZodNumber;repoPath:ZodString; },$strip>;thread.resolved:ZodObject<{prNumber:ZodNumber;repoPath:ZodString;threadId:ZodString; },$strip>; }>,"vcs:events"> =VCSEventsNamespace.subjects
Defined in: ../../../packages/contracts/src/capabilities/vcs/events.ts:57
Type-safe subjects for VCS events.
Use these subjects with bus.emit() to trigger cache invalidation, or with bus.on() to subscribe to cache invalidation events.