surveyClosedDataSchema
@mineflow/contracts / surveyClosedDataSchema
Variable: surveyClosedDataSchema
const surveyClosedDataSchema: ZodObject<{
actorId: ZodUUID;
audienceSize: ZodNumber;
closedAt: ZodString;
responseCount: ZodNumber;
surveyId: ZodUUID;
}, $strip>;
Defined in: events/hr/survey.ts:53
hr.survey.closed — приём ответов завершён (published → closed).
Подписчики: Notifications (уведомление автору), read-model (финализация).
audienceSize — знаменатель response-rate на момент закрытия.