@wenlarge/communication 1.5.3 → 1.5.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/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 +2 -0
- package/dist/grpc-client/grpc-client.module.js +19 -2
- package/dist/helpers/execution-interface.d.ts +7 -0
- package/dist/helpers/execution-interface.js +2 -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
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 v4.25.9
|
|
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 v4.25.9
|
|
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 v4.25.9
|
|
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 v4.25.9
|
|
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 v4.25.9
|
|
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 v4.25.9
|
|
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 v4.25.9
|
|
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 v4.25.9
|
|
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;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DynamicModule } from "@nestjs/common";
|
|
2
2
|
export declare const EXECUTOR_HTTP_GRPC_CLIENT = "EXECUTOR_HTTP_GRPC_CLIENT";
|
|
3
3
|
export declare const EXECUTOR_WEBHOOK_GRPC_CLIENT = "EXECUTOR_WEBHOOK_GRPC_CLIENT";
|
|
4
|
+
export declare const EXECUTOR_GEMINI_GRPC_CLIENT = "EXECUTOR_GEMINI_GRPC_CLIENT";
|
|
4
5
|
export interface GrpcClientModuleOptions {
|
|
5
6
|
authServiceUrl: string;
|
|
6
7
|
projectServiceUrl: string;
|
|
@@ -10,6 +11,7 @@ export interface GrpcClientModuleOptions {
|
|
|
10
11
|
executorWebhookServiceUrl: string;
|
|
11
12
|
notificationServiceUrl: string;
|
|
12
13
|
billingServiceUrl: string;
|
|
14
|
+
executorGeminiServiceUrl: string;
|
|
13
15
|
}
|
|
14
16
|
export declare class GrpcClientModule {
|
|
15
17
|
static forRoot(options: GrpcClientModuleOptions): DynamicModule;
|
|
@@ -38,7 +38,7 @@ var __setFunctionName = (this && this.__setFunctionName) || function (f, name, p
|
|
|
38
38
|
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
39
39
|
};
|
|
40
40
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
-
exports.GrpcClientModule = exports.EXECUTOR_WEBHOOK_GRPC_CLIENT = exports.EXECUTOR_HTTP_GRPC_CLIENT = void 0;
|
|
41
|
+
exports.GrpcClientModule = exports.EXECUTOR_GEMINI_GRPC_CLIENT = exports.EXECUTOR_WEBHOOK_GRPC_CLIENT = exports.EXECUTOR_HTTP_GRPC_CLIENT = void 0;
|
|
42
42
|
const common_1 = require("@nestjs/common");
|
|
43
43
|
const microservices_1 = require("@nestjs/microservices");
|
|
44
44
|
const path_1 = require("path");
|
|
@@ -56,6 +56,7 @@ const billing_1 = require("../generated/billing");
|
|
|
56
56
|
const billing_config_1 = require("../config/billing-config");
|
|
57
57
|
exports.EXECUTOR_HTTP_GRPC_CLIENT = "EXECUTOR_HTTP_GRPC_CLIENT";
|
|
58
58
|
exports.EXECUTOR_WEBHOOK_GRPC_CLIENT = "EXECUTOR_WEBHOOK_GRPC_CLIENT";
|
|
59
|
+
exports.EXECUTOR_GEMINI_GRPC_CLIENT = "EXECUTOR_GEMINI_GRPC_CLIENT";
|
|
59
60
|
let GrpcClientModule = (() => {
|
|
60
61
|
let _classDecorators = [(0, common_1.Module)({})];
|
|
61
62
|
let _classDescriptor;
|
|
@@ -63,7 +64,7 @@ let GrpcClientModule = (() => {
|
|
|
63
64
|
let _classThis;
|
|
64
65
|
var GrpcClientModule = _classThis = class {
|
|
65
66
|
static forRoot(options) {
|
|
66
|
-
var _a, _b;
|
|
67
|
+
var _a, _b, _c;
|
|
67
68
|
return {
|
|
68
69
|
module: GrpcClientModule,
|
|
69
70
|
global: true,
|
|
@@ -165,6 +166,22 @@ let GrpcClientModule = (() => {
|
|
|
165
166
|
},
|
|
166
167
|
},
|
|
167
168
|
},
|
|
169
|
+
{
|
|
170
|
+
name: exports.EXECUTOR_GEMINI_GRPC_CLIENT,
|
|
171
|
+
transport: microservices_1.Transport.GRPC,
|
|
172
|
+
options: {
|
|
173
|
+
package: executor_core_1.EXECUTOR_CORE_PACKAGE_NAME,
|
|
174
|
+
protoPath: executor_core_config_1.EXECUTOR_CORE_PROTO_PATH.map((p) => (0, path_1.join)(__dirname, "../../" + p)),
|
|
175
|
+
url: (_c = options.executorGeminiServiceUrl) !== null && _c !== void 0 ? _c : options.executorCoreServiceUrl,
|
|
176
|
+
loader: {
|
|
177
|
+
keepCase: true,
|
|
178
|
+
longs: String,
|
|
179
|
+
enums: String,
|
|
180
|
+
defaults: true,
|
|
181
|
+
oneofs: true,
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
},
|
|
168
185
|
{
|
|
169
186
|
name: notification_1.NOTIFICATION_SERVICE_NAME,
|
|
170
187
|
transport: microservices_1.Transport.GRPC,
|
package/package.json
CHANGED
package/src/generated/auth.ts
CHANGED
package/src/generated/billing.ts
CHANGED
package/src/generated/project.ts
CHANGED