@trash-streamers/contracts 1.1.69 → 1.1.70

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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trash-streamers/contracts",
3
- "version": "1.1.69",
3
+ "version": "1.1.70",
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
- optional Video video = 3;
55
+ Video video = 3;
56
56
  FieldMask update_mask = 4;
57
57
  }
58
58
 
@@ -1,7 +0,0 @@
1
- export interface FieldMask {
2
- paths: string[];
3
- }
4
- export declare const FieldMask: {
5
- fromJSON(object: any): FieldMask;
6
- toJSON(message: FieldMask): unknown;
7
- };
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FieldMask = void 0;
4
- exports.FieldMask = {
5
- fromJSON(object) {
6
- console.log("я тут");
7
- return {
8
- paths: Array.isArray(object?.paths) ? object.paths.map(String) : [],
9
- };
10
- },
11
- toJSON(message) {
12
- console.log("я тут");
13
- return { paths: message.paths };
14
- },
15
- };