@streamlayer/sl-eslib 5.88.1 → 5.88.2
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
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.6.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file streamlayer/analytics/v2/common/analytics.common.proto (package streamlayer.analytics.v2.common, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message streamlayer.analytics.v2.common.CardStatistics
|
|
11
|
+
*/
|
|
12
|
+
export declare class CardStatistics extends Message<CardStatistics> {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: int32 total = 1;
|
|
15
|
+
*/
|
|
16
|
+
total: number;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: int32 viewed = 2;
|
|
20
|
+
*/
|
|
21
|
+
viewed: number;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: int32 opened = 3;
|
|
25
|
+
*/
|
|
26
|
+
opened: number;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: int32 answered = 4;
|
|
30
|
+
*/
|
|
31
|
+
answered: number;
|
|
32
|
+
|
|
33
|
+
constructor(data?: PartialMessage<CardStatistics>);
|
|
34
|
+
|
|
35
|
+
static readonly runtime: typeof proto3;
|
|
36
|
+
static readonly typeName = "streamlayer.analytics.v2.common.CardStatistics";
|
|
37
|
+
static readonly fields: FieldList;
|
|
38
|
+
|
|
39
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CardStatistics;
|
|
40
|
+
|
|
41
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CardStatistics;
|
|
42
|
+
|
|
43
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CardStatistics;
|
|
44
|
+
|
|
45
|
+
static equals(a: CardStatistics | PlainMessage<CardStatistics> | undefined, b: CardStatistics | PlainMessage<CardStatistics> | undefined): boolean;
|
|
46
|
+
}
|
|
47
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.6.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file streamlayer/analytics/v2/common/analytics.common.proto (package streamlayer.analytics.v2.common, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message streamlayer.analytics.v2.common.CardStatistics
|
|
10
|
+
*/
|
|
11
|
+
export const CardStatistics = proto3.makeMessageType(
|
|
12
|
+
"streamlayer.analytics.v2.common.CardStatistics",
|
|
13
|
+
() => [
|
|
14
|
+
{ no: 1, name: "total", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
15
|
+
{ no: 2, name: "viewed", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
16
|
+
{ no: 3, name: "opened", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
17
|
+
{ no: 4, name: "answered", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
18
|
+
],
|
|
19
|
+
);
|
|
20
|
+
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
import type { Period, TopicType } from "../../v1/common/analytics.common_pb.js";
|
|
9
|
+
import type { CardStatistics } from "../common/analytics.common_pb.js";
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* @generated from enum streamlayer.analytics.v2.studio.AggPeriod
|
|
@@ -562,6 +563,41 @@ export declare class FeaturedGroupsResponseData extends Message<FeaturedGroupsRe
|
|
|
562
563
|
*/
|
|
563
564
|
averagePromptsOpenedPerEngagedViewer: number;
|
|
564
565
|
|
|
566
|
+
/**
|
|
567
|
+
* @generated from field: int32 total_prompts_opened = 7;
|
|
568
|
+
*/
|
|
569
|
+
totalPromptsOpened: number;
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* @generated from field: int32 total_interactions = 8;
|
|
573
|
+
*/
|
|
574
|
+
totalInteractions: number;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* @generated from field: streamlayer.analytics.v2.common.CardStatistics poll_card = 9;
|
|
578
|
+
*/
|
|
579
|
+
pollCard?: CardStatistics;
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* @generated from field: streamlayer.analytics.v2.common.CardStatistics trivia_card = 10;
|
|
583
|
+
*/
|
|
584
|
+
triviaCard?: CardStatistics;
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* @generated from field: streamlayer.analytics.v2.common.CardStatistics prediction_card = 11;
|
|
588
|
+
*/
|
|
589
|
+
predictionCard?: CardStatistics;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* @generated from field: streamlayer.analytics.v2.common.CardStatistics factoid_card = 12;
|
|
593
|
+
*/
|
|
594
|
+
factoidCard?: CardStatistics;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* @generated from field: streamlayer.analytics.v2.common.CardStatistics twitter_card = 13;
|
|
598
|
+
*/
|
|
599
|
+
twitterCard?: CardStatistics;
|
|
600
|
+
|
|
565
601
|
constructor(data?: PartialMessage<FeaturedGroupsResponseData>);
|
|
566
602
|
|
|
567
603
|
static readonly runtime: typeof proto3;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { proto3 } from "@bufbuild/protobuf";
|
|
7
7
|
import { Period, TopicType } from "../../v1/common/analytics.common_pb.js";
|
|
8
|
+
import { CardStatistics } from "../common/analytics.common_pb.js";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* @generated from enum streamlayer.analytics.v2.studio.AggPeriod
|
|
@@ -149,6 +150,13 @@ export const FeaturedGroupsResponseData = proto3.makeMessageType(
|
|
|
149
150
|
{ no: 4, name: "total_unique_viewers_open_prompt", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
150
151
|
{ no: 5, name: "total_unique_viewers_answered_prompt", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
151
152
|
{ no: 6, name: "average_prompts_opened_per_engaged_viewer", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
153
|
+
{ no: 7, name: "total_prompts_opened", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
154
|
+
{ no: 8, name: "total_interactions", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
155
|
+
{ no: 9, name: "poll_card", kind: "message", T: CardStatistics },
|
|
156
|
+
{ no: 10, name: "trivia_card", kind: "message", T: CardStatistics },
|
|
157
|
+
{ no: 11, name: "prediction_card", kind: "message", T: CardStatistics },
|
|
158
|
+
{ no: 12, name: "factoid_card", kind: "message", T: CardStatistics },
|
|
159
|
+
{ no: 13, name: "twitter_card", kind: "message", T: CardStatistics },
|
|
152
160
|
],
|
|
153
161
|
);
|
|
154
162
|
|