@conduitplatform/grpc-sdk 0.13.1 → 0.14.0-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/classes/ConduitModule.js +0 -5
- package/dist/classes/ConduitModule.js.map +1 -1
- package/dist/classes/GrpcServer.d.ts +2 -1
- package/dist/classes/GrpcServer.js +19 -9
- package/dist/classes/GrpcServer.js.map +1 -1
- package/dist/classes/HealthCheck.d.ts +1 -0
- package/dist/classes/HealthCheck.js +76 -0
- package/dist/classes/HealthCheck.js.map +1 -0
- package/dist/classes/ManagedModule.d.ts +38 -0
- package/dist/classes/ManagedModule.js +62 -12
- package/dist/classes/ManagedModule.js.map +1 -1
- package/dist/classes/ModuleManager.js +8 -21
- package/dist/classes/ModuleManager.js.map +1 -1
- package/dist/index.d.ts +9 -4
- package/dist/index.js +114 -84
- package/dist/index.js.map +1 -1
- package/dist/modules/authentication/index.d.ts +1 -2
- package/dist/modules/authentication/index.js +0 -5
- package/dist/modules/authentication/index.js.map +1 -1
- package/dist/modules/chat/index.d.ts +0 -1
- package/dist/modules/chat/index.js +0 -5
- package/dist/modules/chat/index.js.map +1 -1
- package/dist/modules/config/index.d.ts +2 -0
- package/dist/modules/config/index.js +12 -1
- package/dist/modules/config/index.js.map +1 -1
- package/dist/modules/email/index.d.ts +0 -1
- package/dist/modules/email/index.js +0 -5
- package/dist/modules/email/index.js.map +1 -1
- package/dist/modules/forms/index.d.ts +0 -1
- package/dist/modules/forms/index.js +0 -5
- package/dist/modules/forms/index.js.map +1 -1
- package/dist/modules/pushNotifications/index.d.ts +0 -1
- package/dist/modules/pushNotifications/index.js +0 -5
- package/dist/modules/pushNotifications/index.js.map +1 -1
- package/dist/modules/router/index.d.ts +2 -2
- package/dist/modules/router/index.js +2 -2
- package/dist/modules/router/index.js.map +1 -1
- package/dist/modules/sms/index.d.ts +0 -1
- package/dist/modules/sms/index.js +0 -5
- package/dist/modules/sms/index.js.map +1 -1
- package/dist/modules/storage/index.d.ts +1 -2
- package/dist/modules/storage/index.js +0 -5
- package/dist/modules/storage/index.js.map +1 -1
- package/dist/protoUtils/core.d.ts +20 -117
- package/dist/protoUtils/core.js +24 -552
- package/dist/protoUtils/core.js.map +1 -1
- package/dist/protoUtils/router.d.ts +171 -0
- package/dist/protoUtils/router.js +690 -0
- package/dist/protoUtils/router.js.map +1 -0
- package/dist/utilities/EventBus.js +2 -2
- package/dist/utilities/StateManager.js +1 -1
- package/dist/utilities/StateManager.js.map +1 -1
- package/package.json +1 -1
|
@@ -26,11 +26,6 @@ var PushNotifications = /** @class */ (function (_super) {
|
|
|
26
26
|
_this.initializeClient(push_notifications_1.PushNotificationsDefinition);
|
|
27
27
|
return _this;
|
|
28
28
|
}
|
|
29
|
-
PushNotifications.prototype.setConfig = function (newConfig) {
|
|
30
|
-
return this.client.setConfig({ newConfig: JSON.stringify(newConfig) }).then(function (res) {
|
|
31
|
-
return JSON.parse(res.updatedConfig);
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
29
|
PushNotifications.prototype.sendNotificationToken = function (token, platform, userId) {
|
|
35
30
|
return this.client.setNotificationToken({
|
|
36
31
|
token: token,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/pushNotifications/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,6DAA4D;AAC5D,0EAAkF;AAElF;IAAuC,qCAAiD;IACtF,2BAA6B,UAAkB,EAAE,GAAW,EAAE,SAAkB;QAAhF,YACE,kBAAM,UAAU,EAAE,oBAAoB,EAAE,GAAG,EAAE,SAAS,CAAC,SAExD;QAH4B,gBAAU,GAAV,UAAU,CAAQ;QAE7C,KAAI,CAAC,gBAAgB,CAAC,gDAA2B,CAAC,CAAC;;IACrD,CAAC;IAED,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/pushNotifications/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,6DAA4D;AAC5D,0EAAkF;AAElF;IAAuC,qCAAiD;IACtF,2BAA6B,UAAkB,EAAE,GAAW,EAAE,SAAkB;QAAhF,YACE,kBAAM,UAAU,EAAE,oBAAoB,EAAE,GAAG,EAAE,SAAS,CAAC,SAExD;QAH4B,gBAAU,GAAV,UAAU,CAAQ;QAE7C,KAAI,CAAC,gBAAgB,CAAC,gDAA2B,CAAC,CAAC;;IACrD,CAAC;IAED,iDAAqB,GAArB,UAAsB,KAAa,EAAE,QAAgB,EAAE,MAAc;QACnE,OAAO,IAAI,CAAC,MAAO,CAAC,oBAAoB,CAAC;YACvC,KAAK,OAAA;YACL,QAAQ,UAAA;YACR,MAAM,QAAA;SACP,CAAC,CAAC,IAAI,CAAC,UAAA,GAAG;YACT,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;QAC1C,CAAC,CAAC,CAAC;IACL,CAAC;IAED,iDAAqB,GAArB,UAAsB,MAAc;QAClC,OAAO,IAAI,CAAC,MAAO,CAAC,qBAAqB,CAAC;YACxC,MAAM,QAAA;SACP,CAAC,CAAC,IAAI,CAAC,UAAA,GAAG;YACT,OAAO,GAAG,CAAC,cAAc,CAAC;QAC5B,CAAC,CAAC,CAAC;IACL,CAAC;IAED,4CAAgB,GAAhB,UAAiB,MAAc,EAAE,KAAa,EAAE,IAAa,EAAE,IAAa;QAC1E,OAAO,IAAI,CAAC,MAAO,CAAC,gBAAgB,CAAC;YACnC,MAAM,QAAA;YACN,KAAK,OAAA;YACL,IAAI,MAAA;YACJ,IAAI,MAAA;SACL,CAAC,CAAC,IAAI,CAAC,UAAA,GAAG;YACT,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACjC,CAAC,CAAC,CAAC;IACL,CAAC;IACH,wBAAC;AAAD,CAAC,AAlCD,CAAuC,6BAAa,GAkCnD;AAlCY,8CAAiB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ConduitModule } from '../../classes/ConduitModule';
|
|
2
|
-
import { RouterDefinition, SocketData } from '../../protoUtils/
|
|
2
|
+
import { RouterDefinition, SocketData } from '../../protoUtils/router';
|
|
3
3
|
export declare class Router extends ConduitModule<typeof RouterDefinition> {
|
|
4
4
|
readonly moduleName: string;
|
|
5
5
|
constructor(moduleName: string, url: string, grpcToken?: string);
|
|
6
6
|
register(paths: any[], protoFile: string, url?: string): Promise<any>;
|
|
7
|
-
socketPush(data: SocketData): Promise<import("../../protoUtils/
|
|
7
|
+
socketPush(data: SocketData): Promise<import("../../protoUtils/router").Empty>;
|
|
8
8
|
}
|
|
@@ -17,13 +17,13 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.Router = void 0;
|
|
19
19
|
var ConduitModule_1 = require("../../classes/ConduitModule");
|
|
20
|
-
var
|
|
20
|
+
var router_1 = require("../../protoUtils/router");
|
|
21
21
|
var Router = /** @class */ (function (_super) {
|
|
22
22
|
__extends(Router, _super);
|
|
23
23
|
function Router(moduleName, url, grpcToken) {
|
|
24
24
|
var _this = _super.call(this, moduleName, 'router', url, grpcToken) || this;
|
|
25
25
|
_this.moduleName = moduleName;
|
|
26
|
-
_this.initializeClient(
|
|
26
|
+
_this.initializeClient(router_1.RouterDefinition);
|
|
27
27
|
return _this;
|
|
28
28
|
}
|
|
29
29
|
Router.prototype.register = function (paths, protoFile, url) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/router/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,6DAA4D;AAC5D,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/router/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,6DAA4D;AAC5D,kDAAuE;AAEvE;IAA4B,0BAAsC;IAChE,gBAAqB,UAAkB,EAAE,GAAW,EAAE,SAAkB;QAAxE,YACE,kBAAM,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,SAAS,CAAC,SAE5C;QAHoB,gBAAU,GAAV,UAAU,CAAQ;QAErC,KAAI,CAAC,gBAAgB,CAAC,yBAAgB,CAAC,CAAC;;IAC1C,CAAC;IAED,yBAAQ,GAAR,UAAS,KAAY,EAAE,SAAiB,EAAE,GAAY;QACpD,IAAM,OAAO,GAAG;YACd,MAAM,EAAE,KAAK;YACb,SAAS,EAAE,SAAS;YACpB,SAAS,EAAE,GAAG;SACf,CAAC;QACF,OAAO,IAAI,CAAC,MAAO,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACpD,CAAC;IAED,2BAAU,GAAV,UAAW,IAAgB;QACzB,OAAO,IAAI,CAAC,MAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;IACH,aAAC;AAAD,CAAC,AAlBD,CAA4B,6BAAa,GAkBxC;AAlBY,wBAAM"}
|
|
@@ -3,7 +3,6 @@ import { SendSmsResponse, SendVerificationCodeResponse, SmsDefinition, VerifyRes
|
|
|
3
3
|
export declare class SMS extends ConduitModule<typeof SmsDefinition> {
|
|
4
4
|
private readonly moduleName;
|
|
5
5
|
constructor(moduleName: string, url: string, grpcToken?: string);
|
|
6
|
-
setConfig(newConfig: any): Promise<any>;
|
|
7
6
|
sendSms(to: string, message: string): Promise<SendSmsResponse>;
|
|
8
7
|
sendVerificationCode(to: string): Promise<SendVerificationCodeResponse>;
|
|
9
8
|
verify(verificationSid: string, code: string): Promise<VerifyResponse>;
|
|
@@ -26,11 +26,6 @@ var SMS = /** @class */ (function (_super) {
|
|
|
26
26
|
_this.initializeClient(sms_1.SmsDefinition);
|
|
27
27
|
return _this;
|
|
28
28
|
}
|
|
29
|
-
SMS.prototype.setConfig = function (newConfig) {
|
|
30
|
-
return this.client.setConfig({ newConfig: JSON.stringify(newConfig) }).then(function (res) {
|
|
31
|
-
return JSON.parse(res.updatedConfig);
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
29
|
SMS.prototype.sendSms = function (to, message) {
|
|
35
30
|
return this.client.sendSms({ to: to, message: message });
|
|
36
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/sms/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,6DAA4D;AAC5D,4CAK8B;AAE9B;IAAyB,uBAAmC;IAC1D,aAA6B,UAAkB,EAAE,GAAW,EAAE,SAAkB;QAAhF,YACE,kBAAM,UAAU,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,CAAC,SAEzC;QAH4B,gBAAU,GAAV,UAAU,CAAQ;QAE7C,KAAI,CAAC,gBAAgB,CAAC,mBAAa,CAAC,CAAC;;IACvC,CAAC;IAED,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/sms/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,6DAA4D;AAC5D,4CAK8B;AAE9B;IAAyB,uBAAmC;IAC1D,aAA6B,UAAkB,EAAE,GAAW,EAAE,SAAkB;QAAhF,YACE,kBAAM,UAAU,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,CAAC,SAEzC;QAH4B,gBAAU,GAAV,UAAU,CAAQ;QAE7C,KAAI,CAAC,gBAAgB,CAAC,mBAAa,CAAC,CAAC;;IACvC,CAAC;IAED,qBAAO,GAAP,UAAQ,EAAU,EAAE,OAAe;QACjC,OAAO,IAAI,CAAC,MAAO,CAAC,OAAO,CAAC,EAAE,EAAE,IAAA,EAAE,OAAO,SAAA,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,kCAAoB,GAApB,UAAqB,EAAU;QAC7B,OAAO,IAAI,CAAC,MAAO,CAAC,oBAAoB,CAAC,EAAE,EAAE,IAAA,EAAE,CAAC,CAAC;IACnD,CAAC;IAED,oBAAM,GAAN,UAAO,eAAuB,EAAE,IAAY;QAC1C,OAAO,IAAI,CAAC,MAAO,CAAC,MAAM,CAAC,EAAE,eAAe,iBAAA,EAAE,IAAI,MAAA,EAAE,CAAC,CAAC;IACxD,CAAC;IACH,UAAC;AAAD,CAAC,AAjBD,CAAyB,6BAAa,GAiBrC;AAjBY,kBAAG"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ConduitModule } from '../../classes/ConduitModule';
|
|
2
|
-
import { FileResponse, GetFileDataResponse,
|
|
2
|
+
import { FileResponse, GetFileDataResponse, StorageDefinition } from '../../protoUtils/storage';
|
|
3
3
|
export declare class Storage extends ConduitModule<typeof StorageDefinition> {
|
|
4
4
|
private readonly moduleName;
|
|
5
5
|
constructor(moduleName: string, url: string, grpcToken?: string);
|
|
6
|
-
setConfig(newConfig: any): Promise<SetConfigResponse>;
|
|
7
6
|
getFile(id: string): Promise<FileResponse>;
|
|
8
7
|
getFileData(id: string): Promise<GetFileDataResponse>;
|
|
9
8
|
createFile(name: string, mimeType: string, data: string, folder: string, isPublic?: boolean): Promise<FileResponse>;
|
|
@@ -26,11 +26,6 @@ var Storage = /** @class */ (function (_super) {
|
|
|
26
26
|
_this.initializeClient(storage_1.StorageDefinition);
|
|
27
27
|
return _this;
|
|
28
28
|
}
|
|
29
|
-
Storage.prototype.setConfig = function (newConfig) {
|
|
30
|
-
return this.client.setConfig({ newConfig: JSON.stringify(newConfig) }).then(function (res) {
|
|
31
|
-
return JSON.parse(res.updatedConfig);
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
29
|
Storage.prototype.getFile = function (id) {
|
|
35
30
|
return this.client.getFile({ id: id });
|
|
36
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/storage/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,6DAA4D;AAC5D,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/storage/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,6DAA4D;AAC5D,oDAIkC;AAElC;IAA6B,2BAAuC;IAClE,iBAA6B,UAAkB,EAAE,GAAW,EAAE,SAAkB;QAAhF,YACE,kBAAM,UAAU,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,CAAC,SAE7C;QAH4B,gBAAU,GAAV,UAAU,CAAQ;QAE7C,KAAI,CAAC,gBAAgB,CAAC,2BAAiB,CAAC,CAAC;;IAC3C,CAAC;IAED,yBAAO,GAAP,UAAQ,EAAU;QAChB,OAAO,IAAI,CAAC,MAAO,CAAC,OAAO,CAAC,EAAE,EAAE,IAAA,EAAE,CAAC,CAAC;IACtC,CAAC;IAED,6BAAW,GAAX,UAAY,EAAU;QACpB,OAAO,IAAI,CAAC,MAAO,CAAC,WAAW,CAAC,EAAE,EAAE,IAAA,EAAE,CAAC,CAAC;IAC1C,CAAC;IAED,4BAAU,GAAV,UACE,IAAY,EACZ,QAAgB,EAChB,IAAY,EACZ,MAAc,EACd,QAAyB;QAAzB,yBAAA,EAAA,gBAAyB;QAEzB,OAAO,IAAI,CAAC,MAAO,CAAC,UAAU,CAAC,EAAE,IAAI,MAAA,EAAE,QAAQ,UAAA,EAAE,IAAI,MAAA,EAAE,MAAM,QAAA,EAAE,QAAQ,UAAA,EAAE,CAAC,CAAC;IAC7E,CAAC;IACH,cAAC;AAAD,CAAC,AAvBD,CAA6B,6BAAa,GAuBzC;AAvBY,0BAAO"}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import * as _m0 from 'protobufjs/minimal';
|
|
2
2
|
export declare const protobufPackage = "conduit.core";
|
|
3
|
-
export interface SocketData {
|
|
4
|
-
event: string;
|
|
5
|
-
data: string;
|
|
6
|
-
receivers: string[];
|
|
7
|
-
rooms: string[];
|
|
8
|
-
}
|
|
9
3
|
export interface RegisterAdminRouteRequest {
|
|
10
4
|
routes: RegisterAdminRouteRequest_PathDefinition[];
|
|
11
5
|
protoFile: string;
|
|
@@ -33,33 +27,6 @@ export interface RegisterAdminRouteRequest_ConduitRouteReturnDefinition {
|
|
|
33
27
|
name: string;
|
|
34
28
|
fields: string;
|
|
35
29
|
}
|
|
36
|
-
export interface RegisterConduitRouteRequest {
|
|
37
|
-
routes: RegisterConduitRouteRequest_PathDefinition[];
|
|
38
|
-
protoFile: string;
|
|
39
|
-
routerUrl?: string | undefined;
|
|
40
|
-
}
|
|
41
|
-
export interface RegisterConduitRouteRequest_PathDefinition {
|
|
42
|
-
options: RegisterConduitRouteRequest_ConduitRouteOptions | undefined;
|
|
43
|
-
returns?: RegisterConduitRouteRequest_ConduitRouteReturnDefinition | undefined;
|
|
44
|
-
grpcFunction?: string | undefined;
|
|
45
|
-
isMiddleware?: boolean | undefined;
|
|
46
|
-
events?: string | undefined;
|
|
47
|
-
}
|
|
48
|
-
export interface RegisterConduitRouteRequest_ConduitRouteOptions {
|
|
49
|
-
queryParams?: string | undefined;
|
|
50
|
-
bodyParams?: string | undefined;
|
|
51
|
-
urlParams?: string | undefined;
|
|
52
|
-
action?: string | undefined;
|
|
53
|
-
path: string;
|
|
54
|
-
name?: string | undefined;
|
|
55
|
-
description?: string | undefined;
|
|
56
|
-
middlewares: string[];
|
|
57
|
-
cacheControl?: string | undefined;
|
|
58
|
-
}
|
|
59
|
-
export interface RegisterConduitRouteRequest_ConduitRouteReturnDefinition {
|
|
60
|
-
name: string;
|
|
61
|
-
fields: string;
|
|
62
|
-
}
|
|
63
30
|
export interface Empty {
|
|
64
31
|
}
|
|
65
32
|
export interface ModuleHealthRequest {
|
|
@@ -109,22 +76,13 @@ export interface GetConfigResponse {
|
|
|
109
76
|
}
|
|
110
77
|
export interface UpdateRequest {
|
|
111
78
|
config: string;
|
|
112
|
-
moduleName: string;
|
|
113
79
|
}
|
|
114
80
|
export interface UpdateResponse {
|
|
115
81
|
result: string;
|
|
116
82
|
}
|
|
117
83
|
export interface RegisterModulesConfigRequest {
|
|
118
|
-
moduleName: string;
|
|
119
84
|
newModulesConfigSchema: string;
|
|
120
85
|
}
|
|
121
|
-
export declare const SocketData: {
|
|
122
|
-
encode(message: SocketData, writer?: _m0.Writer): _m0.Writer;
|
|
123
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SocketData;
|
|
124
|
-
fromJSON(object: any): SocketData;
|
|
125
|
-
toJSON(message: SocketData): unknown;
|
|
126
|
-
fromPartial(object: DeepPartial<SocketData>): SocketData;
|
|
127
|
-
};
|
|
128
86
|
export declare const RegisterAdminRouteRequest: {
|
|
129
87
|
encode(message: RegisterAdminRouteRequest, writer?: _m0.Writer): _m0.Writer;
|
|
130
88
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): RegisterAdminRouteRequest;
|
|
@@ -153,34 +111,6 @@ export declare const RegisterAdminRouteRequest_ConduitRouteReturnDefinition: {
|
|
|
153
111
|
toJSON(message: RegisterAdminRouteRequest_ConduitRouteReturnDefinition): unknown;
|
|
154
112
|
fromPartial(object: DeepPartial<RegisterAdminRouteRequest_ConduitRouteReturnDefinition>): RegisterAdminRouteRequest_ConduitRouteReturnDefinition;
|
|
155
113
|
};
|
|
156
|
-
export declare const RegisterConduitRouteRequest: {
|
|
157
|
-
encode(message: RegisterConduitRouteRequest, writer?: _m0.Writer): _m0.Writer;
|
|
158
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): RegisterConduitRouteRequest;
|
|
159
|
-
fromJSON(object: any): RegisterConduitRouteRequest;
|
|
160
|
-
toJSON(message: RegisterConduitRouteRequest): unknown;
|
|
161
|
-
fromPartial(object: DeepPartial<RegisterConduitRouteRequest>): RegisterConduitRouteRequest;
|
|
162
|
-
};
|
|
163
|
-
export declare const RegisterConduitRouteRequest_PathDefinition: {
|
|
164
|
-
encode(message: RegisterConduitRouteRequest_PathDefinition, writer?: _m0.Writer): _m0.Writer;
|
|
165
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): RegisterConduitRouteRequest_PathDefinition;
|
|
166
|
-
fromJSON(object: any): RegisterConduitRouteRequest_PathDefinition;
|
|
167
|
-
toJSON(message: RegisterConduitRouteRequest_PathDefinition): unknown;
|
|
168
|
-
fromPartial(object: DeepPartial<RegisterConduitRouteRequest_PathDefinition>): RegisterConduitRouteRequest_PathDefinition;
|
|
169
|
-
};
|
|
170
|
-
export declare const RegisterConduitRouteRequest_ConduitRouteOptions: {
|
|
171
|
-
encode(message: RegisterConduitRouteRequest_ConduitRouteOptions, writer?: _m0.Writer): _m0.Writer;
|
|
172
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): RegisterConduitRouteRequest_ConduitRouteOptions;
|
|
173
|
-
fromJSON(object: any): RegisterConduitRouteRequest_ConduitRouteOptions;
|
|
174
|
-
toJSON(message: RegisterConduitRouteRequest_ConduitRouteOptions): unknown;
|
|
175
|
-
fromPartial(object: DeepPartial<RegisterConduitRouteRequest_ConduitRouteOptions>): RegisterConduitRouteRequest_ConduitRouteOptions;
|
|
176
|
-
};
|
|
177
|
-
export declare const RegisterConduitRouteRequest_ConduitRouteReturnDefinition: {
|
|
178
|
-
encode(message: RegisterConduitRouteRequest_ConduitRouteReturnDefinition, writer?: _m0.Writer): _m0.Writer;
|
|
179
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): RegisterConduitRouteRequest_ConduitRouteReturnDefinition;
|
|
180
|
-
fromJSON(object: any): RegisterConduitRouteRequest_ConduitRouteReturnDefinition;
|
|
181
|
-
toJSON(message: RegisterConduitRouteRequest_ConduitRouteReturnDefinition): unknown;
|
|
182
|
-
fromPartial(object: DeepPartial<RegisterConduitRouteRequest_ConduitRouteReturnDefinition>): RegisterConduitRouteRequest_ConduitRouteReturnDefinition;
|
|
183
|
-
};
|
|
184
114
|
export declare const Empty: {
|
|
185
115
|
encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
|
|
186
116
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
|
|
@@ -364,6 +294,26 @@ export declare const ConfigDefinition: {
|
|
|
364
294
|
readonly responseStream: false;
|
|
365
295
|
readonly options: {};
|
|
366
296
|
};
|
|
297
|
+
readonly configure: {
|
|
298
|
+
readonly name: "Configure";
|
|
299
|
+
readonly requestType: {
|
|
300
|
+
encode(message: UpdateRequest, writer?: _m0.Writer): _m0.Writer;
|
|
301
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UpdateRequest;
|
|
302
|
+
fromJSON(object: any): UpdateRequest;
|
|
303
|
+
toJSON(message: UpdateRequest): unknown;
|
|
304
|
+
fromPartial(object: DeepPartial<UpdateRequest>): UpdateRequest;
|
|
305
|
+
};
|
|
306
|
+
readonly requestStream: false;
|
|
307
|
+
readonly responseType: {
|
|
308
|
+
encode(message: UpdateResponse, writer?: _m0.Writer): _m0.Writer;
|
|
309
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UpdateResponse;
|
|
310
|
+
fromJSON(object: any): UpdateResponse;
|
|
311
|
+
toJSON(message: UpdateResponse): unknown;
|
|
312
|
+
fromPartial(object: DeepPartial<UpdateResponse>): UpdateResponse;
|
|
313
|
+
};
|
|
314
|
+
readonly responseStream: false;
|
|
315
|
+
readonly options: {};
|
|
316
|
+
};
|
|
367
317
|
readonly moduleExists: {
|
|
368
318
|
readonly name: "ModuleExists";
|
|
369
319
|
readonly requestType: {
|
|
@@ -553,53 +503,6 @@ export declare const AdminDefinition: {
|
|
|
553
503
|
};
|
|
554
504
|
};
|
|
555
505
|
};
|
|
556
|
-
export declare type RouterDefinition = typeof RouterDefinition;
|
|
557
|
-
export declare const RouterDefinition: {
|
|
558
|
-
readonly name: "Router";
|
|
559
|
-
readonly fullName: "conduit.core.Router";
|
|
560
|
-
readonly methods: {
|
|
561
|
-
readonly registerConduitRoute: {
|
|
562
|
-
readonly name: "RegisterConduitRoute";
|
|
563
|
-
readonly requestType: {
|
|
564
|
-
encode(message: RegisterConduitRouteRequest, writer?: _m0.Writer): _m0.Writer;
|
|
565
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): RegisterConduitRouteRequest;
|
|
566
|
-
fromJSON(object: any): RegisterConduitRouteRequest;
|
|
567
|
-
toJSON(message: RegisterConduitRouteRequest): unknown;
|
|
568
|
-
fromPartial(object: DeepPartial<RegisterConduitRouteRequest>): RegisterConduitRouteRequest;
|
|
569
|
-
};
|
|
570
|
-
readonly requestStream: false;
|
|
571
|
-
readonly responseType: {
|
|
572
|
-
encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
|
|
573
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
|
|
574
|
-
fromJSON(_: any): Empty;
|
|
575
|
-
toJSON(_: Empty): unknown;
|
|
576
|
-
fromPartial(_: DeepPartial<Empty>): Empty;
|
|
577
|
-
};
|
|
578
|
-
readonly responseStream: false;
|
|
579
|
-
readonly options: {};
|
|
580
|
-
};
|
|
581
|
-
readonly socketPush: {
|
|
582
|
-
readonly name: "SocketPush";
|
|
583
|
-
readonly requestType: {
|
|
584
|
-
encode(message: SocketData, writer?: _m0.Writer): _m0.Writer;
|
|
585
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SocketData;
|
|
586
|
-
fromJSON(object: any): SocketData;
|
|
587
|
-
toJSON(message: SocketData): unknown;
|
|
588
|
-
fromPartial(object: DeepPartial<SocketData>): SocketData;
|
|
589
|
-
};
|
|
590
|
-
readonly requestStream: false;
|
|
591
|
-
readonly responseType: {
|
|
592
|
-
encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
|
|
593
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
|
|
594
|
-
fromJSON(_: any): Empty;
|
|
595
|
-
toJSON(_: Empty): unknown;
|
|
596
|
-
fromPartial(_: DeepPartial<Empty>): Empty;
|
|
597
|
-
};
|
|
598
|
-
readonly responseStream: false;
|
|
599
|
-
readonly options: {};
|
|
600
|
-
};
|
|
601
|
-
};
|
|
602
|
-
};
|
|
603
506
|
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
604
507
|
export declare type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
605
508
|
[K in keyof T]?: DeepPartial<T[K]>;
|