One row of campaign_schedule_entries annotated with the campaign's
total_amount_raised at the block boundaries.
Mirrors CampaignScheduleEntryWithAmounts from
@playlive/schedule-builder-data (server-side). Kept as a local
interface so this package doesn't take a hard dep on the server
data package — the shape has been stable since block-amounts landed
and any drift will surface as a plain type error at the send site.
startAmount / endAmount are null when no tiltify_campaign_snapshots
row covers the boundary (campaign wasn't subscribed to webhooks yet,
or the boundary is in the future).
endAmount is always null for the next upcoming block.
raisedDuringBlock is endAmount - startAmount when both are
defined, otherwise null.
scheduleData is the raw Tiltify schedule object
(TiltifySchedule). Typed as unknown on the wire to keep
this package free of a hard tiltify-core version pin — cast
downstream when consuming.
campaignData is the raw TiltifyCampaign. Same rationale.
One row of
campaign_schedule_entriesannotated with the campaign'stotal_amount_raisedat the block boundaries.Mirrors
CampaignScheduleEntryWithAmountsfrom@playlive/schedule-builder-data(server-side). Kept as a local interface so this package doesn't take a hard dep on the server data package — the shape has been stable since block-amounts landed and any drift will surface as a plain type error at the send site.startAmount/endAmountarenullwhen notiltify_campaign_snapshotsrow covers the boundary (campaign wasn't subscribed to webhooks yet, or the boundary is in the future).endAmountis alwaysnullfor thenextupcoming block.raisedDuringBlockisendAmount - startAmountwhen both are defined, otherwisenull.scheduleDatais the raw Tiltify schedule object (TiltifySchedule). Typed asunknownon the wire to keep this package free of a hard tiltify-core version pin — cast downstream when consuming.campaignDatais the raw TiltifyCampaign. Same rationale.