@vsniksnet/contracts 1.2.2 → 1.2.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.
package/gen/media.ts CHANGED
@@ -11,9 +11,10 @@ import { Observable } from "rxjs";
11
11
  export const protobufPackage = "auth.v1";
12
12
 
13
13
  export interface UploadRequest {
14
- filename: string;
14
+ fileName: string;
15
15
  contentType: string;
16
16
  data: Uint8Array;
17
+ folder?: string | undefined;
17
18
  }
18
19
 
19
20
  export interface UploadResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vsniksnet/contracts",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Protobuf definitions and generated typescript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/media.proto CHANGED
@@ -9,9 +9,10 @@ service MediaService {
9
9
  }
10
10
 
11
11
  message UploadRequest {
12
- string filename = 1;
12
+ string file_name = 1;
13
13
  string content_type = 2;
14
14
  bytes data = 3;
15
+ optional string folder = 4;
15
16
  }
16
17
 
17
18
  message UploadResponse {