@allmodule/contracts 1.0.0 → 1.0.3
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 -1
- package/package.json +2 -2
- package/proto/auth.proto +15 -15
package/gen/auth.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allmodule/contracts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Protobuf definitions and generated TS types",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"gen": "protoc
|
|
6
|
+
"gen": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
7
7
|
},
|
|
8
8
|
"files": [
|
|
9
9
|
"proto",
|
package/proto/auth.proto
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package auth.v1;
|
|
4
|
-
|
|
5
|
-
service AuthService {
|
|
6
|
-
rpc SendOtp (SendOtpRequest) returns (SendOtpResponse);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
message SendOtpRequest {
|
|
10
|
-
string identifier = 1;
|
|
11
|
-
string type = 2;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
message SendOtpResponse {
|
|
15
|
-
bool ok = 1;
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package auth.v1;
|
|
4
|
+
|
|
5
|
+
service AuthService {
|
|
6
|
+
rpc SendOtp (SendOtpRequest) returns (SendOtpResponse);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
message SendOtpRequest {
|
|
10
|
+
string identifier = 1;
|
|
11
|
+
string type = 2;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message SendOtpResponse {
|
|
15
|
+
bool ok = 1;
|
|
16
16
|
}
|