googlevideo 1.1.0 → 3.0.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/README.md +13 -0
- package/dist/protos/generated/misc/common.d.ts +0 -15
- package/dist/protos/generated/misc/common.js +0 -133
- package/dist/protos/generated/video_streaming/buffered_range.d.ts +0 -15
- package/dist/protos/generated/video_streaming/buffered_range.js +0 -146
- package/dist/protos/generated/video_streaming/client_abr_state.d.ts +16 -38
- package/dist/protos/generated/video_streaming/client_abr_state.js +94 -318
- package/dist/protos/generated/video_streaming/crypto_params.d.ts +0 -17
- package/dist/protos/generated/video_streaming/crypto_params.js +0 -78
- package/dist/protos/generated/video_streaming/encrypted_player_request.d.ts +2 -17
- package/dist/protos/generated/video_streaming/encrypted_player_request.js +14 -91
- package/dist/protos/generated/video_streaming/format_initialization_metadata.d.ts +0 -15
- package/dist/protos/generated/video_streaming/format_initialization_metadata.js +0 -74
- package/dist/protos/generated/video_streaming/live_metadata.d.ts +17 -0
- package/dist/protos/generated/video_streaming/live_metadata.js +122 -0
- package/dist/protos/generated/video_streaming/media_capabilities.d.ts +0 -15
- package/dist/protos/generated/video_streaming/media_capabilities.js +0 -121
- package/dist/protos/generated/video_streaming/media_header.d.ts +0 -17
- package/dist/protos/generated/video_streaming/media_header.js +0 -127
- package/dist/protos/generated/video_streaming/next_request_policy.d.ts +0 -15
- package/dist/protos/generated/video_streaming/next_request_policy.js +0 -49
- package/dist/protos/generated/video_streaming/onesie_header.d.ts +0 -15
- package/dist/protos/generated/video_streaming/onesie_header.js +0 -122
- package/dist/protos/generated/video_streaming/onesie_header_type.d.ts +0 -2
- package/dist/protos/generated/video_streaming/onesie_header_type.js +0 -145
- package/dist/protos/generated/video_streaming/onesie_player_request.d.ts +1 -17
- package/dist/protos/generated/video_streaming/onesie_player_request.js +4 -49
- package/dist/protos/generated/video_streaming/onesie_player_response.d.ts +18 -16
- package/dist/protos/generated/video_streaming/onesie_player_response.js +18 -53
- package/dist/protos/generated/video_streaming/onesie_request.d.ts +2 -15
- package/dist/protos/generated/video_streaming/onesie_request.js +10 -83
- package/dist/protos/generated/video_streaming/playback_cookie.d.ts +0 -15
- package/dist/protos/generated/video_streaming/playback_cookie.js +0 -42
- package/dist/protos/generated/video_streaming/playback_start_policy.d.ts +0 -15
- package/dist/protos/generated/video_streaming/playback_start_policy.js +0 -65
- package/dist/protos/generated/video_streaming/proxy_status.d.ts +0 -2
- package/dist/protos/generated/video_streaming/proxy_status.js +0 -65
- package/dist/protos/generated/video_streaming/request_cancellation_policy.d.ts +0 -15
- package/dist/protos/generated/video_streaming/request_cancellation_policy.js +0 -65
- package/dist/protos/generated/video_streaming/sabr_error.d.ts +0 -15
- package/dist/protos/generated/video_streaming/sabr_error.js +0 -28
- package/dist/protos/generated/video_streaming/sabr_redirect.d.ts +0 -15
- package/dist/protos/generated/video_streaming/sabr_redirect.js +0 -21
- package/dist/protos/generated/video_streaming/stream_protection_status.d.ts +0 -15
- package/dist/protos/generated/video_streaming/stream_protection_status.js +0 -28
- package/dist/protos/generated/video_streaming/streamer_context.d.ts +0 -17
- package/dist/protos/generated/video_streaming/streamer_context.js +0 -350
- package/dist/protos/generated/video_streaming/time_range.d.ts +0 -15
- package/dist/protos/generated/video_streaming/time_range.js +0 -33
- package/dist/protos/generated/video_streaming/video_playback_abr_request.d.ts +1 -15
- package/dist/protos/generated/video_streaming/video_playback_abr_request.js +18 -256
- package/dist/src/core/ServerAbrStream.d.ts +1 -0
- package/dist/src/core/ServerAbrStream.js +34 -47
- package/dist/src/core/UMP.d.ts +25 -1
- package/dist/src/core/UMP.js +35 -20
- package/dist/src/utils/Protos.d.ts +3 -2
- package/dist/src/utils/Protos.js +3 -2
- package/package.json +25 -24
- package/bundle/index.cjs +0 -7134
- package/bundle/index.cjs.map +0 -7
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
import { HttpHeader } from "../misc/common.js";
|
|
3
3
|
export declare const protobufPackage = "video_streaming";
|
|
4
|
+
export declare enum OnesieProxyStatus {
|
|
5
|
+
ONESIE_PROXY_STATUS_UNKNOWN = 0,
|
|
6
|
+
ONESIE_PROXY_STATUS_OK = 1,
|
|
7
|
+
ONESIE_PROXY_STATUS_DECRYPTION_FAILED = 2,
|
|
8
|
+
ONESIE_PROXY_STATUS_PARSING_FAILED = 3,
|
|
9
|
+
ONESIE_PROXY_STATUS_MISSING_X_FORWARDED_FOR = 4,
|
|
10
|
+
ONESIE_PROXY_STATUS_INVALID_X_FORWARDED_FOR = 5,
|
|
11
|
+
ONESIE_PROXY_STATUS_INVALID_CONTENT_TYPE = 6,
|
|
12
|
+
ONESIE_PROXY_STATUS_BACKEND_ERROR = 7,
|
|
13
|
+
ONESIE_PROXY_STATUS_CLIENT_ERROR = 8,
|
|
14
|
+
ONESIE_PROXY_STATUS_MISSING_CRYPTER = 9,
|
|
15
|
+
ONESIE_PROXY_STATUS_RESPONSE_JSON_SERIALIZATION_FAILED = 10,
|
|
16
|
+
ONESIE_PROXY_STATUS_DECOMPRESSION_FAILED = 11,
|
|
17
|
+
ONESIE_PROXY_STATUS_JSON_PARSING_FAILED = 12,
|
|
18
|
+
ONESIE_PROXY_STATUS_UNKNOWN_COMPRESSION_TYPE = 13,
|
|
19
|
+
UNRECOGNIZED = -1
|
|
20
|
+
}
|
|
4
21
|
export interface OnesiePlayerResponse {
|
|
5
|
-
onesieProxyStatus?:
|
|
22
|
+
onesieProxyStatus?: OnesieProxyStatus | undefined;
|
|
6
23
|
httpStatus?: number | undefined;
|
|
7
24
|
headers: HttpHeader[];
|
|
8
25
|
body?: Uint8Array | undefined;
|
|
9
26
|
}
|
|
10
27
|
export declare const OnesiePlayerResponse: MessageFns<OnesiePlayerResponse>;
|
|
11
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
12
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
13
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
14
|
-
} : Partial<T>;
|
|
15
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
16
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
17
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
18
|
-
} & {
|
|
19
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
20
|
-
};
|
|
21
28
|
export interface MessageFns<T> {
|
|
22
29
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
23
30
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
24
|
-
fromJSON(object: any): T;
|
|
25
|
-
toJSON(message: T): unknown;
|
|
26
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
27
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
28
31
|
}
|
|
29
|
-
export {};
|
|
@@ -7,6 +7,24 @@
|
|
|
7
7
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
8
8
|
import { HttpHeader } from "../misc/common.js";
|
|
9
9
|
export const protobufPackage = "video_streaming";
|
|
10
|
+
export var OnesieProxyStatus;
|
|
11
|
+
(function (OnesieProxyStatus) {
|
|
12
|
+
OnesieProxyStatus[OnesieProxyStatus["ONESIE_PROXY_STATUS_UNKNOWN"] = 0] = "ONESIE_PROXY_STATUS_UNKNOWN";
|
|
13
|
+
OnesieProxyStatus[OnesieProxyStatus["ONESIE_PROXY_STATUS_OK"] = 1] = "ONESIE_PROXY_STATUS_OK";
|
|
14
|
+
OnesieProxyStatus[OnesieProxyStatus["ONESIE_PROXY_STATUS_DECRYPTION_FAILED"] = 2] = "ONESIE_PROXY_STATUS_DECRYPTION_FAILED";
|
|
15
|
+
OnesieProxyStatus[OnesieProxyStatus["ONESIE_PROXY_STATUS_PARSING_FAILED"] = 3] = "ONESIE_PROXY_STATUS_PARSING_FAILED";
|
|
16
|
+
OnesieProxyStatus[OnesieProxyStatus["ONESIE_PROXY_STATUS_MISSING_X_FORWARDED_FOR"] = 4] = "ONESIE_PROXY_STATUS_MISSING_X_FORWARDED_FOR";
|
|
17
|
+
OnesieProxyStatus[OnesieProxyStatus["ONESIE_PROXY_STATUS_INVALID_X_FORWARDED_FOR"] = 5] = "ONESIE_PROXY_STATUS_INVALID_X_FORWARDED_FOR";
|
|
18
|
+
OnesieProxyStatus[OnesieProxyStatus["ONESIE_PROXY_STATUS_INVALID_CONTENT_TYPE"] = 6] = "ONESIE_PROXY_STATUS_INVALID_CONTENT_TYPE";
|
|
19
|
+
OnesieProxyStatus[OnesieProxyStatus["ONESIE_PROXY_STATUS_BACKEND_ERROR"] = 7] = "ONESIE_PROXY_STATUS_BACKEND_ERROR";
|
|
20
|
+
OnesieProxyStatus[OnesieProxyStatus["ONESIE_PROXY_STATUS_CLIENT_ERROR"] = 8] = "ONESIE_PROXY_STATUS_CLIENT_ERROR";
|
|
21
|
+
OnesieProxyStatus[OnesieProxyStatus["ONESIE_PROXY_STATUS_MISSING_CRYPTER"] = 9] = "ONESIE_PROXY_STATUS_MISSING_CRYPTER";
|
|
22
|
+
OnesieProxyStatus[OnesieProxyStatus["ONESIE_PROXY_STATUS_RESPONSE_JSON_SERIALIZATION_FAILED"] = 10] = "ONESIE_PROXY_STATUS_RESPONSE_JSON_SERIALIZATION_FAILED";
|
|
23
|
+
OnesieProxyStatus[OnesieProxyStatus["ONESIE_PROXY_STATUS_DECOMPRESSION_FAILED"] = 11] = "ONESIE_PROXY_STATUS_DECOMPRESSION_FAILED";
|
|
24
|
+
OnesieProxyStatus[OnesieProxyStatus["ONESIE_PROXY_STATUS_JSON_PARSING_FAILED"] = 12] = "ONESIE_PROXY_STATUS_JSON_PARSING_FAILED";
|
|
25
|
+
OnesieProxyStatus[OnesieProxyStatus["ONESIE_PROXY_STATUS_UNKNOWN_COMPRESSION_TYPE"] = 13] = "ONESIE_PROXY_STATUS_UNKNOWN_COMPRESSION_TYPE";
|
|
26
|
+
OnesieProxyStatus[OnesieProxyStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
27
|
+
})(OnesieProxyStatus || (OnesieProxyStatus = {}));
|
|
10
28
|
function createBaseOnesiePlayerResponse() {
|
|
11
29
|
return { onesieProxyStatus: 0, httpStatus: 0, headers: [], body: new Uint8Array(0) };
|
|
12
30
|
}
|
|
@@ -65,57 +83,4 @@ export const OnesiePlayerResponse = {
|
|
|
65
83
|
}
|
|
66
84
|
return message;
|
|
67
85
|
},
|
|
68
|
-
fromJSON(object) {
|
|
69
|
-
return {
|
|
70
|
-
onesieProxyStatus: isSet(object.onesieProxyStatus) ? globalThis.Number(object.onesieProxyStatus) : 0,
|
|
71
|
-
httpStatus: isSet(object.httpStatus) ? globalThis.Number(object.httpStatus) : 0,
|
|
72
|
-
headers: globalThis.Array.isArray(object?.headers) ? object.headers.map((e) => HttpHeader.fromJSON(e)) : [],
|
|
73
|
-
body: isSet(object.body) ? bytesFromBase64(object.body) : new Uint8Array(0),
|
|
74
|
-
};
|
|
75
|
-
},
|
|
76
|
-
toJSON(message) {
|
|
77
|
-
const obj = {};
|
|
78
|
-
if (message.onesieProxyStatus !== undefined && message.onesieProxyStatus !== 0) {
|
|
79
|
-
obj.onesieProxyStatus = Math.round(message.onesieProxyStatus);
|
|
80
|
-
}
|
|
81
|
-
if (message.httpStatus !== undefined && message.httpStatus !== 0) {
|
|
82
|
-
obj.httpStatus = Math.round(message.httpStatus);
|
|
83
|
-
}
|
|
84
|
-
if (message.headers?.length) {
|
|
85
|
-
obj.headers = message.headers.map((e) => HttpHeader.toJSON(e));
|
|
86
|
-
}
|
|
87
|
-
if (message.body !== undefined && message.body.length !== 0) {
|
|
88
|
-
obj.body = base64FromBytes(message.body);
|
|
89
|
-
}
|
|
90
|
-
return obj;
|
|
91
|
-
},
|
|
92
|
-
create(base) {
|
|
93
|
-
return OnesiePlayerResponse.fromPartial(base ?? {});
|
|
94
|
-
},
|
|
95
|
-
fromPartial(object) {
|
|
96
|
-
const message = createBaseOnesiePlayerResponse();
|
|
97
|
-
message.onesieProxyStatus = object.onesieProxyStatus ?? 0;
|
|
98
|
-
message.httpStatus = object.httpStatus ?? 0;
|
|
99
|
-
message.headers = object.headers?.map((e) => HttpHeader.fromPartial(e)) || [];
|
|
100
|
-
message.body = object.body ?? new Uint8Array(0);
|
|
101
|
-
return message;
|
|
102
|
-
},
|
|
103
86
|
};
|
|
104
|
-
function bytesFromBase64(b64) {
|
|
105
|
-
const bin = globalThis.atob(b64);
|
|
106
|
-
const arr = new Uint8Array(bin.length);
|
|
107
|
-
for (let i = 0; i < bin.length; ++i) {
|
|
108
|
-
arr[i] = bin.charCodeAt(i);
|
|
109
|
-
}
|
|
110
|
-
return arr;
|
|
111
|
-
}
|
|
112
|
-
function base64FromBytes(arr) {
|
|
113
|
-
const bin = [];
|
|
114
|
-
arr.forEach((byte) => {
|
|
115
|
-
bin.push(globalThis.String.fromCharCode(byte));
|
|
116
|
-
});
|
|
117
|
-
return globalThis.btoa(bin.join(""));
|
|
118
|
-
}
|
|
119
|
-
function isSet(value) {
|
|
120
|
-
return value !== null && value !== undefined;
|
|
121
|
-
}
|
|
@@ -12,25 +12,12 @@ export interface OnesieRequest {
|
|
|
12
12
|
maxVp9Height?: number | undefined;
|
|
13
13
|
clientDisplayHeight?: number | undefined;
|
|
14
14
|
streamerContext?: StreamerContext | undefined;
|
|
15
|
+
/** MLOnesieRequestTarget */
|
|
16
|
+
requestTarget?: number | undefined;
|
|
15
17
|
bufferedRanges: BufferedRange[];
|
|
16
18
|
}
|
|
17
19
|
export declare const OnesieRequest: MessageFns<OnesieRequest>;
|
|
18
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
19
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
20
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
21
|
-
} : Partial<T>;
|
|
22
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
23
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
24
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
25
|
-
} & {
|
|
26
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
27
|
-
};
|
|
28
20
|
export interface MessageFns<T> {
|
|
29
21
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
30
22
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
31
|
-
fromJSON(object: any): T;
|
|
32
|
-
toJSON(message: T): unknown;
|
|
33
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
34
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
35
23
|
}
|
|
36
|
-
export {};
|
|
@@ -19,6 +19,7 @@ function createBaseOnesieRequest() {
|
|
|
19
19
|
maxVp9Height: 0,
|
|
20
20
|
clientDisplayHeight: 0,
|
|
21
21
|
streamerContext: undefined,
|
|
22
|
+
requestTarget: 0,
|
|
22
23
|
bufferedRanges: [],
|
|
23
24
|
};
|
|
24
25
|
}
|
|
@@ -45,6 +46,9 @@ export const OnesieRequest = {
|
|
|
45
46
|
if (message.streamerContext !== undefined) {
|
|
46
47
|
StreamerContext.encode(message.streamerContext, writer.uint32(82).fork()).join();
|
|
47
48
|
}
|
|
49
|
+
if (message.requestTarget !== undefined && message.requestTarget !== 0) {
|
|
50
|
+
writer.uint32(104).int32(message.requestTarget);
|
|
51
|
+
}
|
|
48
52
|
for (const v of message.bufferedRanges) {
|
|
49
53
|
BufferedRange.encode(v, writer.uint32(114).fork()).join();
|
|
50
54
|
}
|
|
@@ -99,6 +103,12 @@ export const OnesieRequest = {
|
|
|
99
103
|
}
|
|
100
104
|
message.streamerContext = StreamerContext.decode(reader, reader.uint32());
|
|
101
105
|
continue;
|
|
106
|
+
case 13:
|
|
107
|
+
if (tag !== 104) {
|
|
108
|
+
break;
|
|
109
|
+
}
|
|
110
|
+
message.requestTarget = reader.int32();
|
|
111
|
+
continue;
|
|
102
112
|
case 14:
|
|
103
113
|
if (tag !== 114) {
|
|
104
114
|
break;
|
|
@@ -113,87 +123,4 @@ export const OnesieRequest = {
|
|
|
113
123
|
}
|
|
114
124
|
return message;
|
|
115
125
|
},
|
|
116
|
-
fromJSON(object) {
|
|
117
|
-
return {
|
|
118
|
-
urls: globalThis.Array.isArray(object?.urls) ? object.urls.map((e) => globalThis.String(e)) : [],
|
|
119
|
-
clientAbrState: isSet(object.clientAbrState) ? ClientAbrState.fromJSON(object.clientAbrState) : undefined,
|
|
120
|
-
playerRequest: isSet(object.playerRequest) ? EncryptedPlayerRequest.fromJSON(object.playerRequest) : undefined,
|
|
121
|
-
onesieUstreamerConfig: isSet(object.onesieUstreamerConfig)
|
|
122
|
-
? bytesFromBase64(object.onesieUstreamerConfig)
|
|
123
|
-
: new Uint8Array(0),
|
|
124
|
-
maxVp9Height: isSet(object.maxVp9Height) ? globalThis.Number(object.maxVp9Height) : 0,
|
|
125
|
-
clientDisplayHeight: isSet(object.clientDisplayHeight) ? globalThis.Number(object.clientDisplayHeight) : 0,
|
|
126
|
-
streamerContext: isSet(object.streamerContext) ? StreamerContext.fromJSON(object.streamerContext) : undefined,
|
|
127
|
-
bufferedRanges: globalThis.Array.isArray(object?.bufferedRanges)
|
|
128
|
-
? object.bufferedRanges.map((e) => BufferedRange.fromJSON(e))
|
|
129
|
-
: [],
|
|
130
|
-
};
|
|
131
|
-
},
|
|
132
|
-
toJSON(message) {
|
|
133
|
-
const obj = {};
|
|
134
|
-
if (message.urls?.length) {
|
|
135
|
-
obj.urls = message.urls;
|
|
136
|
-
}
|
|
137
|
-
if (message.clientAbrState !== undefined) {
|
|
138
|
-
obj.clientAbrState = ClientAbrState.toJSON(message.clientAbrState);
|
|
139
|
-
}
|
|
140
|
-
if (message.playerRequest !== undefined) {
|
|
141
|
-
obj.playerRequest = EncryptedPlayerRequest.toJSON(message.playerRequest);
|
|
142
|
-
}
|
|
143
|
-
if (message.onesieUstreamerConfig !== undefined && message.onesieUstreamerConfig.length !== 0) {
|
|
144
|
-
obj.onesieUstreamerConfig = base64FromBytes(message.onesieUstreamerConfig);
|
|
145
|
-
}
|
|
146
|
-
if (message.maxVp9Height !== undefined && message.maxVp9Height !== 0) {
|
|
147
|
-
obj.maxVp9Height = Math.round(message.maxVp9Height);
|
|
148
|
-
}
|
|
149
|
-
if (message.clientDisplayHeight !== undefined && message.clientDisplayHeight !== 0) {
|
|
150
|
-
obj.clientDisplayHeight = Math.round(message.clientDisplayHeight);
|
|
151
|
-
}
|
|
152
|
-
if (message.streamerContext !== undefined) {
|
|
153
|
-
obj.streamerContext = StreamerContext.toJSON(message.streamerContext);
|
|
154
|
-
}
|
|
155
|
-
if (message.bufferedRanges?.length) {
|
|
156
|
-
obj.bufferedRanges = message.bufferedRanges.map((e) => BufferedRange.toJSON(e));
|
|
157
|
-
}
|
|
158
|
-
return obj;
|
|
159
|
-
},
|
|
160
|
-
create(base) {
|
|
161
|
-
return OnesieRequest.fromPartial(base ?? {});
|
|
162
|
-
},
|
|
163
|
-
fromPartial(object) {
|
|
164
|
-
const message = createBaseOnesieRequest();
|
|
165
|
-
message.urls = object.urls?.map((e) => e) || [];
|
|
166
|
-
message.clientAbrState = (object.clientAbrState !== undefined && object.clientAbrState !== null)
|
|
167
|
-
? ClientAbrState.fromPartial(object.clientAbrState)
|
|
168
|
-
: undefined;
|
|
169
|
-
message.playerRequest = (object.playerRequest !== undefined && object.playerRequest !== null)
|
|
170
|
-
? EncryptedPlayerRequest.fromPartial(object.playerRequest)
|
|
171
|
-
: undefined;
|
|
172
|
-
message.onesieUstreamerConfig = object.onesieUstreamerConfig ?? new Uint8Array(0);
|
|
173
|
-
message.maxVp9Height = object.maxVp9Height ?? 0;
|
|
174
|
-
message.clientDisplayHeight = object.clientDisplayHeight ?? 0;
|
|
175
|
-
message.streamerContext = (object.streamerContext !== undefined && object.streamerContext !== null)
|
|
176
|
-
? StreamerContext.fromPartial(object.streamerContext)
|
|
177
|
-
: undefined;
|
|
178
|
-
message.bufferedRanges = object.bufferedRanges?.map((e) => BufferedRange.fromPartial(e)) || [];
|
|
179
|
-
return message;
|
|
180
|
-
},
|
|
181
126
|
};
|
|
182
|
-
function bytesFromBase64(b64) {
|
|
183
|
-
const bin = globalThis.atob(b64);
|
|
184
|
-
const arr = new Uint8Array(bin.length);
|
|
185
|
-
for (let i = 0; i < bin.length; ++i) {
|
|
186
|
-
arr[i] = bin.charCodeAt(i);
|
|
187
|
-
}
|
|
188
|
-
return arr;
|
|
189
|
-
}
|
|
190
|
-
function base64FromBytes(arr) {
|
|
191
|
-
const bin = [];
|
|
192
|
-
arr.forEach((byte) => {
|
|
193
|
-
bin.push(globalThis.String.fromCharCode(byte));
|
|
194
|
-
});
|
|
195
|
-
return globalThis.btoa(bin.join(""));
|
|
196
|
-
}
|
|
197
|
-
function isSet(value) {
|
|
198
|
-
return value !== null && value !== undefined;
|
|
199
|
-
}
|
|
@@ -9,22 +9,7 @@ export interface PlaybackCookie {
|
|
|
9
9
|
audioFmt?: FormatId | undefined;
|
|
10
10
|
}
|
|
11
11
|
export declare const PlaybackCookie: MessageFns<PlaybackCookie>;
|
|
12
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
13
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
14
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
15
|
-
} : Partial<T>;
|
|
16
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
17
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
18
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
19
|
-
} & {
|
|
20
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
21
|
-
};
|
|
22
12
|
export interface MessageFns<T> {
|
|
23
13
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
24
14
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
25
|
-
fromJSON(object: any): T;
|
|
26
|
-
toJSON(message: T): unknown;
|
|
27
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
28
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
29
15
|
}
|
|
30
|
-
export {};
|
|
@@ -65,46 +65,4 @@ export const PlaybackCookie = {
|
|
|
65
65
|
}
|
|
66
66
|
return message;
|
|
67
67
|
},
|
|
68
|
-
fromJSON(object) {
|
|
69
|
-
return {
|
|
70
|
-
field1: isSet(object.field1) ? globalThis.Number(object.field1) : 0,
|
|
71
|
-
field2: isSet(object.field2) ? globalThis.Number(object.field2) : 0,
|
|
72
|
-
videoFmt: isSet(object.videoFmt) ? FormatId.fromJSON(object.videoFmt) : undefined,
|
|
73
|
-
audioFmt: isSet(object.audioFmt) ? FormatId.fromJSON(object.audioFmt) : undefined,
|
|
74
|
-
};
|
|
75
|
-
},
|
|
76
|
-
toJSON(message) {
|
|
77
|
-
const obj = {};
|
|
78
|
-
if (message.field1 !== undefined && message.field1 !== 0) {
|
|
79
|
-
obj.field1 = Math.round(message.field1);
|
|
80
|
-
}
|
|
81
|
-
if (message.field2 !== undefined && message.field2 !== 0) {
|
|
82
|
-
obj.field2 = Math.round(message.field2);
|
|
83
|
-
}
|
|
84
|
-
if (message.videoFmt !== undefined) {
|
|
85
|
-
obj.videoFmt = FormatId.toJSON(message.videoFmt);
|
|
86
|
-
}
|
|
87
|
-
if (message.audioFmt !== undefined) {
|
|
88
|
-
obj.audioFmt = FormatId.toJSON(message.audioFmt);
|
|
89
|
-
}
|
|
90
|
-
return obj;
|
|
91
|
-
},
|
|
92
|
-
create(base) {
|
|
93
|
-
return PlaybackCookie.fromPartial(base ?? {});
|
|
94
|
-
},
|
|
95
|
-
fromPartial(object) {
|
|
96
|
-
const message = createBasePlaybackCookie();
|
|
97
|
-
message.field1 = object.field1 ?? 0;
|
|
98
|
-
message.field2 = object.field2 ?? 0;
|
|
99
|
-
message.videoFmt = (object.videoFmt !== undefined && object.videoFmt !== null)
|
|
100
|
-
? FormatId.fromPartial(object.videoFmt)
|
|
101
|
-
: undefined;
|
|
102
|
-
message.audioFmt = (object.audioFmt !== undefined && object.audioFmt !== null)
|
|
103
|
-
? FormatId.fromPartial(object.audioFmt)
|
|
104
|
-
: undefined;
|
|
105
|
-
return message;
|
|
106
|
-
},
|
|
107
68
|
};
|
|
108
|
-
function isSet(value) {
|
|
109
|
-
return value !== null && value !== undefined;
|
|
110
|
-
}
|
|
@@ -10,22 +10,7 @@ export interface PlaybackStartPolicy_ReadaheadPolicy {
|
|
|
10
10
|
}
|
|
11
11
|
export declare const PlaybackStartPolicy: MessageFns<PlaybackStartPolicy>;
|
|
12
12
|
export declare const PlaybackStartPolicy_ReadaheadPolicy: MessageFns<PlaybackStartPolicy_ReadaheadPolicy>;
|
|
13
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
14
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
15
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
16
|
-
} : Partial<T>;
|
|
17
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
18
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
19
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
20
|
-
} & {
|
|
21
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
22
|
-
};
|
|
23
13
|
export interface MessageFns<T> {
|
|
24
14
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
25
15
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
26
|
-
fromJSON(object: any): T;
|
|
27
|
-
toJSON(message: T): unknown;
|
|
28
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
29
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
30
16
|
}
|
|
31
|
-
export {};
|
|
@@ -46,41 +46,6 @@ export const PlaybackStartPolicy = {
|
|
|
46
46
|
}
|
|
47
47
|
return message;
|
|
48
48
|
},
|
|
49
|
-
fromJSON(object) {
|
|
50
|
-
return {
|
|
51
|
-
startMinReadaheadPolicy: isSet(object.startMinReadaheadPolicy)
|
|
52
|
-
? PlaybackStartPolicy_ReadaheadPolicy.fromJSON(object.startMinReadaheadPolicy)
|
|
53
|
-
: undefined,
|
|
54
|
-
resumeMinReadaheadPolicy: isSet(object.resumeMinReadaheadPolicy)
|
|
55
|
-
? PlaybackStartPolicy_ReadaheadPolicy.fromJSON(object.resumeMinReadaheadPolicy)
|
|
56
|
-
: undefined,
|
|
57
|
-
};
|
|
58
|
-
},
|
|
59
|
-
toJSON(message) {
|
|
60
|
-
const obj = {};
|
|
61
|
-
if (message.startMinReadaheadPolicy !== undefined) {
|
|
62
|
-
obj.startMinReadaheadPolicy = PlaybackStartPolicy_ReadaheadPolicy.toJSON(message.startMinReadaheadPolicy);
|
|
63
|
-
}
|
|
64
|
-
if (message.resumeMinReadaheadPolicy !== undefined) {
|
|
65
|
-
obj.resumeMinReadaheadPolicy = PlaybackStartPolicy_ReadaheadPolicy.toJSON(message.resumeMinReadaheadPolicy);
|
|
66
|
-
}
|
|
67
|
-
return obj;
|
|
68
|
-
},
|
|
69
|
-
create(base) {
|
|
70
|
-
return PlaybackStartPolicy.fromPartial(base ?? {});
|
|
71
|
-
},
|
|
72
|
-
fromPartial(object) {
|
|
73
|
-
const message = createBasePlaybackStartPolicy();
|
|
74
|
-
message.startMinReadaheadPolicy =
|
|
75
|
-
(object.startMinReadaheadPolicy !== undefined && object.startMinReadaheadPolicy !== null)
|
|
76
|
-
? PlaybackStartPolicy_ReadaheadPolicy.fromPartial(object.startMinReadaheadPolicy)
|
|
77
|
-
: undefined;
|
|
78
|
-
message.resumeMinReadaheadPolicy =
|
|
79
|
-
(object.resumeMinReadaheadPolicy !== undefined && object.resumeMinReadaheadPolicy !== null)
|
|
80
|
-
? PlaybackStartPolicy_ReadaheadPolicy.fromPartial(object.resumeMinReadaheadPolicy)
|
|
81
|
-
: undefined;
|
|
82
|
-
return message;
|
|
83
|
-
},
|
|
84
49
|
};
|
|
85
50
|
function createBasePlaybackStartPolicy_ReadaheadPolicy() {
|
|
86
51
|
return { minReadaheadMs: 0, minBandwidthBytesPerSec: 0 };
|
|
@@ -122,34 +87,4 @@ export const PlaybackStartPolicy_ReadaheadPolicy = {
|
|
|
122
87
|
}
|
|
123
88
|
return message;
|
|
124
89
|
},
|
|
125
|
-
fromJSON(object) {
|
|
126
|
-
return {
|
|
127
|
-
minReadaheadMs: isSet(object.minReadaheadMs) ? globalThis.Number(object.minReadaheadMs) : 0,
|
|
128
|
-
minBandwidthBytesPerSec: isSet(object.minBandwidthBytesPerSec)
|
|
129
|
-
? globalThis.Number(object.minBandwidthBytesPerSec)
|
|
130
|
-
: 0,
|
|
131
|
-
};
|
|
132
|
-
},
|
|
133
|
-
toJSON(message) {
|
|
134
|
-
const obj = {};
|
|
135
|
-
if (message.minReadaheadMs !== undefined && message.minReadaheadMs !== 0) {
|
|
136
|
-
obj.minReadaheadMs = Math.round(message.minReadaheadMs);
|
|
137
|
-
}
|
|
138
|
-
if (message.minBandwidthBytesPerSec !== undefined && message.minBandwidthBytesPerSec !== 0) {
|
|
139
|
-
obj.minBandwidthBytesPerSec = Math.round(message.minBandwidthBytesPerSec);
|
|
140
|
-
}
|
|
141
|
-
return obj;
|
|
142
|
-
},
|
|
143
|
-
create(base) {
|
|
144
|
-
return PlaybackStartPolicy_ReadaheadPolicy.fromPartial(base ?? {});
|
|
145
|
-
},
|
|
146
|
-
fromPartial(object) {
|
|
147
|
-
const message = createBasePlaybackStartPolicy_ReadaheadPolicy();
|
|
148
|
-
message.minReadaheadMs = object.minReadaheadMs ?? 0;
|
|
149
|
-
message.minBandwidthBytesPerSec = object.minBandwidthBytesPerSec ?? 0;
|
|
150
|
-
return message;
|
|
151
|
-
},
|
|
152
90
|
};
|
|
153
|
-
function isSet(value) {
|
|
154
|
-
return value !== null && value !== undefined;
|
|
155
|
-
}
|
|
@@ -19,68 +19,3 @@ export var ProxyStatus;
|
|
|
19
19
|
ProxyStatus[ProxyStatus["VAL_9"] = 9] = "VAL_9";
|
|
20
20
|
ProxyStatus[ProxyStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
21
21
|
})(ProxyStatus || (ProxyStatus = {}));
|
|
22
|
-
export function proxyStatusFromJSON(object) {
|
|
23
|
-
switch (object) {
|
|
24
|
-
case 0:
|
|
25
|
-
case "VAL_0":
|
|
26
|
-
return ProxyStatus.VAL_0;
|
|
27
|
-
case 1:
|
|
28
|
-
case "OK":
|
|
29
|
-
return ProxyStatus.OK;
|
|
30
|
-
case 2:
|
|
31
|
-
case "VAL_2":
|
|
32
|
-
return ProxyStatus.VAL_2;
|
|
33
|
-
case 3:
|
|
34
|
-
case "VAL_3":
|
|
35
|
-
return ProxyStatus.VAL_3;
|
|
36
|
-
case 4:
|
|
37
|
-
case "VAL_4":
|
|
38
|
-
return ProxyStatus.VAL_4;
|
|
39
|
-
case 5:
|
|
40
|
-
case "VAL_5":
|
|
41
|
-
return ProxyStatus.VAL_5;
|
|
42
|
-
case 6:
|
|
43
|
-
case "VAL_6":
|
|
44
|
-
return ProxyStatus.VAL_6;
|
|
45
|
-
case 7:
|
|
46
|
-
case "VAL_7":
|
|
47
|
-
return ProxyStatus.VAL_7;
|
|
48
|
-
case 8:
|
|
49
|
-
case "VAL_8":
|
|
50
|
-
return ProxyStatus.VAL_8;
|
|
51
|
-
case 9:
|
|
52
|
-
case "VAL_9":
|
|
53
|
-
return ProxyStatus.VAL_9;
|
|
54
|
-
case -1:
|
|
55
|
-
case "UNRECOGNIZED":
|
|
56
|
-
default:
|
|
57
|
-
return ProxyStatus.UNRECOGNIZED;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
export function proxyStatusToJSON(object) {
|
|
61
|
-
switch (object) {
|
|
62
|
-
case ProxyStatus.VAL_0:
|
|
63
|
-
return "VAL_0";
|
|
64
|
-
case ProxyStatus.OK:
|
|
65
|
-
return "OK";
|
|
66
|
-
case ProxyStatus.VAL_2:
|
|
67
|
-
return "VAL_2";
|
|
68
|
-
case ProxyStatus.VAL_3:
|
|
69
|
-
return "VAL_3";
|
|
70
|
-
case ProxyStatus.VAL_4:
|
|
71
|
-
return "VAL_4";
|
|
72
|
-
case ProxyStatus.VAL_5:
|
|
73
|
-
return "VAL_5";
|
|
74
|
-
case ProxyStatus.VAL_6:
|
|
75
|
-
return "VAL_6";
|
|
76
|
-
case ProxyStatus.VAL_7:
|
|
77
|
-
return "VAL_7";
|
|
78
|
-
case ProxyStatus.VAL_8:
|
|
79
|
-
return "VAL_8";
|
|
80
|
-
case ProxyStatus.VAL_9:
|
|
81
|
-
return "VAL_9";
|
|
82
|
-
case ProxyStatus.UNRECOGNIZED:
|
|
83
|
-
default:
|
|
84
|
-
return "UNRECOGNIZED";
|
|
85
|
-
}
|
|
86
|
-
}
|
|
@@ -12,22 +12,7 @@ export interface RequestCancellationPolicy_Item {
|
|
|
12
12
|
}
|
|
13
13
|
export declare const RequestCancellationPolicy: MessageFns<RequestCancellationPolicy>;
|
|
14
14
|
export declare const RequestCancellationPolicy_Item: MessageFns<RequestCancellationPolicy_Item>;
|
|
15
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
16
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
17
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
18
|
-
} : Partial<T>;
|
|
19
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
20
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
21
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
22
|
-
} & {
|
|
23
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
24
|
-
};
|
|
25
15
|
export interface MessageFns<T> {
|
|
26
16
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
27
17
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
28
|
-
fromJSON(object: any): T;
|
|
29
|
-
toJSON(message: T): unknown;
|
|
30
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
31
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
32
18
|
}
|
|
33
|
-
export {};
|
|
@@ -55,38 +55,6 @@ export const RequestCancellationPolicy = {
|
|
|
55
55
|
}
|
|
56
56
|
return message;
|
|
57
57
|
},
|
|
58
|
-
fromJSON(object) {
|
|
59
|
-
return {
|
|
60
|
-
N0: isSet(object.N0) ? globalThis.Number(object.N0) : 0,
|
|
61
|
-
items: globalThis.Array.isArray(object?.items)
|
|
62
|
-
? object.items.map((e) => RequestCancellationPolicy_Item.fromJSON(e))
|
|
63
|
-
: [],
|
|
64
|
-
jq: isSet(object.jq) ? globalThis.Number(object.jq) : 0,
|
|
65
|
-
};
|
|
66
|
-
},
|
|
67
|
-
toJSON(message) {
|
|
68
|
-
const obj = {};
|
|
69
|
-
if (message.N0 !== undefined && message.N0 !== 0) {
|
|
70
|
-
obj.N0 = Math.round(message.N0);
|
|
71
|
-
}
|
|
72
|
-
if (message.items?.length) {
|
|
73
|
-
obj.items = message.items.map((e) => RequestCancellationPolicy_Item.toJSON(e));
|
|
74
|
-
}
|
|
75
|
-
if (message.jq !== undefined && message.jq !== 0) {
|
|
76
|
-
obj.jq = Math.round(message.jq);
|
|
77
|
-
}
|
|
78
|
-
return obj;
|
|
79
|
-
},
|
|
80
|
-
create(base) {
|
|
81
|
-
return RequestCancellationPolicy.fromPartial(base ?? {});
|
|
82
|
-
},
|
|
83
|
-
fromPartial(object) {
|
|
84
|
-
const message = createBaseRequestCancellationPolicy();
|
|
85
|
-
message.N0 = object.N0 ?? 0;
|
|
86
|
-
message.items = object.items?.map((e) => RequestCancellationPolicy_Item.fromPartial(e)) || [];
|
|
87
|
-
message.jq = object.jq ?? 0;
|
|
88
|
-
return message;
|
|
89
|
-
},
|
|
90
58
|
};
|
|
91
59
|
function createBaseRequestCancellationPolicy_Item() {
|
|
92
60
|
return { fR: 0, NK: 0, minReadaheadMs: 0 };
|
|
@@ -137,37 +105,4 @@ export const RequestCancellationPolicy_Item = {
|
|
|
137
105
|
}
|
|
138
106
|
return message;
|
|
139
107
|
},
|
|
140
|
-
fromJSON(object) {
|
|
141
|
-
return {
|
|
142
|
-
fR: isSet(object.fR) ? globalThis.Number(object.fR) : 0,
|
|
143
|
-
NK: isSet(object.NK) ? globalThis.Number(object.NK) : 0,
|
|
144
|
-
minReadaheadMs: isSet(object.minReadaheadMs) ? globalThis.Number(object.minReadaheadMs) : 0,
|
|
145
|
-
};
|
|
146
|
-
},
|
|
147
|
-
toJSON(message) {
|
|
148
|
-
const obj = {};
|
|
149
|
-
if (message.fR !== undefined && message.fR !== 0) {
|
|
150
|
-
obj.fR = Math.round(message.fR);
|
|
151
|
-
}
|
|
152
|
-
if (message.NK !== undefined && message.NK !== 0) {
|
|
153
|
-
obj.NK = Math.round(message.NK);
|
|
154
|
-
}
|
|
155
|
-
if (message.minReadaheadMs !== undefined && message.minReadaheadMs !== 0) {
|
|
156
|
-
obj.minReadaheadMs = Math.round(message.minReadaheadMs);
|
|
157
|
-
}
|
|
158
|
-
return obj;
|
|
159
|
-
},
|
|
160
|
-
create(base) {
|
|
161
|
-
return RequestCancellationPolicy_Item.fromPartial(base ?? {});
|
|
162
|
-
},
|
|
163
|
-
fromPartial(object) {
|
|
164
|
-
const message = createBaseRequestCancellationPolicy_Item();
|
|
165
|
-
message.fR = object.fR ?? 0;
|
|
166
|
-
message.NK = object.NK ?? 0;
|
|
167
|
-
message.minReadaheadMs = object.minReadaheadMs ?? 0;
|
|
168
|
-
return message;
|
|
169
|
-
},
|
|
170
108
|
};
|
|
171
|
-
function isSet(value) {
|
|
172
|
-
return value !== null && value !== undefined;
|
|
173
|
-
}
|
|
@@ -5,22 +5,7 @@ export interface SabrError {
|
|
|
5
5
|
code?: number | undefined;
|
|
6
6
|
}
|
|
7
7
|
export declare const SabrError: MessageFns<SabrError>;
|
|
8
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
9
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
10
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
11
|
-
} : Partial<T>;
|
|
12
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
13
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
14
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
15
|
-
} & {
|
|
16
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
17
|
-
};
|
|
18
8
|
export interface MessageFns<T> {
|
|
19
9
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
20
10
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
21
|
-
fromJSON(object: any): T;
|
|
22
|
-
toJSON(message: T): unknown;
|
|
23
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
24
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
25
11
|
}
|
|
26
|
-
export {};
|