@nsshunt/stsappframework 3.1.213 → 3.1.215

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.
Files changed (379) hide show
  1. package/dist/commonTypes.js.map +1 -1
  2. package/dist/index.js +1 -7
  3. package/dist/index.js.map +1 -1
  4. package/dist/masterprocessbase.js +33 -46
  5. package/dist/masterprocessbase.js.map +1 -1
  6. package/dist/processbase.js +29 -0
  7. package/dist/processbase.js.map +1 -1
  8. package/dist/serverprocessbase.js +51 -66
  9. package/dist/serverprocessbase.js.map +1 -1
  10. package/dist/stscontrollerbase.js.map +1 -1
  11. package/dist/{server.js → stsexpressserver.js} +1 -1
  12. package/dist/stsexpressserver.js.map +1 -0
  13. package/dist/stslatencycontroller.js.map +1 -1
  14. package/dist/stslatencyroute.js.map +1 -1
  15. package/dist/stsrouterbase.js.map +1 -1
  16. package/dist/vitesttesting/appSingleWSS.js +2 -1
  17. package/dist/vitesttesting/appSingleWSS.js.map +1 -1
  18. package/dist/workerprocessbase.js.map +1 -1
  19. package/package.json +5 -6
  20. package/src/commonTypes.ts +2 -0
  21. package/src/index.ts +1 -7
  22. package/src/masterprocessbase.ts +42 -55
  23. package/src/processbase.ts +32 -1
  24. package/src/serverprocessbase.ts +55 -72
  25. package/src/{socketIoServerHelper.ts → socketIoServerHelper.ts_bak} +1 -2
  26. package/src/stscontrollerbase.ts +1 -2
  27. package/src/{server.ts → stsexpressserver.ts} +1 -2
  28. package/src/stslatencycontroller.ts +1 -2
  29. package/src/stslatencyroute.ts +1 -2
  30. package/src/stsrouterbase.ts +1 -2
  31. package/src/vitesttesting/appSingleWSS.ts +2 -1
  32. package/src/workerprocessbase.ts +1 -2
  33. package/types/commonTypes.d.ts +0 -15
  34. package/types/commonTypes.d.ts.map +1 -1
  35. package/types/index.d.ts +0 -7
  36. package/types/index.d.ts.map +1 -1
  37. package/types/masterprocessbase.d.ts.map +1 -1
  38. package/types/processbase.d.ts +3 -0
  39. package/types/processbase.d.ts.map +1 -1
  40. package/types/serverprocessbase.d.ts +3 -1
  41. package/types/serverprocessbase.d.ts.map +1 -1
  42. package/types/stscontrollerbase.d.ts.map +1 -1
  43. package/types/{server.d.ts → stsexpressserver.d.ts} +1 -1
  44. package/types/stsexpressserver.d.ts.map +1 -0
  45. package/types/stslatencycontroller.d.ts.map +1 -1
  46. package/types/stslatencyroute.d.ts.map +1 -1
  47. package/types/stsrouterbase.d.ts.map +1 -1
  48. package/types/vitesttesting/appSingleWSS.d.ts.map +1 -1
  49. package/types/workerprocessbase.d.ts.map +1 -1
  50. package/dist/authDefs.js +0 -33
  51. package/dist/authDefs.js.map +0 -1
  52. package/dist/gRPC/ststest/protos/auth_sample.js +0 -3
  53. package/dist/gRPC/ststest/protos/auth_sample.js.map +0 -1
  54. package/dist/gRPC/ststest/protos/echo.js +0 -3
  55. package/dist/gRPC/ststest/protos/echo.js.map +0 -1
  56. package/dist/gRPC/ststest/protos/grpc/examples/echo/Echo.js +0 -4
  57. package/dist/gRPC/ststest/protos/grpc/examples/echo/Echo.js.map +0 -1
  58. package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.js +0 -4
  59. package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.js.map +0 -1
  60. package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.js +0 -4
  61. package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.js.map +0 -1
  62. package/dist/gRPC/ststest/protos/grpc/testing/Request.js +0 -4
  63. package/dist/gRPC/ststest/protos/grpc/testing/Request.js.map +0 -1
  64. package/dist/gRPC/ststest/protos/grpc/testing/Response.js +0 -4
  65. package/dist/gRPC/ststest/protos/grpc/testing/Response.js.map +0 -1
  66. package/dist/gRPC/ststest/protos/grpc/testing/TestService.js +0 -4
  67. package/dist/gRPC/ststest/protos/grpc/testing/TestService.js.map +0 -1
  68. package/dist/gRPC/ststest/protos/hellostreamingworld/HelloReply.js +0 -4
  69. package/dist/gRPC/ststest/protos/hellostreamingworld/HelloReply.js.map +0 -1
  70. package/dist/gRPC/ststest/protos/hellostreamingworld/HelloRequest.js +0 -4
  71. package/dist/gRPC/ststest/protos/hellostreamingworld/HelloRequest.js.map +0 -1
  72. package/dist/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.js +0 -4
  73. package/dist/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.js.map +0 -1
  74. package/dist/gRPC/ststest/protos/hellostreamingworld.js +0 -3
  75. package/dist/gRPC/ststest/protos/hellostreamingworld.js.map +0 -1
  76. package/dist/gRPC/ststest/protos/helloworld/Greeter.js +0 -4
  77. package/dist/gRPC/ststest/protos/helloworld/Greeter.js.map +0 -1
  78. package/dist/gRPC/ststest/protos/helloworld/HelloReply.js +0 -4
  79. package/dist/gRPC/ststest/protos/helloworld/HelloReply.js.map +0 -1
  80. package/dist/gRPC/ststest/protos/helloworld/HelloRequest.js +0 -4
  81. package/dist/gRPC/ststest/protos/helloworld/HelloRequest.js.map +0 -1
  82. package/dist/gRPC/ststest/protos/helloworld.js +0 -3
  83. package/dist/gRPC/ststest/protos/helloworld.js.map +0 -1
  84. package/dist/gRPC/ststest/protos/keyvaluestore/KeyValueStore.js +0 -4
  85. package/dist/gRPC/ststest/protos/keyvaluestore/KeyValueStore.js.map +0 -1
  86. package/dist/gRPC/ststest/protos/keyvaluestore/Request.js +0 -4
  87. package/dist/gRPC/ststest/protos/keyvaluestore/Request.js.map +0 -1
  88. package/dist/gRPC/ststest/protos/keyvaluestore/Response.js +0 -4
  89. package/dist/gRPC/ststest/protos/keyvaluestore/Response.js.map +0 -1
  90. package/dist/gRPC/ststest/protos/keyvaluestore.js +0 -3
  91. package/dist/gRPC/ststest/protos/keyvaluestore.js.map +0 -1
  92. package/dist/gRPC/ststest/protos/route_guide.js +0 -3
  93. package/dist/gRPC/ststest/protos/route_guide.js.map +0 -1
  94. package/dist/gRPC/ststest/protos/routeguide/Feature.js +0 -4
  95. package/dist/gRPC/ststest/protos/routeguide/Feature.js.map +0 -1
  96. package/dist/gRPC/ststest/protos/routeguide/Point.js +0 -4
  97. package/dist/gRPC/ststest/protos/routeguide/Point.js.map +0 -1
  98. package/dist/gRPC/ststest/protos/routeguide/Rectangle.js +0 -4
  99. package/dist/gRPC/ststest/protos/routeguide/Rectangle.js.map +0 -1
  100. package/dist/gRPC/ststest/protos/routeguide/RouteGuide.js +0 -4
  101. package/dist/gRPC/ststest/protos/routeguide/RouteGuide.js.map +0 -1
  102. package/dist/gRPC/ststest/protos/routeguide/RouteNote.js +0 -4
  103. package/dist/gRPC/ststest/protos/routeguide/RouteNote.js.map +0 -1
  104. package/dist/gRPC/ststest/protos/routeguide/RouteSummary.js +0 -4
  105. package/dist/gRPC/ststest/protos/routeguide/RouteSummary.js.map +0 -1
  106. package/dist/gRPC/ststest/src/commonTypes.js +0 -3
  107. package/dist/gRPC/ststest/src/commonTypes.js.map +0 -1
  108. package/dist/gRPC/ststest/src/greeter_client.js +0 -67
  109. package/dist/gRPC/ststest/src/greeter_client.js.map +0 -1
  110. package/dist/gRPC/ststest/src/greeter_server.js +0 -78
  111. package/dist/gRPC/ststest/src/greeter_server.js.map +0 -1
  112. package/dist/gRPC/ststest/src/route_guide_client.js +0 -258
  113. package/dist/gRPC/ststest/src/route_guide_client.js.map +0 -1
  114. package/dist/gRPC/ststest/src/route_guide_server.js +0 -237
  115. package/dist/gRPC/ststest/src/route_guide_server.js.map +0 -1
  116. package/dist/gRPC/ststest/src/route_guide_server2.js +0 -205
  117. package/dist/gRPC/ststest/src/route_guide_server2.js.map +0 -1
  118. package/dist/influxdb/influxDBManager.js +0 -304
  119. package/dist/influxdb/influxDBManager.js.map +0 -1
  120. package/dist/influxdb/influxDBManagerAgent.js +0 -14
  121. package/dist/influxdb/influxDBManagerAgent.js.map +0 -1
  122. package/dist/influxdb/influxDBManagerBase.js +0 -100
  123. package/dist/influxdb/influxDBManagerBase.js.map +0 -1
  124. package/dist/influxdb/influxDBManagerLambda.js +0 -17
  125. package/dist/influxdb/influxDBManagerLambda.js.map +0 -1
  126. package/dist/influxdb/influxDBManagerService.js +0 -14
  127. package/dist/influxdb/influxDBManagerService.js.map +0 -1
  128. package/dist/publishInstrumentsWebWorker.js +0 -159
  129. package/dist/publishInstrumentsWebWorker.js.map +0 -1
  130. package/dist/server.js.map +0 -1
  131. package/dist/socketIoServerHelper.js +0 -125
  132. package/dist/socketIoServerHelper.js.map +0 -1
  133. package/dist/tcpclient/app.js +0 -23
  134. package/dist/tcpclient/app.js.map +0 -1
  135. package/dist/tcpclient/app2.js +0 -57
  136. package/dist/tcpclient/app2.js.map +0 -1
  137. package/dist/tcpserver/app.js +0 -16
  138. package/dist/tcpserver/app.js.map +0 -1
  139. package/dist/tcpserver/appConfig.js +0 -83
  140. package/dist/tcpserver/appConfig.js.map +0 -1
  141. package/dist/tcpserver/appmaster.js +0 -446
  142. package/dist/tcpserver/appmaster.js.map +0 -1
  143. package/dist/testertesting/app.js +0 -284
  144. package/dist/testertesting/app.js.map +0 -1
  145. package/dist/testertesting/commonTypes.js +0 -47
  146. package/dist/testertesting/commonTypes.js.map +0 -1
  147. package/dist/testertesting/telemetryProcessor.js +0 -111
  148. package/dist/testertesting/telemetryProcessor.js.map +0 -1
  149. package/dist/testertesting/testCase01.js +0 -169
  150. package/dist/testertesting/testCase01.js.map +0 -1
  151. package/dist/testertesting/workerInstance.js +0 -263
  152. package/dist/testertesting/workerInstance.js.map +0 -1
  153. package/dist/testertesting/workerManager.js +0 -450
  154. package/dist/testertesting/workerManager.js.map +0 -1
  155. package/dist/testertesting/workerWorkerTestRunner01.js +0 -35
  156. package/dist/testertesting/workerWorkerTestRunner01.js.map +0 -1
  157. package/dist/testing/app.js +0 -18
  158. package/dist/testing/app.js.map +0 -1
  159. package/dist/testing/appConfig.js +0 -93
  160. package/dist/testing/appConfig.js.map +0 -1
  161. package/dist/testing/appTinyEmitter.js +0 -37
  162. package/dist/testing/appTinyEmitter.js.map +0 -1
  163. package/dist/testing/appWorkerWSS.js +0 -151
  164. package/dist/testing/appWorkerWSS.js.map +0 -1
  165. package/dist/testing/appredistest.js +0 -239
  166. package/dist/testing/appredistest.js.map +0 -1
  167. package/dist/testing/appsolo.js +0 -67
  168. package/dist/testing/appsolo.js.map +0 -1
  169. package/dist/testing/promiseTesting.js +0 -77
  170. package/dist/testing/promiseTesting.js.map +0 -1
  171. package/dist/testing/server.js +0 -15
  172. package/dist/testing/server.js.map +0 -1
  173. package/dist/testing/wsevents.js +0 -3
  174. package/dist/testing/wsevents.js.map +0 -1
  175. package/dist/webworkertesting/app.js +0 -44
  176. package/dist/webworkertesting/app.js.map +0 -1
  177. package/dist/webworkertesting/worker.js +0 -21
  178. package/dist/webworkertesting/worker.js.map +0 -1
  179. package/src/authDefs.ts +0 -37
  180. package/src/gRPC/ststest/protos/BUILD +0 -82
  181. package/src/gRPC/ststest/protos/README.md +0 -8
  182. package/src/gRPC/ststest/protos/auth_sample.proto +0 -42
  183. package/src/gRPC/ststest/protos/auth_sample.ts +0 -20
  184. package/src/gRPC/ststest/protos/echo.proto +0 -45
  185. package/src/gRPC/ststest/protos/echo.ts +0 -22
  186. package/src/gRPC/ststest/protos/grpc/examples/echo/Echo.ts +0 -55
  187. package/src/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.ts +0 -10
  188. package/src/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.ts +0 -10
  189. package/src/gRPC/ststest/protos/grpc/testing/Request.ts +0 -12
  190. package/src/gRPC/ststest/protos/grpc/testing/Response.ts +0 -12
  191. package/src/gRPC/ststest/protos/grpc/testing/TestService.ts +0 -27
  192. package/src/gRPC/ststest/protos/hellostreamingworld/HelloReply.ts +0 -10
  193. package/src/gRPC/ststest/protos/hellostreamingworld/HelloRequest.ts +0 -12
  194. package/src/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.ts +0 -23
  195. package/src/gRPC/ststest/protos/hellostreamingworld.proto +0 -39
  196. package/src/gRPC/ststest/protos/hellostreamingworld.ts +0 -18
  197. package/src/gRPC/ststest/protos/helloworld/Greeter.ts +0 -35
  198. package/src/gRPC/ststest/protos/helloworld/HelloReply.ts +0 -10
  199. package/src/gRPC/ststest/protos/helloworld/HelloRequest.ts +0 -10
  200. package/src/gRPC/ststest/protos/helloworld.proto +0 -40
  201. package/src/gRPC/ststest/protos/helloworld.ts +0 -18
  202. package/src/gRPC/ststest/protos/keyvaluestore/KeyValueStore.ts +0 -23
  203. package/src/gRPC/ststest/protos/keyvaluestore/Request.ts +0 -10
  204. package/src/gRPC/ststest/protos/keyvaluestore/Response.ts +0 -10
  205. package/src/gRPC/ststest/protos/keyvaluestore.proto +0 -33
  206. package/src/gRPC/ststest/protos/keyvaluestore.ts +0 -18
  207. package/src/gRPC/ststest/protos/route_guide.proto +0 -111
  208. package/src/gRPC/ststest/protos/route_guide.ts +0 -21
  209. package/src/gRPC/ststest/protos/routeguide/Feature.ts +0 -13
  210. package/src/gRPC/ststest/protos/routeguide/Point.ts +0 -12
  211. package/src/gRPC/ststest/protos/routeguide/Rectangle.ts +0 -13
  212. package/src/gRPC/ststest/protos/routeguide/RouteGuide.ts +0 -58
  213. package/src/gRPC/ststest/protos/routeguide/RouteNote.ts +0 -13
  214. package/src/gRPC/ststest/protos/routeguide/RouteSummary.ts +0 -16
  215. package/src/gRPC/ststest/src/commonTypes.ts +0 -27
  216. package/src/gRPC/ststest/src/greeter_client.ts +0 -52
  217. package/src/gRPC/ststest/src/greeter_server.ts +0 -62
  218. package/src/gRPC/ststest/src/route_guide_client.ts +0 -266
  219. package/src/gRPC/ststest/src/route_guide_server.ts +0 -234
  220. package/src/gRPC/ststest/src/route_guide_server2.ts +0 -211
  221. package/src/influxdb/influxDBManager.ts +0 -334
  222. package/src/influxdb/influxDBManagerAgent.ts +0 -14
  223. package/src/influxdb/influxDBManagerBase.ts +0 -108
  224. package/src/influxdb/influxDBManagerLambda.ts +0 -17
  225. package/src/influxdb/influxDBManagerService.ts +0 -14
  226. package/src/publishInstrumentsWebWorker.ts +0 -157
  227. package/src/tcpclient/app.ts +0 -21
  228. package/src/tcpclient/app2.ts +0 -58
  229. package/src/tcpserver/app.ts +0 -11
  230. package/src/tcpserver/appConfig.ts +0 -99
  231. package/src/tcpserver/appmaster.ts +0 -503
  232. package/src/testertesting/app.ts +0 -349
  233. package/src/testertesting/commonTypes.ts +0 -236
  234. package/src/testertesting/telemetryProcessor.ts +0 -125
  235. package/src/testertesting/testCase01.ts +0 -207
  236. package/src/testertesting/workerInstance.ts +0 -297
  237. package/src/testertesting/workerManager.ts +0 -511
  238. package/src/testertesting/workerWorkerTestRunner01.ts +0 -34
  239. package/src/testing/app.ts +0 -14
  240. package/src/testing/appConfig.ts +0 -110
  241. package/src/testing/appTinyEmitter.ts +0 -57
  242. package/src/testing/appWorkerWSS.ts +0 -174
  243. package/src/testing/appredistest.ts +0 -304
  244. package/src/testing/appsolo.ts +0 -96
  245. package/src/testing/docker-compose.yml +0 -20
  246. package/src/testing/promiseTesting.ts +0 -86
  247. package/src/testing/server.ts +0 -17
  248. package/src/testing/wsevents.ts +0 -33
  249. package/src/webworkertesting/app.ts +0 -56
  250. package/src/webworkertesting/worker.ts +0 -24
  251. package/types/authDefs.d.ts +0 -29
  252. package/types/authDefs.d.ts.map +0 -1
  253. package/types/gRPC/ststest/protos/auth_sample.d.ts +0 -19
  254. package/types/gRPC/ststest/protos/auth_sample.d.ts.map +0 -1
  255. package/types/gRPC/ststest/protos/echo.d.ts +0 -21
  256. package/types/gRPC/ststest/protos/echo.d.ts.map +0 -1
  257. package/types/gRPC/ststest/protos/grpc/examples/echo/Echo.d.ts +0 -43
  258. package/types/gRPC/ststest/protos/grpc/examples/echo/Echo.d.ts.map +0 -1
  259. package/types/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.d.ts +0 -7
  260. package/types/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.d.ts.map +0 -1
  261. package/types/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.d.ts +0 -7
  262. package/types/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.d.ts.map +0 -1
  263. package/types/gRPC/ststest/protos/grpc/testing/Request.d.ts +0 -9
  264. package/types/gRPC/ststest/protos/grpc/testing/Request.d.ts.map +0 -1
  265. package/types/gRPC/ststest/protos/grpc/testing/Response.d.ts +0 -9
  266. package/types/gRPC/ststest/protos/grpc/testing/Response.d.ts.map +0 -1
  267. package/types/gRPC/ststest/protos/grpc/testing/TestService.d.ts +0 -21
  268. package/types/gRPC/ststest/protos/grpc/testing/TestService.d.ts.map +0 -1
  269. package/types/gRPC/ststest/protos/hellostreamingworld/HelloReply.d.ts +0 -7
  270. package/types/gRPC/ststest/protos/hellostreamingworld/HelloReply.d.ts.map +0 -1
  271. package/types/gRPC/ststest/protos/hellostreamingworld/HelloRequest.d.ts +0 -9
  272. package/types/gRPC/ststest/protos/hellostreamingworld/HelloRequest.d.ts.map +0 -1
  273. package/types/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.d.ts +0 -17
  274. package/types/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.d.ts.map +0 -1
  275. package/types/gRPC/ststest/protos/hellostreamingworld.d.ts +0 -17
  276. package/types/gRPC/ststest/protos/hellostreamingworld.d.ts.map +0 -1
  277. package/types/gRPC/ststest/protos/helloworld/Greeter.d.ts +0 -27
  278. package/types/gRPC/ststest/protos/helloworld/Greeter.d.ts.map +0 -1
  279. package/types/gRPC/ststest/protos/helloworld/HelloReply.d.ts +0 -7
  280. package/types/gRPC/ststest/protos/helloworld/HelloReply.d.ts.map +0 -1
  281. package/types/gRPC/ststest/protos/helloworld/HelloRequest.d.ts +0 -7
  282. package/types/gRPC/ststest/protos/helloworld/HelloRequest.d.ts.map +0 -1
  283. package/types/gRPC/ststest/protos/helloworld.d.ts +0 -17
  284. package/types/gRPC/ststest/protos/helloworld.d.ts.map +0 -1
  285. package/types/gRPC/ststest/protos/keyvaluestore/KeyValueStore.d.ts +0 -17
  286. package/types/gRPC/ststest/protos/keyvaluestore/KeyValueStore.d.ts.map +0 -1
  287. package/types/gRPC/ststest/protos/keyvaluestore/Request.d.ts +0 -7
  288. package/types/gRPC/ststest/protos/keyvaluestore/Request.d.ts.map +0 -1
  289. package/types/gRPC/ststest/protos/keyvaluestore/Response.d.ts +0 -7
  290. package/types/gRPC/ststest/protos/keyvaluestore/Response.d.ts.map +0 -1
  291. package/types/gRPC/ststest/protos/keyvaluestore.d.ts +0 -17
  292. package/types/gRPC/ststest/protos/keyvaluestore.d.ts.map +0 -1
  293. package/types/gRPC/ststest/protos/route_guide.d.ts +0 -20
  294. package/types/gRPC/ststest/protos/route_guide.d.ts.map +0 -1
  295. package/types/gRPC/ststest/protos/routeguide/Feature.d.ts +0 -10
  296. package/types/gRPC/ststest/protos/routeguide/Feature.d.ts.map +0 -1
  297. package/types/gRPC/ststest/protos/routeguide/Point.d.ts +0 -9
  298. package/types/gRPC/ststest/protos/routeguide/Point.d.ts.map +0 -1
  299. package/types/gRPC/ststest/protos/routeguide/Rectangle.d.ts +0 -10
  300. package/types/gRPC/ststest/protos/routeguide/Rectangle.d.ts.map +0 -1
  301. package/types/gRPC/ststest/protos/routeguide/RouteGuide.d.ts +0 -46
  302. package/types/gRPC/ststest/protos/routeguide/RouteGuide.d.ts.map +0 -1
  303. package/types/gRPC/ststest/protos/routeguide/RouteNote.d.ts +0 -10
  304. package/types/gRPC/ststest/protos/routeguide/RouteNote.d.ts.map +0 -1
  305. package/types/gRPC/ststest/protos/routeguide/RouteSummary.d.ts +0 -13
  306. package/types/gRPC/ststest/protos/routeguide/RouteSummary.d.ts.map +0 -1
  307. package/types/gRPC/ststest/src/commonTypes.d.ts +0 -23
  308. package/types/gRPC/ststest/src/commonTypes.d.ts.map +0 -1
  309. package/types/gRPC/ststest/src/greeter_client.d.ts +0 -3
  310. package/types/gRPC/ststest/src/greeter_client.d.ts.map +0 -1
  311. package/types/gRPC/ststest/src/greeter_server.d.ts +0 -3
  312. package/types/gRPC/ststest/src/greeter_server.d.ts.map +0 -1
  313. package/types/gRPC/ststest/src/route_guide_client.d.ts +0 -3
  314. package/types/gRPC/ststest/src/route_guide_client.d.ts.map +0 -1
  315. package/types/gRPC/ststest/src/route_guide_server.d.ts +0 -3
  316. package/types/gRPC/ststest/src/route_guide_server.d.ts.map +0 -1
  317. package/types/gRPC/ststest/src/route_guide_server2.d.ts +0 -3
  318. package/types/gRPC/ststest/src/route_guide_server2.d.ts.map +0 -1
  319. package/types/influxdb/influxDBManager.d.ts +0 -21
  320. package/types/influxdb/influxDBManager.d.ts.map +0 -1
  321. package/types/influxdb/influxDBManagerAgent.d.ts +0 -8
  322. package/types/influxdb/influxDBManagerAgent.d.ts.map +0 -1
  323. package/types/influxdb/influxDBManagerBase.d.ts +0 -14
  324. package/types/influxdb/influxDBManagerBase.d.ts.map +0 -1
  325. package/types/influxdb/influxDBManagerLambda.d.ts +0 -11
  326. package/types/influxdb/influxDBManagerLambda.d.ts.map +0 -1
  327. package/types/influxdb/influxDBManagerService.d.ts +0 -8
  328. package/types/influxdb/influxDBManagerService.d.ts.map +0 -1
  329. package/types/publishInstrumentsWebWorker.d.ts +0 -1
  330. package/types/publishInstrumentsWebWorker.d.ts.map +0 -1
  331. package/types/server.d.ts.map +0 -1
  332. package/types/socketIoServerHelper.d.ts +0 -20
  333. package/types/socketIoServerHelper.d.ts.map +0 -1
  334. package/types/tcpclient/app.d.ts +0 -2
  335. package/types/tcpclient/app.d.ts.map +0 -1
  336. package/types/tcpclient/app2.d.ts +0 -2
  337. package/types/tcpclient/app2.d.ts.map +0 -1
  338. package/types/tcpserver/app.d.ts +0 -2
  339. package/types/tcpserver/app.d.ts.map +0 -1
  340. package/types/tcpserver/appConfig.d.ts +0 -3
  341. package/types/tcpserver/appConfig.d.ts.map +0 -1
  342. package/types/tcpserver/appmaster.d.ts +0 -24
  343. package/types/tcpserver/appmaster.d.ts.map +0 -1
  344. package/types/testertesting/app.d.ts +0 -2
  345. package/types/testertesting/app.d.ts.map +0 -1
  346. package/types/testertesting/commonTypes.d.ts +0 -215
  347. package/types/testertesting/commonTypes.d.ts.map +0 -1
  348. package/types/testertesting/telemetryProcessor.d.ts +0 -6
  349. package/types/testertesting/telemetryProcessor.d.ts.map +0 -1
  350. package/types/testertesting/testCase01.d.ts +0 -20
  351. package/types/testertesting/testCase01.d.ts.map +0 -1
  352. package/types/testertesting/workerInstance.d.ts +0 -23
  353. package/types/testertesting/workerInstance.d.ts.map +0 -1
  354. package/types/testertesting/workerManager.d.ts +0 -16
  355. package/types/testertesting/workerManager.d.ts.map +0 -1
  356. package/types/testertesting/workerWorkerTestRunner01.d.ts +0 -7
  357. package/types/testertesting/workerWorkerTestRunner01.d.ts.map +0 -1
  358. package/types/testing/app.d.ts +0 -2
  359. package/types/testing/app.d.ts.map +0 -1
  360. package/types/testing/appConfig.d.ts +0 -3
  361. package/types/testing/appConfig.d.ts.map +0 -1
  362. package/types/testing/appTinyEmitter.d.ts +0 -2
  363. package/types/testing/appTinyEmitter.d.ts.map +0 -1
  364. package/types/testing/appWorkerWSS.d.ts +0 -26
  365. package/types/testing/appWorkerWSS.d.ts.map +0 -1
  366. package/types/testing/appredistest.d.ts +0 -4
  367. package/types/testing/appredistest.d.ts.map +0 -1
  368. package/types/testing/appsolo.d.ts +0 -3
  369. package/types/testing/appsolo.d.ts.map +0 -1
  370. package/types/testing/promiseTesting.d.ts +0 -4
  371. package/types/testing/promiseTesting.d.ts.map +0 -1
  372. package/types/testing/server.d.ts +0 -6
  373. package/types/testing/server.d.ts.map +0 -1
  374. package/types/testing/wsevents.d.ts +0 -18
  375. package/types/testing/wsevents.d.ts.map +0 -1
  376. package/types/webworkertesting/app.d.ts +0 -2
  377. package/types/webworkertesting/app.d.ts.map +0 -1
  378. package/types/webworkertesting/worker.d.ts +0 -2
  379. package/types/webworkertesting/worker.d.ts.map +0 -1
