@trash-streamers/contracts 1.1.67 → 1.1.69

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.
@@ -44,7 +44,7 @@ export interface SettingVideoBySlugResponce {
44
44
  export interface UpdateSettingsVideoRequst {
45
45
  slug: string;
46
46
  ownerId: string;
47
- video: Video | undefined;
47
+ video?: Video | undefined;
48
48
  updateMask: FieldMask | undefined;
49
49
  }
50
50
  export interface UpdateSettingsVideoResponse {
@@ -62,7 +62,7 @@ export interface Video {
62
62
  status: Status;
63
63
  slug: string;
64
64
  thumbnailUrl?: string | undefined;
65
- durationSeconds?: string | undefined;
65
+ durationSeconds?: number | undefined;
66
66
  path?: string | undefined;
67
67
  updatedAt: Date | undefined;
68
68
  createdAt: Date | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trash-streamers/contracts",
3
- "version": "1.1.67",
3
+ "version": "1.1.69",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "scripts": {
package/proto/video.proto CHANGED
@@ -52,7 +52,7 @@ message SettingVideoBySlugResponce{
52
52
  message UpdateSettingsVideoRequst {
53
53
  string slug = 1;
54
54
  string owner_id = 2;
55
- Video video = 3;
55
+ optional Video video = 3;
56
56
  FieldMask update_mask = 4;
57
57
  }
58
58
 
@@ -73,7 +73,7 @@ message Video {
73
73
  Status status= 6;
74
74
  string slug = 7;
75
75
  optional string thumbnail_url = 8;
76
- optional string duration_seconds = 9;
76
+ optional int32 duration_seconds = 9;
77
77
  optional string path = 10;
78
78
  google.protobuf.Timestamp updated_at = 11;
79
79
  google.protobuf.Timestamp created_at = 12;