@synnaxlabs/client 0.2.0 → 0.13.5

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 (409) hide show
  1. package/.eslintrc.cjs +18 -0
  2. package/.pytest_cache/README.md +8 -0
  3. package/.turbo/turbo-build.log +16 -0
  4. package/LICENSE +4 -21
  5. package/{build/main/lib → dist/auth}/auth.d.ts +16 -19
  6. package/dist/auth/index.d.ts +1 -0
  7. package/dist/cdc/external.d.ts +1 -0
  8. package/dist/cdc/index.d.ts +1 -0
  9. package/dist/cdc/observable.d.ts +17 -0
  10. package/dist/channel/client.d.ts +58 -0
  11. package/dist/channel/creator.d.ts +8 -0
  12. package/dist/channel/external.d.ts +4 -0
  13. package/dist/channel/index.d.ts +1 -0
  14. package/dist/channel/payload.d.ts +63 -0
  15. package/dist/channel/retriever.d.ts +49 -0
  16. package/dist/client.cjs.js +23050 -0
  17. package/dist/client.cjs.js.map +1 -0
  18. package/dist/client.d.ts +73 -0
  19. package/dist/client.es.js +23050 -0
  20. package/dist/client.es.js.map +1 -0
  21. package/dist/connection/checker.d.ts +66 -0
  22. package/dist/connection/index.d.ts +1 -0
  23. package/dist/control/authority.d.ts +6 -0
  24. package/dist/control/external.d.ts +2 -0
  25. package/dist/control/index.d.ts +1 -0
  26. package/dist/control/state.d.ts +81 -0
  27. package/{build/main/lib → dist}/errors.d.ts +6 -3
  28. package/dist/framer/adapter.d.ts +21 -0
  29. package/dist/framer/client.d.ts +44 -0
  30. package/dist/framer/external.d.ts +5 -0
  31. package/dist/framer/frame.d.ts +251 -0
  32. package/dist/framer/index.d.ts +1 -0
  33. package/{build/module/lib/segment → dist/framer}/iterator.d.ts +32 -64
  34. package/dist/framer/streamProxy.d.ts +12 -0
  35. package/dist/framer/streamer.d.ts +17 -0
  36. package/dist/framer/writer.d.ts +257 -0
  37. package/dist/index.d.ts +16 -0
  38. package/dist/label/client.d.ts +25 -0
  39. package/dist/label/external.d.ts +4 -0
  40. package/dist/label/index.d.ts +1 -0
  41. package/dist/label/payload.d.ts +20 -0
  42. package/dist/label/retriever.d.ts +13 -0
  43. package/dist/label/writer.d.ts +26 -0
  44. package/dist/ontology/cdc.d.ts +25 -0
  45. package/dist/ontology/client.d.ts +25 -0
  46. package/dist/ontology/external.d.ts +3 -0
  47. package/dist/ontology/group/client.d.ts +11 -0
  48. package/dist/ontology/group/external.d.ts +2 -0
  49. package/dist/ontology/group/group.d.ts +7 -0
  50. package/dist/ontology/group/index.d.ts +1 -0
  51. package/dist/ontology/group/payload.d.ts +40 -0
  52. package/dist/ontology/group/writer.d.ts +13 -0
  53. package/dist/ontology/index.d.ts +1 -0
  54. package/dist/ontology/ontology.spec.d.ts +1 -0
  55. package/dist/ontology/payload.d.ts +235 -0
  56. package/dist/ontology/retriever.d.ts +12 -0
  57. package/dist/ontology/signals.d.ts +25 -0
  58. package/dist/ontology/writer.d.ts +9 -0
  59. package/dist/ranger/active.d.ts +9 -0
  60. package/dist/ranger/alias.d.ts +32 -0
  61. package/dist/ranger/client.d.ts +31 -0
  62. package/dist/ranger/external.d.ts +6 -0
  63. package/dist/ranger/index.d.ts +1 -0
  64. package/dist/ranger/kv.d.ts +50 -0
  65. package/dist/ranger/payload.d.ts +94 -0
  66. package/dist/ranger/range.d.ts +29 -0
  67. package/dist/ranger/ranger.spec.d.ts +1 -0
  68. package/dist/ranger/retriever.d.ts +10 -0
  69. package/dist/ranger/writer.d.ts +9 -0
  70. package/{build/main → dist}/setupspecs.d.ts +2 -2
  71. package/dist/signals/external.d.ts +1 -0
  72. package/dist/signals/index.d.ts +1 -0
  73. package/dist/signals/observable.d.ts +17 -0
  74. package/dist/transport.d.ts +10 -0
  75. package/dist/user/index.d.ts +1 -0
  76. package/{build/main/lib → dist}/user/payload.d.ts +3 -3
  77. package/dist/util/telem.d.ts +2 -0
  78. package/dist/workspace/client.d.ts +22 -0
  79. package/dist/workspace/external.d.ts +2 -0
  80. package/dist/workspace/index.d.ts +1 -0
  81. package/dist/workspace/lineplot/client.d.ts +15 -0
  82. package/dist/workspace/lineplot/external.d.ts +2 -0
  83. package/dist/workspace/lineplot/index.d.ts +1 -0
  84. package/dist/workspace/lineplot/linePlot.spec.d.ts +1 -0
  85. package/dist/workspace/lineplot/payload.d.ts +31 -0
  86. package/dist/workspace/lineplot/retriever.d.ts +9 -0
  87. package/dist/workspace/lineplot/writer.d.ts +39 -0
  88. package/dist/workspace/payload.d.ts +31 -0
  89. package/dist/workspace/pid/client.d.ts +16 -0
  90. package/dist/workspace/pid/external.d.ts +2 -0
  91. package/dist/workspace/pid/index.d.ts +1 -0
  92. package/dist/workspace/pid/payload.d.ts +37 -0
  93. package/dist/workspace/pid/pid.spec.d.ts +1 -0
  94. package/dist/workspace/pid/retriever.d.ts +9 -0
  95. package/dist/workspace/pid/writer.d.ts +46 -0
  96. package/dist/workspace/retriever.d.ts +12 -0
  97. package/dist/workspace/workspace.spec.d.ts +1 -0
  98. package/dist/workspace/writer.d.ts +55 -0
  99. package/package.json +27 -98
  100. package/src/auth/auth.spec.ts +46 -0
  101. package/src/auth/auth.ts +83 -0
  102. package/src/auth/index.ts +10 -0
  103. package/src/cdc/external.ts +10 -0
  104. package/src/cdc/index.ts +10 -0
  105. package/src/cdc/observable.ts +80 -0
  106. package/src/channel/channel.spec.ts +82 -0
  107. package/src/channel/client.ts +209 -0
  108. package/src/channel/creator.ts +43 -0
  109. package/src/channel/external.ts +13 -0
  110. package/src/channel/index.ts +10 -0
  111. package/src/channel/payload.ts +52 -0
  112. package/src/channel/retriever.ts +160 -0
  113. package/src/client.ts +112 -0
  114. package/src/connection/checker.ts +104 -0
  115. package/src/connection/connection.spec.ts +35 -0
  116. package/src/connection/index.ts +10 -0
  117. package/src/control/authority.ts +25 -0
  118. package/src/control/external.ts +11 -0
  119. package/src/control/index.ts +10 -0
  120. package/src/control/state.spec.ts +24 -0
  121. package/src/control/state.ts +117 -0
  122. package/src/errors.ts +153 -0
  123. package/src/framer/adapter.ts +116 -0
  124. package/src/framer/client.ts +116 -0
  125. package/src/framer/external.ts +14 -0
  126. package/src/framer/frame.spec.ts +317 -0
  127. package/src/framer/frame.ts +412 -0
  128. package/src/framer/index.ts +10 -0
  129. package/src/framer/iterator.spec.ts +62 -0
  130. package/src/framer/iterator.ts +240 -0
  131. package/src/framer/streamProxy.ts +59 -0
  132. package/src/framer/streamer.spec.ts +42 -0
  133. package/src/framer/streamer.ts +86 -0
  134. package/src/framer/writer.spec.ts +52 -0
  135. package/src/framer/writer.ts +236 -0
  136. package/src/index.ts +43 -4
  137. package/src/ontology/cdc.ts +135 -0
  138. package/src/ontology/client.ts +103 -0
  139. package/src/ontology/external.ts +12 -0
  140. package/src/ontology/group/client.ts +40 -0
  141. package/src/ontology/group/external.ts +11 -0
  142. package/src/ontology/group/group.spec.ts +46 -0
  143. package/src/ontology/group/group.ts +27 -0
  144. package/src/ontology/group/index.ts +10 -0
  145. package/src/ontology/group/payload.ts +65 -0
  146. package/src/ontology/group/writer.ts +48 -0
  147. package/src/ontology/index.ts +10 -0
  148. package/src/ontology/ontology.spec.ts +114 -0
  149. package/src/ontology/payload.ts +121 -0
  150. package/src/ontology/retriever.ts +91 -0
  151. package/src/ontology/writer.ts +49 -0
  152. package/src/ranger/active.ts +56 -0
  153. package/src/ranger/alias.ts +183 -0
  154. package/src/ranger/client.ts +124 -0
  155. package/src/ranger/external.ts +15 -0
  156. package/src/ranger/index.ts +10 -0
  157. package/src/ranger/kv.ts +91 -0
  158. package/src/ranger/payload.ts +70 -0
  159. package/src/ranger/range.ts +74 -0
  160. package/src/ranger/ranger.spec.ts +167 -0
  161. package/src/ranger/retriever.ts +50 -0
  162. package/src/ranger/writer.ts +80 -0
  163. package/src/setupspecs.ts +14 -5
  164. package/src/transport.ts +39 -0
  165. package/src/user/index.ts +10 -0
  166. package/src/user/payload.ts +17 -0
  167. package/src/util/telem.ts +19 -0
  168. package/src/vite-env.d.ts +11 -0
  169. package/src/workspace/client.ts +75 -0
  170. package/src/workspace/external.ts +11 -0
  171. package/src/workspace/index.ts +10 -0
  172. package/src/workspace/lineplot/client.ts +51 -0
  173. package/src/workspace/lineplot/external.ts +11 -0
  174. package/src/workspace/lineplot/index.ts +10 -0
  175. package/src/workspace/lineplot/linePlot.spec.ts +78 -0
  176. package/src/workspace/lineplot/payload.ts +29 -0
  177. package/src/workspace/lineplot/retriever.ts +49 -0
  178. package/src/workspace/lineplot/writer.ts +109 -0
  179. package/src/workspace/payload.ts +29 -0
  180. package/src/workspace/pid/client.ts +55 -0
  181. package/src/workspace/pid/external.ts +11 -0
  182. package/src/workspace/pid/index.ts +10 -0
  183. package/src/workspace/pid/payload.ts +31 -0
  184. package/src/workspace/pid/pid.spec.ts +111 -0
  185. package/src/workspace/pid/retriever.ts +45 -0
  186. package/src/workspace/pid/writer.ts +130 -0
  187. package/src/workspace/retriever.ts +67 -0
  188. package/src/workspace/workspace.spec.ts +62 -0
  189. package/src/workspace/writer.ts +103 -0
  190. package/tsconfig.json +3 -43
  191. package/tsconfig.vite.json +4 -0
  192. package/vite.config.ts +25 -0
  193. package/.DS_Store +0 -0
  194. package/.editorconfig +0 -15
  195. package/.eslintrc.json +0 -33
  196. package/.gitignore +0 -9
  197. package/.nyc_output/20720f2d-6abe-420f-a3c5-304d52d60827.json +0 -1
  198. package/.nyc_output/4725921c-6f1b-4ae9-9819-e455f702d31c.json +0 -1
  199. package/.nyc_output/47478588-5ffd-4332-873c-facaa4a2fc38.json +0 -1
  200. package/.nyc_output/48180641-e0b2-49ab-a6eb-e7910e9eac2f.json +0 -1
  201. package/.nyc_output/cb0abf31-740f-47db-b94a-8e3f8f117cb8.json +0 -1
  202. package/.nyc_output/fc77fce2-dad0-49a8-8d4b-0a9014ecf8c5.json +0 -1
  203. package/.nyc_output/processinfo/20720f2d-6abe-420f-a3c5-304d52d60827.json +0 -1
  204. package/.nyc_output/processinfo/4725921c-6f1b-4ae9-9819-e455f702d31c.json +0 -1
  205. package/.nyc_output/processinfo/47478588-5ffd-4332-873c-facaa4a2fc38.json +0 -1
  206. package/.nyc_output/processinfo/48180641-e0b2-49ab-a6eb-e7910e9eac2f.json +0 -1
  207. package/.nyc_output/processinfo/cb0abf31-740f-47db-b94a-8e3f8f117cb8.json +0 -1
  208. package/.nyc_output/processinfo/fc77fce2-dad0-49a8-8d4b-0a9014ecf8c5.json +0 -1
  209. package/.nyc_output/processinfo/index.json +0 -1
  210. package/.prettierignore +0 -2
  211. package/CHANGELOG.md +0 -5
  212. package/build/main/index.d.ts +0 -4
  213. package/build/main/index.js +0 -35
  214. package/build/main/lib/auth.js +0 -62
  215. package/build/main/lib/auth.spec.js +0 -39
  216. package/build/main/lib/channel/channel.spec.js +0 -49
  217. package/build/main/lib/channel/client.d.ts +0 -94
  218. package/build/main/lib/channel/client.js +0 -134
  219. package/build/main/lib/channel/creator.d.ts +0 -19
  220. package/build/main/lib/channel/creator.js +0 -44
  221. package/build/main/lib/channel/payload.d.ts +0 -25
  222. package/build/main/lib/channel/payload.js +0 -18
  223. package/build/main/lib/channel/registry.d.ts +0 -9
  224. package/build/main/lib/channel/registry.js +0 -37
  225. package/build/main/lib/channel/retriever.d.ts +0 -11
  226. package/build/main/lib/channel/retriever.js +0 -39
  227. package/build/main/lib/client.d.ts +0 -30
  228. package/build/main/lib/client.js +0 -46
  229. package/build/main/lib/errors.js +0 -122
  230. package/build/main/lib/segment/client.d.ts +0 -62
  231. package/build/main/lib/segment/client.js +0 -95
  232. package/build/main/lib/segment/iterator.d.ts +0 -134
  233. package/build/main/lib/segment/iterator.js +0 -253
  234. package/build/main/lib/segment/iterator.spec.js +0 -73
  235. package/build/main/lib/segment/payload.d.ts +0 -16
  236. package/build/main/lib/segment/payload.js +0 -13
  237. package/build/main/lib/segment/splitter.d.ts +0 -7
  238. package/build/main/lib/segment/splitter.js +0 -25
  239. package/build/main/lib/segment/typed.d.ts +0 -15
  240. package/build/main/lib/segment/typed.js +0 -49
  241. package/build/main/lib/segment/validator.d.ts +0 -22
  242. package/build/main/lib/segment/validator.js +0 -64
  243. package/build/main/lib/segment/writer.d.ts +0 -98
  244. package/build/main/lib/segment/writer.js +0 -183
  245. package/build/main/lib/segment/writer.spec.js +0 -90
  246. package/build/main/lib/telem.d.ts +0 -395
  247. package/build/main/lib/telem.js +0 -553
  248. package/build/main/lib/telem.spec.js +0 -152
  249. package/build/main/lib/transport.d.ts +0 -10
  250. package/build/main/lib/transport.js +0 -22
  251. package/build/main/lib/user/payload.js +0 -9
  252. package/build/main/lib/util/telem.d.ts +0 -2
  253. package/build/main/lib/util/telem.js +0 -13
  254. package/build/main/setupspecs.js +0 -17
  255. package/build/module/index.d.ts +0 -4
  256. package/build/module/index.js +0 -5
  257. package/build/module/lib/auth.d.ts +0 -54
  258. package/build/module/lib/auth.js +0 -63
  259. package/build/module/lib/auth.spec.js +0 -34
  260. package/build/module/lib/channel/channel.spec.js +0 -44
  261. package/build/module/lib/channel/client.d.ts +0 -94
  262. package/build/module/lib/channel/client.js +0 -134
  263. package/build/module/lib/channel/creator.d.ts +0 -19
  264. package/build/module/lib/channel/creator.js +0 -42
  265. package/build/module/lib/channel/payload.d.ts +0 -25
  266. package/build/module/lib/channel/payload.js +0 -15
  267. package/build/module/lib/channel/registry.d.ts +0 -9
  268. package/build/module/lib/channel/registry.js +0 -36
  269. package/build/module/lib/channel/retriever.d.ts +0 -11
  270. package/build/module/lib/channel/retriever.js +0 -37
  271. package/build/module/lib/client.d.ts +0 -30
  272. package/build/module/lib/client.js +0 -44
  273. package/build/module/lib/errors.d.ts +0 -53
  274. package/build/module/lib/errors.js +0 -113
  275. package/build/module/lib/segment/client.d.ts +0 -62
  276. package/build/module/lib/segment/client.js +0 -94
  277. package/build/module/lib/segment/iterator.js +0 -248
  278. package/build/module/lib/segment/iterator.spec.js +0 -68
  279. package/build/module/lib/segment/payload.d.ts +0 -16
  280. package/build/module/lib/segment/payload.js +0 -10
  281. package/build/module/lib/segment/splitter.d.ts +0 -7
  282. package/build/module/lib/segment/splitter.js +0 -26
  283. package/build/module/lib/segment/typed.d.ts +0 -15
  284. package/build/module/lib/segment/typed.js +0 -49
  285. package/build/module/lib/segment/validator.d.ts +0 -22
  286. package/build/module/lib/segment/validator.js +0 -60
  287. package/build/module/lib/segment/writer.d.ts +0 -98
  288. package/build/module/lib/segment/writer.js +0 -183
  289. package/build/module/lib/segment/writer.spec.js +0 -85
  290. package/build/module/lib/telem.d.ts +0 -395
  291. package/build/module/lib/telem.js +0 -545
  292. package/build/module/lib/telem.spec.js +0 -147
  293. package/build/module/lib/transport.d.ts +0 -10
  294. package/build/module/lib/transport.js +0 -22
  295. package/build/module/lib/user/payload.d.ts +0 -12
  296. package/build/module/lib/user/payload.js +0 -6
  297. package/build/module/lib/util/telem.d.ts +0 -2
  298. package/build/module/lib/util/telem.js +0 -9
  299. package/build/module/setupspecs.d.ts +0 -4
  300. package/build/module/setupspecs.js +0 -16
  301. package/build/tsconfig.module.tsbuildinfo +0 -1
  302. package/build/tsconfig.tsbuildinfo +0 -1
  303. package/coverage/base.css +0 -224
  304. package/coverage/block-navigation.js +0 -87
  305. package/coverage/favicon.png +0 -0
  306. package/coverage/index.html +0 -191
  307. package/coverage/lcov-report/base.css +0 -224
  308. package/coverage/lcov-report/block-navigation.js +0 -87
  309. package/coverage/lcov-report/favicon.png +0 -0
  310. package/coverage/lcov-report/index.html +0 -191
  311. package/coverage/lcov-report/prettify.css +0 -1
  312. package/coverage/lcov-report/prettify.js +0 -2
  313. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  314. package/coverage/lcov-report/sorter.js +0 -196
  315. package/coverage/lcov-report/src/index.html +0 -116
  316. package/coverage/lcov-report/src/lib/auth.ts.html +0 -340
  317. package/coverage/lcov-report/src/lib/channel/client.ts.html +0 -604
  318. package/coverage/lcov-report/src/lib/channel/creator.ts.html +0 -304
  319. package/coverage/lcov-report/src/lib/channel/index.html +0 -176
  320. package/coverage/lcov-report/src/lib/channel/payload.ts.html +0 -139
  321. package/coverage/lcov-report/src/lib/channel/registry.ts.html +0 -202
  322. package/coverage/lcov-report/src/lib/channel/retriever.ts.html +0 -244
  323. package/coverage/lcov-report/src/lib/client.ts.html +0 -244
  324. package/coverage/lcov-report/src/lib/errors.ts.html +0 -484
  325. package/coverage/lcov-report/src/lib/index.html +0 -176
  326. package/coverage/lcov-report/src/lib/segment/client.ts.html +0 -463
  327. package/coverage/lcov-report/src/lib/segment/index.html +0 -206
  328. package/coverage/lcov-report/src/lib/segment/iterator.ts.html +0 -928
  329. package/coverage/lcov-report/src/lib/segment/payload.ts.html +0 -139
  330. package/coverage/lcov-report/src/lib/segment/splitter.ts.html +0 -181
  331. package/coverage/lcov-report/src/lib/segment/typed.ts.html +0 -307
  332. package/coverage/lcov-report/src/lib/segment/validator.ts.html +0 -331
  333. package/coverage/lcov-report/src/lib/segment/writer.ts.html +0 -727
  334. package/coverage/lcov-report/src/lib/telem.ts.html +0 -2056
  335. package/coverage/lcov-report/src/lib/transport.ts.html +0 -196
  336. package/coverage/lcov-report/src/lib/user/index.html +0 -116
  337. package/coverage/lcov-report/src/lib/user/payload.ts.html +0 -109
  338. package/coverage/lcov-report/src/lib/util/index.html +0 -116
  339. package/coverage/lcov-report/src/lib/util/telem.ts.html +0 -124
  340. package/coverage/lcov-report/src/setupspecs.ts.html +0 -133
  341. package/coverage/lcov.info +0 -1230
  342. package/coverage/prettify.css +0 -1
  343. package/coverage/prettify.js +0 -2
  344. package/coverage/sort-arrow-sprite.png +0 -0
  345. package/coverage/sorter.js +0 -196
  346. package/coverage/src/index.html +0 -116
  347. package/coverage/src/lib/auth.ts.html +0 -340
  348. package/coverage/src/lib/channel/client.ts.html +0 -604
  349. package/coverage/src/lib/channel/creator.ts.html +0 -304
  350. package/coverage/src/lib/channel/index.html +0 -176
  351. package/coverage/src/lib/channel/payload.ts.html +0 -139
  352. package/coverage/src/lib/channel/registry.ts.html +0 -202
  353. package/coverage/src/lib/channel/retriever.ts.html +0 -244
  354. package/coverage/src/lib/client.ts.html +0 -244
  355. package/coverage/src/lib/errors.ts.html +0 -484
  356. package/coverage/src/lib/index.html +0 -176
  357. package/coverage/src/lib/segment/client.ts.html +0 -463
  358. package/coverage/src/lib/segment/index.html +0 -206
  359. package/coverage/src/lib/segment/iterator.ts.html +0 -928
  360. package/coverage/src/lib/segment/payload.ts.html +0 -139
  361. package/coverage/src/lib/segment/splitter.ts.html +0 -181
  362. package/coverage/src/lib/segment/typed.ts.html +0 -307
  363. package/coverage/src/lib/segment/validator.ts.html +0 -331
  364. package/coverage/src/lib/segment/writer.ts.html +0 -727
  365. package/coverage/src/lib/telem.ts.html +0 -2056
  366. package/coverage/src/lib/transport.ts.html +0 -196
  367. package/coverage/src/lib/user/index.html +0 -116
  368. package/coverage/src/lib/user/payload.ts.html +0 -109
  369. package/coverage/src/lib/util/index.html +0 -116
  370. package/coverage/src/lib/util/telem.ts.html +0 -124
  371. package/coverage/src/setupspecs.ts.html +0 -133
  372. package/src/lib/.DS_Store +0 -0
  373. package/src/lib/auth.spec.ts +0 -36
  374. package/src/lib/auth.ts +0 -85
  375. package/src/lib/channel/channel.spec.ts +0 -49
  376. package/src/lib/channel/client.ts +0 -173
  377. package/src/lib/channel/creator.ts +0 -73
  378. package/src/lib/channel/payload.ts +0 -18
  379. package/src/lib/channel/registry.ts +0 -39
  380. package/src/lib/channel/retriever.ts +0 -53
  381. package/src/lib/client.ts +0 -53
  382. package/src/lib/errors.ts +0 -133
  383. package/src/lib/segment/client.ts +0 -126
  384. package/src/lib/segment/iterator.spec.ts +0 -78
  385. package/src/lib/segment/iterator.ts +0 -281
  386. package/src/lib/segment/payload.ts +0 -18
  387. package/src/lib/segment/splitter.ts +0 -32
  388. package/src/lib/segment/typed.ts +0 -74
  389. package/src/lib/segment/validator.ts +0 -82
  390. package/src/lib/segment/writer.spec.ts +0 -85
  391. package/src/lib/segment/writer.ts +0 -214
  392. package/src/lib/telem.spec.ts +0 -200
  393. package/src/lib/telem.ts +0 -657
  394. package/src/lib/transport.ts +0 -37
  395. package/src/lib/user/payload.ts +0 -8
  396. package/src/lib/util/telem.ts +0 -13
  397. package/tsconfig.module.json +0 -9
  398. package/yarn-error.log +0 -5756
  399. package/yarn.lock +0 -5936
  400. /package/{build/main/lib → dist/auth}/auth.spec.d.ts +0 -0
  401. /package/{build/main/lib → dist}/channel/channel.spec.d.ts +0 -0
  402. /package/{build/main/lib/segment/iterator.spec.d.ts → dist/connection/connection.spec.d.ts} +0 -0
  403. /package/{build/main/lib/segment/writer.spec.d.ts → dist/control/state.spec.d.ts} +0 -0
  404. /package/{build/main/lib/telem.spec.d.ts → dist/framer/frame.spec.d.ts} +0 -0
  405. /package/{build/module/lib/segment → dist/framer}/iterator.spec.d.ts +0 -0
  406. /package/{build/module/lib/auth.spec.d.ts → dist/framer/streamer.spec.d.ts} +0 -0
  407. /package/{build/module/lib/segment → dist/framer}/writer.spec.d.ts +0 -0
  408. /package/{build/module/lib/channel/channel.spec.d.ts → dist/label/label.spec.d.ts} +0 -0
  409. /package/{build/module/lib/telem.spec.d.ts → dist/ontology/group/group.spec.d.ts} +0 -0
