@streamlayer/sl-eslib 5.254.0 → 5.255.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/sl-eslib",
3
- "version": "5.254.0",
3
+ "version": "5.255.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -5,6 +5,7 @@
5
5
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
6
  import type { Message } from "@bufbuild/protobuf";
7
7
  import type { AnswerFeedback, QuestionImages, Sponsorship } from "../../../interactive/interactive.common_pb.js";
8
+ import type { BooleanFlag } from "../../../common/streamlayer_common_pb.js";
8
9
 
9
10
  /**
10
11
  * Describes the file streamlayer/sdkSettings/moderation/common/moderation_common.proto.
@@ -12,6 +13,8 @@ import type { AnswerFeedback, QuestionImages, Sponsorship } from "../../../inter
12
13
  export declare const file_streamlayer_sdkSettings_moderation_common_moderation_common: GenFile;
13
14
 
14
15
  /**
16
+ * General, and now it used as settings per interactive card type (trivia, prediction)
17
+ *
15
18
  * @generated from message streamlayer.sdkSettings.moderation.common.ModerationGeneral
16
19
  */
17
20
  export declare type ModerationGeneral = Message<"streamlayer.sdkSettings.moderation.common.ModerationGeneral"> & {
@@ -21,7 +24,7 @@ export declare type ModerationGeneral = Message<"streamlayer.sdkSettings.moderat
21
24
  defaultColor: string;
22
25
 
23
26
  /**
24
- * used for trivia by defaults
27
+ * used for trivia by defaults, and as max value for predictions
25
28
  *
26
29
  * @generated from field: uint32 points = 2;
27
30
  */
@@ -33,14 +36,18 @@ export declare type ModerationGeneral = Message<"streamlayer.sdkSettings.moderat
33
36
  autoHideInterval: bigint;
34
37
 
35
38
  /**
36
- * @generated from field: bool insights_history_enabled = 4;
39
+ * never used
40
+ *
41
+ * @generated from field: bool insights_history_enabled = 4 [deprecated = true];
42
+ * @deprecated
37
43
  */
38
44
  insightsHistoryEnabled: boolean;
39
45
 
40
46
  /**
41
- * points/no points
47
+ * never used
42
48
  *
43
- * @generated from field: bool pick_history_enabled = 5;
49
+ * @generated from field: bool pick_history_enabled = 5 [deprecated = true];
50
+ * @deprecated
44
51
  */
45
52
  pickHistoryEnabled: boolean;
46
53
 
@@ -62,6 +69,8 @@ export declare type ModerationGeneral = Message<"streamlayer.sdkSettings.moderat
62
69
  export declare const ModerationGeneralSchema: GenMessage<ModerationGeneral>;
63
70
 
64
71
  /**
72
+ * Notifications
73
+ *
65
74
  * @generated from message streamlayer.sdkSettings.moderation.common.ModerationNotifications
66
75
  */
67
76
  export declare type ModerationNotifications = Message<"streamlayer.sdkSettings.moderation.common.ModerationNotifications"> & {
@@ -83,6 +92,8 @@ export declare type ModerationNotifications = Message<"streamlayer.sdkSettings.m
83
92
  export declare const ModerationNotificationsSchema: GenMessage<ModerationNotifications>;
84
93
 
85
94
  /**
95
+ * Sponsorship
96
+ *
86
97
  * @generated from message streamlayer.sdkSettings.moderation.common.ModerationSponsorships
87
98
  */
88
99
  export declare type ModerationSponsorships = Message<"streamlayer.sdkSettings.moderation.common.ModerationSponsorships"> & {
@@ -126,6 +137,48 @@ export declare type ModerationSettings = Message<"streamlayer.sdkSettings.modera
126
137
  * @generated from field: streamlayer.sdkSettings.moderation.common.ModerationSponsorships sponsorships = 3;
127
138
  */
128
139
  sponsorships?: ModerationSponsorships;
140
+
141
+ /**
142
+ * default settings for all trivia cards
143
+ *
144
+ * @generated from field: streamlayer.sdkSettings.moderation.common.ModerationGeneral trivia_general = 4;
145
+ */
146
+ triviaGeneral?: ModerationGeneral;
147
+
148
+ /**
149
+ * default settings for all predictions cards
150
+ *
151
+ * @generated from field: streamlayer.sdkSettings.moderation.common.ModerationGeneral predictions_general = 5;
152
+ */
153
+ predictionsGeneral?: ModerationGeneral;
154
+
155
+ /**
156
+ * Predictions, Trivia and Polls cards
157
+ *
158
+ * @generated from field: streamlayer.common.BooleanFlag interactive_enabled = 6;
159
+ */
160
+ interactiveEnabled: BooleanFlag;
161
+
162
+ /**
163
+ * Insights cards
164
+ *
165
+ * @generated from field: streamlayer.common.BooleanFlag insights_enabled = 7;
166
+ */
167
+ insightsEnabled: BooleanFlag;
168
+
169
+ /**
170
+ * Submenu Button & Pick History
171
+ *
172
+ * @generated from field: streamlayer.common.BooleanFlag pick_history_enabled = 8;
173
+ */
174
+ pickHistoryEnabled: BooleanFlag;
175
+
176
+ /**
177
+ * Onboarding & Leaderboard
178
+ *
179
+ * @generated from field: streamlayer.common.BooleanFlag leaderboard_enabled = 9;
180
+ */
181
+ leaderboardEnabled: BooleanFlag;
129
182
  };
130
183
 
131
184
  /**
@@ -3,13 +3,14 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
6
+ import { file_streamlayer_common_streamlayer_common } from "../../../common/streamlayer_common_pb.js";
6
7
  import { file_streamlayer_interactive_interactive_common } from "../../../interactive/interactive.common_pb.js";
7
8
 
8
9
  /**
9
10
  * Describes the file streamlayer/sdkSettings/moderation/common/moderation_common.proto.
10
11
  */
11
12
  export const file_streamlayer_sdkSettings_moderation_common_moderation_common = /*@__PURE__*/
12
- fileDesc("CkFzdHJlYW1sYXllci9zZGtTZXR0aW5ncy9tb2RlcmF0aW9uL2NvbW1vbi9tb2RlcmF0aW9uX2NvbW1vbi5wcm90bxIpc3RyZWFtbGF5ZXIuc2RrU2V0dGluZ3MubW9kZXJhdGlvbi5jb21tb24ioAIKEU1vZGVyYXRpb25HZW5lcmFsEhUKDWRlZmF1bHRfY29sb3IYASABKAkSDgoGcG9pbnRzGAIgASgNEhoKEmF1dG9faGlkZV9pbnRlcnZhbBgDIAEoBBIgChhpbnNpZ2h0c19oaXN0b3J5X2VuYWJsZWQYBCABKAgSHAoUcGlja19oaXN0b3J5X2VuYWJsZWQYBSABKAgSQgoRY29ycmVjdF9mZWVkYmFja3MYBiADKAsyJy5zdHJlYW1sYXllci5pbnRlcmFjdGl2ZS5B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yYXRpb25fY29tbW9uogIGU0xfQVBJYgZwcm90bzM", [file_streamlayer_common_streamlayer_common, file_streamlayer_interactive_interactive_common]);
13
14
 
14
15
  /**
15
16
  * Describes the message streamlayer.sdkSettings.moderation.common.ModerationGeneral.
@@ -616,11 +616,15 @@ export declare const OrganizationSettingsSchema: GenMessage<OrganizationSettings
616
616
  */
617
617
  export declare type GamesOverlaySettings = Message<"streamlayer.sdkSettings.GamesOverlaySettings"> & {
618
618
  /**
619
+ * onboarding screens settings
620
+ *
619
621
  * @generated from field: streamlayer.sdkSettings.game.common.GameSettings inplay_game = 1;
620
622
  */
621
623
  inplayGame?: GameSettings;
622
624
 
623
625
  /**
626
+ * default feedbacks, sponsorship, btn colors and etc
627
+ *
624
628
  * @generated from field: streamlayer.sdkSettings.moderation.common.ModerationSettings moderation = 2;
625
629
  */
626
630
  moderation?: ModerationSettings;
@@ -691,6 +695,8 @@ export declare type SdkOverlaySettings = Message<"streamlayer.sdkSettings.SdkOve
691
695
  case: "inplay";
692
696
  } | {
693
697
  /**
698
+ * gamification
699
+ *
694
700
  * @generated from field: streamlayer.sdkSettings.GamesOverlaySettings games = 7;
695
701
  */
696
702
  value: GamesOverlaySettings;
@@ -1967,6 +1973,8 @@ export enum SdkOverlayType {
1967
1973
  PROFILE = 11,
1968
1974
 
1969
1975
  /**
1976
+ * gamification
1977
+ *
1970
1978
  * @generated from enum value: SDK_OVERLAY_TYPE_GAMES = 12;
1971
1979
  */
1972
1980
  GAMES = 12,