@milaboratories/pl-drivers 1.12.7 → 1.12.8

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 (92) hide show
  1. package/dist/clients/download.cjs +1 -0
  2. package/dist/clients/download.cjs.map +1 -1
  3. package/dist/clients/download.js +1 -0
  4. package/dist/clients/download.js.map +1 -1
  5. package/dist/clients/logs.cjs +2 -0
  6. package/dist/clients/logs.cjs.map +1 -1
  7. package/dist/clients/logs.js +2 -0
  8. package/dist/clients/logs.js.map +1 -1
  9. package/dist/clients/ls_api.cjs +1 -0
  10. package/dist/clients/ls_api.cjs.map +1 -1
  11. package/dist/clients/ls_api.js +1 -0
  12. package/dist/clients/ls_api.js.map +1 -1
  13. package/dist/clients/progress.cjs +4 -1
  14. package/dist/clients/progress.cjs.map +1 -1
  15. package/dist/clients/progress.js +4 -1
  16. package/dist/clients/progress.js.map +1 -1
  17. package/dist/clients/upload.cjs +17 -3
  18. package/dist/clients/upload.cjs.map +1 -1
  19. package/dist/clients/upload.js +17 -3
  20. package/dist/clients/upload.js.map +1 -1
  21. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs +28 -16
  22. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs.map +1 -1
  23. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs +1 -1
  24. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs.map +1 -1
  25. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +2 -2
  26. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js +1 -1
  27. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js.map +1 -1
  28. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +11 -5
  29. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js +28 -16
  30. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js.map +1 -1
  31. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs +26 -12
  32. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs.map +1 -1
  33. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs +4 -4
  34. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs.map +1 -1
  35. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js +4 -4
  36. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js.map +1 -1
  37. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +16 -16
  38. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js +26 -12
  39. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js.map +1 -1
  40. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs +36 -12
  41. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs.map +1 -1
  42. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs +1 -1
  43. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs.map +1 -1
  44. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +2 -2
  45. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js +1 -1
  46. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js.map +1 -1
  47. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +8 -0
  48. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js +36 -12
  49. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js.map +1 -1
  50. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs +29 -189
  51. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs.map +1 -1
  52. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs +20 -41
  53. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs.map +1 -1
  54. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +36 -66
  55. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js +20 -41
  56. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js.map +1 -1
  57. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +52 -137
  58. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js +29 -189
  59. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js.map +1 -1
  60. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs +225 -24
  61. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs.map +1 -1
  62. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs +21 -7
  63. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs.map +1 -1
  64. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js +21 -7
  65. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js.map +1 -1
  66. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js +225 -24
  67. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js.map +1 -1
  68. package/dist/proto-rest/downloadapi.d.ts +8 -3
  69. package/dist/proto-rest/progressapi.d.ts +4 -2
  70. package/dist/proto-rest/streamingapi.d.ts +64 -203
  71. package/package.json +5 -5
  72. package/src/clients/download.ts +1 -0
  73. package/src/clients/logs.ts +2 -0
  74. package/src/clients/ls_api.ts +1 -0
  75. package/src/clients/progress.ts +1 -1
  76. package/src/clients/upload.ts +14 -1
  77. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +2 -2
  78. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +24 -11
  79. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +8 -8
  80. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +31 -18
  81. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +2 -2
  82. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +23 -1
  83. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +39 -78
  84. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +72 -263
  85. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.ts +41 -14
  86. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.ts +286 -44
  87. package/src/proto-grpc/google/protobuf/descriptor.ts +2 -5
  88. package/src/proto-rest/downloadapi.ts +8 -3
  89. package/src/proto-rest/lsapi.ts +23 -18
  90. package/src/proto-rest/progressapi.ts +4 -0
  91. package/src/proto-rest/streamingapi.ts +65 -211
  92. package/src/proto-rest/uploadapi.ts +141 -39
