@nsshunt/stsappframework 3.1.214 → 3.1.216

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 (370) 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/serverprocessbase.js +2 -2
  5. package/dist/serverprocessbase.js.map +1 -1
  6. package/dist/stscontrollerbase.js.map +1 -1
  7. package/dist/{server.js → stsexpressserver.js} +1 -1
  8. package/dist/stsexpressserver.js.map +1 -0
  9. package/dist/stslatencycontroller.js.map +1 -1
  10. package/dist/stslatencyroute.js.map +1 -1
  11. package/dist/stsrouterbase.js.map +1 -1
  12. package/dist/vitesttesting/appSingleWSS.js +2 -1
  13. package/dist/vitesttesting/appSingleWSS.js.map +1 -1
  14. package/dist/workerprocessbase.js.map +1 -1
  15. package/package.json +5 -6
  16. package/src/commonTypes.ts +2 -0
  17. package/src/index.ts +1 -7
  18. package/src/serverprocessbase.ts +1 -1
  19. package/src/{socketIoServerHelper.ts → socketIoServerHelper.ts_bak} +1 -2
  20. package/src/stscontrollerbase.ts +1 -2
  21. package/src/{server.ts → stsexpressserver.ts} +1 -2
  22. package/src/stslatencycontroller.ts +1 -2
  23. package/src/stslatencyroute.ts +1 -2
  24. package/src/stsrouterbase.ts +1 -2
  25. package/src/vitesttesting/appSingleWSS.ts +2 -1
  26. package/src/workerprocessbase.ts +1 -2
  27. package/types/commonTypes.d.ts +0 -15
  28. package/types/commonTypes.d.ts.map +1 -1
  29. package/types/index.d.ts +0 -7
  30. package/types/index.d.ts.map +1 -1
  31. package/types/serverprocessbase.d.ts +1 -1
  32. package/types/serverprocessbase.d.ts.map +1 -1
  33. package/types/stscontrollerbase.d.ts.map +1 -1
  34. package/types/{server.d.ts → stsexpressserver.d.ts} +1 -1
  35. package/types/stsexpressserver.d.ts.map +1 -0
  36. package/types/stslatencycontroller.d.ts.map +1 -1
  37. package/types/stslatencyroute.d.ts.map +1 -1
  38. package/types/stsrouterbase.d.ts.map +1 -1
  39. package/types/vitesttesting/appSingleWSS.d.ts.map +1 -1
  40. package/types/workerprocessbase.d.ts.map +1 -1
  41. package/dist/authDefs.js +0 -33
  42. package/dist/authDefs.js.map +0 -1
  43. package/dist/gRPC/ststest/protos/auth_sample.js +0 -3
  44. package/dist/gRPC/ststest/protos/auth_sample.js.map +0 -1
  45. package/dist/gRPC/ststest/protos/echo.js +0 -3
  46. package/dist/gRPC/ststest/protos/echo.js.map +0 -1
  47. package/dist/gRPC/ststest/protos/grpc/examples/echo/Echo.js +0 -4
  48. package/dist/gRPC/ststest/protos/grpc/examples/echo/Echo.js.map +0 -1
  49. package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.js +0 -4
  50. package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.js.map +0 -1
  51. package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.js +0 -4
  52. package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.js.map +0 -1
  53. package/dist/gRPC/ststest/protos/grpc/testing/Request.js +0 -4
  54. package/dist/gRPC/ststest/protos/grpc/testing/Request.js.map +0 -1
  55. package/dist/gRPC/ststest/protos/grpc/testing/Response.js +0 -4
  56. package/dist/gRPC/ststest/protos/grpc/testing/Response.js.map +0 -1
  57. package/dist/gRPC/ststest/protos/grpc/testing/TestService.js +0 -4
  58. package/dist/gRPC/ststest/protos/grpc/testing/TestService.js.map +0 -1
  59. package/dist/gRPC/ststest/protos/hellostreamingworld/HelloReply.js +0 -4
  60. package/dist/gRPC/ststest/protos/hellostreamingworld/HelloReply.js.map +0 -1
  61. package/dist/gRPC/ststest/protos/hellostreamingworld/HelloRequest.js +0 -4
  62. package/dist/gRPC/ststest/protos/hellostreamingworld/HelloRequest.js.map +0 -1
  63. package/dist/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.js +0 -4
  64. package/dist/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.js.map +0 -1
  65. package/dist/gRPC/ststest/protos/hellostreamingworld.js +0 -3
  66. package/dist/gRPC/ststest/protos/hellostreamingworld.js.map +0 -1
  67. package/dist/gRPC/ststest/protos/helloworld/Greeter.js +0 -4
  68. package/dist/gRPC/ststest/protos/helloworld/Greeter.js.map +0 -1
  69. package/dist/gRPC/ststest/protos/helloworld/HelloReply.js +0 -4
  70. package/dist/gRPC/ststest/protos/helloworld/HelloReply.js.map +0 -1
  71. package/dist/gRPC/ststest/protos/helloworld/HelloRequest.js +0 -4
  72. package/dist/gRPC/ststest/protos/helloworld/HelloRequest.js.map +0 -1
  73. package/dist/gRPC/ststest/protos/helloworld.js +0 -3
  74. package/dist/gRPC/ststest/protos/helloworld.js.map +0 -1
  75. package/dist/gRPC/ststest/protos/keyvaluestore/KeyValueStore.js +0 -4
  76. package/dist/gRPC/ststest/protos/keyvaluestore/KeyValueStore.js.map +0 -1
  77. package/dist/gRPC/ststest/protos/keyvaluestore/Request.js +0 -4
  78. package/dist/gRPC/ststest/protos/keyvaluestore/Request.js.map +0 -1
  79. package/dist/gRPC/ststest/protos/keyvaluestore/Response.js +0 -4
  80. package/dist/gRPC/ststest/protos/keyvaluestore/Response.js.map +0 -1
  81. package/dist/gRPC/ststest/protos/keyvaluestore.js +0 -3
  82. package/dist/gRPC/ststest/protos/keyvaluestore.js.map +0 -1
  83. package/dist/gRPC/ststest/protos/route_guide.js +0 -3
  84. package/dist/gRPC/ststest/protos/route_guide.js.map +0 -1
  85. package/dist/gRPC/ststest/protos/routeguide/Feature.js +0 -4
  86. package/dist/gRPC/ststest/protos/routeguide/Feature.js.map +0 -1
  87. package/dist/gRPC/ststest/protos/routeguide/Point.js +0 -4
  88. package/dist/gRPC/ststest/protos/routeguide/Point.js.map +0 -1
  89. package/dist/gRPC/ststest/protos/routeguide/Rectangle.js +0 -4
  90. package/dist/gRPC/ststest/protos/routeguide/Rectangle.js.map +0 -1
  91. package/dist/gRPC/ststest/protos/routeguide/RouteGuide.js +0 -4
  92. package/dist/gRPC/ststest/protos/routeguide/RouteGuide.js.map +0 -1
  93. package/dist/gRPC/ststest/protos/routeguide/RouteNote.js +0 -4
  94. package/dist/gRPC/ststest/protos/routeguide/RouteNote.js.map +0 -1
  95. package/dist/gRPC/ststest/protos/routeguide/RouteSummary.js +0 -4
  96. package/dist/gRPC/ststest/protos/routeguide/RouteSummary.js.map +0 -1
  97. package/dist/gRPC/ststest/src/commonTypes.js +0 -3
  98. package/dist/gRPC/ststest/src/commonTypes.js.map +0 -1
  99. package/dist/gRPC/ststest/src/greeter_client.js +0 -67
  100. package/dist/gRPC/ststest/src/greeter_client.js.map +0 -1
  101. package/dist/gRPC/ststest/src/greeter_server.js +0 -78
  102. package/dist/gRPC/ststest/src/greeter_server.js.map +0 -1
  103. package/dist/gRPC/ststest/src/route_guide_client.js +0 -258
  104. package/dist/gRPC/ststest/src/route_guide_client.js.map +0 -1
  105. package/dist/gRPC/ststest/src/route_guide_server.js +0 -237
  106. package/dist/gRPC/ststest/src/route_guide_server.js.map +0 -1
  107. package/dist/gRPC/ststest/src/route_guide_server2.js +0 -205
  108. package/dist/gRPC/ststest/src/route_guide_server2.js.map +0 -1
  109. package/dist/influxdb/influxDBManager.js +0 -304
  110. package/dist/influxdb/influxDBManager.js.map +0 -1
  111. package/dist/influxdb/influxDBManagerAgent.js +0 -14
  112. package/dist/influxdb/influxDBManagerAgent.js.map +0 -1
  113. package/dist/influxdb/influxDBManagerBase.js +0 -100
  114. package/dist/influxdb/influxDBManagerBase.js.map +0 -1
  115. package/dist/influxdb/influxDBManagerLambda.js +0 -17
  116. package/dist/influxdb/influxDBManagerLambda.js.map +0 -1
  117. package/dist/influxdb/influxDBManagerService.js +0 -14
  118. package/dist/influxdb/influxDBManagerService.js.map +0 -1
  119. package/dist/publishInstrumentsWebWorker.js +0 -159
  120. package/dist/publishInstrumentsWebWorker.js.map +0 -1
  121. package/dist/server.js.map +0 -1
  122. package/dist/socketIoServerHelper.js +0 -125
  123. package/dist/socketIoServerHelper.js.map +0 -1
  124. package/dist/tcpclient/app.js +0 -23
  125. package/dist/tcpclient/app.js.map +0 -1
  126. package/dist/tcpclient/app2.js +0 -57
  127. package/dist/tcpclient/app2.js.map +0 -1
  128. package/dist/tcpserver/app.js +0 -16
  129. package/dist/tcpserver/app.js.map +0 -1
  130. package/dist/tcpserver/appConfig.js +0 -83
  131. package/dist/tcpserver/appConfig.js.map +0 -1
  132. package/dist/tcpserver/appmaster.js +0 -446
  133. package/dist/tcpserver/appmaster.js.map +0 -1
  134. package/dist/testertesting/app.js +0 -284
  135. package/dist/testertesting/app.js.map +0 -1
  136. package/dist/testertesting/commonTypes.js +0 -47
  137. package/dist/testertesting/commonTypes.js.map +0 -1
  138. package/dist/testertesting/telemetryProcessor.js +0 -111
  139. package/dist/testertesting/telemetryProcessor.js.map +0 -1
  140. package/dist/testertesting/testCase01.js +0 -169
  141. package/dist/testertesting/testCase01.js.map +0 -1
  142. package/dist/testertesting/workerInstance.js +0 -263
  143. package/dist/testertesting/workerInstance.js.map +0 -1
  144. package/dist/testertesting/workerManager.js +0 -450
  145. package/dist/testertesting/workerManager.js.map +0 -1
  146. package/dist/testertesting/workerWorkerTestRunner01.js +0 -35
  147. package/dist/testertesting/workerWorkerTestRunner01.js.map +0 -1
  148. package/dist/testing/app.js +0 -18
  149. package/dist/testing/app.js.map +0 -1
  150. package/dist/testing/appConfig.js +0 -93
  151. package/dist/testing/appConfig.js.map +0 -1
  152. package/dist/testing/appTinyEmitter.js +0 -37
  153. package/dist/testing/appTinyEmitter.js.map +0 -1
  154. package/dist/testing/appWorkerWSS.js +0 -151
  155. package/dist/testing/appWorkerWSS.js.map +0 -1
  156. package/dist/testing/appredistest.js +0 -239
  157. package/dist/testing/appredistest.js.map +0 -1
  158. package/dist/testing/appsolo.js +0 -67
  159. package/dist/testing/appsolo.js.map +0 -1
  160. package/dist/testing/promiseTesting.js +0 -77
  161. package/dist/testing/promiseTesting.js.map +0 -1
  162. package/dist/testing/server.js +0 -15
  163. package/dist/testing/server.js.map +0 -1
  164. package/dist/testing/wsevents.js +0 -3
  165. package/dist/testing/wsevents.js.map +0 -1
  166. package/dist/webworkertesting/app.js +0 -44
  167. package/dist/webworkertesting/app.js.map +0 -1
  168. package/dist/webworkertesting/worker.js +0 -21
  169. package/dist/webworkertesting/worker.js.map +0 -1
  170. package/src/authDefs.ts +0 -37
  171. package/src/gRPC/ststest/protos/BUILD +0 -82
  172. package/src/gRPC/ststest/protos/README.md +0 -8
  173. package/src/gRPC/ststest/protos/auth_sample.proto +0 -42
  174. package/src/gRPC/ststest/protos/auth_sample.ts +0 -20
  175. package/src/gRPC/ststest/protos/echo.proto +0 -45
  176. package/src/gRPC/ststest/protos/echo.ts +0 -22
  177. package/src/gRPC/ststest/protos/grpc/examples/echo/Echo.ts +0 -55
  178. package/src/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.ts +0 -10
  179. package/src/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.ts +0 -10
  180. package/src/gRPC/ststest/protos/grpc/testing/Request.ts +0 -12
  181. package/src/gRPC/ststest/protos/grpc/testing/Response.ts +0 -12
  182. package/src/gRPC/ststest/protos/grpc/testing/TestService.ts +0 -27
  183. package/src/gRPC/ststest/protos/hellostreamingworld/HelloReply.ts +0 -10
  184. package/src/gRPC/ststest/protos/hellostreamingworld/HelloRequest.ts +0 -12
  185. package/src/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.ts +0 -23
  186. package/src/gRPC/ststest/protos/hellostreamingworld.proto +0 -39
  187. package/src/gRPC/ststest/protos/hellostreamingworld.ts +0 -18
  188. package/src/gRPC/ststest/protos/helloworld/Greeter.ts +0 -35
  189. package/src/gRPC/ststest/protos/helloworld/HelloReply.ts +0 -10
  190. package/src/gRPC/ststest/protos/helloworld/HelloRequest.ts +0 -10
  191. package/src/gRPC/ststest/protos/helloworld.proto +0 -40
  192. package/src/gRPC/ststest/protos/helloworld.ts +0 -18
  193. package/src/gRPC/ststest/protos/keyvaluestore/KeyValueStore.ts +0 -23
  194. package/src/gRPC/ststest/protos/keyvaluestore/Request.ts +0 -10
  195. package/src/gRPC/ststest/protos/keyvaluestore/Response.ts +0 -10
  196. package/src/gRPC/ststest/protos/keyvaluestore.proto +0 -33
  197. package/src/gRPC/ststest/protos/keyvaluestore.ts +0 -18
  198. package/src/gRPC/ststest/protos/route_guide.proto +0 -111
  199. package/src/gRPC/ststest/protos/route_guide.ts +0 -21
  200. package/src/gRPC/ststest/protos/routeguide/Feature.ts +0 -13
  201. package/src/gRPC/ststest/protos/routeguide/Point.ts +0 -12
  202. package/src/gRPC/ststest/protos/routeguide/Rectangle.ts +0 -13
  203. package/src/gRPC/ststest/protos/routeguide/RouteGuide.ts +0 -58
  204. package/src/gRPC/ststest/protos/routeguide/RouteNote.ts +0 -13
  205. package/src/gRPC/ststest/protos/routeguide/RouteSummary.ts +0 -16
  206. package/src/gRPC/ststest/src/commonTypes.ts +0 -27
  207. package/src/gRPC/ststest/src/greeter_client.ts +0 -52
  208. package/src/gRPC/ststest/src/greeter_server.ts +0 -62
  209. package/src/gRPC/ststest/src/route_guide_client.ts +0 -266
  210. package/src/gRPC/ststest/src/route_guide_server.ts +0 -234
  211. package/src/gRPC/ststest/src/route_guide_server2.ts +0 -211
  212. package/src/influxdb/influxDBManager.ts +0 -334
  213. package/src/influxdb/influxDBManagerAgent.ts +0 -14
  214. package/src/influxdb/influxDBManagerBase.ts +0 -108
  215. package/src/influxdb/influxDBManagerLambda.ts +0 -17
  216. package/src/influxdb/influxDBManagerService.ts +0 -14
  217. package/src/publishInstrumentsWebWorker.ts +0 -157
  218. package/src/tcpclient/app.ts +0 -21
  219. package/src/tcpclient/app2.ts +0 -58
  220. package/src/tcpserver/app.ts +0 -11
  221. package/src/tcpserver/appConfig.ts +0 -99
  222. package/src/tcpserver/appmaster.ts +0 -503
  223. package/src/testertesting/app.ts +0 -349
  224. package/src/testertesting/commonTypes.ts +0 -236
  225. package/src/testertesting/telemetryProcessor.ts +0 -125
  226. package/src/testertesting/testCase01.ts +0 -207
  227. package/src/testertesting/workerInstance.ts +0 -297
  228. package/src/testertesting/workerManager.ts +0 -511
  229. package/src/testertesting/workerWorkerTestRunner01.ts +0 -34
  230. package/src/testing/app.ts +0 -14
  231. package/src/testing/appConfig.ts +0 -110
  232. package/src/testing/appTinyEmitter.ts +0 -57
  233. package/src/testing/appWorkerWSS.ts +0 -174
  234. package/src/testing/appredistest.ts +0 -304
  235. package/src/testing/appsolo.ts +0 -96
  236. package/src/testing/docker-compose.yml +0 -20
  237. package/src/testing/promiseTesting.ts +0 -86
  238. package/src/testing/server.ts +0 -17
  239. package/src/testing/wsevents.ts +0 -33
  240. package/src/webworkertesting/app.ts +0 -56
  241. package/src/webworkertesting/worker.ts +0 -24
  242. package/types/authDefs.d.ts +0 -29
  243. package/types/authDefs.d.ts.map +0 -1
  244. package/types/gRPC/ststest/protos/auth_sample.d.ts +0 -19
  245. package/types/gRPC/ststest/protos/auth_sample.d.ts.map +0 -1
  246. package/types/gRPC/ststest/protos/echo.d.ts +0 -21
  247. package/types/gRPC/ststest/protos/echo.d.ts.map +0 -1
  248. package/types/gRPC/ststest/protos/grpc/examples/echo/Echo.d.ts +0 -43
  249. package/types/gRPC/ststest/protos/grpc/examples/echo/Echo.d.ts.map +0 -1
  250. package/types/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.d.ts +0 -7
  251. package/types/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.d.ts.map +0 -1
  252. package/types/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.d.ts +0 -7
  253. package/types/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.d.ts.map +0 -1
  254. package/types/gRPC/ststest/protos/grpc/testing/Request.d.ts +0 -9
  255. package/types/gRPC/ststest/protos/grpc/testing/Request.d.ts.map +0 -1
  256. package/types/gRPC/ststest/protos/grpc/testing/Response.d.ts +0 -9
  257. package/types/gRPC/ststest/protos/grpc/testing/Response.d.ts.map +0 -1
  258. package/types/gRPC/ststest/protos/grpc/testing/TestService.d.ts +0 -21
  259. package/types/gRPC/ststest/protos/grpc/testing/TestService.d.ts.map +0 -1
  260. package/types/gRPC/ststest/protos/hellostreamingworld/HelloReply.d.ts +0 -7
  261. package/types/gRPC/ststest/protos/hellostreamingworld/HelloReply.d.ts.map +0 -1
  262. package/types/gRPC/ststest/protos/hellostreamingworld/HelloRequest.d.ts +0 -9
  263. package/types/gRPC/ststest/protos/hellostreamingworld/HelloRequest.d.ts.map +0 -1
  264. package/types/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.d.ts +0 -17
  265. package/types/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.d.ts.map +0 -1
  266. package/types/gRPC/ststest/protos/hellostreamingworld.d.ts +0 -17
  267. package/types/gRPC/ststest/protos/hellostreamingworld.d.ts.map +0 -1
  268. package/types/gRPC/ststest/protos/helloworld/Greeter.d.ts +0 -27
  269. package/types/gRPC/ststest/protos/helloworld/Greeter.d.ts.map +0 -1
  270. package/types/gRPC/ststest/protos/helloworld/HelloReply.d.ts +0 -7
  271. package/types/gRPC/ststest/protos/helloworld/HelloReply.d.ts.map +0 -1
  272. package/types/gRPC/ststest/protos/helloworld/HelloRequest.d.ts +0 -7
  273. package/types/gRPC/ststest/protos/helloworld/HelloRequest.d.ts.map +0 -1
  274. package/types/gRPC/ststest/protos/helloworld.d.ts +0 -17
  275. package/types/gRPC/ststest/protos/helloworld.d.ts.map +0 -1
  276. package/types/gRPC/ststest/protos/keyvaluestore/KeyValueStore.d.ts +0 -17
  277. package/types/gRPC/ststest/protos/keyvaluestore/KeyValueStore.d.ts.map +0 -1
  278. package/types/gRPC/ststest/protos/keyvaluestore/Request.d.ts +0 -7
  279. package/types/gRPC/ststest/protos/keyvaluestore/Request.d.ts.map +0 -1
  280. package/types/gRPC/ststest/protos/keyvaluestore/Response.d.ts +0 -7
  281. package/types/gRPC/ststest/protos/keyvaluestore/Response.d.ts.map +0 -1
  282. package/types/gRPC/ststest/protos/keyvaluestore.d.ts +0 -17
  283. package/types/gRPC/ststest/protos/keyvaluestore.d.ts.map +0 -1
  284. package/types/gRPC/ststest/protos/route_guide.d.ts +0 -20
  285. package/types/gRPC/ststest/protos/route_guide.d.ts.map +0 -1
  286. package/types/gRPC/ststest/protos/routeguide/Feature.d.ts +0 -10
  287. package/types/gRPC/ststest/protos/routeguide/Feature.d.ts.map +0 -1
  288. package/types/gRPC/ststest/protos/routeguide/Point.d.ts +0 -9
  289. package/types/gRPC/ststest/protos/routeguide/Point.d.ts.map +0 -1
  290. package/types/gRPC/ststest/protos/routeguide/Rectangle.d.ts +0 -10
  291. package/types/gRPC/ststest/protos/routeguide/Rectangle.d.ts.map +0 -1
  292. package/types/gRPC/ststest/protos/routeguide/RouteGuide.d.ts +0 -46
  293. package/types/gRPC/ststest/protos/routeguide/RouteGuide.d.ts.map +0 -1
  294. package/types/gRPC/ststest/protos/routeguide/RouteNote.d.ts +0 -10
  295. package/types/gRPC/ststest/protos/routeguide/RouteNote.d.ts.map +0 -1
  296. package/types/gRPC/ststest/protos/routeguide/RouteSummary.d.ts +0 -13
  297. package/types/gRPC/ststest/protos/routeguide/RouteSummary.d.ts.map +0 -1
  298. package/types/gRPC/ststest/src/commonTypes.d.ts +0 -23
  299. package/types/gRPC/ststest/src/commonTypes.d.ts.map +0 -1
  300. package/types/gRPC/ststest/src/greeter_client.d.ts +0 -3
  301. package/types/gRPC/ststest/src/greeter_client.d.ts.map +0 -1
  302. package/types/gRPC/ststest/src/greeter_server.d.ts +0 -3
  303. package/types/gRPC/ststest/src/greeter_server.d.ts.map +0 -1
  304. package/types/gRPC/ststest/src/route_guide_client.d.ts +0 -3
  305. package/types/gRPC/ststest/src/route_guide_client.d.ts.map +0 -1
  306. package/types/gRPC/ststest/src/route_guide_server.d.ts +0 -3
  307. package/types/gRPC/ststest/src/route_guide_server.d.ts.map +0 -1
  308. package/types/gRPC/ststest/src/route_guide_server2.d.ts +0 -3
  309. package/types/gRPC/ststest/src/route_guide_server2.d.ts.map +0 -1
  310. package/types/influxdb/influxDBManager.d.ts +0 -21
  311. package/types/influxdb/influxDBManager.d.ts.map +0 -1
  312. package/types/influxdb/influxDBManagerAgent.d.ts +0 -8
  313. package/types/influxdb/influxDBManagerAgent.d.ts.map +0 -1
  314. package/types/influxdb/influxDBManagerBase.d.ts +0 -14
  315. package/types/influxdb/influxDBManagerBase.d.ts.map +0 -1
  316. package/types/influxdb/influxDBManagerLambda.d.ts +0 -11
  317. package/types/influxdb/influxDBManagerLambda.d.ts.map +0 -1
  318. package/types/influxdb/influxDBManagerService.d.ts +0 -8
  319. package/types/influxdb/influxDBManagerService.d.ts.map +0 -1
  320. package/types/publishInstrumentsWebWorker.d.ts +0 -1
  321. package/types/publishInstrumentsWebWorker.d.ts.map +0 -1
  322. package/types/server.d.ts.map +0 -1
  323. package/types/socketIoServerHelper.d.ts +0 -20
  324. package/types/socketIoServerHelper.d.ts.map +0 -1
  325. package/types/tcpclient/app.d.ts +0 -2
  326. package/types/tcpclient/app.d.ts.map +0 -1
  327. package/types/tcpclient/app2.d.ts +0 -2
  328. package/types/tcpclient/app2.d.ts.map +0 -1
  329. package/types/tcpserver/app.d.ts +0 -2
  330. package/types/tcpserver/app.d.ts.map +0 -1
  331. package/types/tcpserver/appConfig.d.ts +0 -3
  332. package/types/tcpserver/appConfig.d.ts.map +0 -1
  333. package/types/tcpserver/appmaster.d.ts +0 -24
  334. package/types/tcpserver/appmaster.d.ts.map +0 -1
  335. package/types/testertesting/app.d.ts +0 -2
  336. package/types/testertesting/app.d.ts.map +0 -1
  337. package/types/testertesting/commonTypes.d.ts +0 -215
  338. package/types/testertesting/commonTypes.d.ts.map +0 -1
  339. package/types/testertesting/telemetryProcessor.d.ts +0 -6
  340. package/types/testertesting/telemetryProcessor.d.ts.map +0 -1
  341. package/types/testertesting/testCase01.d.ts +0 -20
  342. package/types/testertesting/testCase01.d.ts.map +0 -1
  343. package/types/testertesting/workerInstance.d.ts +0 -23
  344. package/types/testertesting/workerInstance.d.ts.map +0 -1
  345. package/types/testertesting/workerManager.d.ts +0 -16
  346. package/types/testertesting/workerManager.d.ts.map +0 -1
  347. package/types/testertesting/workerWorkerTestRunner01.d.ts +0 -7
  348. package/types/testertesting/workerWorkerTestRunner01.d.ts.map +0 -1
  349. package/types/testing/app.d.ts +0 -2
  350. package/types/testing/app.d.ts.map +0 -1
  351. package/types/testing/appConfig.d.ts +0 -3
  352. package/types/testing/appConfig.d.ts.map +0 -1
  353. package/types/testing/appTinyEmitter.d.ts +0 -2
  354. package/types/testing/appTinyEmitter.d.ts.map +0 -1
  355. package/types/testing/appWorkerWSS.d.ts +0 -26
  356. package/types/testing/appWorkerWSS.d.ts.map +0 -1
  357. package/types/testing/appredistest.d.ts +0 -4
  358. package/types/testing/appredistest.d.ts.map +0 -1
  359. package/types/testing/appsolo.d.ts +0 -3
  360. package/types/testing/appsolo.d.ts.map +0 -1
  361. package/types/testing/promiseTesting.d.ts +0 -4
  362. package/types/testing/promiseTesting.d.ts.map +0 -1
  363. package/types/testing/server.d.ts +0 -6
  364. package/types/testing/server.d.ts.map +0 -1
  365. package/types/testing/wsevents.d.ts +0 -18
  366. package/types/testing/wsevents.d.ts.map +0 -1
  367. package/types/webworkertesting/app.d.ts +0 -2
  368. package/types/webworkertesting/app.d.ts.map +0 -1
  369. package/types/webworkertesting/worker.d.ts +0 -2
  370. 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
- }