@milaboratories/pl-drivers 1.12.7 → 1.12.9

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 (271) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +7 -13
  2. package/dist/clients/constructors.cjs +6 -7
  3. package/dist/clients/constructors.cjs.map +1 -1
  4. package/dist/clients/constructors.d.ts.map +1 -0
  5. package/dist/clients/constructors.js +1 -2
  6. package/dist/clients/constructors.js.map +1 -1
  7. package/dist/clients/crc32c.cjs +1 -2
  8. package/dist/clients/crc32c.cjs.map +1 -1
  9. package/dist/clients/crc32c.js +1 -1
  10. package/dist/clients/download.cjs +6 -6
  11. package/dist/clients/download.cjs.map +1 -1
  12. package/dist/clients/download.d.ts.map +1 -0
  13. package/dist/clients/download.js +2 -2
  14. package/dist/clients/download.js.map +1 -1
  15. package/dist/clients/logs.cjs +5 -4
  16. package/dist/clients/logs.cjs.map +1 -1
  17. package/dist/clients/logs.d.ts.map +1 -0
  18. package/dist/clients/logs.js +3 -2
  19. package/dist/clients/logs.js.map +1 -1
  20. package/dist/clients/ls_api.cjs +4 -4
  21. package/dist/clients/ls_api.cjs.map +1 -1
  22. package/dist/clients/ls_api.d.ts.map +1 -0
  23. package/dist/clients/ls_api.js +2 -2
  24. package/dist/clients/ls_api.js.map +1 -1
  25. package/dist/clients/progress.cjs +7 -5
  26. package/dist/clients/progress.cjs.map +1 -1
  27. package/dist/clients/progress.d.ts.map +1 -0
  28. package/dist/clients/progress.js +5 -3
  29. package/dist/clients/progress.js.map +1 -1
  30. package/dist/clients/upload.cjs +22 -9
  31. package/dist/clients/upload.cjs.map +1 -1
  32. package/dist/clients/upload.d.ts.map +1 -0
  33. package/dist/clients/upload.js +18 -5
  34. package/dist/clients/upload.js.map +1 -1
  35. package/dist/drivers/download_blob/blob_key.cjs +3 -4
  36. package/dist/drivers/download_blob/blob_key.cjs.map +1 -1
  37. package/dist/drivers/download_blob/blob_key.js +2 -3
  38. package/dist/drivers/download_blob/blob_key.js.map +1 -1
  39. package/dist/drivers/download_blob/download_blob.cjs +13 -14
  40. package/dist/drivers/download_blob/download_blob.cjs.map +1 -1
  41. package/dist/drivers/download_blob/download_blob.d.ts.map +1 -0
  42. package/dist/drivers/download_blob/download_blob.js +1 -2
  43. package/dist/drivers/download_blob/download_blob.js.map +1 -1
  44. package/dist/drivers/download_blob/download_blob_task.cjs +4 -5
  45. package/dist/drivers/download_blob/download_blob_task.cjs.map +1 -1
  46. package/dist/drivers/download_blob/download_blob_task.js +1 -2
  47. package/dist/drivers/download_blob/download_blob_task.js.map +1 -1
  48. package/dist/drivers/download_blob/sparse_cache/cache.cjs +4 -5
  49. package/dist/drivers/download_blob/sparse_cache/cache.cjs.map +1 -1
  50. package/dist/drivers/download_blob/sparse_cache/cache.js +1 -2
  51. package/dist/drivers/download_blob/sparse_cache/cache.js.map +1 -1
  52. package/dist/drivers/download_blob/sparse_cache/file.cjs +2 -3
  53. package/dist/drivers/download_blob/sparse_cache/file.cjs.map +1 -1
  54. package/dist/drivers/download_blob/sparse_cache/file.js +1 -2
  55. package/dist/drivers/download_blob/sparse_cache/file.js.map +1 -1
  56. package/dist/drivers/download_blob/sparse_cache/ranges.cjs +3 -4
  57. package/dist/drivers/download_blob/sparse_cache/ranges.cjs.map +1 -1
  58. package/dist/drivers/download_blob/sparse_cache/ranges.js +1 -2
  59. package/dist/drivers/download_blob/sparse_cache/ranges.js.map +1 -1
  60. package/dist/drivers/download_blob_url/driver.cjs +8 -9
  61. package/dist/drivers/download_blob_url/driver.cjs.map +1 -1
  62. package/dist/drivers/download_blob_url/driver.d.ts.map +1 -0
  63. package/dist/drivers/download_blob_url/driver.js +1 -2
  64. package/dist/drivers/download_blob_url/driver.js.map +1 -1
  65. package/dist/drivers/download_blob_url/driver_id.cjs +1 -2
  66. package/dist/drivers/download_blob_url/driver_id.cjs.map +1 -1
  67. package/dist/drivers/download_blob_url/driver_id.js +1 -1
  68. package/dist/drivers/download_blob_url/snapshot.cjs +2 -3
  69. package/dist/drivers/download_blob_url/snapshot.cjs.map +1 -1
  70. package/dist/drivers/download_blob_url/snapshot.d.ts +2 -2
  71. package/dist/drivers/download_blob_url/snapshot.d.ts.map +1 -0
  72. package/dist/drivers/download_blob_url/snapshot.js +1 -2
  73. package/dist/drivers/download_blob_url/snapshot.js.map +1 -1
  74. package/dist/drivers/download_blob_url/task.cjs +5 -6
  75. package/dist/drivers/download_blob_url/task.cjs.map +1 -1
  76. package/dist/drivers/download_blob_url/task.d.ts.map +1 -0
  77. package/dist/drivers/download_blob_url/task.js +1 -2
  78. package/dist/drivers/download_blob_url/task.js.map +1 -1
  79. package/dist/drivers/download_url/driver.cjs +7 -8
  80. package/dist/drivers/download_url/driver.cjs.map +1 -1
  81. package/dist/drivers/download_url/driver.d.ts.map +1 -0
  82. package/dist/drivers/download_url/driver.js +1 -2
  83. package/dist/drivers/download_url/driver.js.map +1 -1
  84. package/dist/drivers/download_url/task.cjs +4 -5
  85. package/dist/drivers/download_url/task.cjs.map +1 -1
  86. package/dist/drivers/download_url/task.d.ts.map +1 -0
  87. package/dist/drivers/download_url/task.js +1 -2
  88. package/dist/drivers/download_url/task.js.map +1 -1
  89. package/dist/drivers/helpers/download_local_handle.cjs +1 -2
  90. package/dist/drivers/helpers/download_local_handle.cjs.map +1 -1
  91. package/dist/drivers/helpers/download_local_handle.js +1 -1
  92. package/dist/drivers/helpers/download_remote_handle.cjs +3 -4
  93. package/dist/drivers/helpers/download_remote_handle.cjs.map +1 -1
  94. package/dist/drivers/helpers/download_remote_handle.js +1 -2
  95. package/dist/drivers/helpers/download_remote_handle.js.map +1 -1
  96. package/dist/drivers/helpers/files_cache.cjs +2 -3
  97. package/dist/drivers/helpers/files_cache.cjs.map +1 -1
  98. package/dist/drivers/helpers/files_cache.js +1 -2
  99. package/dist/drivers/helpers/files_cache.js.map +1 -1
  100. package/dist/drivers/helpers/helpers.cjs +1 -2
  101. package/dist/drivers/helpers/helpers.cjs.map +1 -1
  102. package/dist/drivers/helpers/helpers.d.ts.map +1 -0
  103. package/dist/drivers/helpers/helpers.js +1 -1
  104. package/dist/drivers/helpers/helpers.js.map +1 -1
  105. package/dist/drivers/helpers/logs_handle.cjs +2 -3
  106. package/dist/drivers/helpers/logs_handle.cjs.map +1 -1
  107. package/dist/drivers/helpers/logs_handle.js +1 -2
  108. package/dist/drivers/helpers/logs_handle.js.map +1 -1
  109. package/dist/drivers/helpers/ls_remote_import_handle.cjs +4 -6
  110. package/dist/drivers/helpers/ls_remote_import_handle.cjs.map +1 -1
  111. package/dist/drivers/helpers/ls_remote_import_handle.js +3 -5
  112. package/dist/drivers/helpers/ls_remote_import_handle.js.map +1 -1
  113. package/dist/drivers/helpers/ls_storage_entry.cjs +2 -3
  114. package/dist/drivers/helpers/ls_storage_entry.cjs.map +1 -1
  115. package/dist/drivers/helpers/ls_storage_entry.js +1 -2
  116. package/dist/drivers/helpers/ls_storage_entry.js.map +1 -1
  117. package/dist/drivers/helpers/polling_ops.d.ts.map +1 -0
  118. package/dist/drivers/helpers/read_file.cjs +2 -3
  119. package/dist/drivers/helpers/read_file.cjs.map +1 -1
  120. package/dist/drivers/helpers/read_file.js +1 -2
  121. package/dist/drivers/helpers/read_file.js.map +1 -1
  122. package/dist/drivers/logs.cjs +3 -4
  123. package/dist/drivers/logs.cjs.map +1 -1
  124. package/dist/drivers/logs.d.ts.map +1 -0
  125. package/dist/drivers/logs.js +1 -2
  126. package/dist/drivers/logs.js.map +1 -1
  127. package/dist/drivers/logs_stream.cjs +4 -5
  128. package/dist/drivers/logs_stream.cjs.map +1 -1
  129. package/dist/drivers/logs_stream.d.ts.map +1 -0
  130. package/dist/drivers/logs_stream.js +1 -2
  131. package/dist/drivers/logs_stream.js.map +1 -1
  132. package/dist/drivers/ls.cjs +7 -8
  133. package/dist/drivers/ls.cjs.map +1 -1
  134. package/dist/drivers/ls.d.ts.map +1 -0
  135. package/dist/drivers/ls.js +1 -2
  136. package/dist/drivers/ls.js.map +1 -1
  137. package/dist/drivers/types.cjs +2 -3
  138. package/dist/drivers/types.cjs.map +1 -1
  139. package/dist/drivers/types.d.ts +4 -4
  140. package/dist/drivers/types.d.ts.map +1 -0
  141. package/dist/drivers/types.js +1 -2
  142. package/dist/drivers/types.js.map +1 -1
  143. package/dist/drivers/upload.cjs +5 -6
  144. package/dist/drivers/upload.cjs.map +1 -1
  145. package/dist/drivers/upload.d.ts.map +1 -0
  146. package/dist/drivers/upload.js +1 -2
  147. package/dist/drivers/upload.js.map +1 -1
  148. package/dist/drivers/upload_task.cjs +4 -5
  149. package/dist/drivers/upload_task.cjs.map +1 -1
  150. package/dist/drivers/upload_task.d.ts.map +1 -0
  151. package/dist/drivers/upload_task.js +1 -2
  152. package/dist/drivers/upload_task.js.map +1 -1
  153. package/dist/drivers/urls/url.cjs +2 -3
  154. package/dist/drivers/urls/url.cjs.map +1 -1
  155. package/dist/drivers/urls/url.js +1 -2
  156. package/dist/drivers/urls/url.js.map +1 -1
  157. package/dist/drivers/virtual_storages.cjs +2 -3
  158. package/dist/drivers/virtual_storages.cjs.map +1 -1
  159. package/dist/drivers/virtual_storages.d.ts.map +1 -0
  160. package/dist/drivers/virtual_storages.js +1 -2
  161. package/dist/drivers/virtual_storages.js.map +1 -1
  162. package/dist/helpers/download.cjs +3 -4
  163. package/dist/helpers/download.cjs.map +1 -1
  164. package/dist/helpers/download.d.ts.map +1 -0
  165. package/dist/helpers/download.js +1 -2
  166. package/dist/helpers/download.js.map +1 -1
  167. package/dist/helpers/download_errors.cjs +1 -2
  168. package/dist/helpers/download_errors.cjs.map +1 -1
  169. package/dist/helpers/download_errors.d.ts.map +1 -0
  170. package/dist/helpers/download_errors.js +1 -1
  171. package/dist/helpers/validate.cjs +2 -3
  172. package/dist/helpers/validate.cjs.map +1 -1
  173. package/dist/helpers/validate.d.ts.map +1 -0
  174. package/dist/helpers/validate.js +1 -2
  175. package/dist/helpers/validate.js.map +1 -1
  176. package/dist/index.cjs +22 -23
  177. package/dist/index.js +1 -2
  178. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs +32 -27
  179. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs.map +1 -1
  180. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs +4 -5
  181. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs.map +1 -1
  182. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +6 -6
  183. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -0
  184. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js +2 -3
  185. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js.map +1 -1
  186. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +11 -5
  187. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -0
  188. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js +32 -31
  189. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js.map +1 -1
  190. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs +31 -24
  191. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs.map +1 -1
  192. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs +7 -8
  193. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs.map +1 -1
  194. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js +5 -6
  195. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js.map +1 -1
  196. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +16 -16
  197. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -0
  198. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js +30 -27
  199. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js.map +1 -1
  200. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs +42 -28
  201. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs.map +1 -1
  202. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs +4 -5
  203. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs.map +1 -1
  204. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +6 -6
  205. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -0
  206. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js +2 -3
  207. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js.map +1 -1
  208. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +8 -0
  209. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -0
  210. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js +40 -26
  211. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js.map +1 -1
  212. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs +32 -196
  213. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs.map +1 -1
  214. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs +23 -45
  215. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs.map +1 -1
  216. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +40 -70
  217. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -0
  218. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js +21 -43
  219. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js.map +1 -1
  220. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +52 -137
  221. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -0
  222. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js +31 -195
  223. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js.map +1 -1
  224. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs +228 -46
  225. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs.map +1 -1
  226. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs +24 -11
  227. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs.map +1 -1
  228. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js +22 -9
  229. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js.map +1 -1
  230. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts.map +1 -0
  231. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js +227 -45
  232. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js.map +1 -1
  233. package/dist/proto-grpc/google/protobuf/duration.cjs +2 -3
  234. package/dist/proto-grpc/google/protobuf/duration.cjs.map +1 -1
  235. package/dist/proto-grpc/google/protobuf/duration.d.ts.map +1 -0
  236. package/dist/proto-grpc/google/protobuf/duration.js +1 -2
  237. package/dist/proto-grpc/google/protobuf/duration.js.map +1 -1
  238. package/dist/proto-grpc/google/protobuf/timestamp.cjs +2 -3
  239. package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -1
  240. package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +1 -0
  241. package/dist/proto-grpc/google/protobuf/timestamp.js +1 -2
  242. package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -1
  243. package/dist/proto-rest/downloadapi.d.ts +8 -3
  244. package/dist/proto-rest/downloadapi.d.ts.map +1 -0
  245. package/dist/proto-rest/index.d.ts.map +1 -0
  246. package/dist/proto-rest/progressapi.d.ts +4 -2
  247. package/dist/proto-rest/progressapi.d.ts.map +1 -0
  248. package/dist/proto-rest/streamingapi.d.ts +64 -203
  249. package/dist/proto-rest/streamingapi.d.ts.map +1 -0
  250. package/package.json +10 -10
  251. package/src/clients/download.ts +1 -0
  252. package/src/clients/logs.ts +2 -0
  253. package/src/clients/ls_api.ts +1 -0
  254. package/src/clients/progress.ts +1 -1
  255. package/src/clients/upload.ts +14 -1
  256. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +2 -2
  257. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +24 -11
  258. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +8 -8
  259. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +31 -18
  260. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +2 -2
  261. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +23 -1
  262. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +39 -78
  263. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +72 -263
  264. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.ts +41 -14
  265. package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.ts +286 -44
  266. package/src/proto-grpc/google/protobuf/descriptor.ts +2 -5
  267. package/src/proto-rest/downloadapi.ts +8 -3
  268. package/src/proto-rest/lsapi.ts +23 -18
  269. package/src/proto-rest/progressapi.ts +4 -0
  270. package/src/proto-rest/streamingapi.ts +65 -211
  271. package/src/proto-rest/uploadapi.ts +141 -39
