@tapir19/contracts 1.1.6 → 1.1.8

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.
@@ -2,4 +2,5 @@ export declare const PROTO_PATHS: {
2
2
  readonly AUTH: string;
3
3
  readonly ACCOUNT: string;
4
4
  readonly USERS: string;
5
+ readonly MEDIA: string;
5
6
  };
@@ -6,4 +6,5 @@ exports.PROTO_PATHS = {
6
6
  AUTH: (0, node_path_1.join)(__dirname, "../../proto/auth.proto"),
7
7
  ACCOUNT: (0, node_path_1.join)(__dirname, "../../proto/account.proto"),
8
8
  USERS: (0, node_path_1.join)(__dirname, "../../proto/users.proto"),
9
+ MEDIA: (0, node_path_1.join)(__dirname, "../../proto/media.proto"),
9
10
  };
package/gen/ts/users.ts CHANGED
@@ -29,6 +29,7 @@ export interface CreateUserResponse {
29
29
  export interface PatchUserRequest {
30
30
  userId: string;
31
31
  name?: string | undefined;
32
+ avatar?: string | undefined;
32
33
  }
33
34
 
34
35
  export interface PatchUserResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapir19/contracts",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "description": "Protobufs definitions and generated TypeScript types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/proto/users.proto CHANGED
@@ -28,6 +28,7 @@ message CreateUserResponse {
28
28
  message PatchUserRequest {
29
29
  string user_id = 1;
30
30
  optional string name = 2;
31
+ optional string avatar = 3;
31
32
  }
32
33
 
33
34
  message PatchUserResponse {