@streamlayer/react 0.29.3 → 0.29.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -770,6 +770,13 @@ declare module "../../sdk-web-notifications/src/notifications" {
770
770
  questionType: QuestionType;
771
771
  question?: {
772
772
  title: string;
773
+ votedAnswer?: {
774
+ title?: string;
775
+ points?: number;
776
+ };
777
+ predictionResult?: boolean;
778
+ correct?: boolean;
779
+ correctAnswerTitle?: string;
773
780
  };
774
781
  insight?: InstantView;
775
782
  onboarding?: GameSettings;
@@ -1323,6 +1330,21 @@ declare module "../../feature-gamification/src/leaderboard" {
1323
1330
  invalidate: () => void;
1324
1331
  };
1325
1332
  }
1333
+ declare module "../../feature-gamification/src/queries/deepLink" {
1334
+ import type { Transport } from '../../sdk-web-api/src/index.ts';
1335
+ import { ReadableAtom } from 'nanostores';
1336
+ import { DeepLink } from '@streamlayer/sl-eslib/sdkSettings/client/client_pb';
1337
+ type EventId = ReadableAtom<string | undefined>;
1338
+ export const $deepLink: (transport: Transport, params: [EventId]) => import("@nanostores/query").FetcherStore<DeepLink | undefined, any>;
1339
+ }
1340
+ declare module "../../feature-gamification/src/deepLink" {
1341
+ import type { Transport } from '../../sdk-web-api/src/index.ts';
1342
+ import { ReadableAtom } from 'nanostores';
1343
+ export const deepLink: (transport: Transport, $eventId: ReadableAtom<string | undefined>) => {
1344
+ $store: import("@nanostores/query").FetcherStore<import("@streamlayer/sl-eslib/sdkSettings/client/client_pb").DeepLink | undefined, any>;
1345
+ fetch: typeof fetch;
1346
+ };
1347
+ }
1326
1348
  declare module "../../feature-gamification/src/gamification" {
1327
1349
  import { AbstractFeature, ApiStore, FeatureSource, type FeatureProps, type StreamLayerContext } from '../../sdk-web-interfaces/src/index.ts';
1328
1350
  import { type GamesOverlaySettings } from '../../sdk-web-types/src/index.ts';
@@ -1332,6 +1354,7 @@ declare module "../../feature-gamification/src/gamification" {
1332
1354
  import { WritableAtom } from 'nanostores';
1333
1355
  import * as queries from "../../feature-gamification/src/queries/index";
1334
1356
  import { leaderboard } from "../../feature-gamification/src/leaderboard";
1357
+ import { deepLink } from "../../feature-gamification/src/deepLink";
1335
1358
  import { OnboardingStatus } from "../../feature-gamification/src/onboarding";
1336
1359
  import { LeaderboardItem } from "../../feature-gamification/src/queries/leaderboard";
1337
1360
  import { GamificationBackground } from "../../feature-gamification/src/index";
@@ -1353,6 +1376,7 @@ declare module "../../feature-gamification/src/gamification" {
1353
1376
  leaderboardId: WritableAtom<string | undefined>;
1354
1377
  /** leaderboard list */
1355
1378
  leaderboardList: ReturnType<typeof leaderboard>;
1379
+ deepLink: ReturnType<typeof deepLink>;
1356
1380
  /** onboarding status */
1357
1381
  onboardingStatus: {
1358
1382
  $store: WritableAtom<OnboardingStatus | undefined>;