@@ -8,53 +8,53 @@ import { BinaryReadOptions, BinaryWriteOptions, IBinaryReader, IBinaryWriter, Me
8
8
  */
9
9
  interface LsAPI_ListItem {
10
10
  /**
11
- * name of the item in storage, without any prefixes
11
+ * Name of the item in storage, without any prefixes.
12
12
  *
13
13
  * @generated from protobuf field: string name = 1
14
14
  */
15
15
  name: string;
16
16
  /**
17
- * size of item in bytes
18
- * is always zero for directories (is_dir = true)
17
+ * Size of the item in bytes.
18
+ * Is always zero for directories (is_dir = true).
19
19
  *
20
20
  * @generated from protobuf field: uint64 size = 2
21
21
  */
22
22
  size: bigint;
23
23
  /**
24
- * is_dir is true for item, that can have subitems.
24
+ * is_dir is true for an item that can have subitems.
25
25
  *
26
26
  * @generated from protobuf field: bool is_dir = 3
27
27
  */
28
28
  isDir: boolean;
29
29
  /**
30
- * full_name is the name of item absolute to storage root.
31
- * it is <directory> + <name>
30
+ * full_name is the full name of the item, relative to the storage root.
31
+ * It is <directory> + <name>.
32
32
  * The <delimiter>, used in names, is storage-specific and is NOT guaranteed to be '/'.
33
33
  *
34
34
  * @generated from protobuf field: string full_name = 10
35
35
  */
36
36
  fullName: string;
37
37
  /**
38
- * directory, the item is located in. The value here is always a prefix of name:
38
+ * The directory the item is located in. The value here is always a prefix of name:
39
39
  * name.HasPrefix(directory) is always true.
40
40
  *
41
41
  * @generated from protobuf field: string directory = 11
42
42
  */
43
43
  directory: string;
44
44
  /**
45
- * last_modified keeps the item last modification timestamp
45
+ * last_modified keeps the item's last modification timestamp.
46
46
  *
47
47
  * @generated from protobuf field: google.protobuf.Timestamp last_modified = 12
48
48
  */
49
49
  lastModified?: Timestamp;
50
50
  /**
51
- * version of item in storage.
52
- * When storage supports versioning or provides checksums for the data stored,
51
+ * Version of item in storage.
52
+ * When the storage supports versioning or provides checksums for the data stored,
53
53
  * the <version> field keeps that data.
54
- * If not - it keeps the any simple combination of item attributes, that helps to
55
- * detect if the contents of item has changed, e.g. <size>+<mtime>.
56
- * Anyway, client should not try to interpret this field, but should provide it to the Platform
57
- * in operations with given item (like BlobImportInternal) to help Platform with deduplication.
54
+ * If not, it keeps any simple combination of item attributes that helps to
55
+ * detect if the contents of the item have changed, e.g. <size>+<mtime>.
56
+ * Anyway, the client should not try to interpret this field, but should provide it to the Platform
57
+ * in operations with a given item (like BlobImportInternal) to help the Platform with deduplication.
58
58
  *
59
59
  * @generated from protobuf field: string version = 13
60
60
  */
@@ -65,7 +65,7 @@ interface LsAPI_ListItem {
65
65
  */
66
66
  interface LsAPI_List_Response {
67
67
  /**
68
- * List of the full (absolute to storage root) names of items from storage.
68
+ * List of the full (relative to storage root) names of items from storage.
69
69
  * E.g., for 'fs' storage each name will consist of names of all directories, where the
70
70
  * item is located, and the item name itself.
71
71
  * The delimiter, used in names, is storage-specific and is NOT guaranteed to be '/'.
@@ -74,7 +74,7 @@ interface LsAPI_List_Response {
74
74
  */
75
75
  items: LsAPI_ListItem[];
76
76
  /**
77
- * delimiter is path separator, used in this storage. Client can use it to parse item names into parts,
77
+ * The delimiter is the path separator used in this storage. The client can use it to parse item names into parts,
78
78
  * to extract directory names.
79
79
  *
80
80
  * @generated from protobuf field: string delimiter = 2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"protocol.d.ts","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts"],"mappings":";;;;;;;;UAsBiB,cAAA;EAoDN;;AAkCX;;;EAhFI,IAAA;EAyFA;;;;;AA8CkC;EAhIlC,IAAA;;;;;;EAMA,KAAA;EAoJmE;;;;;;;EA5InE,QAAA;EAoHyC;;;;;;EA7GzC,SAAA;EAyH8B;;;;;EAnH9B,YAAA,GAAe,SAAA;EA+H2B;;;;;;;;;;;EAnH1C,OAAA;AAAA;;;;UAkCa,mBAAA;EAkQwC;;;;;;;;EAzPrD,KAAA,EAAO,cAAA;EAiQ8G;;;;;;EA1PrH,SAAA;AAAA;AAAA,cAyCE,mBAAA,SAA4B,WAAA,CAAY,cAAA;;EAY1C,MAAA,CAAO,KAAA,GAAQ,cAAA,CAAe,cAAA,IAAkB,cAAA;EAYhD,kBAAA,CAAmB,MAAA,EAAQ,aAAA,EAAe,MAAA,UAAgB,OAAA,EAAS,iBAAA,EAAmB,MAAA,GAAS,cAAA,GAAiB,cAAA;EAqChH,mBAAA,CAAoB,OAAA,EAAS,cAAA,EAAgB,MAAA,EAAQ,aAAA,EAAe,OAAA,EAAS,kBAAA,GAAqB,aAAA;AAAA;;;;cA+BzF,cAAA,EAAc,mBAAA;AAAA,cAsGrB,wBAAA,SAAiC,WAAA,CAAY,mBAAA;;EAO/C,MAAA,CAAO,KAAA,GAAQ,cAAA,CAAe,mBAAA,IAAuB,mBAAA;EAQrD,kBAAA,CAAmB,MAAA,EAAQ,aAAA,EAAe,MAAA,UAAgB,OAAA,EAAS,iBAAA,EAAmB,MAAA,GAAS,mBAAA,GAAsB,mBAAA;EAsBrH,mBAAA,CAAoB,OAAA,EAAS,mBAAA,EAAqB,MAAA,EAAQ,aAAA,EAAe,OAAA,EAAS,kBAAA,GAAqB,aAAA;AAAA;;;;cAgB9F,mBAAA,EAAmB,wBAAA"}
@@ -1,7 +1,6 @@
1
1
  import { Timestamp } from "../../../../../../../google/protobuf/timestamp.js";
2
2
  import { ServiceType } from "@protobuf-ts/runtime-rpc";
3
3
  import { MessageType, UnknownFieldHandler, WireType, reflectionMergePartial } from "@protobuf-ts/runtime";
4
-
5
4
  //#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts
6
5
  var LsAPI$Type = class extends MessageType {
7
6
  constructor() {
@@ -32,10 +31,7 @@ var LsAPI$Type = class extends MessageType {
32
31
  return writer;
33
32
  }
34
33
  };
35
- /**
36
- * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI
37
- */
38
- const LsAPI = new LsAPI$Type();
34
+ new LsAPI$Type();
39
35
  var LsAPI_ListItem$Type = class extends MessageType {
40
36
  constructor() {
41
37
  super("MiLaboratories.Controller.Shared.LsAPI.ListItem", [
@@ -176,24 +172,31 @@ var LsAPI_List$Type = class extends MessageType {
176
172
  return writer;
177
173
  }
178
174
  };
179
- /**
180
- * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List
181
- */
182
- const LsAPI_List = new LsAPI_List$Type();
175
+ new LsAPI_List$Type();
183
176
  var LsAPI_List_Request$Type = class extends MessageType {
184
177
  constructor() {
185
- super("MiLaboratories.Controller.Shared.LsAPI.List.Request", [{
186
- no: 1,
187
- name: "resource_id",
188
- kind: "scalar",
189
- T: 4,
190
- L: 0
191
- }, {
192
- no: 2,
193
- name: "location",
194
- kind: "scalar",
195
- T: 9
196
- }]);
178
+ super("MiLaboratories.Controller.Shared.LsAPI.List.Request", [
179
+ {
180
+ no: 1,
181
+ name: "resource_id",
182
+ kind: "scalar",
183
+ T: 4,
184
+ L: 0
185
+ },
186
+ {
187
+ no: 3,
188
+ name: "resource_signature",
189
+ kind: "scalar",
190
+ opt: true,
191
+ T: 12
192
+ },
193
+ {
194
+ no: 2,
195
+ name: "location",
196
+ kind: "scalar",
197
+ T: 9
198
+ }
199
+ ]);
197
200
  }
198
201
  create(value) {
199
202
  const message = globalThis.Object.create(this.messagePrototype);
@@ -210,6 +213,9 @@ var LsAPI_List_Request$Type = class extends MessageType {
210
213
  case 1:
211
214
  message.resourceId = reader.uint64().toBigInt();
212
215
  break;
216
+ case 3:
217
+ message.resourceSignature = reader.bytes();
218
+ break;
213
219
  case 2:
214
220
  message.location = reader.string();
215
221
  break;
@@ -225,6 +231,7 @@ var LsAPI_List_Request$Type = class extends MessageType {
225
231
  internalBinaryWrite(message, writer, options) {
226
232
  if (message.resourceId !== 0n) writer.tag(1, WireType.Varint).uint64(message.resourceId);
227
233
  if (message.location !== "") writer.tag(2, WireType.LengthDelimited).string(message.location);
234
+ if (message.resourceSignature !== void 0) writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);
228
235
  let u = options.writeUnknownFields;
229
236
  if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
230
237
  return writer;
@@ -285,10 +292,6 @@ var LsAPI_List_Response$Type = class extends MessageType {
285
292
  }
286
293
  };
287
294
  /**
288
- * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response
289
- */
290
- const LsAPI_List_Response = new LsAPI_List_Response$Type();
291
- /**
292
295
  * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.LS
293
296
  */
294
297
  const LS = new ServiceType("MiLaboratories.Controller.Shared.LS", [{
@@ -298,9 +301,9 @@ const LS = new ServiceType("MiLaboratories.Controller.Shared.LS", [{
298
301
  body: "*"
299
302
  } },
300
303
  I: LsAPI_List_Request,
301
- O: LsAPI_List_Response
304
+ O: new LsAPI_List_Response$Type()
302
305
  }]);
303
-
304
306
  //#endregion
305
307
  export { LS };
308
+
306
309
  //# sourceMappingURL=protocol.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"protocol.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.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/lsapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Timestamp } from \"../../../../../../../google/protobuf/timestamp\";\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI\n */\nexport interface LsAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem\n */\nexport interface LsAPI_ListItem {\n /**\n * name of the item in storage, without any prefixes\n *\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * size of item in bytes\n * is always zero for directories (is_dir = true)\n *\n * @generated from protobuf field: uint64 size = 2\n */\n size: bigint;\n /**\n * is_dir is true for item, that can have subitems.\n *\n * @generated from protobuf field: bool is_dir = 3\n */\n isDir: boolean;\n /**\n * full_name is the name of item absolute to storage root.\n * it is <directory> + <name>\n * The <delimiter>, used in names, is storage-specific and is NOT guaranteed to be '/'.\n *\n * @generated from protobuf field: string full_name = 10\n */\n fullName: string;\n /**\n * directory, the item is located in. The value here is always a prefix of name:\n * name.HasPrefix(directory) is always true.\n *\n * @generated from protobuf field: string directory = 11\n */\n directory: string;\n /**\n * last_modified keeps the item last modification timestamp\n *\n * @generated from protobuf field: google.protobuf.Timestamp last_modified = 12\n */\n lastModified?: Timestamp;\n /**\n * version of item in storage.\n * When storage supports versioning or provides checksums for the data stored,\n * the <version> field keeps that data.\n * If not - it keeps the any simple combination of item attributes, that helps to\n * detect if the contents of item has changed, e.g. <size>+<mtime>.\n * Anyway, client should not try to interpret this field, but should provide it to the Platform\n * in operations with given item (like BlobImportInternal) to help Platform with deduplication.\n *\n * @generated from protobuf field: string version = 13\n */\n version: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List\n */\nexport interface LsAPI_List {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request\n */\nexport interface LsAPI_List_Request {\n /**\n * resource_id of 'LS/<Storage>' resource\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * location to list, absolute to storage root. Only items, that have <full_name> starting\n * from <location> are included into list response.\n *\n * @generated from protobuf field: string location = 2\n */\n location: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response\n */\nexport interface LsAPI_List_Response {\n /**\n * List of the full (absolute to storage root) names of items from storage.\n * E.g., for 'fs' storage each name will consist of names of all directories, where the\n * item is located, and the item name itself.\n * The delimiter, used in names, is storage-specific and is NOT guaranteed to be '/'.\n *\n * @generated from protobuf field: repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1\n */\n items: LsAPI_ListItem[];\n /**\n * delimiter is path separator, used in this storage. Client can use it to parse item names into parts,\n * to extract directory names.\n *\n * @generated from protobuf field: string delimiter = 2\n */\n delimiter: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI$Type extends MessageType<LsAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI\", []);\n }\n create(value?: PartialMessage<LsAPI>): LsAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<LsAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI): LsAPI {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI\n */\nexport const LsAPI = new LsAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_ListItem$Type extends MessageType<LsAPI_ListItem> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.ListItem\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"size\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"is_dir\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 10, name: \"full_name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"directory\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 12, name: \"last_modified\", kind: \"message\", T: () => Timestamp },\n { no: 13, name: \"version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_ListItem>): LsAPI_ListItem {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.size = 0n;\n message.isDir = false;\n message.fullName = \"\";\n message.directory = \"\";\n message.version = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_ListItem>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_ListItem): LsAPI_ListItem {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string name */ 1:\n message.name = reader.string();\n break;\n case /* uint64 size */ 2:\n message.size = reader.uint64().toBigInt();\n break;\n case /* bool is_dir */ 3:\n message.isDir = reader.bool();\n break;\n case /* string full_name */ 10:\n message.fullName = reader.string();\n break;\n case /* string directory */ 11:\n message.directory = reader.string();\n break;\n case /* google.protobuf.Timestamp last_modified */ 12:\n message.lastModified = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.lastModified);\n break;\n case /* string version */ 13:\n message.version = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_ListItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* uint64 size = 2; */\n if (message.size !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.size);\n /* bool is_dir = 3; */\n if (message.isDir !== false)\n writer.tag(3, WireType.Varint).bool(message.isDir);\n /* string full_name = 10; */\n if (message.fullName !== \"\")\n writer.tag(10, WireType.LengthDelimited).string(message.fullName);\n /* string directory = 11; */\n if (message.directory !== \"\")\n writer.tag(11, WireType.LengthDelimited).string(message.directory);\n /* google.protobuf.Timestamp last_modified = 12; */\n if (message.lastModified)\n Timestamp.internalBinaryWrite(message.lastModified, writer.tag(12, WireType.LengthDelimited).fork(), options).join();\n /* string version = 13; */\n if (message.version !== \"\")\n writer.tag(13, WireType.LengthDelimited).string(message.version);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem\n */\nexport const LsAPI_ListItem = new LsAPI_ListItem$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List$Type extends MessageType<LsAPI_List> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List\", []);\n }\n create(value?: PartialMessage<LsAPI_List>): LsAPI_List {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List): LsAPI_List {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List\n */\nexport const LsAPI_List = new LsAPI_List$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List_Request$Type extends MessageType<LsAPI_List_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"location\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_List_Request>): LsAPI_List_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.location = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Request): LsAPI_List_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n case /* string location */ 2:\n message.location = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 resource_id = 1; */\n if (message.resourceId !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.resourceId);\n /* string location = 2; */\n if (message.location !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.location);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request\n */\nexport const LsAPI_List_Request = new LsAPI_List_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List_Response$Type extends MessageType<LsAPI_List_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List.Response\", [\n { no: 1, name: \"items\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LsAPI_ListItem },\n { no: 2, name: \"delimiter\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_List_Response>): LsAPI_List_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.items = [];\n message.delimiter = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Response): LsAPI_List_Response {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items */ 1:\n message.items.push(LsAPI_ListItem.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* string delimiter */ 2:\n message.delimiter = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1; */\n for (let i = 0; i < message.items.length; i++)\n LsAPI_ListItem.internalBinaryWrite(message.items[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* string delimiter = 2; */\n if (message.delimiter !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.delimiter);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response\n */\nexport const LsAPI_List_Response = new LsAPI_List_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.LS\n */\nexport const LS = new ServiceType(\"MiLaboratories.Controller.Shared.LS\", [\n { name: \"List\", options: { \"google.api.http\": { post: \"/v1/list\", body: \"*\" } }, I: LsAPI_List_Request, O: LsAPI_List_Response }\n]);\n"],"mappings":";;;;;AAyHA,IAAM,aAAN,cAAyB,YAAmB;CACxC,cAAc;AACV,QAAM,0CAA0C,EAAE,CAAC;;CAEvD,OAAO,OAAsC;EACzC,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,MAAI,UAAU,OACV,wBAA8B,MAAM,SAAS,MAAM;AACvD,SAAO;;CAEX,mBAAmB,QAAuB,QAAgB,SAA4B,QAAuB;EACzG,IAAI,UAAU,UAAU,KAAK,QAAQ,EAAE,MAAM,OAAO,MAAM;AAC1D,SAAO,OAAO,MAAM,KAAK;GACrB,IAAI,CAAC,SAAS,YAAY,OAAO,KAAK;AACtC,WAAQ,SAAR;IACI;KACI,IAAI,IAAI,QAAQ;AAChB,SAAI,MAAM,QACN,OAAM,IAAI,WAAW,MAAM,iBAAiB,QAAQ,cAAc,SAAS,QAAQ,KAAK,WAAW;KACvG,IAAI,IAAI,OAAO,KAAK,SAAS;AAC7B,SAAI,MAAM,MACN,EAAC,MAAM,OAAO,oBAAoB,SAAS,GAAG,KAAK,UAAU,SAAS,SAAS,UAAU,EAAE;;;AAG3G,SAAO;;CAEX,oBAAoB,SAAgB,QAAuB,SAA4C;EACnG,IAAI,IAAI,QAAQ;AAChB,MAAI,MAAM,MACN,EAAC,KAAK,OAAO,oBAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,S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MAAI,MAAM,MACN,EAAC,KAAK,OAAO,oBAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,SAAO;;;;;;AAMf,MAAa,sBAAsB,IAAI,0BAA0B;;;;AAIjE,MAAa,KAAK,IAAI,YAAY,uCAAuC,CACrE;CAAE,MAAM;CAAQ,SAAS,EAAE,mBAAmB;EAAE,MAAM;EAAY,MAAM;EAAK,EAAE;CAAE,GAAG;CAAoB,GAAG;CAAqB,CACnI,CAAC"}
1
+ {"version":3,"file":"protocol.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.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/lsapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Timestamp } from \"../../../../../../../google/protobuf/timestamp\";\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI\n */\nexport interface LsAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem\n */\nexport interface LsAPI_ListItem {\n /**\n * Name of the item in storage, without any prefixes.\n *\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * Size of the item in bytes.\n * Is always zero for directories (is_dir = true).\n *\n * @generated from protobuf field: uint64 size = 2\n */\n size: bigint;\n /**\n * is_dir is true for an item that can have subitems.\n *\n * @generated from protobuf field: bool is_dir = 3\n */\n isDir: boolean;\n /**\n * full_name is the full name of the item, relative to the storage root.\n * It is <directory> + <name>.\n * The <delimiter>, used in names, is storage-specific and is NOT guaranteed to be '/'.\n *\n * @generated from protobuf field: string full_name = 10\n */\n fullName: string;\n /**\n * The directory the item is located in. The value here is always a prefix of name:\n * name.HasPrefix(directory) is always true.\n *\n * @generated from protobuf field: string directory = 11\n */\n directory: string;\n /**\n * last_modified keeps the item's last modification timestamp.\n *\n * @generated from protobuf field: google.protobuf.Timestamp last_modified = 12\n */\n lastModified?: Timestamp;\n /**\n * Version of item in storage.\n * When the storage supports versioning or provides checksums for the data stored,\n * the <version> field keeps that data.\n * If not, it keeps any simple combination of item attributes that helps to\n * detect if the contents of the item have changed, e.g. <size>+<mtime>.\n * Anyway, the client should not try to interpret this field, but should provide it to the Platform\n * in operations with a given item (like BlobImportInternal) to help the Platform with deduplication.\n *\n * @generated from protobuf field: string version = 13\n */\n version: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List\n */\nexport interface LsAPI_List {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request\n */\nexport interface LsAPI_List_Request {\n /**\n * resource_id of 'LS/<Storage>' resource\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * Signature proving the caller is authorized to access this resource.\n *\n * @generated from protobuf field: optional bytes resource_signature = 3\n */\n resourceSignature?: Uint8Array;\n /**\n * Location to list, relative to the storage root. Only items that have <full_name> starting\n * with <location> are included in the list response.\n *\n * @generated from protobuf field: string location = 2\n */\n location: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response\n */\nexport interface LsAPI_List_Response {\n /**\n * List of the full (relative to storage root) names of items from storage.\n * E.g., for 'fs' storage each name will consist of names of all directories, where the\n * item is located, and the item name itself.\n * The delimiter, used in names, is storage-specific and is NOT guaranteed to be '/'.\n *\n * @generated from protobuf field: repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1\n */\n items: LsAPI_ListItem[];\n /**\n * The delimiter is the path separator used in this storage. The client can use it to parse item names into parts,\n * to extract directory names.\n *\n * @generated from protobuf field: string delimiter = 2\n */\n delimiter: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI$Type extends MessageType<LsAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI\", []);\n }\n create(value?: PartialMessage<LsAPI>): LsAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<LsAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI): LsAPI {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI\n */\nexport const LsAPI = new LsAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_ListItem$Type extends MessageType<LsAPI_ListItem> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.ListItem\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"size\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"is_dir\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 10, name: \"full_name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"directory\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 12, name: \"last_modified\", kind: \"message\", T: () => Timestamp },\n { no: 13, name: \"version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_ListItem>): LsAPI_ListItem {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.size = 0n;\n message.isDir = false;\n message.fullName = \"\";\n message.directory = \"\";\n message.version = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_ListItem>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_ListItem): LsAPI_ListItem {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string name */ 1:\n message.name = reader.string();\n break;\n case /* uint64 size */ 2:\n message.size = reader.uint64().toBigInt();\n break;\n case /* bool is_dir */ 3:\n message.isDir = reader.bool();\n break;\n case /* string full_name */ 10:\n message.fullName = reader.string();\n break;\n case /* string directory */ 11:\n message.directory = reader.string();\n break;\n case /* google.protobuf.Timestamp last_modified */ 12:\n message.lastModified = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.lastModified);\n break;\n case /* string version */ 13:\n message.version = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_ListItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* uint64 size = 2; */\n if (message.size !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.size);\n /* bool is_dir = 3; */\n if (message.isDir !== false)\n writer.tag(3, WireType.Varint).bool(message.isDir);\n /* string full_name = 10; */\n if (message.fullName !== \"\")\n writer.tag(10, WireType.LengthDelimited).string(message.fullName);\n /* string directory = 11; */\n if (message.directory !== \"\")\n writer.tag(11, WireType.LengthDelimited).string(message.directory);\n /* google.protobuf.Timestamp last_modified = 12; */\n if (message.lastModified)\n Timestamp.internalBinaryWrite(message.lastModified, writer.tag(12, WireType.LengthDelimited).fork(), options).join();\n /* string version = 13; */\n if (message.version !== \"\")\n writer.tag(13, WireType.LengthDelimited).string(message.version);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem\n */\nexport const LsAPI_ListItem = new LsAPI_ListItem$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List$Type extends MessageType<LsAPI_List> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List\", []);\n }\n create(value?: PartialMessage<LsAPI_List>): LsAPI_List {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List): LsAPI_List {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List\n */\nexport const LsAPI_List = new LsAPI_List$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List_Request$Type extends MessageType<LsAPI_List_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"resource_signature\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"location\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_List_Request>): LsAPI_List_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.location = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Request): LsAPI_List_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n case /* optional bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* string location */ 2:\n message.location = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 resource_id = 1; */\n if (message.resourceId !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.resourceId);\n /* string location = 2; */\n if (message.location !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.location);\n /* optional bytes resource_signature = 3; */\n if (message.resourceSignature !== undefined)\n writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request\n */\nexport const LsAPI_List_Request = new LsAPI_List_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LsAPI_List_Response$Type extends MessageType<LsAPI_List_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.LsAPI.List.Response\", [\n { no: 1, name: \"items\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LsAPI_ListItem },\n { no: 2, name: \"delimiter\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<LsAPI_List_Response>): LsAPI_List_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.items = [];\n message.delimiter = \"\";\n if (value !== undefined)\n reflectionMergePartial<LsAPI_List_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Response): LsAPI_List_Response {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items */ 1:\n message.items.push(LsAPI_ListItem.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* string delimiter */ 2:\n message.delimiter = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: LsAPI_List_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1; */\n for (let i = 0; i < message.items.length; i++)\n LsAPI_ListItem.internalBinaryWrite(message.items[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* string delimiter = 2; */\n if (message.delimiter !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.delimiter);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response\n */\nexport const LsAPI_List_Response = new LsAPI_List_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.LS\n */\nexport const LS = new ServiceType(\"MiLaboratories.Controller.Shared.LS\", [\n { name: \"List\", options: { \"google.api.http\": { post: \"/v1/list\", body: \"*\" } }, I: LsAPI_List_Request, O: LsAPI_List_Response }\n]);\n"],"mappings":";;;;AA+HA,IAAM,aAAN,cAAyB,YAAmB;CACxC,cAAc;AACV,QAAM,0CAA0C,EAAE,CAAC;;CAEvD,OAAO,OAAsC;EACzC,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,MAAI,UAAU,KAAA,EACV,wBAA8B,MAAM,SAAS,MAAM;AACvD,SAAO;;CAEX,mBAAmB,QAAuB,QAAgB,SAA4B,QAAuB;EACzG,IAAI,U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,SAAS,YAAY,OAAO,KAAK;AACtC,WAAQ,SAAR;IACI,KAA0E;AACtE,aAAQ,MAAM,KAAK,eAAe,mBAAmB,QAAQ,OAAO,QAAQ,EAAE,QAAQ,CAAC;AACvF;IACJ,KAA4B;AACxB,aAAQ,YAAY,OAAO,QAAQ;AACnC;IACJ;KACI,IAAI,IAAI,QAAQ;AAChB,SAAI,MAAM,QACN,OAAM,IAAI,WAAW,MAAM,iBAAiB,QAAQ,cAAc,SAAS,QAAQ,KAAK,WAAW;KACvG,IAAI,IAAI,OAAO,KAAK,SAAS;AAC7B,SAAI,MAAM,MACN,EAAC,MAAM,OAAO,oBAAoB,SAAS,GAAG,KAAK,UAAU,SAAS,SAAS,UAAU,EAAE;;;AAG3G,SAAO;;CAEX,oBAAoB,SAA8B,QAAuB,SAA4C;AAEjH,OAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,MAAM,QAAQ,IACtC,gBAAe,oBAAoB,QAAQ,MAAM,IAAI,OAAO,IAAI,GAAG,SAAS,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM;AAExH,MAAI,QAAQ,cAAc,GACtB,QAAO,IAAI,GAAG,SAAS,gBAAgB,CAAC,OAAO,QAAQ,UAAU;EACrE,IAAI,IAAI,QAAQ;AAChB,MAAI,MAAM,MACN,EAAC,KAAK,OAAO,oBAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,SAAO;;;;;;AAUf,MAAa,KAAK,IAAI,YAAY,uCAAuC,CACrE;CAAE,MAAM;CAAQ,SAAS,EAAE,mBAAmB;EAAE,MAAM;EAAY,MAAM;EAAK,EAAE;CAAE,GAAG;CAAoB,GALzE,IAAI,0BAA0B;CAKmE,CACnI,CAAC"}
@@ -1,8 +1,7 @@
1
- const require_runtime = require('../../../../../../../../_virtual/_rolldown/runtime.cjs');
2
- const require_duration = require('../../../../../../../google/protobuf/duration.cjs');
1
+ require("../../../../../../../../_virtual/_rolldown/runtime.cjs");
2
+ const require_duration = require("../../../../../../../google/protobuf/duration.cjs");
3
3
  let _protobuf_ts_runtime_rpc = require("@protobuf-ts/runtime-rpc");
4
4
  let _protobuf_ts_runtime = require("@protobuf-ts/runtime");
5
-
6
5
  //#region src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts
7
6
  var ProgressAPI$Type = class extends _protobuf_ts_runtime.MessageType {
8
7
  constructor() {
@@ -33,10 +32,7 @@ var ProgressAPI$Type = class extends _protobuf_ts_runtime.MessageType {
33
32
  return writer;
34
33
  }
35
34
  };
36
- /**
37
- * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI
38
- */
39
- const ProgressAPI = new ProgressAPI$Type();
35
+ new ProgressAPI$Type();
40
36
  var ProgressAPI_Report$Type = class extends _protobuf_ts_runtime.MessageType {
41
37
  constructor() {
42
38
  super("MiLaboratories.Controller.Shared.ProgressAPI.Report", [
@@ -157,10 +153,7 @@ var ProgressAPI_GetStatus$Type = class extends _protobuf_ts_runtime.MessageType
157
153
  return writer;
158
154
  }
159
155
  };
160
- /**
161
- * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus
162
- */
163
- const ProgressAPI_GetStatus = new ProgressAPI_GetStatus$Type();
156
+ new ProgressAPI_GetStatus$Type();
164
157
  var ProgressAPI_GetStatus_Request$Type = class extends _protobuf_ts_runtime.MessageType {
165
158
  constructor() {
166
159
  super("MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request", [{
@@ -169,6 +162,12 @@ var ProgressAPI_GetStatus_Request$Type = class extends _protobuf_ts_runtime.Mess
169
162
  kind: "scalar",
170
163
  T: 4,
171
164
  L: 0
165
+ }, {
166
+ no: 2,
167
+ name: "resource_signature",
168
+ kind: "scalar",
169
+ opt: true,
170
+ T: 12
172
171
  }]);
173
172
  }
174
173
  create(value) {
@@ -185,6 +184,9 @@ var ProgressAPI_GetStatus_Request$Type = class extends _protobuf_ts_runtime.Mess
185
184
  case 1:
186
185
  message.resourceId = reader.uint64().toBigInt();
187
186
  break;
187
+ case 2:
188
+ message.resourceSignature = reader.bytes();
189
+ break;
188
190
  default:
189
191
  let u = options.readUnknownField;
190
192
  if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
@@ -196,6 +198,7 @@ var ProgressAPI_GetStatus_Request$Type = class extends _protobuf_ts_runtime.Mess
196
198
  }
197
199
  internalBinaryWrite(message, writer, options) {
198
200
  if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
201
+ if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
199
202
  let u = options.writeUnknownFields;
200
203
  if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
201
204
  return writer;
@@ -276,24 +279,31 @@ var ProgressAPI_RealtimeStatus$Type = class extends _protobuf_ts_runtime.Message
276
279
  return writer;
277
280
  }
278
281
  };
279
- /**
280
- * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus
281
- */
282
- const ProgressAPI_RealtimeStatus = new ProgressAPI_RealtimeStatus$Type();
282
+ new ProgressAPI_RealtimeStatus$Type();
283
283
  var ProgressAPI_RealtimeStatus_Request$Type = class extends _protobuf_ts_runtime.MessageType {
284
284
  constructor() {
285
- super("MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request", [{
286
- no: 1,
287
- name: "resource_id",
288
- kind: "scalar",
289
- T: 4,
290
- L: 0
291
- }, {
292
- no: 2,
293
- name: "update_interval",
294
- kind: "message",
295
- T: () => require_duration.Duration
296
- }]);
285
+ super("MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request", [
286
+ {
287
+ no: 1,
288
+ name: "resource_id",
289
+ kind: "scalar",
290
+ T: 4,
291
+ L: 0
292
+ },
293
+ {
294
+ no: 3,
295
+ name: "resource_signature",
296
+ kind: "scalar",
297
+ opt: true,
298
+ T: 12
299
+ },
300
+ {
301
+ no: 2,
302
+ name: "update_interval",
303
+ kind: "message",
304
+ T: () => require_duration.Duration
305
+ }
306
+ ]);
297
307
  }
298
308
  create(value) {
299
309
  const message = globalThis.Object.create(this.messagePrototype);
@@ -309,6 +319,9 @@ var ProgressAPI_RealtimeStatus_Request$Type = class extends _protobuf_ts_runtime
309
319
  case 1:
310
320
  message.resourceId = reader.uint64().toBigInt();
311
321
  break;
322
+ case 3:
323
+ message.resourceSignature = reader.bytes();
324
+ break;
312
325
  case 2:
313
326
  message.updateInterval = require_duration.Duration.internalBinaryRead(reader, reader.uint32(), options, message.updateInterval);
314
327
  break;
@@ -324,6 +337,7 @@ var ProgressAPI_RealtimeStatus_Request$Type = class extends _protobuf_ts_runtime
324
337
  internalBinaryWrite(message, writer, options) {
325
338
  if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
326
339
  if (message.updateInterval) require_duration.Duration.internalBinaryWrite(message.updateInterval, writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
340
+ if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
327
341
  let u = options.writeUnknownFields;
328
342
  if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
329
343
  return writer;
@@ -396,7 +410,7 @@ const Progress = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.Contro
396
410
  I: ProgressAPI_RealtimeStatus_Request,
397
411
  O: ProgressAPI_RealtimeStatus_Response
398
412
  }]);
399
-
400
413
  //#endregion
401
414
  exports.Progress = Progress;
415
+
402
416
  //# sourceMappingURL=protocol.cjs.map