@nexiolab/contracts 1.0.1 → 1.0.2
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 +1 -7
- package/package.json +1 -1
- package/proto/auth.proto +1 -6
package/gen/auth.ts
CHANGED
|
@@ -10,15 +10,9 @@ import { Observable } from "rxjs";
|
|
|
10
10
|
|
|
11
11
|
export const protobufPackage = "auth.v1";
|
|
12
12
|
|
|
13
|
-
export enum IdentifierType {
|
|
14
|
-
EMAIL = 0,
|
|
15
|
-
PHONE = 1,
|
|
16
|
-
UNRECOGNIZED = -1,
|
|
17
|
-
}
|
|
18
|
-
|
|
19
13
|
export interface SendOtpRequest {
|
|
20
14
|
identifier: string;
|
|
21
|
-
type:
|
|
15
|
+
type: string;
|
|
22
16
|
}
|
|
23
17
|
|
|
24
18
|
export interface SendOtpResponse {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexiolab/contracts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Protobuf definitions and generated TypeScript types",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
package/proto/auth.proto
CHANGED