@t-cinema/contracts 1.0.0 → 1.0.1

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/auth.ts CHANGED
@@ -10,7 +10,7 @@ import { Observable } from "rxjs";
10
10
 
11
11
  export const protobufPackage = "auth.v1";
12
12
 
13
- export enum EOtpType {
13
+ export enum OtpType {
14
14
  email = 0,
15
15
  phone = 1,
16
16
  UNRECOGNIZED = -1,
@@ -18,7 +18,7 @@ export enum EOtpType {
18
18
 
19
19
  export interface SendOtpRequest {
20
20
  identifier: string;
21
- type: EOtpType;
21
+ type: OtpType;
22
22
  }
23
23
 
24
24
  export interface SendOtpResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t-cinema/contracts",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Protobuf definitions and generated Typescript types",
5
5
  "author": {
6
6
  "name": "Julia",
package/proto/auth.proto CHANGED
@@ -6,14 +6,14 @@ service AuthService {
6
6
  rpc SendOtp (SendOtpRequest) returns (SendOtpResponse);
7
7
  }
8
8
 
9
- enum EOtpType {
9
+ enum OtpType {
10
10
  email = 0;
11
11
  phone = 1;
12
12
  }
13
13
 
14
14
  message SendOtpRequest {
15
15
  string identifier = 1;
16
- EOtpType type = 2;
16
+ OtpType type = 2;
17
17
  }
18
18
 
19
19
  message SendOtpResponse {