Fetch the union of every personal campaign and every team
campaign a Tiltify user participates in (by user ID).
Backs the "pick which of your campaigns to overlay against" flow in
the landing app — which needs both personal and team rows in the
same dropdown. Thin wrapper around
import("@playlive/tiltify-core").Tiltify.GetUserAndTeamCampaigns.
Same nullish-guard + error-swallow semantics as
fetchTiltifyUserCampaigns.
Parameters
params: {userId:string|null|undefined}
{ userId } — the user's Tiltify UUID (not the slug).
Personal + team campaigns interleaved; [] on missing input
or on network failure.
Example
constcampaigns = awaitfetchTiltifyUserAndTeamCampaigns({ userId:"abc-123" }); // Discriminate at the call site if you need to split them again: constpersonal = campaigns.filter((c) =>c.type !== "team");
Fetch the union of every personal campaign and every team campaign a Tiltify user participates in (by user ID).
Backs the "pick which of your campaigns to overlay against" flow in the landing app — which needs both personal and team rows in the same dropdown. Thin wrapper around import("@playlive/tiltify-core").Tiltify.GetUserAndTeamCampaigns. Same nullish-guard + error-swallow semantics as fetchTiltifyUserCampaigns.