@wenlarge/communication 1.3.8 → 1.4.0
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/config/billing-config.d.ts +1 -0
- package/dist/config/billing-config.js +4 -0
- package/dist/generated/auth.js +1 -1
- package/dist/generated/billing.js +1 -1
- package/dist/generated/executor-core.js +1 -1
- package/dist/generated/google/protobuf/empty.js +1 -1
- package/dist/generated/google/protobuf/struct.js +1 -1
- package/dist/generated/notification.js +1 -1
- package/dist/generated/project.js +1 -1
- package/dist/generated/workflow.js +1 -1
- package/dist/grpc-client/grpc-client.module.d.ts +1 -0
- package/dist/grpc-client/grpc-client.module.js +18 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
- package/src/generated/auth.ts +1 -1
- package/src/generated/billing.ts +1 -1
- package/src/generated/executor-core.ts +1 -1
- package/src/generated/google/protobuf/empty.ts +1 -1
- package/src/generated/google/protobuf/struct.ts +1 -1
- package/src/generated/notification.ts +1 -1
- package/src/generated/project.ts +1 -1
- package/src/generated/workflow.ts +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BILLING_PROTO_PATH: string[];
|
package/dist/generated/auth.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.2
|
|
5
|
-
// protoc
|
|
5
|
+
// protoc v6.33.6
|
|
6
6
|
// source: auth.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.AUTH_SERVICE_NAME = exports.AUTH_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.2
|
|
5
|
-
// protoc
|
|
5
|
+
// protoc v6.33.6
|
|
6
6
|
// source: billing.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.BILLING_SERVICE_NAME = exports.BILLING_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.2
|
|
5
|
-
// protoc
|
|
5
|
+
// protoc v6.33.6
|
|
6
6
|
// source: executor-core.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.CORE_EXECUTION_SERVICE_NAME = exports.EXECUTOR_CORE_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.2
|
|
5
|
-
// protoc
|
|
5
|
+
// protoc v6.33.6
|
|
6
6
|
// source: google/protobuf/empty.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.GOOGLE_PROTOBUF_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.2
|
|
5
|
-
// protoc
|
|
5
|
+
// protoc v6.33.6
|
|
6
6
|
// source: google/protobuf/struct.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.ListValue = exports.Value = exports.Struct = exports.GOOGLE_PROTOBUF_PACKAGE_NAME = exports.NullValue = exports.protobufPackage = void 0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.2
|
|
5
|
-
// protoc
|
|
5
|
+
// protoc v6.33.6
|
|
6
6
|
// source: notification.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.NOTIFICATION_SERVICE_NAME = exports.NOTIFICATION_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.2
|
|
5
|
-
// protoc
|
|
5
|
+
// protoc v6.33.6
|
|
6
6
|
// source: project.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.ENVIRONMENT_SERVICE_NAME = exports.PROJECT_SERVICE_NAME = exports.PROJECT_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.2
|
|
5
|
-
// protoc
|
|
5
|
+
// protoc v6.33.6
|
|
6
6
|
// source: workflow.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.WORKFLOW_SERVICE_NAME = exports.WORKFLOW_PACKAGE_NAME = exports.WorkflowStatus = exports.protobufPackage = void 0;
|
|
@@ -9,6 +9,7 @@ export interface GrpcClientModuleOptions {
|
|
|
9
9
|
executorHttpServiceUrl: string;
|
|
10
10
|
executorWebhookServiceUrl: string;
|
|
11
11
|
notificationServiceUrl: string;
|
|
12
|
+
billingServiceUrl: string;
|
|
12
13
|
}
|
|
13
14
|
export declare class GrpcClientModule {
|
|
14
15
|
static forRoot(options: GrpcClientModuleOptions): DynamicModule;
|
|
@@ -52,6 +52,8 @@ const executor_core_1 = require("../generated/executor-core");
|
|
|
52
52
|
const executor_core_config_1 = require("../config/executor-core-config");
|
|
53
53
|
const notification_1 = require("../generated/notification");
|
|
54
54
|
const notification_config_1 = require("../config/notification-config");
|
|
55
|
+
const billing_1 = require("../generated/billing");
|
|
56
|
+
const billing_config_1 = require("../config/billing-config");
|
|
55
57
|
exports.EXECUTOR_HTTP_GRPC_CLIENT = "EXECUTOR_HTTP_GRPC_CLIENT";
|
|
56
58
|
exports.EXECUTOR_WEBHOOK_GRPC_CLIENT = "EXECUTOR_WEBHOOK_GRPC_CLIENT";
|
|
57
59
|
let GrpcClientModule = (() => {
|
|
@@ -179,6 +181,22 @@ let GrpcClientModule = (() => {
|
|
|
179
181
|
},
|
|
180
182
|
},
|
|
181
183
|
},
|
|
184
|
+
{
|
|
185
|
+
name: billing_1.BILLING_SERVICE_NAME,
|
|
186
|
+
transport: microservices_1.Transport.GRPC,
|
|
187
|
+
options: {
|
|
188
|
+
package: billing_1.BILLING_PACKAGE_NAME,
|
|
189
|
+
protoPath: billing_config_1.BILLING_PROTO_PATH.map((p) => (0, path_1.join)(__dirname, "../../" + p)),
|
|
190
|
+
url: options.billingServiceUrl,
|
|
191
|
+
loader: {
|
|
192
|
+
keepCase: true,
|
|
193
|
+
longs: String,
|
|
194
|
+
enums: String,
|
|
195
|
+
defaults: true,
|
|
196
|
+
oneofs: true,
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
},
|
|
182
200
|
]),
|
|
183
201
|
],
|
|
184
202
|
exports: [microservices_1.ClientsModule],
|
package/dist/index.d.ts
CHANGED
|
@@ -15,3 +15,4 @@ export * as Notification from "./generated/notification";
|
|
|
15
15
|
export * from "./kafka/kafka-topics";
|
|
16
16
|
export * from "./kafka/commit-kafka-offset";
|
|
17
17
|
export { Struct, Value, ListValue } from "./generated/google/protobuf/struct";
|
|
18
|
+
export * from "./config/billing-config";
|
package/dist/index.js
CHANGED
|
@@ -58,3 +58,4 @@ var struct_1 = require("./generated/google/protobuf/struct");
|
|
|
58
58
|
Object.defineProperty(exports, "Struct", { enumerable: true, get: function () { return struct_1.Struct; } });
|
|
59
59
|
Object.defineProperty(exports, "Value", { enumerable: true, get: function () { return struct_1.Value; } });
|
|
60
60
|
Object.defineProperty(exports, "ListValue", { enumerable: true, get: function () { return struct_1.ListValue; } });
|
|
61
|
+
__exportStar(require("./config/billing-config"), exports);
|
package/package.json
CHANGED
package/src/generated/auth.ts
CHANGED
package/src/generated/billing.ts
CHANGED
package/src/generated/project.ts
CHANGED