@guardian/bridget 8.9.2-2026-05-11 → 8.10.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/FootballTeam.d.ts +3 -3
- package/FootballTeam.js +12 -12
- package/MediaEvent.d.ts +7 -1
- package/MediaEvent.js +6 -0
- package/package.json +1 -1
package/FootballTeam.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as thrift from "@creditkarma/thrift-server-core";
|
|
2
2
|
export interface IFootballTeam {
|
|
3
|
-
|
|
3
|
+
paId: string;
|
|
4
4
|
name: string;
|
|
5
5
|
}
|
|
6
6
|
export interface IFootballTeamArgs {
|
|
7
|
-
|
|
7
|
+
paId: string;
|
|
8
8
|
name: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const FootballTeamCodec: thrift.IStructCodec<IFootballTeamArgs, IFootballTeam>;
|
|
11
11
|
export declare class FootballTeam extends thrift.StructLike implements IFootballTeam {
|
|
12
|
-
|
|
12
|
+
paId: string;
|
|
13
13
|
name: string;
|
|
14
14
|
readonly _annotations: thrift.IThriftAnnotations;
|
|
15
15
|
readonly _fieldAnnotations: thrift.IFieldAnnotations;
|
package/FootballTeam.js
CHANGED
|
@@ -34,17 +34,17 @@ const thrift = __importStar(require("@creditkarma/thrift-server-core"));
|
|
|
34
34
|
exports.FootballTeamCodec = {
|
|
35
35
|
encode(args, output) {
|
|
36
36
|
const obj = {
|
|
37
|
-
|
|
37
|
+
paId: args.paId,
|
|
38
38
|
name: args.name
|
|
39
39
|
};
|
|
40
40
|
output.writeStructBegin("FootballTeam");
|
|
41
|
-
if (obj.
|
|
42
|
-
output.writeFieldBegin("
|
|
43
|
-
output.writeString(obj.
|
|
41
|
+
if (obj.paId != null) {
|
|
42
|
+
output.writeFieldBegin("paId", thrift.TType.STRING, 1);
|
|
43
|
+
output.writeString(obj.paId);
|
|
44
44
|
output.writeFieldEnd();
|
|
45
45
|
}
|
|
46
46
|
else {
|
|
47
|
-
throw new thrift.TProtocolException(thrift.TProtocolExceptionType.UNKNOWN, "Required field[
|
|
47
|
+
throw new thrift.TProtocolException(thrift.TProtocolExceptionType.UNKNOWN, "Required field[paId] is unset!");
|
|
48
48
|
}
|
|
49
49
|
if (obj.name != null) {
|
|
50
50
|
output.writeFieldBegin("name", thrift.TType.STRING, 2);
|
|
@@ -72,7 +72,7 @@ exports.FootballTeamCodec = {
|
|
|
72
72
|
case 1:
|
|
73
73
|
if (fieldType === thrift.TType.STRING) {
|
|
74
74
|
const value_1 = input.readString();
|
|
75
|
-
_args.
|
|
75
|
+
_args.paId = value_1;
|
|
76
76
|
}
|
|
77
77
|
else {
|
|
78
78
|
input.skip(fieldType);
|
|
@@ -94,9 +94,9 @@ exports.FootballTeamCodec = {
|
|
|
94
94
|
input.readFieldEnd();
|
|
95
95
|
}
|
|
96
96
|
input.readStructEnd();
|
|
97
|
-
if (_args.
|
|
97
|
+
if (_args.paId !== undefined && _args.name !== undefined) {
|
|
98
98
|
return {
|
|
99
|
-
|
|
99
|
+
paId: _args.paId,
|
|
100
100
|
name: _args.name
|
|
101
101
|
};
|
|
102
102
|
}
|
|
@@ -110,12 +110,12 @@ class FootballTeam extends thrift.StructLike {
|
|
|
110
110
|
super();
|
|
111
111
|
this._annotations = {};
|
|
112
112
|
this._fieldAnnotations = {};
|
|
113
|
-
if (args.
|
|
114
|
-
const value_3 = args.
|
|
115
|
-
this.
|
|
113
|
+
if (args.paId != null) {
|
|
114
|
+
const value_3 = args.paId;
|
|
115
|
+
this.paId = value_3;
|
|
116
116
|
}
|
|
117
117
|
else {
|
|
118
|
-
throw new thrift.TProtocolException(thrift.TProtocolExceptionType.UNKNOWN, "Required field[
|
|
118
|
+
throw new thrift.TProtocolException(thrift.TProtocolExceptionType.UNKNOWN, "Required field[paId] is unset!");
|
|
119
119
|
}
|
|
120
120
|
if (args.name != null) {
|
|
121
121
|
const value_4 = args.name;
|
package/MediaEvent.d.ts
CHANGED
package/MediaEvent.js
CHANGED
|
@@ -16,4 +16,10 @@ var MediaEvent;
|
|
|
16
16
|
MediaEvent[MediaEvent["percent50"] = 4] = "percent50";
|
|
17
17
|
MediaEvent[MediaEvent["percent75"] = 5] = "percent75";
|
|
18
18
|
MediaEvent[MediaEvent["end"] = 6] = "end";
|
|
19
|
+
MediaEvent[MediaEvent["pause"] = 7] = "pause";
|
|
20
|
+
MediaEvent[MediaEvent["mute"] = 8] = "mute";
|
|
21
|
+
MediaEvent[MediaEvent["unmute"] = 9] = "unmute";
|
|
22
|
+
MediaEvent[MediaEvent["enter_fullscreen"] = 10] = "enter_fullscreen";
|
|
23
|
+
MediaEvent[MediaEvent["exit_fullscreen"] = 11] = "exit_fullscreen";
|
|
24
|
+
MediaEvent[MediaEvent["view"] = 12] = "view";
|
|
19
25
|
})(MediaEvent || (exports.MediaEvent = MediaEvent = {}));
|