@@ -1 +1 @@
1
- {"version":3,"file":"protocol.client.cjs","names":["Streaming"],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { Streaming } from \"./protocol\";\nimport type { StreamingAPI_LastLines } from \"./protocol\";\nimport type { StreamingAPI_ReadText } from \"./protocol\";\nimport type { StreamingAPI_StreamText } from \"./protocol\";\nimport type { StreamingAPI_ReadBinary } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { StreamingAPI_Response } from \"./protocol\";\nimport type { StreamingAPI_StreamBinary } from \"./protocol\";\nimport type { ServerStreamingCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * Streaming provides access to online data stream from item in storage. Whenever item is appended with data,\n * the caller receives this fresh data in stream from server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport interface IStreamingClient {\n /**\n * StreamBinary provides stream of binary file. Each response message keeps\n * one single chunk of binary data from data source. See StreamingAPI.Binary message\n * for more info on available options.\n *\n * @generated from protobuf rpc: StreamBinary\n */\n streamBinary(input: StreamingAPI_StreamBinary, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamBinary, StreamingAPI_Response>;\n /**\n * ReadBinary allows to read remote item in chunks using stream-like API.\n * The difference to StreamBinary is that the client receives single response for each\n * call and has to send new calls to the server to get fresh data from remote item.\n * Each response (each chunk from server) keeps not more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response>;\n /**\n * StreamText provides stream of textual file, splitting the data by newline symbol.\n * Each response message keeps one single line of text from data source.\n *\n * @generated from protobuf rpc: StreamText\n */\n streamText(input: StreamingAPI_StreamText, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamText, StreamingAPI_Response>;\n /**\n * ReadBinary allows to read remote item in chunks using stream-like API.\n * The difference to StreamBinary is that the client receives single response for each\n * call and has to send new calls to the server to get fresh data from remote item.\n * Each response (each chunk from server) keeps not more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response>;\n /**\n * LastLines provides single message with the last lines from data source.\n * When search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reversed order, as server reads data source from the end.\n * Consider it as equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so client can continue reading the file backwards in subsequent calls.\n * This means, that use of this <new_offset> in ReadText() will return you the same line\n * returned last in LastLines() data.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response>;\n}\n/**\n *\n * Streaming provides access to online data stream from item in storage. Whenever item is appended with data,\n * the caller receives this fresh data in stream from server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport class StreamingClient implements IStreamingClient, ServiceInfo {\n typeName = Streaming.typeName;\n methods = Streaming.methods;\n options = Streaming.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * StreamBinary provides stream of binary file. Each response message keeps\n * one single chunk of binary data from data source. See StreamingAPI.Binary message\n * for more info on available options.\n *\n * @generated from protobuf rpc: StreamBinary\n */\n streamBinary(input: StreamingAPI_StreamBinary, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamBinary, StreamingAPI_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_StreamBinary, StreamingAPI_Response>(\"serverStreaming\", this._transport, method, opt, input);\n }\n /**\n * ReadBinary allows to read remote item in chunks using stream-like API.\n * The difference to StreamBinary is that the client receives single response for each\n * call and has to send new calls to the server to get fresh data from remote item.\n * Each response (each chunk from server) keeps not more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadBinary, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * StreamText provides stream of textual file, splitting the data by newline symbol.\n * Each response message keeps one single line of text from data source.\n *\n * @generated from protobuf rpc: StreamText\n */\n streamText(input: StreamingAPI_StreamText, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamText, StreamingAPI_Response> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_StreamText, StreamingAPI_Response>(\"serverStreaming\", this._transport, method, opt, input);\n }\n /**\n * ReadBinary allows to read remote item in chunks using stream-like API.\n * The difference to StreamBinary is that the client receives single response for each\n * call and has to send new calls to the server to get fresh data from remote item.\n * Each response (each chunk from server) keeps not more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadText, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * LastLines provides single message with the last lines from data source.\n * When search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reversed order, as server reads data source from the end.\n * Consider it as equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so client can continue reading the file backwards in subsequent calls.\n * This means, that use of this <new_offset> in ReadText() will return you the same line\n * returned last in LastLines() data.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_LastLines, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;;;AAgFA,IAAa,kBAAb,MAAsE;CAClE,WAAWA,2BAAU;CACrB,UAAUA,2BAAU;CACpB,UAAUA,2BAAU;CACpB,YAAY,AAAiB,YAA0B;EAA1B;;;;;;;;;CAS7B,aAAa,OAAkC,SAA6F;EACxI,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,sDAAwE,mBAAmB,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;;;CAUnI,WAAW,OAAgC,SAAiF;EACxH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,sDAAsE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;CAQvH,WAAW,OAAgC,SAA2F;EAClI,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,sDAAsE,mBAAmB,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;;;CAUjI,SAAS,OAA8B,SAA+E;EAClH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,sDAAoE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;;;;;;;CAcrH,UAAU,OAA+B,SAAgF;EACrH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,sDAAqE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
1
+ {"version":3,"file":"protocol.client.cjs","names":["Streaming"],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { Streaming } from \"./protocol\";\nimport type { StreamingAPI_LastLines } from \"./protocol\";\nimport type { StreamingAPI_ReadText } from \"./protocol\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { StreamingAPI_Response } from \"./protocol\";\nimport type { StreamingAPI_ReadBinary } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,\n * the caller receives this fresh data in a stream from the server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport interface IStreamingClient {\n /**\n * ReadBinary allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response>;\n /**\n * ReadText allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response>;\n /**\n * LastLines provides a single message with the last lines from the data source.\n * When a search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reverse order, as the server reads the data source from the end.\n * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so the client can continue reading the file backwards in subsequent calls.\n * This means that the use of this <new_offset> in ReadText() will return the last line\n * returned in the LastLines() response.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response>;\n}\n/**\n *\n * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,\n * the caller receives this fresh data in a stream from the server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport class StreamingClient implements IStreamingClient, ServiceInfo {\n typeName = Streaming.typeName;\n methods = Streaming.methods;\n options = Streaming.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * ReadBinary allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadBinary, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * ReadText allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadText, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * LastLines provides a single message with the last lines from the data source.\n * When a search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reverse order, as the server reads the data source from the end.\n * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so the client can continue reading the file backwards in subsequent calls.\n * This means that the use of this <new_offset> in ReadText() will return the last line\n * returned in the LastLines() response.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_LastLines, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;;;AA8DA,IAAa,kBAAb,MAAsE;CAClE,WAAWA,2BAAU;CACrB,UAAUA,2BAAU;CACpB,UAAUA,2BAAU;CACpB,YAAY,AAAiB,YAA0B;EAA1B;;;;;;;;;;CAU7B,WAAW,OAAgC,SAAiF;EACxH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,sDAAsE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;;;CAUvH,SAAS,OAA8B,SAA+E;EAClH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,sDAAoE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;;;;;;;CAcrH,UAAU,OAA+B,SAAgF;EACrH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,sDAAqE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
@@ -1,60 +1,45 @@
1
- import { StreamingAPI_LastLines, StreamingAPI_ReadBinary, StreamingAPI_ReadText, StreamingAPI_Response, StreamingAPI_StreamBinary, StreamingAPI_StreamText } from "./protocol.js";
1
+ import { StreamingAPI_LastLines, StreamingAPI_ReadBinary, StreamingAPI_ReadText, StreamingAPI_Response } from "./protocol.js";
2
2
  import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
3
- import { RpcOptions, RpcTransport, ServerStreamingCall, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
3
+ import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
4
4
  import * as _protobuf_ts_runtime0 from "@protobuf-ts/runtime";
5
5
 
6
6
  //#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts
7
7
  /**
8
8
  *
9
- * Streaming provides access to online data stream from item in storage. Whenever item is appended with data,
10
- * the caller receives this fresh data in stream from server.
9
+ * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,
10
+ * the caller receives this fresh data in a stream from the server.
11
11
  *
12
12
  *
13
13
  * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming
14
14
  */
15
15
  interface IStreamingClient {
16
16
  /**
17
- * StreamBinary provides stream of binary file. Each response message keeps
18
- * one single chunk of binary data from data source. See StreamingAPI.Binary message
19
- * for more info on available options.
20
- *
21
- * @generated from protobuf rpc: StreamBinary
22
- */
23
- streamBinary(input: StreamingAPI_StreamBinary, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamBinary, StreamingAPI_Response>;
24
- /**
25
- * ReadBinary allows to read remote item in chunks using stream-like API.
26
- * The difference to StreamBinary is that the client receives single response for each
27
- * call and has to send new calls to the server to get fresh data from remote item.
28
- * Each response (each chunk from server) keeps not more than 3.9MiB of data.
17
+ * ReadBinary allows reading a remote item in chunks using a stream-like API.
18
+ * The client receives a single response for each call and has to send new calls
19
+ * to the server to get fresh data from the remote item.
20
+ * Each response (each chunk from the server) contains no more than 3.9MiB of data.
29
21
  *
30
22
  * @generated from protobuf rpc: ReadBinary
31
23
  */
32
24
  readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response>;
33
25
  /**
34
- * StreamText provides stream of textual file, splitting the data by newline symbol.
35
- * Each response message keeps one single line of text from data source.
36
- *
37
- * @generated from protobuf rpc: StreamText
38
- */
39
- streamText(input: StreamingAPI_StreamText, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamText, StreamingAPI_Response>;
40
- /**
41
- * ReadBinary allows to read remote item in chunks using stream-like API.
42
- * The difference to StreamBinary is that the client receives single response for each
43
- * call and has to send new calls to the server to get fresh data from remote item.
44
- * Each response (each chunk from server) keeps not more than 3.9MiB of data.
26
+ * ReadText allows reading a remote item in chunks using a stream-like API.
27
+ * The client receives a single response for each call and has to send new calls
28
+ * to the server to get fresh data from the remote item.
29
+ * Each response (each chunk from the server) contains no more than 3.9MiB of data.
45
30
  *
46
31
  * @generated from protobuf rpc: ReadText
47
32
  */
48
33
  readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response>;
49
34
  /**
50
- * LastLines provides single message with the last lines from data source.
51
- * When search pattern is specified, the last lines matching the given pattern are returned.
52
- * The lines are returned in reversed order, as server reads data source from the end.
53
- * Consider it as equivalent to 'tac <file> | grep <search> | head -n <line_count>'
35
+ * LastLines provides a single message with the last lines from the data source.
36
+ * When a search pattern is specified, the last lines matching the given pattern are returned.
37
+ * The lines are returned in reverse order, as the server reads the data source from the end.
38
+ * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'
54
39
  * The <new_offset> returned in the response points to the _beginning_ of the last
55
- * line found, so client can continue reading the file backwards in subsequent calls.
56
- * This means, that use of this <new_offset> in ReadText() will return you the same line
57
- * returned last in LastLines() data.
40
+ * line found, so the client can continue reading the file backwards in subsequent calls.
41
+ * This means that the use of this <new_offset> in ReadText() will return the last line
42
+ * returned in the LastLines() response.
58
43
  *
59
44
  * @generated from protobuf rpc: LastLines
60
45
  */
@@ -62,8 +47,8 @@ interface IStreamingClient {
62
47
  }
63
48
  /**
64
49
  *
65
- * Streaming provides access to online data stream from item in storage. Whenever item is appended with data,
66
- * the caller receives this fresh data in stream from server.
50
+ * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,
51
+ * the caller receives this fresh data in a stream from the server.
67
52
  *
68
53
  *
69
54
  * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming
@@ -77,47 +62,32 @@ declare class StreamingClient implements IStreamingClient, ServiceInfo {
77
62
  };
78
63
  constructor(_transport: RpcTransport);
79
64
  /**
80
- * StreamBinary provides stream of binary file. Each response message keeps
81
- * one single chunk of binary data from data source. See StreamingAPI.Binary message
82
- * for more info on available options.
83
- *
84
- * @generated from protobuf rpc: StreamBinary
85
- */
86
- streamBinary(input: StreamingAPI_StreamBinary, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamBinary, StreamingAPI_Response>;
87
- /**
88
- * ReadBinary allows to read remote item in chunks using stream-like API.
89
- * The difference to StreamBinary is that the client receives single response for each
90
- * call and has to send new calls to the server to get fresh data from remote item.
91
- * Each response (each chunk from server) keeps not more than 3.9MiB of data.
65
+ * ReadBinary allows reading a remote item in chunks using a stream-like API.
66
+ * The client receives a single response for each call and has to send new calls
67
+ * to the server to get fresh data from the remote item.
68
+ * Each response (each chunk from the server) contains no more than 3.9MiB of data.
92
69
  *
93
70
  * @generated from protobuf rpc: ReadBinary
94
71
  */
95
72
  readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response>;
96
73
  /**
97
- * StreamText provides stream of textual file, splitting the data by newline symbol.
98
- * Each response message keeps one single line of text from data source.
99
- *
100
- * @generated from protobuf rpc: StreamText
101
- */
102
- streamText(input: StreamingAPI_StreamText, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamText, StreamingAPI_Response>;
103
- /**
104
- * ReadBinary allows to read remote item in chunks using stream-like API.
105
- * The difference to StreamBinary is that the client receives single response for each
106
- * call and has to send new calls to the server to get fresh data from remote item.
107
- * Each response (each chunk from server) keeps not more than 3.9MiB of data.
74
+ * ReadText allows reading a remote item in chunks using a stream-like API.
75
+ * The client receives a single response for each call and has to send new calls
76
+ * to the server to get fresh data from the remote item.
77
+ * Each response (each chunk from the server) contains no more than 3.9MiB of data.
108
78
  *
109
79
  * @generated from protobuf rpc: ReadText
110
80
  */
111
81
  readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response>;
112
82
  /**
113
- * LastLines provides single message with the last lines from data source.
114
- * When search pattern is specified, the last lines matching the given pattern are returned.
115
- * The lines are returned in reversed order, as server reads data source from the end.
116
- * Consider it as equivalent to 'tac <file> | grep <search> | head -n <line_count>'
83
+ * LastLines provides a single message with the last lines from the data source.
84
+ * When a search pattern is specified, the last lines matching the given pattern are returned.
85
+ * The lines are returned in reverse order, as the server reads the data source from the end.
86
+ * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'
117
87
  * The <new_offset> returned in the response points to the _beginning_ of the last
118
- * line found, so client can continue reading the file backwards in subsequent calls.
119
- * This means, that use of this <new_offset> in ReadText() will return you the same line
120
- * returned last in LastLines() data.
88
+ * line found, so the client can continue reading the file backwards in subsequent calls.
89
+ * This means that the use of this <new_offset> in ReadText() will return the last line
90
+ * returned in the LastLines() response.
121
91
  *
122
92
  * @generated from protobuf rpc: LastLines
123
93
  */
@@ -4,8 +4,8 @@ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
4
4
  //#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts
5
5
  /**
6
6
  *
7
- * Streaming provides access to online data stream from item in storage. Whenever item is appended with data,
8
- * the caller receives this fresh data in stream from server.
7
+ * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,
8
+ * the caller receives this fresh data in a stream from the server.
9
9
  *
10
10
  *
11
11
  * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming
@@ -18,64 +18,43 @@ var StreamingClient = class {
18
18
  this._transport = _transport;
19
19
  }
20
20
  /**
21
- * StreamBinary provides stream of binary file. Each response message keeps
22
- * one single chunk of binary data from data source. See StreamingAPI.Binary message
23
- * for more info on available options.
24
- *
25
- * @generated from protobuf rpc: StreamBinary
26
- */
27
- streamBinary(input, options) {
28
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
29
- return stackIntercept("serverStreaming", this._transport, method, opt, input);
30
- }
31
- /**
32
- * ReadBinary allows to read remote item in chunks using stream-like API.
33
- * The difference to StreamBinary is that the client receives single response for each
34
- * call and has to send new calls to the server to get fresh data from remote item.
35
- * Each response (each chunk from server) keeps not more than 3.9MiB of data.
21
+ * ReadBinary allows reading a remote item in chunks using a stream-like API.
22
+ * The client receives a single response for each call and has to send new calls
23
+ * to the server to get fresh data from the remote item.
24
+ * Each response (each chunk from the server) contains no more than 3.9MiB of data.
36
25
  *
37
26
  * @generated from protobuf rpc: ReadBinary
38
27
  */
39
28
  readBinary(input, options) {
40
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
29
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
41
30
  return stackIntercept("unary", this._transport, method, opt, input);
42
31
  }
43
32
  /**
44
- * StreamText provides stream of textual file, splitting the data by newline symbol.
45
- * Each response message keeps one single line of text from data source.
46
- *
47
- * @generated from protobuf rpc: StreamText
48
- */
49
- streamText(input, options) {
50
- const method = this.methods[2], opt = this._transport.mergeOptions(options);
51
- return stackIntercept("serverStreaming", this._transport, method, opt, input);
52
- }
53
- /**
54
- * ReadBinary allows to read remote item in chunks using stream-like API.
55
- * The difference to StreamBinary is that the client receives single response for each
56
- * call and has to send new calls to the server to get fresh data from remote item.
57
- * Each response (each chunk from server) keeps not more than 3.9MiB of data.
33
+ * ReadText allows reading a remote item in chunks using a stream-like API.
34
+ * The client receives a single response for each call and has to send new calls
35
+ * to the server to get fresh data from the remote item.
36
+ * Each response (each chunk from the server) contains no more than 3.9MiB of data.
58
37
  *
59
38
  * @generated from protobuf rpc: ReadText
60
39
  */
61
40
  readText(input, options) {
62
- const method = this.methods[3], opt = this._transport.mergeOptions(options);
41
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
63
42
  return stackIntercept("unary", this._transport, method, opt, input);
64
43
  }
65
44
  /**
66
- * LastLines provides single message with the last lines from data source.
67
- * When search pattern is specified, the last lines matching the given pattern are returned.
68
- * The lines are returned in reversed order, as server reads data source from the end.
69
- * Consider it as equivalent to 'tac <file> | grep <search> | head -n <line_count>'
45
+ * LastLines provides a single message with the last lines from the data source.
46
+ * When a search pattern is specified, the last lines matching the given pattern are returned.
47
+ * The lines are returned in reverse order, as the server reads the data source from the end.
48
+ * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'
70
49
  * The <new_offset> returned in the response points to the _beginning_ of the last
71
- * line found, so client can continue reading the file backwards in subsequent calls.
72
- * This means, that use of this <new_offset> in ReadText() will return you the same line
73
- * returned last in LastLines() data.
50
+ * line found, so the client can continue reading the file backwards in subsequent calls.
51
+ * This means that the use of this <new_offset> in ReadText() will return the last line
52
+ * returned in the LastLines() response.
74
53
  *
75
54
  * @generated from protobuf rpc: LastLines
76
55
  */
77
56
  lastLines(input, options) {
78
- const method = this.methods[4], opt = this._transport.mergeOptions(options);
57
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
79
58
  return stackIntercept("unary", this._transport, method, opt, input);
80
59
  }
81
60
  };
@@ -1 +1 @@
1
- {"version":3,"file":"protocol.client.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { Streaming } from \"./protocol\";\nimport type { StreamingAPI_LastLines } from \"./protocol\";\nimport type { StreamingAPI_ReadText } from \"./protocol\";\nimport type { StreamingAPI_StreamText } from \"./protocol\";\nimport type { StreamingAPI_ReadBinary } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { StreamingAPI_Response } from \"./protocol\";\nimport type { StreamingAPI_StreamBinary } from \"./protocol\";\nimport type { ServerStreamingCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * Streaming provides access to online data stream from item in storage. Whenever item is appended with data,\n * the caller receives this fresh data in stream from server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport interface IStreamingClient {\n /**\n * StreamBinary provides stream of binary file. Each response message keeps\n * one single chunk of binary data from data source. See StreamingAPI.Binary message\n * for more info on available options.\n *\n * @generated from protobuf rpc: StreamBinary\n */\n streamBinary(input: StreamingAPI_StreamBinary, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamBinary, StreamingAPI_Response>;\n /**\n * ReadBinary allows to read remote item in chunks using stream-like API.\n * The difference to StreamBinary is that the client receives single response for each\n * call and has to send new calls to the server to get fresh data from remote item.\n * Each response (each chunk from server) keeps not more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response>;\n /**\n * StreamText provides stream of textual file, splitting the data by newline symbol.\n * Each response message keeps one single line of text from data source.\n *\n * @generated from protobuf rpc: StreamText\n */\n streamText(input: StreamingAPI_StreamText, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamText, StreamingAPI_Response>;\n /**\n * ReadBinary allows to read remote item in chunks using stream-like API.\n * The difference to StreamBinary is that the client receives single response for each\n * call and has to send new calls to the server to get fresh data from remote item.\n * Each response (each chunk from server) keeps not more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response>;\n /**\n * LastLines provides single message with the last lines from data source.\n * When search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reversed order, as server reads data source from the end.\n * Consider it as equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so client can continue reading the file backwards in subsequent calls.\n * This means, that use of this <new_offset> in ReadText() will return you the same line\n * returned last in LastLines() data.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response>;\n}\n/**\n *\n * Streaming provides access to online data stream from item in storage. Whenever item is appended with data,\n * the caller receives this fresh data in stream from server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport class StreamingClient implements IStreamingClient, ServiceInfo {\n typeName = Streaming.typeName;\n methods = Streaming.methods;\n options = Streaming.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * StreamBinary provides stream of binary file. Each response message keeps\n * one single chunk of binary data from data source. See StreamingAPI.Binary message\n * for more info on available options.\n *\n * @generated from protobuf rpc: StreamBinary\n */\n streamBinary(input: StreamingAPI_StreamBinary, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamBinary, StreamingAPI_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_StreamBinary, StreamingAPI_Response>(\"serverStreaming\", this._transport, method, opt, input);\n }\n /**\n * ReadBinary allows to read remote item in chunks using stream-like API.\n * The difference to StreamBinary is that the client receives single response for each\n * call and has to send new calls to the server to get fresh data from remote item.\n * Each response (each chunk from server) keeps not more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadBinary, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * StreamText provides stream of textual file, splitting the data by newline symbol.\n * Each response message keeps one single line of text from data source.\n *\n * @generated from protobuf rpc: StreamText\n */\n streamText(input: StreamingAPI_StreamText, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamText, StreamingAPI_Response> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_StreamText, StreamingAPI_Response>(\"serverStreaming\", this._transport, method, opt, input);\n }\n /**\n * ReadBinary allows to read remote item in chunks using stream-like API.\n * The difference to StreamBinary is that the client receives single response for each\n * call and has to send new calls to the server to get fresh data from remote item.\n * Each response (each chunk from server) keeps not more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadText, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * LastLines provides single message with the last lines from data source.\n * When search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reversed order, as server reads data source from the end.\n * Consider it as equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so client can continue reading the file backwards in subsequent calls.\n * This means, that use of this <new_offset> in ReadText() will return you the same line\n * returned last in LastLines() data.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_LastLines, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;;AAgFA,IAAa,kBAAb,MAAsE;CAClE,WAAW,UAAU;CACrB,UAAU,UAAU;CACpB,UAAU,UAAU;CACpB,YAAY,AAAiB,YAA0B;EAA1B;;;;;;;;;CAS7B,aAAa,OAAkC,SAA6F;EACxI,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAAiE,mBAAmB,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;;;CAUnI,WAAW,OAAgC,SAAiF;EACxH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAA+D,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;CAQvH,WAAW,OAAgC,SAA2F;EAClI,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAA+D,mBAAmB,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;;;CAUjI,SAAS,OAA8B,SAA+E;EAClH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAA6D,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;;;;;;;CAcrH,UAAU,OAA+B,SAAgF;EACrH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAA8D,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
1
+ {"version":3,"file":"protocol.client.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { Streaming } from \"./protocol\";\nimport type { StreamingAPI_LastLines } from \"./protocol\";\nimport type { StreamingAPI_ReadText } from \"./protocol\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { StreamingAPI_Response } from \"./protocol\";\nimport type { StreamingAPI_ReadBinary } from \"./protocol\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n *\n * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,\n * the caller receives this fresh data in a stream from the server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport interface IStreamingClient {\n /**\n * ReadBinary allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response>;\n /**\n * ReadText allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response>;\n /**\n * LastLines provides a single message with the last lines from the data source.\n * When a search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reverse order, as the server reads the data source from the end.\n * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so the client can continue reading the file backwards in subsequent calls.\n * This means that the use of this <new_offset> in ReadText() will return the last line\n * returned in the LastLines() response.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response>;\n}\n/**\n *\n * Streaming provides access to an online data stream from an item in storage. Whenever data is appended to an item,\n * the caller receives this fresh data in a stream from the server.\n *\n *\n * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport class StreamingClient implements IStreamingClient, ServiceInfo {\n typeName = Streaming.typeName;\n methods = Streaming.methods;\n options = Streaming.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * ReadBinary allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadBinary\n */\n readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadBinary, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * ReadText allows reading a remote item in chunks using a stream-like API.\n * The client receives a single response for each call and has to send new calls\n * to the server to get fresh data from the remote item.\n * Each response (each chunk from the server) contains no more than 3.9MiB of data.\n *\n * @generated from protobuf rpc: ReadText\n */\n readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_ReadText, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * LastLines provides a single message with the last lines from the data source.\n * When a search pattern is specified, the last lines matching the given pattern are returned.\n * The lines are returned in reverse order, as the server reads the data source from the end.\n * Consider it equivalent to 'tac <file> | grep <search> | head -n <line_count>'\n * The <new_offset> returned in the response points to the _beginning_ of the last\n * line found, so the client can continue reading the file backwards in subsequent calls.\n * This means that the use of this <new_offset> in ReadText() will return the last line\n * returned in the LastLines() response.\n *\n * @generated from protobuf rpc: LastLines\n */\n lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<StreamingAPI_LastLines, StreamingAPI_Response>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;;AA8DA,IAAa,kBAAb,MAAsE;CAClE,WAAW,UAAU;CACrB,UAAU,UAAU;CACpB,UAAU,UAAU;CACpB,YAAY,AAAiB,YAA0B;EAA1B;;;;;;;;;;CAU7B,WAAW,OAAgC,SAAiF;EACxH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAA+D,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;;;CAUvH,SAAS,OAA8B,SAA+E;EAClH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAA6D,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;;;;;;;CAcrH,UAAU,OAA+B,SAAgF;EACrH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAA8D,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}