integration-0.1.0
Safe HaskellNone
LanguageGHC2021

Test.Migration.MeetingLinks

Description

WPB-29361: the one-off meeting join-code backfill migration gives every meeting without a live join code one (without touching existing codes), so that every meeting can render its mandatory link.

Synopsis

Documentation

backfillSql :: String Source #

Mirror of libswire-subsystemspostgres-migrations/20261019090000-meeting-join-code-backfill.sql; the integration image has no repo checkout, so the statement is duplicated here.

fetchLink :: HasCallStack => Value -> String -> App String Source #

List the owner's meetings and return the link of the given meeting.

meetingJoinCodeKey :: HasCallStack => String -> String Source #

The deterministic meeting join-code key, mirroring mkKeyId (base64url of the first 15 bytes of SHA256("meeting:" <> meetingId)).