@funpay-pilot/contracts 0.2.2 → 0.2.4
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/dist/gen/core.d.ts +4 -4
- package/dist/gen/core.js +4 -4
- package/gen/core.ts +4 -4
- package/package.json +3 -3
package/dist/gen/core.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Observable } from "rxjs";
|
|
2
2
|
export declare const protobufPackage = "core.v1";
|
|
3
3
|
export declare enum Status {
|
|
4
|
-
INACTIVE =
|
|
5
|
-
ACTIVE =
|
|
6
|
-
INITIALIZING =
|
|
7
|
-
UNRECOGNIZED =
|
|
4
|
+
INACTIVE = "INACTIVE",
|
|
5
|
+
ACTIVE = "ACTIVE",
|
|
6
|
+
INITIALIZING = "INITIALIZING",
|
|
7
|
+
UNRECOGNIZED = "UNRECOGNIZED"
|
|
8
8
|
}
|
|
9
9
|
export interface CreateAccountRequest {
|
|
10
10
|
userId: string;
|
package/dist/gen/core.js
CHANGED
|
@@ -12,10 +12,10 @@ const microservices_1 = require("@nestjs/microservices");
|
|
|
12
12
|
exports.protobufPackage = "core.v1";
|
|
13
13
|
var Status;
|
|
14
14
|
(function (Status) {
|
|
15
|
-
Status[
|
|
16
|
-
Status[
|
|
17
|
-
Status[
|
|
18
|
-
Status[
|
|
15
|
+
Status["INACTIVE"] = "INACTIVE";
|
|
16
|
+
Status["ACTIVE"] = "ACTIVE";
|
|
17
|
+
Status["INITIALIZING"] = "INITIALIZING";
|
|
18
|
+
Status["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
19
19
|
})(Status || (exports.Status = Status = {}));
|
|
20
20
|
exports.CORE_V1_PACKAGE_NAME = "core.v1";
|
|
21
21
|
function CoreServiceControllerMethods() {
|
package/gen/core.ts
CHANGED
|
@@ -11,10 +11,10 @@ import { Observable } from "rxjs";
|
|
|
11
11
|
export const protobufPackage = "core.v1";
|
|
12
12
|
|
|
13
13
|
export enum Status {
|
|
14
|
-
INACTIVE =
|
|
15
|
-
ACTIVE =
|
|
16
|
-
INITIALIZING =
|
|
17
|
-
UNRECOGNIZED =
|
|
14
|
+
INACTIVE = "INACTIVE",
|
|
15
|
+
ACTIVE = "ACTIVE",
|
|
16
|
+
INITIALIZING = "INITIALIZING",
|
|
17
|
+
UNRECOGNIZED = "UNRECOGNIZED",
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
export interface CreateAccountRequest {
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funpay-pilot/contracts",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Protobuf definitions and generated TypeScript types",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "tsc -p tsconfig.build.json",
|
|
9
|
-
"generate": "npx protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
9
|
+
"generate": "npx protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit,stringEnums=true"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@nestjs/microservices": "^
|
|
30
|
+
"@nestjs/microservices": "^12.4.2",
|
|
31
31
|
"rxjs": "^7.8.2",
|
|
32
32
|
"ts-proto": "^2.11.6"
|
|
33
33
|
},
|