@streamlayer/sl-eslib 5.89.1 → 5.89.3
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
|
@@ -6,7 +6,6 @@
|
|
|
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";
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* @generated from enum streamlayer.analytics.v2.studio.WpType
|
|
@@ -80,6 +79,45 @@ export declare enum AggPeriod {
|
|
|
80
79
|
AP_1MONTH = 30,
|
|
81
80
|
}
|
|
82
81
|
|
|
82
|
+
/**
|
|
83
|
+
* @generated from message streamlayer.analytics.v2.studio.CardStatistics
|
|
84
|
+
*/
|
|
85
|
+
export declare class CardStatistics extends Message<CardStatistics> {
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: int32 total = 1;
|
|
88
|
+
*/
|
|
89
|
+
total: number;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: int32 viewed = 2;
|
|
93
|
+
*/
|
|
94
|
+
viewed: number;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: int32 opened = 3;
|
|
98
|
+
*/
|
|
99
|
+
opened: number;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: int32 answered = 4;
|
|
103
|
+
*/
|
|
104
|
+
answered: number;
|
|
105
|
+
|
|
106
|
+
constructor(data?: PartialMessage<CardStatistics>);
|
|
107
|
+
|
|
108
|
+
static readonly runtime: typeof proto3;
|
|
109
|
+
static readonly typeName = "streamlayer.analytics.v2.studio.CardStatistics";
|
|
110
|
+
static readonly fields: FieldList;
|
|
111
|
+
|
|
112
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CardStatistics;
|
|
113
|
+
|
|
114
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CardStatistics;
|
|
115
|
+
|
|
116
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CardStatistics;
|
|
117
|
+
|
|
118
|
+
static equals(a: CardStatistics | PlainMessage<CardStatistics> | undefined, b: CardStatistics | PlainMessage<CardStatistics> | undefined): boolean;
|
|
119
|
+
}
|
|
120
|
+
|
|
83
121
|
/**
|
|
84
122
|
* @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponseData
|
|
85
123
|
*/
|
|
@@ -501,27 +539,27 @@ export declare class FeaturedGroupsResponseData extends Message<FeaturedGroupsRe
|
|
|
501
539
|
totalInteractions: number;
|
|
502
540
|
|
|
503
541
|
/**
|
|
504
|
-
* @generated from field: streamlayer.analytics.v2.
|
|
542
|
+
* @generated from field: streamlayer.analytics.v2.studio.CardStatistics poll_card = 9;
|
|
505
543
|
*/
|
|
506
544
|
pollCard?: CardStatistics;
|
|
507
545
|
|
|
508
546
|
/**
|
|
509
|
-
* @generated from field: streamlayer.analytics.v2.
|
|
547
|
+
* @generated from field: streamlayer.analytics.v2.studio.CardStatistics trivia_card = 10;
|
|
510
548
|
*/
|
|
511
549
|
triviaCard?: CardStatistics;
|
|
512
550
|
|
|
513
551
|
/**
|
|
514
|
-
* @generated from field: streamlayer.analytics.v2.
|
|
552
|
+
* @generated from field: streamlayer.analytics.v2.studio.CardStatistics prediction_card = 11;
|
|
515
553
|
*/
|
|
516
554
|
predictionCard?: CardStatistics;
|
|
517
555
|
|
|
518
556
|
/**
|
|
519
|
-
* @generated from field: streamlayer.analytics.v2.
|
|
557
|
+
* @generated from field: streamlayer.analytics.v2.studio.CardStatistics factoid_card = 12;
|
|
520
558
|
*/
|
|
521
559
|
factoidCard?: CardStatistics;
|
|
522
560
|
|
|
523
561
|
/**
|
|
524
|
-
* @generated from field: streamlayer.analytics.v2.
|
|
562
|
+
* @generated from field: streamlayer.analytics.v2.studio.CardStatistics twitter_card = 13;
|
|
525
563
|
*/
|
|
526
564
|
twitterCard?: CardStatistics;
|
|
527
565
|
|
|
@@ -5,7 +5,6 @@
|
|
|
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";
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* @generated from enum streamlayer.analytics.v2.studio.WpType
|
|
@@ -33,6 +32,19 @@ export const AggPeriod = proto3.makeEnum(
|
|
|
33
32
|
],
|
|
34
33
|
);
|
|
35
34
|
|
|
35
|
+
/**
|
|
36
|
+
* @generated from message streamlayer.analytics.v2.studio.CardStatistics
|
|
37
|
+
*/
|
|
38
|
+
export const CardStatistics = proto3.makeMessageType(
|
|
39
|
+
"streamlayer.analytics.v2.studio.CardStatistics",
|
|
40
|
+
() => [
|
|
41
|
+
{ no: 1, name: "total", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
42
|
+
{ no: 2, name: "viewed", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
43
|
+
{ no: 3, name: "opened", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
44
|
+
{ no: 4, name: "answered", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
45
|
+
],
|
|
46
|
+
);
|
|
47
|
+
|
|
36
48
|
/**
|
|
37
49
|
* @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponseData
|
|
38
50
|
*/
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
|