Skip to main content

Function: validateAppNotificationRequest()

function validateAppNotificationRequest(
value: unknown
): ZodSafeParseResult<AppNotificationRequest>;

Defined in: shared/validation/notifications.ts:57

Validates a generic app notification request payload against the shared schema.

Parametersโ€‹

valueโ€‹

unknown

Returnsโ€‹

ZodSafeParseResult<AppNotificationRequest>