@requ1emz/contracts 1.0.23 → 1.0.25

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 USER: string;
4
4
  readonly FAMILY: string;
5
+ readonly NOTIFICATION: string;
5
6
  };
@@ -6,4 +6,5 @@ exports.PROTO_PATHS = {
6
6
  AUTH: (0, path_1.join)(__dirname, "../../proto/auth.proto"),
7
7
  USER: (0, path_1.join)(__dirname, "../../proto/user.proto"),
8
8
  FAMILY: (0, path_1.join)(__dirname, "../../proto/family.proto"),
9
+ NOTIFICATION: (0, path_1.join)(__dirname, "../../proto/notification.proto"),
9
10
  };
@@ -8,7 +8,7 @@
8
8
  import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
9
9
  import { Observable } from "rxjs";
10
10
 
11
- export const protobufPackage = "notification";
11
+ export const protobufPackage = "notification.v1";
12
12
 
13
13
  export interface GetNotificationsRequest {
14
14
  userId: string;
@@ -47,7 +47,7 @@ export interface InviteUserResponse {
47
47
  status: boolean;
48
48
  }
49
49
 
50
- export const NOTIFICATION_PACKAGE_NAME = "notification";
50
+ export const NOTIFICATION_V1_PACKAGE_NAME = "notification.v1";
51
51
 
52
52
  export interface NotificationServiceClient {
53
53
  getNotifications(request: GetNotificationsRequest): Observable<GetNotificationsResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@requ1emz/contracts",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  syntax = "proto3";
2
2
 
3
- package notification;
3
+ package notification.v1;
4
4
 
5
5
  service NotificationService {
6
6
  rpc GetNotifications (GetNotificationsRequest) returns (GetNotificationsResponse);