@thiscargo/contracts 0.0.9 → 0.0.10

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/account.ts CHANGED
@@ -7,6 +7,7 @@
7
7
  /* eslint-disable */
8
8
  import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
9
9
  import { Observable } from "rxjs";
10
+ import { Timestamp } from "./google/protobuf/timestamp";
10
11
 
11
12
  export const protobufPackage = "account.v1";
12
13
 
@@ -24,8 +25,8 @@ export interface GetAccountResponse {
24
25
  phone: string;
25
26
  roleId: string;
26
27
  isActive: boolean;
27
- createdAt: number;
28
- updatedAt: number;
28
+ createdAt: Timestamp | undefined;
29
+ updatedAt: Timestamp | undefined;
29
30
  }
30
31
 
31
32
  export const ACCOUNT_V1_PACKAGE_NAME = "account.v1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thiscargo/contracts",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,6 +22,6 @@ message GetAccountResponse {
22
22
  string phone = 7;
23
23
  string role_id = 8;
24
24
  bool is_active = 9;
25
- int64 created_at = 10;
26
- int64 updated_at = 11;
25
+ google.protobuf.Timestamp created_at = 10;
26
+ google.protobuf.Timestamp updated_at = 11;
27
27
  }