@@ -1,44 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- /* eslint @typescript-eslint/no-explicit-any: 0, @typescript-eslint/no-unused-vars: 0 */ // --> OFF
7
- const cluster_1 = __importDefault(require("cluster"));
8
- const worker_threads_1 = require("worker_threads");
9
- const LogInfoMessage = (message) => console.log(message);
10
- const LogErrorMessage = (message) => console.error(message);
11
- if (cluster_1.default.isPrimary) {
12
- LogInfoMessage(`Primary ${process.pid} is running`);
13
- // Fork workers.
14
- cluster_1.default.fork();
15
- cluster_1.default.on('exit', (worker, code, signal) => {
16
- LogInfoMessage(`worker ${worker.process.pid} died`);
17
- });
18
- const fileName = './dist/webworkertesting/worker.js';
19
- const publishCollectorWebWorker = new worker_threads_1.Worker(fileName);
20
- publishCollectorWebWorker.unref();
21
- publishCollectorWebWorker.postMessage({ cmd: 'text', message: 'Hello World' });
22
- publishCollectorWebWorker.on('message', (data) => {
23
- LogInfoMessage(`cluster.primary (${process.pid}): message from worker = [${JSON.stringify(data)}]`);
24
- });
25
- const { port1, port2 } = new worker_threads_1.MessageChannel();
26
- publishCollectorWebWorker.postMessage({ cmd: 'portmessage', port: port2 }, [port2]);
27
- port1.postMessage('sending to port1');
28
- port1.on('message', (data) => {
29
- LogInfoMessage(`cluster.primary (${process.pid}): message from message port = [${data}]`);
30
- });
31
- LogInfoMessage(`cluster primary completed ...`);
32
- }
33
- else {
34
- LogInfoMessage(`Worker ${process.pid} started`);
35
- const fileName = './dist/webworkertesting/worker.js';
36
- const clusterWorker = new worker_threads_1.Worker(fileName);
37
- clusterWorker.unref();
38
- clusterWorker.postMessage({ cmd: 'text', message: 'Hello World' });
39
- clusterWorker.on('message', (data) => {
40
- LogInfoMessage(`cluster.worker (${process.pid}): message from worker = [${JSON.stringify(data)}]`);
41
- });
42
- LogInfoMessage(`cluster work completed ...`);
43
- }
44
- //# sourceMappingURL=app.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app.js","sourceRoot":"","sources":["../../src/webworkertesting/app.ts"],"names":[],"mappings":";;;;;AAAA,wFAAwF,CAAE,UAAU;AACpG,sDAA8B;AAC9B,mDAAwD;AAExD,MAAM,cAAc,GAAG,CAAC,OAAY,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;AAC7D,MAAM,eAAe,GAAG,CAAC,OAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;AAEhE,IAAI,iBAAO,CAAC,SAAS,EAAE,CAAC;IACpB,cAAc,CAAC,WAAW,OAAO,CAAC,GAAG,aAAa,CAAC,CAAC;IAEpD,gBAAgB;IAChB,iBAAO,CAAC,IAAI,EAAE,CAAC;IAEf,iBAAO,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QACxC,cAAc,CAAC,UAAU,MAAM,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC;IACxD,CAAC,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAE,mCAAmC,CAAC;IAEpD,MAAM,yBAAyB,GAAG,IAAI,uBAAM,CAAC,QAAQ,CAAC,CAAC;IACvD,yBAAyB,CAAC,KAAK,EAAE,CAAC;IAElC,yBAAyB,CAAC,WAAW,CAAC,EAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAC,CAAC,CAAC;IAE7E,yBAAyB,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,EAAE;QAC7C,cAAc,CAAC,oBAAoB,OAAO,CAAC,GAAG,6BAA6B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACxG,CAAC,CAAC,CAAC;IAEH,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,+BAAc,EAAE,CAAC;IAE9C,yBAAyB,CAAC,WAAW,CAAC,EAAC,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,KAAK,EAAC,EAAE,CAAE,KAAK,CAAE,CAAC,CAAC;IACpF,KAAK,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;IACtC,KAAK,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,EAAE;QACzB,cAAc,CAAC,oBAAoB,OAAO,CAAC,GAAG,mCAAmC,IAAI,GAAG,CAAC,CAAC;IAC9F,CAAC,CAAC,CAAC;IAEH,cAAc,CAAC,+BAA+B,CAAC,CAAC;AAGpD,CAAC;KAAM,CAAC;IACJ,cAAc,CAAC,UAAU,OAAO,CAAC,GAAG,UAAU,CAAC,CAAC;IAEhD,MAAM,QAAQ,GAAE,mCAAmC,CAAC;IAEpD,MAAM,aAAa,GAAG,IAAI,uBAAM,CAAC,QAAQ,CAAC,CAAC;IAC3C,aAAa,CAAC,KAAK,EAAE,CAAC;IAEtB,aAAa,CAAC,WAAW,CAAC,EAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAC,CAAC,CAAC;IAEjE,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,IAAS,EAAE,EAAE;QACtC,cAAc,CAAC,mBAAmB,OAAO,CAAC,GAAG,6BAA6B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACvG,CAAC,CAAC,CAAC;IAEH,cAAc,CAAC,4BAA4B,CAAC,CAAC;AAEjD,CAAC"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /* eslint @typescript-eslint/no-explicit-any: 0, @typescript-eslint/no-unused-vars: 0 */ // --> OFF
4
- const worker_threads_1 = require("worker_threads");
5
- let messagePort;
6
- const LogInfoMessage = (message) => console.log(message);
7
- const LogErrorMessage = (message) => console.error(message);
8
- worker_threads_1.parentPort?.on('message', (data) => {
9
- if (data.cmd.localeCompare('portmessage') === 0) {
10
- messagePort = data.port;
11
- messagePort.on('message', (data) => {
12
- LogInfoMessage(`webWorker (${process.pid}): message from passed message port = [${data}]`);
13
- messagePort.postMessage(data);
14
- });
15
- }
16
- else {
17
- LogInfoMessage(`webWorker (${process.pid}): message from parent = [${JSON.stringify(data)}]`);
18
- worker_threads_1.parentPort?.postMessage(data);
19
- }
20
- });
21
- //# sourceMappingURL=worker.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"worker.js","sourceRoot":"","sources":["../../src/webworkertesting/worker.ts"],"names":[],"mappings":";;AAAA,wFAAwF,CAAE,UAAU;AACpG,mDAGwB;AAExB,IAAI,WAAwB,CAAC;AAE7B,MAAM,cAAc,GAAG,CAAC,OAAY,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;AAC7D,MAAM,eAAe,GAAG,CAAC,OAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;AAEhE,2BAAU,EAAE,EAAE,CAAC,SAAS,EAAE,CAAC,IAAS,EAAE,EAAE;IACpC,IAAI,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;QAC9C,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC;QACxB,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,EAAE;YAC/B,cAAc,CAAC,cAAc,OAAO,CAAC,GAAG,0CAA0C,IAAI,GAAG,CAAC,CAAC;YAC3F,WAAW,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QAClC,CAAC,CAAC,CAAC;IACP,CAAC;SAAM,CAAC;QACJ,cAAc,CAAC,cAAc,OAAO,CAAC,GAAG,6BAA6B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC9F,2BAAU,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/src/authDefs.ts DELETED
@@ -1,37 +0,0 @@
1
- export enum Permission {
2
- STS_GLOBAL_ADMIN_PERMISSION = "STSGlobalAdminPermission",
3
-
4
- STSREST01_CREATE_PERMISSION = "STSREST01CreatePermission",
5
- STSREST01_READ_PERMISSION = "STSREST01ReadPermission",
6
- STSREST01_UPDATE_PERMISSION = "STSREST01UpdatePermission",
7
- STSREST01_DELETE_PERMISSION = "STSREST01DeletePermission",
8
-
9
- STSAUTH_LOGIN_PERMISSION = "STSAuthLoginPermission",
10
- STSAUTH_CREATE_PERMISSION = "STSAuthCreatePermission",
11
- STSAUTH_READ_PERMISSION = "STSAuthReadPermission",
12
- STSAUTH_UPDATE_PERMISSION = "STSAuthUpdatePermission",
13
- STSAUTH_DELETE_PERMISSION = "STSAuthDeletePermission",
14
-
15
- STSUITERMINAL_EXECUTE = "STSUITerminalExecute",
16
-
17
- STSCLI_EXECUTE = "STSCLIExecute",
18
-
19
- STSUIWEBAPP_EXECUTE = "STSUIWebAppExecute",
20
-
21
- STSUSERAGENTRUNNER_EXECUTE = "STSUserAgentRunnerExecute",
22
-
23
- STSINSTRUMENTMANAGER_CREATE_PERMISSION = "STSInstrumentManagerCreatePermission",
24
- STSINSTRUMENTMANAGER_READ_PERMISSION = "STSInstrumentManagerReadPermission",
25
- STSINSTRUMENTMANAGER_UPDATE_PERMISSION = "STSInstrumentManagerUpdatePermission",
26
- STSINSTRUMENTMANAGER_DELETE_PERMISSION = "STSInstrumentManagerDeletePermission",
27
-
28
- STSTESTORCHESTRATOR_CREATE_PERMISSION = "STSTestOrchestratorCreatePermission",
29
- STSTESTORCHESTRATOR_READ_PERMISSION = "STSTestOrchestratorReadPermission",
30
- STSTESTORCHESTRATOR_UPDATE_PERMISSION = "STSTestOrchestratorUpdatePermission",
31
- STSTESTORCHESTRATOR_DELETE_PERMISSION = "STSTestOrchestratorDeletePermission",
32
-
33
- STSTESTRUNNER_CREATE_PERMISSION = "STSTestRunnerCreatePermission",
34
- STSTESTRUNNER_READ_PERMISSION = "STSTestRunnerReadPermission",
35
- STSTESTRUNNER_UPDATE_PERMISSION = "STSTestRunnerUpdatePermission",
36
- STSTESTRUNNER_DELETE_PERMISSION = "STSTestRunnerDeletePermission"
37
- }
@@ -1,82 +0,0 @@
1
- # Copyright 2020 the gRPC authors.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- load("@rules_proto//proto:defs.bzl", "proto_library")
16
- load("//bazel:cc_grpc_library.bzl", "cc_grpc_library")
17
- load("//bazel:grpc_build_system.bzl", "grpc_proto_library")
18
- load("//bazel:python_rules.bzl", "py_grpc_library", "py_proto_library")
19
-
20
- licenses(["notice"])
21
-
22
- package(default_visibility = ["//visibility:public"])
23
-
24
- grpc_proto_library(
25
- name = "auth_sample",
26
- srcs = ["auth_sample.proto"],
27
- )
28
-
29
- grpc_proto_library(
30
- name = "hellostreamingworld",
31
- srcs = ["hellostreamingworld.proto"],
32
- )
33
-
34
- # The following three rules demonstrate the usage of the cc_grpc_library rule in
35
- # in a mode compatible with the native proto_library and cc_proto_library rules.
36
- proto_library(
37
- name = "helloworld_proto",
38
- srcs = ["helloworld.proto"],
39
- )
40
-
41
- cc_proto_library(
42
- name = "helloworld_cc_proto",
43
- deps = [":helloworld_proto"],
44
- )
45
-
46
- cc_grpc_library(
47
- name = "helloworld_cc_grpc",
48
- srcs = [":helloworld_proto"],
49
- grpc_only = True,
50
- deps = [":helloworld_cc_proto"],
51
- )
52
-
53
- grpc_proto_library(
54
- name = "route_guide",
55
- srcs = ["route_guide.proto"],
56
- )
57
-
58
- proto_library(
59
- name = "keyvaluestore_proto",
60
- srcs = ["keyvaluestore.proto"],
61
- )
62
-
63
- grpc_proto_library(
64
- name = "keyvaluestore",
65
- srcs = ["keyvaluestore.proto"],
66
- )
67
-
68
- py_proto_library(
69
- name = "helloworld_py_pb2",
70
- deps = [":helloworld_proto"],
71
- )
72
-
73
- py_grpc_library(
74
- name = "helloworld_py_pb2_grpc",
75
- srcs = [":helloworld_proto"],
76
- deps = [":helloworld_py_pb2"],
77
- )
78
-
79
- proto_library(
80
- name = "route_guide_proto",
81
- srcs = [":route_guide.proto"],
82
- )
@@ -1,8 +0,0 @@
1
- # Example protos
2
-
3
- ## Contents
4
-
5
- - [helloworld.proto]
6
- - The simple example used in the overview.
7
- - [route_guide.proto]
8
- - An example service described in detail in the tutorial.
@@ -1,42 +0,0 @@
1
- // Copyright 2015 gRPC authors.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package grpc.testing;
18
-
19
- option objc_class_prefix = "AUTH";
20
-
21
- // Unary request.
22
- message Request {
23
- // Whether Response should include username.
24
- bool fill_username = 4;
25
-
26
- // Whether Response should include OAuth scope.
27
- bool fill_oauth_scope = 5;
28
- }
29
-
30
- // Unary response, as configured by the request.
31
- message Response {
32
- // The user the request came from, for verifying authentication was
33
- // successful.
34
- string username = 2;
35
- // OAuth scope.
36
- string oauth_scope = 3;
37
- }
38
-
39
- service TestService {
40
- // One request followed by one response.
41
- rpc UnaryCall(Request) returns (Response);
42
- }
@@ -1,20 +0,0 @@
1
- /* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF
2
- import type * as grpc from '@grpc/grpc-js';
3
- import type { MessageTypeDefinition } from '@grpc/proto-loader';
4
-
5
- import type { TestServiceClient as _grpc_testing_TestServiceClient, TestServiceDefinition as _grpc_testing_TestServiceDefinition } from './grpc/testing/TestService';
6
-
7
- type SubtypeConstructor<Constructor extends new (...args: any) => any, Subtype> = {
8
- new(...args: ConstructorParameters<Constructor>): Subtype;
9
- };
10
-
11
- export interface ProtoGrpcType {
12
- grpc: {
13
- testing: {
14
- Request: MessageTypeDefinition
15
- Response: MessageTypeDefinition
16
- TestService: SubtypeConstructor<typeof grpc.Client, _grpc_testing_TestServiceClient> & { service: _grpc_testing_TestServiceDefinition }
17
- }
18
- }
19
- }
20
-
@@ -1,45 +0,0 @@
1
- /*
2
- *
3
- * Copyright 2018 gRPC authors.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- *
17
- */
18
-
19
- syntax = "proto3";
20
-
21
- option go_package = "google.golang.org/grpc/examples/features/proto/echo";
22
-
23
- package grpc.examples.echo;
24
-
25
- // EchoRequest is the request for echo.
26
- message EchoRequest {
27
- string message = 1;
28
- }
29
-
30
- // EchoResponse is the response for echo.
31
- message EchoResponse {
32
- string message = 1;
33
- }
34
-
35
- // Echo is the echo service.
36
- service Echo {
37
- // UnaryEcho is unary echo.
38
- rpc UnaryEcho(EchoRequest) returns (EchoResponse) {}
39
- // ServerStreamingEcho is server side streaming.
40
- rpc ServerStreamingEcho(EchoRequest) returns (stream EchoResponse) {}
41
- // ClientStreamingEcho is client side streaming.
42
- rpc ClientStreamingEcho(stream EchoRequest) returns (EchoResponse) {}
43
- // BidirectionalStreamingEcho is bidi streaming.
44
- rpc BidirectionalStreamingEcho(stream EchoRequest) returns (stream EchoResponse) {}
45
- }
@@ -1,22 +0,0 @@
1
- /* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF
2
- import type * as grpc from '@grpc/grpc-js';
3
- import type { MessageTypeDefinition } from '@grpc/proto-loader';
4
-
5
- import type { EchoClient as _grpc_examples_echo_EchoClient, EchoDefinition as _grpc_examples_echo_EchoDefinition } from './grpc/examples/echo/Echo';
6
-
7
- type SubtypeConstructor<Constructor extends new (...args: any) => any, Subtype> = {
8
- new(...args: ConstructorParameters<Constructor>): Subtype;
9
- };
10
-
11
- export interface ProtoGrpcType {
12
- grpc: {
13
- examples: {
14
- echo: {
15
- Echo: SubtypeConstructor<typeof grpc.Client, _grpc_examples_echo_EchoClient> & { service: _grpc_examples_echo_EchoDefinition }
16
- EchoRequest: MessageTypeDefinition
17
- EchoResponse: MessageTypeDefinition
18
- }
19
- }
20
- }
21
- }
22
-
@@ -1,55 +0,0 @@
1
- // Original file: protos/echo.proto
2
-
3
- import type * as grpc from '@grpc/grpc-js'
4
- import type { MethodDefinition } from '@grpc/proto-loader'
5
- import type { EchoRequest as _grpc_examples_echo_EchoRequest, EchoRequest__Output as _grpc_examples_echo_EchoRequest__Output } from '../../../grpc/examples/echo/EchoRequest';
6
- import type { EchoResponse as _grpc_examples_echo_EchoResponse, EchoResponse__Output as _grpc_examples_echo_EchoResponse__Output } from '../../../grpc/examples/echo/EchoResponse';
7
-
8
- export interface EchoClient extends grpc.Client {
9
- BidirectionalStreamingEcho(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse__Output>;
10
- BidirectionalStreamingEcho(options?: grpc.CallOptions): grpc.ClientDuplexStream<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse__Output>;
11
- bidirectionalStreamingEcho(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse__Output>;
12
- bidirectionalStreamingEcho(options?: grpc.CallOptions): grpc.ClientDuplexStream<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse__Output>;
13
-
14
- ClientStreamingEcho(metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
15
- ClientStreamingEcho(metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
16
- ClientStreamingEcho(options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
17
- ClientStreamingEcho(callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
18
- clientStreamingEcho(metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
19
- clientStreamingEcho(metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
20
- clientStreamingEcho(options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
21
- clientStreamingEcho(callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
22
-
23
- ServerStreamingEcho(argument: _grpc_examples_echo_EchoRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_grpc_examples_echo_EchoResponse__Output>;
24
- ServerStreamingEcho(argument: _grpc_examples_echo_EchoRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_grpc_examples_echo_EchoResponse__Output>;
25
- serverStreamingEcho(argument: _grpc_examples_echo_EchoRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_grpc_examples_echo_EchoResponse__Output>;
26
- serverStreamingEcho(argument: _grpc_examples_echo_EchoRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_grpc_examples_echo_EchoResponse__Output>;
27
-
28
- UnaryEcho(argument: _grpc_examples_echo_EchoRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
29
- UnaryEcho(argument: _grpc_examples_echo_EchoRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
30
- UnaryEcho(argument: _grpc_examples_echo_EchoRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
31
- UnaryEcho(argument: _grpc_examples_echo_EchoRequest, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
32
- unaryEcho(argument: _grpc_examples_echo_EchoRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
33
- unaryEcho(argument: _grpc_examples_echo_EchoRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
34
- unaryEcho(argument: _grpc_examples_echo_EchoRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
35
- unaryEcho(argument: _grpc_examples_echo_EchoRequest, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
36
-
37
- }
38
-
39
- export interface EchoHandlers extends grpc.UntypedServiceImplementation {
40
- BidirectionalStreamingEcho: grpc.handleBidiStreamingCall<_grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse>;
41
-
42
- ClientStreamingEcho: grpc.handleClientStreamingCall<_grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse>;
43
-
44
- ServerStreamingEcho: grpc.handleServerStreamingCall<_grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse>;
45
-
46
- UnaryEcho: grpc.handleUnaryCall<_grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse>;
47
-
48
- }
49
-
50
- export interface EchoDefinition extends grpc.ServiceDefinition {
51
- BidirectionalStreamingEcho: MethodDefinition<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse, _grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse__Output>
52
- ClientStreamingEcho: MethodDefinition<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse, _grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse__Output>
53
- ServerStreamingEcho: MethodDefinition<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse, _grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse__Output>
54
- UnaryEcho: MethodDefinition<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse, _grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse__Output>
55
- }
@@ -1,10 +0,0 @@
1
- // Original file: protos/echo.proto
2
-
3
-
4
- export interface EchoRequest {
5
- 'message'?: (string);
6
- }
7
-
8
- export interface EchoRequest__Output {
9
- 'message': (string);
10
- }
@@ -1,10 +0,0 @@
1
- // Original file: protos/echo.proto
2
-
3
-
4
- export interface EchoResponse {
5
- 'message'?: (string);
6
- }
7
-
8
- export interface EchoResponse__Output {
9
- 'message': (string);
10
- }
@@ -1,12 +0,0 @@
1
- // Original file: protos/auth_sample.proto
2
-
3
-
4
- export interface Request {
5
- 'fillUsername'?: (boolean);
6
- 'fillOauthScope'?: (boolean);
7
- }
8
-
9
- export interface Request__Output {
10
- 'fillUsername': (boolean);
11
- 'fillOauthScope': (boolean);
12
- }
@@ -1,12 +0,0 @@
1
- // Original file: protos/auth_sample.proto
2
-
3
-
4
- export interface Response {
5
- 'username'?: (string);
6
- 'oauthScope'?: (string);
7
- }
8
-
9
- export interface Response__Output {
10
- 'username': (string);
11
- 'oauthScope': (string);
12
- }
@@ -1,27 +0,0 @@
1
- // Original file: protos/auth_sample.proto
2
-
3
- import type * as grpc from '@grpc/grpc-js'
4
- import type { MethodDefinition } from '@grpc/proto-loader'
5
- import type { Request as _grpc_testing_Request, Request__Output as _grpc_testing_Request__Output } from '../../grpc/testing/Request';
6
- import type { Response as _grpc_testing_Response, Response__Output as _grpc_testing_Response__Output } from '../../grpc/testing/Response';
7
-
8
- export interface TestServiceClient extends grpc.Client {
9
- UnaryCall(argument: _grpc_testing_Request, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
10
- UnaryCall(argument: _grpc_testing_Request, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
11
- UnaryCall(argument: _grpc_testing_Request, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
12
- UnaryCall(argument: _grpc_testing_Request, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
13
- unaryCall(argument: _grpc_testing_Request, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
14
- unaryCall(argument: _grpc_testing_Request, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
15
- unaryCall(argument: _grpc_testing_Request, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
16
- unaryCall(argument: _grpc_testing_Request, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
17
-
18
- }
19
-
20
- export interface TestServiceHandlers extends grpc.UntypedServiceImplementation {
21
- UnaryCall: grpc.handleUnaryCall<_grpc_testing_Request__Output, _grpc_testing_Response>;
22
-
23
- }
24
-
25
- export interface TestServiceDefinition extends grpc.ServiceDefinition {
26
- UnaryCall: MethodDefinition<_grpc_testing_Request, _grpc_testing_Response, _grpc_testing_Request__Output, _grpc_testing_Response__Output>
27
- }
@@ -1,10 +0,0 @@
1
- // Original file: protos/hellostreamingworld.proto
2
-
3
-
4
- export interface HelloReply {
5
- 'message'?: (string);
6
- }
7
-
8
- export interface HelloReply__Output {
9
- 'message': (string);
10
- }
@@ -1,12 +0,0 @@
1
- // Original file: protos/hellostreamingworld.proto
2
-
3
-
4
- export interface HelloRequest {
5
- 'name'?: (string);
6
- 'numGreetings'?: (string);
7
- }
8
-
9
- export interface HelloRequest__Output {
10
- 'name': (string);
11
- 'numGreetings': (string);
12
- }
@@ -1,23 +0,0 @@
1
- // Original file: protos/hellostreamingworld.proto
2
-
3
- import type * as grpc from '@grpc/grpc-js'
4
- import type { MethodDefinition } from '@grpc/proto-loader'
5
- import type { HelloReply as _hellostreamingworld_HelloReply, HelloReply__Output as _hellostreamingworld_HelloReply__Output } from '../hellostreamingworld/HelloReply';
6
- import type { HelloRequest as _hellostreamingworld_HelloRequest, HelloRequest__Output as _hellostreamingworld_HelloRequest__Output } from '../hellostreamingworld/HelloRequest';
7
-
8
- export interface MultiGreeterClient extends grpc.Client {
9
- sayHello(argument: _hellostreamingworld_HelloRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_hellostreamingworld_HelloReply__Output>;
10
- sayHello(argument: _hellostreamingworld_HelloRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_hellostreamingworld_HelloReply__Output>;
11
- sayHello(argument: _hellostreamingworld_HelloRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_hellostreamingworld_HelloReply__Output>;
12
- sayHello(argument: _hellostreamingworld_HelloRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_hellostreamingworld_HelloReply__Output>;
13
-
14
- }
15
-
16
- export interface MultiGreeterHandlers extends grpc.UntypedServiceImplementation {
17
- sayHello: grpc.handleServerStreamingCall<_hellostreamingworld_HelloRequest__Output, _hellostreamingworld_HelloReply>;
18
-
19
- }
20
-
21
- export interface MultiGreeterDefinition extends grpc.ServiceDefinition {
22
- sayHello: MethodDefinition<_hellostreamingworld_HelloRequest, _hellostreamingworld_HelloReply, _hellostreamingworld_HelloRequest__Output, _hellostreamingworld_HelloReply__Output>
23
- }
@@ -1,39 +0,0 @@
1
- // Copyright 2015 gRPC authors.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- option java_package = "ex.grpc";
18
- option objc_class_prefix = "HSW";
19
-
20
- package hellostreamingworld;
21
-
22
- // The greeting service definition.
23
- service MultiGreeter {
24
- // Sends multiple greetings
25
- rpc sayHello (HelloRequest) returns (stream HelloReply) {}
26
- }
27
-
28
- // The request message containing the user's name and how many greetings
29
- // they want.
30
- message HelloRequest {
31
- string name = 1;
32
- string num_greetings = 2;
33
- }
34
-
35
- // A response message containing a greeting
36
- message HelloReply {
37
- string message = 1;
38
- }
39
-
@@ -1,18 +0,0 @@
1
- /* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF
2
- import type * as grpc from '@grpc/grpc-js';
3
- import type { MessageTypeDefinition } from '@grpc/proto-loader';
4
-
5
- import type { MultiGreeterClient as _hellostreamingworld_MultiGreeterClient, MultiGreeterDefinition as _hellostreamingworld_MultiGreeterDefinition } from './hellostreamingworld/MultiGreeter';
6
-
7
- type SubtypeConstructor<Constructor extends new (...args: any) => any, Subtype> = {
8
- new(...args: ConstructorParameters<Constructor>): Subtype;
9
- };
10
-
11
- export interface ProtoGrpcType {
12
- hellostreamingworld: {
13
- HelloReply: MessageTypeDefinition
14
- HelloRequest: MessageTypeDefinition
15
- MultiGreeter: SubtypeConstructor<typeof grpc.Client, _hellostreamingworld_MultiGreeterClient> & { service: _hellostreamingworld_MultiGreeterDefinition }
16
- }
17
- }
18
-
@@ -1,35 +0,0 @@
1
- // Original file: protos/helloworld.proto
2
-
3
- import type * as grpc from '@grpc/grpc-js'
4
- import type { MethodDefinition } from '@grpc/proto-loader'
5
- import type { HelloReply as _helloworld_HelloReply, HelloReply__Output as _helloworld_HelloReply__Output } from '../helloworld/HelloReply';
6
- import type { HelloRequest as _helloworld_HelloRequest, HelloRequest__Output as _helloworld_HelloRequest__Output } from '../helloworld/HelloRequest';
7
-
8
- export interface GreeterClient extends grpc.Client {
9
- SayHello(argument: _helloworld_HelloRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
10
- SayHello(argument: _helloworld_HelloRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
11
- SayHello(argument: _helloworld_HelloRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
12
- SayHello(argument: _helloworld_HelloRequest, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
13
- sayHello(argument: _helloworld_HelloRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
14
- sayHello(argument: _helloworld_HelloRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
15
- sayHello(argument: _helloworld_HelloRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
16
- sayHello(argument: _helloworld_HelloRequest, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
17
-
18
- SayHelloStreamReply(argument: _helloworld_HelloRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_helloworld_HelloReply__Output>;
19
- SayHelloStreamReply(argument: _helloworld_HelloRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_helloworld_HelloReply__Output>;
20
- sayHelloStreamReply(argument: _helloworld_HelloRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_helloworld_HelloReply__Output>;
21
- sayHelloStreamReply(argument: _helloworld_HelloRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_helloworld_HelloReply__Output>;
22
-
23
- }
24
-
25
- export interface GreeterHandlers extends grpc.UntypedServiceImplementation {
26
- SayHello: grpc.handleUnaryCall<_helloworld_HelloRequest__Output, _helloworld_HelloReply>;
27
-
28
- SayHelloStreamReply: grpc.handleServerStreamingCall<_helloworld_HelloRequest__Output, _helloworld_HelloReply>;
29
-
30
- }
31
-
32
- export interface GreeterDefinition extends grpc.ServiceDefinition {
33
- SayHello: MethodDefinition<_helloworld_HelloRequest, _helloworld_HelloReply, _helloworld_HelloRequest__Output, _helloworld_HelloReply__Output>
34
- SayHelloStreamReply: MethodDefinition<_helloworld_HelloRequest, _helloworld_HelloReply, _helloworld_HelloRequest__Output, _helloworld_HelloReply__Output>
35
- }
@@ -1,10 +0,0 @@
1
- // Original file: protos/helloworld.proto
2
-
3
-
4
- export interface HelloReply {
5
- 'message'?: (string);
6
- }
7
-
8
- export interface HelloReply__Output {
9
- 'message': (string);
10
- }
@@ -1,10 +0,0 @@
1
- // Original file: protos/helloworld.proto
2
-
3
-
4
- export interface HelloRequest {
5
- 'name'?: (string);
6
- }
7
-
8
- export interface HelloRequest__Output {
9
- 'name': (string);
10
- }