@@ -1,395 +0,0 @@
1
- /**
2
- * Represents a nanosecond precision UTC timestamp.
3
- */
4
- export declare class TimeStamp extends Number {
5
- constructor(value: UnparsedTimeStamp);
6
- /**
7
- * Checks if the TimeStamp is equal to another TimeStamp.
8
- * @param other - the other TimeStamp to compare to.
9
- * @returns true if the TimeStamps are equal, false otherwise.
10
- */
11
- equals(other: UnparsedTimeStamp): boolean;
12
- /**
13
- * Creates a TimeSpan representing the duration between the two timestamps.
14
- * @param other - the other TimeStamp to compare to.
15
- * @returns a TimeSpan representing the duration between the two timestamps.
16
- * The span is guaranteed to be positive.
17
- */
18
- span(other: UnparsedTimeStamp): TimeSpan;
19
- /**
20
- * Creates a TimeRange spanning the given TimeStamp.
21
- * @param other - the other TimeStamp to compare to.
22
- * @returns a TimeRange spanning the given TimeStamp that is guaranteed to be valid,
23
- * regardless of the TimeStamp order.
24
- */
25
- range(other: UnparsedTimeStamp): TimeRange;
26
- /**
27
- * Creates a TimeRange starting at the TimeStamp and spanning the given TimeSpan.
28
- * @param other - the TimeSpan to span.
29
- * @returns a TimeRange starting at the TimeStamp and spanning the given TimeSpan.
30
- * The TimeRange is guaranteed to be valid.
31
- */
32
- spanRange(other: UnparsedTimeSpan): TimeRange;
33
- /**
34
- * Checks if the TimeStamp represents the unix epoch.
35
- * @returns true if the TimeStamp represents the unix epoch, false otherwise.
36
- */
37
- isZero(): boolean;
38
- /**
39
- * Checks if the TimeStamp is after the given TimeStamp.
40
- * @param other - the other TimeStamp to compare to.
41
- * @returns true if the TimeStamp is after the given TimeStamp, false otherwise.
42
- */
43
- after(other: UnparsedTimeStamp): boolean;
44
- /**
45
- * Checks if the TimeStamp is after or equal to the given TimeStamp.
46
- * @param other - the other TimeStamp to compare to.
47
- * @returns true if the TimeStamp is after or equal to the given TimeStamp, false otherwise.
48
- */
49
- afterEq(other: UnparsedTimeStamp): boolean;
50
- /**
51
- * Checks if the TimeStamp is before the given TimeStamp.
52
- * @param other - the other TimeStamp to compare to.
53
- * @returns true if the TimeStamp is before the given TimeStamp, false otherwise.
54
- */
55
- before(other: UnparsedTimeStamp): boolean;
56
- /**
57
- * Checks if TimeStamp is before or equal to the current timestamp.
58
- * @param other - the other TimeStamp to compare to.
59
- * @returns true if TimeStamp is before or equal to the current timestamp, false otherwise.
60
- */
61
- beforeEq(other: UnparsedTimeStamp): boolean;
62
- /**
63
- * Adds a TimeSpan to the TimeStamp.
64
- * @param span - the TimeSpan to add.
65
- * @returns a new TimeStamp representing the sum of the TimeStamp and TimeSpan.
66
- */
67
- add(span: UnparsedTimeSpan): TimeStamp;
68
- /**
69
- * Subtracts a TimeSpan from the TimeStamp.
70
- * @param span - the TimeSpan to subtract.
71
- * @returns a new TimeStamp representing the difference of the TimeStamp and TimeSpan.
72
- */
73
- sub(span: UnparsedTimeSpan): TimeStamp;
74
- /** The maximum possible value for a timestamp */
75
- static readonly Max: TimeStamp;
76
- /** The minimum possible value for a timestamp */
77
- static readonly Min: TimeStamp;
78
- /** The unix epoch */
79
- static readonly Zero: TimeStamp;
80
- }
81
- /**
82
- * TimeSpan represents a nanosecond precision duration.
83
- */
84
- export declare class TimeSpan extends Number {
85
- constructor(value: UnparsedTimeSpan);
86
- /**
87
- * @returns the number of seconds in the TimeSpan.
88
- */
89
- seconds(): number;
90
- /**
91
- * Checks if the TimeSpan represents a zero duration.
92
- * @returns true if the TimeSpan represents a zero duration, false otherwise.
93
- */
94
- isZero(): boolean;
95
- /**
96
- * Checks if the TimeSpan is equal to another TimeSpan.
97
- * @returns true if the TimeSpans are equal, false otherwise.
98
- */
99
- equals(other: UnparsedTimeSpan): boolean;
100
- /**
101
- * Adds a TimeSpan to the TimeSpan.
102
- * @returns a new TimeSpan representing the sum of the two TimeSpans.
103
- */
104
- add(other: UnparsedTimeSpan): TimeSpan;
105
- /**
106
- * Creates a TimeSpan representing the duration between the two timestamps.
107
- * @param other
108
- */
109
- sub(other: UnparsedTimeSpan): TimeSpan;
110
- /**
111
- * Creates a TimeSpan representing the given number of nanoseconds.
112
- * @param value - the number of nanoseconds.
113
- * @returns a TimeSpan representing the given number of nanoseconds.
114
- */
115
- static Nanoseconds(value?: UnparsedTimeSpan): TimeSpan;
116
- /**
117
- * A nanosecond.
118
- */
119
- static readonly Nanosecond: TimeSpan;
120
- /**
121
- * Creates a TimeSpan representing the given number of microseconds.
122
- * @param value - the number of microseconds.
123
- * @returns a TimeSpan representing the given number of microseconds.
124
- */
125
- static Microseconds(value?: UnparsedTimeStamp): TimeSpan;
126
- /**
127
- * A microsecond.
128
- */
129
- static readonly Microsecond: TimeSpan;
130
- /**
131
- * Creates a TimeSpan representing the given number of milliseconds.
132
- * @param value - the number of milliseconds.
133
- * @returns a TimeSpan representing the given number of milliseconds.
134
- */
135
- static Milliseconds(value?: UnparsedTimeStamp): TimeSpan;
136
- /**
137
- * A millisecond.
138
- */
139
- static readonly Millisecond: TimeSpan;
140
- /**
141
- * Creates a TimeSpan representing the given number of seconds.
142
- * @param value - the number of seconds.
143
- * @returns a TimeSpan representing the given number of seconds.
144
- */
145
- static Seconds(value?: UnparsedTimeStamp): TimeSpan;
146
- /**
147
- * A second.
148
- */
149
- static readonly Second: TimeSpan;
150
- /**
151
- * Creates a TimeSpan representing the given number of minutes.
152
- * @param value - the number of minutes.
153
- * @returns a TimeSpan representing the given number of minutes.
154
- */
155
- static Minutes(value?: UnparsedTimeStamp): TimeSpan;
156
- /**
157
- * A minute.
158
- */
159
- static readonly Minute: TimeSpan;
160
- /**
161
- * Creates a TimeSpan representing the given number of hours.
162
- * @param value - the number of hours.
163
- * @returns a TimeSpan representing the given number of hours.
164
- */
165
- static Hours(value?: UnparsedTimeStamp): TimeSpan;
166
- /**
167
- * Represents an hour.
168
- */
169
- static readonly Hour: TimeSpan;
170
- /**
171
- * The maximum possible value for a TimeSpan.
172
- */
173
- static readonly Max: TimeSpan;
174
- /**
175
- * The minimum possible value for a TimeSpan.
176
- */
177
- static readonly Min: TimeSpan;
178
- /**
179
- * The zero value for a TimeSpan.
180
- */
181
- static readonly Zero: TimeSpan;
182
- }
183
- /**
184
- * Rate represents a data rate in Hz.
185
- */
186
- export declare class Rate extends Number {
187
- constructor(value: UnparsedRate);
188
- /**
189
- * @returns the number of seconds in the Rate.
190
- */
191
- equals(other: UnparsedRate): boolean;
192
- /**
193
- * Calculates the period of the Rate as a TimeSpan.
194
- * @returns a TimeSpan representing the period of the Rate.
195
- */
196
- period(): TimeSpan;
197
- /**
198
- * Calculates the number of samples in the given TimeSpan at this rate.
199
- * @param duration - the duration to calculate the sample count from.
200
- * @returns the number of samples in the given TimeSpan at this rate.
201
- */
202
- sampleCount(duration: UnparsedTimeSpan): number;
203
- /**
204
- * Calculates the number of bytes in the given TimeSpan at this rate.
205
- * @param span - the duration to calculate the byte count from.
206
- * @param density - the density of the data in bytes per sample.
207
- * @returns the number of bytes in the given TimeSpan at this rate.
208
- */
209
- byteCount(span: UnparsedTimeSpan, density: UnparsedDensity): number;
210
- /**
211
- * Calculates a TimeSpan given the number of samples at this rate.
212
- * @param sampleCount - the number of samples in the span.
213
- * @returns a TimeSpan that corresponds to the given number of samples.
214
- */
215
- span(sampleCount: number): TimeSpan;
216
- /**
217
- * Calculates a TimeSpan given the number of bytes at this rate.
218
- * @param size - the number of bytes in the span.
219
- * @param density - the density of the data in bytes per sample.
220
- * @returns a TimeSpan that corresponds to the given number of bytes.
221
- */
222
- byteSpan(size: Size, density: UnparsedDensity): TimeSpan;
223
- /**
224
- * Creates a Rate representing the given number of Hz.
225
- * @param value - the number of Hz.
226
- * @returns a Rate representing the given number of Hz.
227
- */
228
- static Hz(value: number): Rate;
229
- /**
230
- * Creates a Rate representing the given number of kHz.
231
- * @param value - the number of kHz.
232
- * @returns a Rate representing the given number of kHz.
233
- */
234
- static KHz(value: number): Rate;
235
- }
236
- /**
237
- * Density represents the number of bytes in a value.
238
- */
239
- export declare class Density extends Number {
240
- /**
241
- * Creates a Density representing the given number of bytes per value.
242
- * @param value - the number of bytes per value.
243
- * @returns a Density representing the given number of bytes per value.
244
- * @constructor
245
- */
246
- constructor(value: UnparsedDensity);
247
- /**
248
- * Represents an Unknown/Invalid Density.
249
- */
250
- static readonly Unknown: Density;
251
- /**
252
- * Represents a Density of 64 bits per value.
253
- */
254
- static readonly Bit64: Density;
255
- /**
256
- * Represents a Density of 32 bits per value.
257
- */
258
- static readonly Bit32: Density;
259
- /**
260
- * Represents a Density of 16 bits per value.
261
- */
262
- static readonly Bit16: Density;
263
- /**
264
- * Represents a Density of 8 bits per value.
265
- */
266
- static readonly Bit8: Density;
267
- }
268
- /**
269
- * TimeRange represents a range of time between two TimeStamps. It's important
270
- * to note that the start of the range is inclusive, while the end of the range
271
- * is exclusive.
272
- *
273
- * @property start - a TimeStamp representing the start of the range.
274
- * @property end - a Timestamp representing the end of the range.
275
- */
276
- export declare class TimeRange {
277
- start: TimeStamp;
278
- end: TimeStamp;
279
- /**
280
- * Creates a TimeRange from the given start and end TimeStamps.
281
- * @param start - a TimeStamp representing the start of the range.
282
- * @param end - a TimeStamp representing the end of the range.
283
- */
284
- constructor(start: UnparsedTimeStamp, end: UnparsedTimeStamp);
285
- /**
286
- * @returns the TimeSpan occupied by the TimeRange.
287
- */
288
- span(): TimeSpan;
289
- /**
290
- * Checks if the timestamp is valid i.e. the start is before the end.
291
- * @returns true if the TimeRange is valid.
292
- */
293
- isValid(): boolean;
294
- /**
295
- * Makes sure the TimeRange is valid i.e. the start is before the end.
296
- * @returns a TimeRange that is valid.
297
- */
298
- makeValid(): TimeRange;
299
- /**
300
- * Checks if the TimeRange has a zero span.
301
- * @returns true if the TimeRange has a zero span.
302
- */
303
- isZero(): boolean;
304
- /**
305
- * Creates a new TimeRange with the start and end swapped.
306
- * @returns a TimeRange with the start and end swapped.
307
- */
308
- swap(): TimeRange;
309
- /**
310
- * Checks if the TimeRange is equal to the given TimeRange.
311
- * @param other - the TimeRange to compare to.
312
- * @returns true if the TimeRange is equal to the given TimeRange.
313
- */
314
- equals(other: TimeRange): boolean;
315
- static readonly Max: TimeRange;
316
- }
317
- /**
318
- * DataType is a string that represents a data type.
319
- */
320
- export declare class DataType extends String {
321
- constructor(value: UnparsedDataType);
322
- get arrayConstructor(): TypedArrayConstructor;
323
- get string(): string;
324
- get density(): Density;
325
- checkArray(array: TypedArray): boolean;
326
- toJSON(): string;
327
- /**
328
- * Represents an Unknown/Invalid DataType.
329
- */
330
- static readonly Unknown: DataType;
331
- /**
332
- * Represents a 64-bit floating point value.
333
- */
334
- static readonly Float64: DataType;
335
- /**
336
- * Represents a 32-bit floating point value.
337
- */
338
- static readonly Float32: DataType;
339
- /**
340
- * Represents a 64-bit signed integer value.
341
- */
342
- static readonly Int64: DataType;
343
- /**
344
- * Represents a 32-bit signed integer value.
345
- */
346
- static readonly Int32: DataType;
347
- /**
348
- * Represents a 16-bit signed integer value.
349
- */
350
- static readonly Int16: DataType;
351
- /**
352
- * Represents a 8-bit signed integer value.
353
- */
354
- static readonly Int8: DataType;
355
- /**
356
- * Represents a 64-bit unsigned integer value.
357
- */
358
- static readonly Uint64: DataType;
359
- /**
360
- * Represents a 32-bit unsigned integer value.
361
- */
362
- static readonly Uint32: DataType;
363
- /**
364
- * Represents a 16-bit unsigned integer value.
365
- */
366
- static readonly Uint16: DataType;
367
- /**
368
- * Represents a 8-bit unsigned integer value.
369
- */
370
- static readonly Uint8: DataType;
371
- }
372
- export declare class Size extends Number {
373
- constructor(value: UnparsedSize);
374
- largerThan(other: Size): boolean;
375
- smallerThan(other: Size): boolean;
376
- static Bytes(value: UnparsedSize): Size;
377
- static readonly Byte: Size;
378
- static Kilobytes(value: UnparsedSize): Size;
379
- static readonly Kilobyte: Size;
380
- static Megabytes(value: UnparsedSize): Size;
381
- static readonly Megabyte: Size;
382
- static Gigabytes(value: UnparsedSize): Size;
383
- static readonly Gigabyte: Size;
384
- static Terabytes(value: UnparsedSize): Size;
385
- static readonly Terabyte: Size;
386
- }
387
- export declare type UnparsedTimeStamp = TimeStamp | TimeSpan | number;
388
- export declare type UnparsedTimeSpan = TimeSpan | number;
389
- export declare type UnparsedRate = Rate | number;
390
- export declare type UnparsedDensity = Density | number;
391
- export declare type UnparsedDataType = DataType | string;
392
- export declare type UnparsedSize = Size | number;
393
- export declare type TypedArray = Uint8Array | Uint16Array | Uint32Array | BigUint64Array | Float32Array | Float64Array | Int8Array | Int16Array | Int32Array | BigInt64Array;
394
- declare type TypedArrayConstructor = Uint8ArrayConstructor | Uint16ArrayConstructor | Uint32ArrayConstructor | BigUint64ArrayConstructor | Float32ArrayConstructor | Float64ArrayConstructor | Int8ArrayConstructor | Int16ArrayConstructor | Int32ArrayConstructor | BigInt64ArrayConstructor;
395
- export {};