@trash-streamers/contracts 1.1.60 → 1.1.61
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/dist/gen/ts/video.d.ts +4 -4
- package/dist/gen/ts/video.js +16 -16
- package/package.json +1 -1
- package/proto/video.proto +4 -4
package/dist/gen/ts/video.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Observable } from "rxjs";
|
|
2
2
|
export declare const protobufPackage = "video.v1";
|
|
3
|
-
export declare enum
|
|
3
|
+
export declare enum Access {
|
|
4
4
|
PUBLIC = "PUBLIC",
|
|
5
5
|
PRIVATE = "PRIVATE",
|
|
6
6
|
BYLINK = "BYLINK",
|
|
7
7
|
UNRECOGNIZED = "UNRECOGNIZED"
|
|
8
8
|
}
|
|
9
|
-
export declare enum
|
|
9
|
+
export declare enum Status {
|
|
10
10
|
PENDING = "PENDING",
|
|
11
11
|
PROCESSING = "PROCESSING",
|
|
12
12
|
READY = "READY",
|
|
@@ -33,8 +33,8 @@ export interface Video {
|
|
|
33
33
|
ownerId: string;
|
|
34
34
|
title: string;
|
|
35
35
|
description?: string | undefined;
|
|
36
|
-
access:
|
|
37
|
-
status:
|
|
36
|
+
access: Access;
|
|
37
|
+
status: Status;
|
|
38
38
|
slug: string;
|
|
39
39
|
thumbnailUrl?: string | undefined;
|
|
40
40
|
path?: string | undefined;
|
package/dist/gen/ts/video.js
CHANGED
|
@@ -5,27 +5,27 @@
|
|
|
5
5
|
// protoc v6.33.5
|
|
6
6
|
// source: video.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.VIDEO_SERVICE_NAME = exports.VIDEO_V1_PACKAGE_NAME = exports.
|
|
8
|
+
exports.VIDEO_SERVICE_NAME = exports.VIDEO_V1_PACKAGE_NAME = exports.Status = exports.Access = exports.protobufPackage = void 0;
|
|
9
9
|
exports.VideoServiceControllerMethods = VideoServiceControllerMethods;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const microservices_1 = require("@nestjs/microservices");
|
|
12
12
|
const protobufjs_1 = require("protobufjs");
|
|
13
13
|
exports.protobufPackage = "video.v1";
|
|
14
|
-
var
|
|
15
|
-
(function (
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
})(
|
|
21
|
-
var
|
|
22
|
-
(function (
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
})(
|
|
14
|
+
var Access;
|
|
15
|
+
(function (Access) {
|
|
16
|
+
Access["PUBLIC"] = "PUBLIC";
|
|
17
|
+
Access["PRIVATE"] = "PRIVATE";
|
|
18
|
+
Access["BYLINK"] = "BYLINK";
|
|
19
|
+
Access["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
20
|
+
})(Access || (exports.Access = Access = {}));
|
|
21
|
+
var Status;
|
|
22
|
+
(function (Status) {
|
|
23
|
+
Status["PENDING"] = "PENDING";
|
|
24
|
+
Status["PROCESSING"] = "PROCESSING";
|
|
25
|
+
Status["READY"] = "READY";
|
|
26
|
+
Status["FAILED"] = "FAILED";
|
|
27
|
+
Status["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
28
|
+
})(Status || (exports.Status = Status = {}));
|
|
29
29
|
exports.VIDEO_V1_PACKAGE_NAME = "video.v1";
|
|
30
30
|
protobufjs_1.wrappers[".google.protobuf.Timestamp"] = {
|
|
31
31
|
fromObject(value) {
|
package/package.json
CHANGED
package/proto/video.proto
CHANGED
|
@@ -31,8 +31,8 @@ message Video {
|
|
|
31
31
|
string owner_id = 2;
|
|
32
32
|
string title = 3;
|
|
33
33
|
optional string description = 4;
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
Access access = 5;
|
|
35
|
+
Status status= 6;
|
|
36
36
|
string slug = 7;
|
|
37
37
|
optional string thumbnail_url = 8;
|
|
38
38
|
optional string path = 9;
|
|
@@ -40,13 +40,13 @@ message Video {
|
|
|
40
40
|
google.protobuf.Timestamp created_at = 11;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
enum
|
|
43
|
+
enum Access {
|
|
44
44
|
PUBLIC = 0;
|
|
45
45
|
PRIVATE = 1;
|
|
46
46
|
BYLINK = 2;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
enum
|
|
49
|
+
enum Status {
|
|
50
50
|
PENDING = 0;
|
|
51
51
|
PROCESSING = 1;
|
|
52
52
|
READY = 2;
|