@streamlayer/sdk-web-types 1.0.0 → 1.1.1
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 +9 -5
- package/lib/sl-types.js +1 -1
- package/package.json +4 -4
package/lib/sl-types.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import { PlainMessage } from '@bufbuild/protobuf';
|
|
|
2
2
|
import type { StreamSettings as SLStreamSettings, SdkOverlay, Advertising, OrganizationSettings as SLOrganizationSettings } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb';
|
|
3
3
|
import type { GameSettings as IGameSettings } from '@streamlayer/sl-eslib/sdkSettings/game/common/game_common_pb';
|
|
4
4
|
import type { ClientSettings } from '@streamlayer/sl-eslib/sdkSettings/client/client_pb';
|
|
5
|
-
import type {
|
|
6
|
-
export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, SilenceSetting, QuestionOptions, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
7
|
-
import type { PickHistory as IPickHistory, InsightHistory as IInsightHistory, TweetHistory as ITweetHistory, FeedItem as IFeedItem, FeedItemAttributes as IFeedItemAttributes, InstantView as IInstantView } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
|
|
5
|
+
import type { User as ProtoUser } from '@streamlayer/sl-eslib/users/users_common_pb';
|
|
6
|
+
export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, SilenceSetting, QuestionOptions, PromotionType, PromotionWallet, PromotionLogoMode, CtaIconMode, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
7
|
+
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';
|
|
8
8
|
export { PickHistoryStatus } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
|
|
9
9
|
import type { LeaderboardItem as ILeaderboardItem } from '@streamlayer/sl-eslib/interactive/leaderboard/interactive.leaderboard_pb';
|
|
10
|
-
import type { ExtendedQuestionAnswer as IExtendedQuestionAnswer, Question as IQuestion, ExtendedQuestion as IExtendedQuestion } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
10
|
+
import type { ExtendedQuestionAnswer as IExtendedQuestionAnswer, Question as IQuestion, ExtendedQuestion as IExtendedQuestion, QuestionOptions_PromotionOptions } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
11
11
|
export type PickHistory = PlainMessage<IPickHistory>;
|
|
12
12
|
export type ExtendedQuestionAnswer = PlainMessage<IExtendedQuestionAnswer>;
|
|
13
13
|
export type InsightHistory = PlainMessage<IInsightHistory>;
|
|
@@ -16,7 +16,9 @@ export type OrganizationSettings = SLOrganizationSettings;
|
|
|
16
16
|
export type OrganizationAdvertising = Advertising;
|
|
17
17
|
export type FeatureConfig = SdkOverlay;
|
|
18
18
|
export type StreamSettings = SLStreamSettings;
|
|
19
|
-
export type User =
|
|
19
|
+
export type User = {
|
|
20
|
+
data: ProtoUser | undefined;
|
|
21
|
+
};
|
|
20
22
|
export type UserSettings = ClientSettings;
|
|
21
23
|
export type LeaderboardItem = ILeaderboardItem;
|
|
22
24
|
export type FeedItem = PlainMessage<IFeedItem>;
|
|
@@ -25,5 +27,7 @@ export type InstantView = PlainMessage<IInstantView>;
|
|
|
25
27
|
export type GameSettings = PlainMessage<IGameSettings>;
|
|
26
28
|
export type Question = PlainMessage<IQuestion>;
|
|
27
29
|
export type ExtendedQuestion = PlainMessage<IExtendedQuestion>;
|
|
30
|
+
export type PromotionHistory = PlainMessage<IPromotionHistory>;
|
|
31
|
+
export type PromotionOptions = PlainMessage<QuestionOptions_PromotionOptions>;
|
|
28
32
|
export { SdkOverlayType as FeatureType, SdkOverlaySettings, GamesOverlaySettings, } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb';
|
|
29
33
|
export { InvitationFrom } from '@streamlayer/sl-eslib/analytics/v1/invitations/invitations_pb';
|
package/lib/sl-types.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, SilenceSetting, QuestionOptions, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
1
|
+
export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, SilenceSetting, QuestionOptions, PromotionType, PromotionWallet, PromotionLogoMode, CtaIconMode, } 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, SdkOverlaySettings, GamesOverlaySettings, } 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,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/sdk-web-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@bufbuild/protobuf": "^1.
|
|
6
|
-
"@streamlayer/sl-eslib": "^5.
|
|
5
|
+
"@bufbuild/protobuf": "^1.10.0",
|
|
6
|
+
"@streamlayer/sl-eslib": "^5.104.1"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"tslib": "^2.6.
|
|
9
|
+
"tslib": "^2.6.3"
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
12
12
|
"main": "./lib/index.js",
|