@streamlayer/sdk-web-types 1.13.0 → 1.14.0
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.
- package/lib/sl-types.d.ts +4 -3
- package/lib/sl-types.js +1 -1
- package/package.json +2 -2
package/lib/sl-types.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { User as ProtoUser } from '@streamlayer/sl-eslib/users/users_common
|
|
|
5
5
|
import type { SummaryResponse_ResponseData_SummaryResponseAttributes } from '@streamlayer/sl-eslib/sports/events/events_pb';
|
|
6
6
|
import type { PickHistory as IPickHistory, InsightHistory as IInsightHistory, TweetHistory as ITweetHistory, FeedItem as IFeedItem, FeedItemAttributes as IFeedItemAttributes, InstantView as IInstantView, PromotionHistory as IPromotionHistory } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
|
|
7
7
|
import type { LeaderboardItem as ILeaderboardItem } from '@streamlayer/sl-eslib/interactive/leaderboard/interactive.leaderboard_pb';
|
|
8
|
-
import { type ExtendedQuestionAnswer as IExtendedQuestionAnswer, type Question as IQuestion, type ExtendedQuestion as IExtendedQuestion, type QuestionOptions_PromotionOptions, type QuestionOptions_AdCampaigns, type QuestionNotification as IQuestionNotification, type PromotionNotification as IPromotionNotification, type CloseTimer as ICloseTimer, QuestionOptions_GamOptions } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
8
|
+
import { type ExtendedQuestionAnswer as IExtendedQuestionAnswer, type Question as IQuestion, type ExtendedQuestion as IExtendedQuestion, type QuestionOptions_PromotionOptions, type QuestionOptions_AdCampaigns, type QuestionNotification as IQuestionNotification, type PromotionNotification as IPromotionNotification, type CloseTimer as ICloseTimer, type Promotion as IPromotion, QuestionOptions_GamOptions } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
9
9
|
export type UnionOmit<T, K extends string | number | symbol> = T extends unknown ? Omit<T, K> : never;
|
|
10
10
|
export type NullUnionOmit<T, K extends string | number | symbol> = null extends T ? UnionOmit<NonNullable<T>, K> : UnionOmit<T, K>;
|
|
11
11
|
export type RecursiveOmitHelper<T, K extends string | number | symbol> = {
|
|
@@ -19,7 +19,7 @@ export type RecursivePartial<T> = T extends object ? {
|
|
|
19
19
|
} : T;
|
|
20
20
|
export type PlainMessage<T> = RecursiveOmit<T, '$typeName'>;
|
|
21
21
|
export type PartialMessage<T> = RecursivePartial<RecursiveOmit<T, '$typeName'>>;
|
|
22
|
-
export { QuestionType, QuestionStatus, QuestionImages, NotificationPromotionImagePosition, ImagePosition, SilenceSetting, type QuestionOptions, PromotionType, PromotionButtonType, PromotionWallet, PromotionLogoMode, CtaIconMode, NotificationSponsorLogoMode, NotificationEnabled, CloseTimerAuto, NotificationPromotionMode, AutoPlayVideo, UseAsNotification, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
22
|
+
export { QuestionType, QuestionStatus, QuestionImages, NotificationPromotionImagePosition, ImagePosition, SilenceSetting, type QuestionOptions, PromotionType, PromotionButtonType, PromotionWallet, PromotionLogoMode, CtaIconMode, NotificationSponsorLogoMode, NotificationEnabled, NotificationUseContentMedia, NotificationUseContentTexts, CloseTimerAuto, NotificationPromotionMode, AutoPlayVideo, PlayVideoMuted, UseAsNotification, AdUnit, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
23
23
|
export { PickHistoryStatus, type SubscriptionResponse, } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
|
|
24
24
|
export type PickHistory = PlainMessage<IPickHistory>;
|
|
25
25
|
export type ExtendedQuestionAnswer = PlainMessage<IExtendedQuestionAnswer>;
|
|
@@ -42,7 +42,8 @@ export type Question = PlainMessage<IQuestion>;
|
|
|
42
42
|
export type ExtendedQuestion = PlainMessage<IExtendedQuestion>;
|
|
43
43
|
export type CloseTimer = PlainMessage<ICloseTimer>;
|
|
44
44
|
export type PromotionHistory = PlainMessage<IPromotionHistory>;
|
|
45
|
-
export type PromotionOptions =
|
|
45
|
+
export type PromotionOptions = QuestionOptions_PromotionOptions;
|
|
46
|
+
export type Promotion = PlainMessage<IPromotion>;
|
|
46
47
|
export type QuestionNotification = PlainMessage<IQuestionNotification>;
|
|
47
48
|
export type PromotionNotification = PlainMessage<IPromotionNotification>;
|
|
48
49
|
export type EventSummary = PlainMessage<SummaryResponse_ResponseData_SummaryResponseAttributes>;
|
package/lib/sl-types.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { QuestionType, QuestionStatus, QuestionImages, NotificationPromotionImagePosition, ImagePosition, SilenceSetting, PromotionType, PromotionButtonType, PromotionWallet, PromotionLogoMode, CtaIconMode, NotificationSponsorLogoMode, NotificationEnabled, CloseTimerAuto, NotificationPromotionMode, AutoPlayVideo, UseAsNotification, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
1
|
+
export { QuestionType, QuestionStatus, QuestionImages, NotificationPromotionImagePosition, ImagePosition, SilenceSetting, PromotionType, PromotionButtonType, PromotionWallet, PromotionLogoMode, CtaIconMode, NotificationSponsorLogoMode, NotificationEnabled, NotificationUseContentMedia, NotificationUseContentTexts, CloseTimerAuto, NotificationPromotionMode, AutoPlayVideo, PlayVideoMuted, UseAsNotification, AdUnit, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
2
2
|
export { PickHistoryStatus, } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
|
|
3
3
|
export { SdkOverlayType as FeatureType, } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb';
|
|
4
4
|
export { InvitationFrom } from '@streamlayer/sl-eslib/analytics/v1/invitations/invitations_pb';
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/sdk-web-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@bufbuild/protobuf": "^2.2.2",
|
|
6
|
-
"@streamlayer/sl-eslib": "^5.
|
|
6
|
+
"@streamlayer/sl-eslib": "^5.216.1"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"tslib": "^2.7.0"
|