@streamlayer/sdk-web-types 0.20.0 → 0.21.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 +5 -4
- package/package.json +3 -3
package/lib/sl-types.d.ts
CHANGED
|
@@ -2,20 +2,21 @@ 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 {
|
|
5
|
+
import type { MeResponse } from '@streamlayer/sl-eslib/users/users_pb';
|
|
6
6
|
export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, ExtendedQuestion, SilenceSetting, QuestionOptions, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
7
|
-
import type { PickHistory as IPickHistory, InsightHistory as IInsightHistory, FeedItemAttributes, InstantView as IInstantView } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
|
|
7
|
+
import type { PickHistory as IPickHistory, InsightHistory as IInsightHistory, TweetHistory as ITweetHistory, FeedItemAttributes, InstantView as IInstantView } 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
10
|
import type { ExtendedQuestionAnswer as IExtendedQuestionAnswer } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
11
|
-
export type ExtendedQuestionAnswer = PlainMessage<IExtendedQuestionAnswer>;
|
|
12
11
|
export type PickHistory = PlainMessage<IPickHistory>;
|
|
12
|
+
export type ExtendedQuestionAnswer = PlainMessage<IExtendedQuestionAnswer>;
|
|
13
13
|
export type InsightHistory = PlainMessage<IInsightHistory>;
|
|
14
|
+
export type TweetHistory = PlainMessage<ITweetHistory>;
|
|
14
15
|
export type OrganizationSettings = SLOrganizationSettings;
|
|
15
16
|
export type OrganizationAdvertising = Advertising;
|
|
16
17
|
export type FeatureConfig = SdkOverlay;
|
|
17
18
|
export type StreamSettings = SLStreamSettings;
|
|
18
|
-
export type User =
|
|
19
|
+
export type User = MeResponse;
|
|
19
20
|
export type UserSettings = ClientSettings;
|
|
20
21
|
export type LeaderboardItem = ILeaderboardItem;
|
|
21
22
|
export type FeedItem = PlainMessage<FeedItemAttributes>;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/sdk-web-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@
|
|
6
|
-
"@
|
|
5
|
+
"@bufbuild/protobuf": "^1.6.0",
|
|
6
|
+
"@streamlayer/sl-eslib": "^5.63.3"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"tslib": "^2.6.2"
|