jr-common-micro 1.1.1 → 1.1.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.
|
@@ -107,6 +107,7 @@ export declare class GetMediaUrlResponse extends Message<GetMediaUrlResponse> {
|
|
|
107
107
|
}
|
|
108
108
|
export declare class GetMediaUrlRequest extends Message<GetMediaUrlRequest> {
|
|
109
109
|
fileUuid: string;
|
|
110
|
+
clientIp: string;
|
|
110
111
|
constructor(data?: PartialMessage<GetMediaUrlRequest>);
|
|
111
112
|
static readonly runtime: typeof proto3;
|
|
112
113
|
static readonly typeName = "micro.v1.media.GetMediaUrlRequest";
|
|
@@ -233,6 +233,7 @@ class GetMediaUrlResponse extends protobuf_1.Message {
|
|
|
233
233
|
exports.GetMediaUrlResponse = GetMediaUrlResponse;
|
|
234
234
|
class GetMediaUrlRequest extends protobuf_1.Message {
|
|
235
235
|
fileUuid = "";
|
|
236
|
+
clientIp = "";
|
|
236
237
|
constructor(data) {
|
|
237
238
|
super();
|
|
238
239
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -241,6 +242,7 @@ class GetMediaUrlRequest extends protobuf_1.Message {
|
|
|
241
242
|
static typeName = "micro.v1.media.GetMediaUrlRequest";
|
|
242
243
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
243
244
|
{ no: 1, name: "file_uuid", kind: "scalar", T: 9 },
|
|
245
|
+
{ no: 2, name: "client_ip", kind: "scalar", T: 9 },
|
|
244
246
|
]);
|
|
245
247
|
static fromBinary(bytes, options) {
|
|
246
248
|
return new GetMediaUrlRequest().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -26,7 +26,8 @@ message FileStoreRequest {
|
|
|
26
26
|
int32 file_size = 5;
|
|
27
27
|
string file_type = 6;
|
|
28
28
|
string platform = 7;
|
|
29
|
-
|
|
29
|
+
string duration = 8;
|
|
30
|
+
optional WatermarkDto watermark = 9;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
message WatermarkDto {
|
|
@@ -71,6 +72,7 @@ message GetMediaUrlResponse {
|
|
|
71
72
|
|
|
72
73
|
message GetMediaUrlRequest {
|
|
73
74
|
string file_uuid = 1;
|
|
75
|
+
string client_ip = 2;
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
message LogoUrl {
|