@ibgib/core-gib 0.0.4

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 (330) hide show
  1. package/.vscode/core-gib-snippets.code-snippets +189 -0
  2. package/.vscode/launch.json +24 -0
  3. package/.vscode/settings.json +56 -0
  4. package/.vscode/tasks.json +37 -0
  5. package/CHANGELOG.md +11 -0
  6. package/README.md +215 -0
  7. package/dist/common/aws-constants.d.mts +7 -0
  8. package/dist/common/aws-constants.d.mts.map +1 -0
  9. package/dist/common/aws-constants.mjs +7 -0
  10. package/dist/common/aws-constants.mjs.map +1 -0
  11. package/dist/common/bin/bin-types.d.mts +17 -0
  12. package/dist/common/bin/bin-types.d.mts.map +1 -0
  13. package/dist/common/bin/bin-types.mjs +3 -0
  14. package/dist/common/bin/bin-types.mjs.map +1 -0
  15. package/dist/common/cache/cache-types.d.mts +57 -0
  16. package/dist/common/cache/cache-types.d.mts.map +1 -0
  17. package/dist/common/cache/cache-types.mjs +2 -0
  18. package/dist/common/cache/cache-types.mjs.map +1 -0
  19. package/dist/common/comment/comment-constants.d.mts +11 -0
  20. package/dist/common/comment/comment-constants.d.mts.map +1 -0
  21. package/dist/common/comment/comment-constants.mjs +11 -0
  22. package/dist/common/comment/comment-constants.mjs.map +1 -0
  23. package/dist/common/comment/comment-helper.d.mts +59 -0
  24. package/dist/common/comment/comment-helper.d.mts.map +1 -0
  25. package/dist/common/comment/comment-helper.mjs +173 -0
  26. package/dist/common/comment/comment-helper.mjs.map +1 -0
  27. package/dist/common/comment/comment-types.d.mts +16 -0
  28. package/dist/common/comment/comment-types.d.mts.map +1 -0
  29. package/dist/common/comment/comment-types.mjs +2 -0
  30. package/dist/common/comment/comment-types.mjs.map +1 -0
  31. package/dist/common/display/display-helper.d.mts +19 -0
  32. package/dist/common/display/display-helper.d.mts.map +1 -0
  33. package/dist/common/display/display-helper.mjs +68 -0
  34. package/dist/common/display/display-helper.mjs.map +1 -0
  35. package/dist/common/display/display-types.d.mts +97 -0
  36. package/dist/common/display/display-types.d.mts.map +1 -0
  37. package/dist/common/display/display-types.mjs +37 -0
  38. package/dist/common/display/display-types.mjs.map +1 -0
  39. package/dist/common/encrypt/encrypt-constants.d.mts +27 -0
  40. package/dist/common/encrypt/encrypt-constants.d.mts.map +1 -0
  41. package/dist/common/encrypt/encrypt-constants.mjs +27 -0
  42. package/dist/common/encrypt/encrypt-constants.mjs.map +1 -0
  43. package/dist/common/encrypt/encrypt-types.d.mts +116 -0
  44. package/dist/common/encrypt/encrypt-types.d.mts.map +1 -0
  45. package/dist/common/encrypt/encrypt-types.mjs +9 -0
  46. package/dist/common/encrypt/encrypt-types.mjs.map +1 -0
  47. package/dist/common/error/error-constants.d.mts +9 -0
  48. package/dist/common/error/error-constants.d.mts.map +1 -0
  49. package/dist/common/error/error-constants.mjs +9 -0
  50. package/dist/common/error/error-constants.mjs.map +1 -0
  51. package/dist/common/error/error-helper.d.mts +43 -0
  52. package/dist/common/error/error-helper.d.mts.map +1 -0
  53. package/dist/common/error/error-helper.mjs +167 -0
  54. package/dist/common/error/error-helper.mjs.map +1 -0
  55. package/dist/common/error/error-types.d.mts +58 -0
  56. package/dist/common/error/error-types.d.mts.map +1 -0
  57. package/dist/common/error/error-types.mjs +2 -0
  58. package/dist/common/error/error-types.mjs.map +1 -0
  59. package/dist/common/form/form-helper.d.mts +97 -0
  60. package/dist/common/form/form-helper.d.mts.map +1 -0
  61. package/dist/common/form/form-helper.mjs +185 -0
  62. package/dist/common/form/form-helper.mjs.map +1 -0
  63. package/dist/common/form/form-items.d.mts +229 -0
  64. package/dist/common/form/form-items.d.mts.map +1 -0
  65. package/dist/common/form/form-items.mjs +63 -0
  66. package/dist/common/form/form-items.mjs.map +1 -0
  67. package/dist/common/import-export/import-export-types.d.mts +18 -0
  68. package/dist/common/import-export/import-export-types.d.mts.map +1 -0
  69. package/dist/common/import-export/import-export-types.mjs +2 -0
  70. package/dist/common/import-export/import-export-types.mjs.map +1 -0
  71. package/dist/common/legacy/legacy-types.d.mts +2 -0
  72. package/dist/common/legacy/legacy-types.d.mts.map +1 -0
  73. package/dist/common/legacy/legacy-types.mjs +2 -0
  74. package/dist/common/legacy/legacy-types.mjs.map +1 -0
  75. package/dist/common/link/link-constants.d.mts +2 -0
  76. package/dist/common/link/link-constants.d.mts.map +1 -0
  77. package/dist/common/link/link-constants.mjs +2 -0
  78. package/dist/common/link/link-constants.mjs.map +1 -0
  79. package/dist/common/link/link-helper.d.mts +37 -0
  80. package/dist/common/link/link-helper.d.mts.map +1 -0
  81. package/dist/common/link/link-helper.mjs +143 -0
  82. package/dist/common/link/link-helper.mjs.map +1 -0
  83. package/dist/common/link/link-types.d.mts +14 -0
  84. package/dist/common/link/link-types.d.mts.map +1 -0
  85. package/dist/common/link/link-types.mjs +2 -0
  86. package/dist/common/link/link-types.mjs.map +1 -0
  87. package/dist/common/other/graph-helper.d.mts +166 -0
  88. package/dist/common/other/graph-helper.d.mts.map +1 -0
  89. package/dist/common/other/graph-helper.mjs +710 -0
  90. package/dist/common/other/graph-helper.mjs.map +1 -0
  91. package/dist/common/other/ibgib-helper.d.mts +245 -0
  92. package/dist/common/other/ibgib-helper.d.mts.map +1 -0
  93. package/dist/common/other/ibgib-helper.mjs +641 -0
  94. package/dist/common/other/ibgib-helper.mjs.map +1 -0
  95. package/dist/common/other/other-constants.d.mts +53 -0
  96. package/dist/common/other/other-constants.d.mts.map +1 -0
  97. package/dist/common/other/other-constants.mjs +67 -0
  98. package/dist/common/other/other-constants.mjs.map +1 -0
  99. package/dist/common/other/other-types.d.mts +166 -0
  100. package/dist/common/other/other-types.d.mts.map +1 -0
  101. package/dist/common/other/other-types.mjs +30 -0
  102. package/dist/common/other/other-types.mjs.map +1 -0
  103. package/dist/common/other/svg-constants.d.mts +2 -0
  104. package/dist/common/other/svg-constants.d.mts.map +1 -0
  105. package/dist/common/other/svg-constants.mjs +2 -0
  106. package/dist/common/other/svg-constants.mjs.map +1 -0
  107. package/dist/common/other/svg-helper.d.mts +54 -0
  108. package/dist/common/other/svg-helper.d.mts.map +1 -0
  109. package/dist/common/other/svg-helper.mjs +170 -0
  110. package/dist/common/other/svg-helper.mjs.map +1 -0
  111. package/dist/common/pic/pic-constants.d.mts +13 -0
  112. package/dist/common/pic/pic-constants.d.mts.map +1 -0
  113. package/dist/common/pic/pic-constants.mjs +13 -0
  114. package/dist/common/pic/pic-constants.mjs.map +1 -0
  115. package/dist/common/pic/pic-helper.d.mts +70 -0
  116. package/dist/common/pic/pic-helper.d.mts.map +1 -0
  117. package/dist/common/pic/pic-helper.mjs +235 -0
  118. package/dist/common/pic/pic-helper.mjs.map +1 -0
  119. package/dist/common/pic/pic-types.d.mts +23 -0
  120. package/dist/common/pic/pic-types.d.mts.map +1 -0
  121. package/dist/common/pic/pic-types.mjs +2 -0
  122. package/dist/common/pic/pic-types.mjs.map +1 -0
  123. package/dist/common/root/root-constants.d.mts +40 -0
  124. package/dist/common/root/root-constants.d.mts.map +1 -0
  125. package/dist/common/root/root-constants.mjs +40 -0
  126. package/dist/common/root/root-constants.mjs.map +1 -0
  127. package/dist/common/root/root-types.d.mts +9 -0
  128. package/dist/common/root/root-types.d.mts.map +1 -0
  129. package/dist/common/root/root-types.mjs +2 -0
  130. package/dist/common/root/root-types.mjs.map +1 -0
  131. package/dist/common/tag/tag-constants.d.mts +21 -0
  132. package/dist/common/tag/tag-constants.d.mts.map +1 -0
  133. package/dist/common/tag/tag-constants.mjs +28 -0
  134. package/dist/common/tag/tag-constants.mjs.map +1 -0
  135. package/dist/common/tag/tag-types.d.mts +14 -0
  136. package/dist/common/tag/tag-types.d.mts.map +1 -0
  137. package/dist/common/tag/tag-types.mjs +2 -0
  138. package/dist/common/tag/tag-types.mjs.map +1 -0
  139. package/dist/core-constants.d.mts +89 -0
  140. package/dist/core-constants.d.mts.map +1 -0
  141. package/dist/core-constants.mjs +484 -0
  142. package/dist/core-constants.mjs.map +1 -0
  143. package/dist/core-helper.d.mts +6 -0
  144. package/dist/core-helper.d.mts.map +1 -0
  145. package/dist/core-helper.mjs +28 -0
  146. package/dist/core-helper.mjs.map +1 -0
  147. package/dist/core-types.d.mts +520 -0
  148. package/dist/core-types.d.mts.map +1 -0
  149. package/dist/core-types.mjs +2 -0
  150. package/dist/core-types.mjs.map +1 -0
  151. package/dist/index.d.mts +2 -0
  152. package/dist/index.d.mts.map +1 -0
  153. package/dist/index.mjs +3 -0
  154. package/dist/index.mjs.map +1 -0
  155. package/dist/witness/app/app-base-v1.d.mts +130 -0
  156. package/dist/witness/app/app-base-v1.d.mts.map +1 -0
  157. package/dist/witness/app/app-base-v1.mjs +462 -0
  158. package/dist/witness/app/app-base-v1.mjs.map +1 -0
  159. package/dist/witness/app/app-constants.d.mts +10 -0
  160. package/dist/witness/app/app-constants.d.mts.map +1 -0
  161. package/dist/witness/app/app-constants.mjs +13 -0
  162. package/dist/witness/app/app-constants.mjs.map +1 -0
  163. package/dist/witness/app/app-helper.d.mts +85 -0
  164. package/dist/witness/app/app-helper.d.mts.map +1 -0
  165. package/dist/witness/app/app-helper.mjs +258 -0
  166. package/dist/witness/app/app-helper.mjs.map +1 -0
  167. package/dist/witness/app/app-types.d.mts +211 -0
  168. package/dist/witness/app/app-types.d.mts.map +1 -0
  169. package/dist/witness/app/app-types.mjs +49 -0
  170. package/dist/witness/app/app-types.mjs.map +1 -0
  171. package/dist/witness/app/chat-app/chat-app-types.d.mts +18 -0
  172. package/dist/witness/app/chat-app/chat-app-types.d.mts.map +1 -0
  173. package/dist/witness/app/chat-app/chat-app-types.mjs +25 -0
  174. package/dist/witness/app/chat-app/chat-app-types.mjs.map +1 -0
  175. package/dist/witness/app/flash-app/flash-app-types.d.mts +16 -0
  176. package/dist/witness/app/flash-app/flash-app-types.d.mts.map +1 -0
  177. package/dist/witness/app/flash-app/flash-app-types.mjs +23 -0
  178. package/dist/witness/app/flash-app/flash-app-types.mjs.map +1 -0
  179. package/dist/witness/app/raw-app/raw-app-types.d.mts +18 -0
  180. package/dist/witness/app/raw-app/raw-app-types.d.mts.map +1 -0
  181. package/dist/witness/app/raw-app/raw-app-types.mjs +25 -0
  182. package/dist/witness/app/raw-app/raw-app-types.mjs.map +1 -0
  183. package/dist/witness/app/todo-app/todo-app-types.d.ts +33 -0
  184. package/dist/witness/app/todo-app/todo-app-types.d.ts.map +1 -0
  185. package/dist/witness/app/todo-app/todo-app-types.js +31 -0
  186. package/dist/witness/app/todo-app/todo-app-types.js.map +1 -0
  187. package/dist/witness/robbot/robbot-base-v1.d.ts +432 -0
  188. package/dist/witness/robbot/robbot-base-v1.d.ts.map +1 -0
  189. package/dist/witness/robbot/robbot-base-v1.js +1407 -0
  190. package/dist/witness/robbot/robbot-base-v1.js.map +1 -0
  191. package/dist/witness/robbot/robbot-constants.d.mts +24 -0
  192. package/dist/witness/robbot/robbot-constants.d.mts.map +1 -0
  193. package/dist/witness/robbot/robbot-constants.mjs +24 -0
  194. package/dist/witness/robbot/robbot-constants.mjs.map +1 -0
  195. package/dist/witness/robbot/robbot-helper.d.mts +152 -0
  196. package/dist/witness/robbot/robbot-helper.d.mts.map +1 -0
  197. package/dist/witness/robbot/robbot-helper.mjs +609 -0
  198. package/dist/witness/robbot/robbot-helper.mjs.map +1 -0
  199. package/dist/witness/robbot/robbot-types.d.mts +539 -0
  200. package/dist/witness/robbot/robbot-types.d.mts.map +1 -0
  201. package/dist/witness/robbot/robbot-types.mjs +294 -0
  202. package/dist/witness/robbot/robbot-types.mjs.map +1 -0
  203. package/dist/witness/space/bootstrap/bootstrap-constants.d.mts +14 -0
  204. package/dist/witness/space/bootstrap/bootstrap-constants.d.mts.map +1 -0
  205. package/dist/witness/space/bootstrap/bootstrap-constants.mjs +15 -0
  206. package/dist/witness/space/bootstrap/bootstrap-constants.mjs.map +1 -0
  207. package/dist/witness/space/inner-space-v1.d.ts +63 -0
  208. package/dist/witness/space/inner-space-v1.d.ts.map +1 -0
  209. package/dist/witness/space/inner-space-v1.js +356 -0
  210. package/dist/witness/space/inner-space-v1.js.map +1 -0
  211. package/dist/witness/space/outer-space/outer-space-constants.d.mts +2 -0
  212. package/dist/witness/space/outer-space/outer-space-constants.d.mts.map +1 -0
  213. package/dist/witness/space/outer-space/outer-space-constants.mjs +2 -0
  214. package/dist/witness/space/outer-space/outer-space-constants.mjs.map +1 -0
  215. package/dist/witness/space/outer-space/outer-space-helper.d.mts +28 -0
  216. package/dist/witness/space/outer-space/outer-space-helper.d.mts.map +1 -0
  217. package/dist/witness/space/outer-space/outer-space-helper.mjs +87 -0
  218. package/dist/witness/space/outer-space/outer-space-helper.mjs.map +1 -0
  219. package/dist/witness/space/outer-space/outer-space-types.d.mts +548 -0
  220. package/dist/witness/space/outer-space/outer-space-types.d.mts.map +1 -0
  221. package/dist/witness/space/outer-space/outer-space-types.mjs +118 -0
  222. package/dist/witness/space/outer-space/outer-space-types.mjs.map +1 -0
  223. package/dist/witness/space/space-base-v1.d.mts +147 -0
  224. package/dist/witness/space/space-base-v1.d.mts.map +1 -0
  225. package/dist/witness/space/space-base-v1.mjs +350 -0
  226. package/dist/witness/space/space-base-v1.mjs.map +1 -0
  227. package/dist/witness/space/space-constants.d.mts +181 -0
  228. package/dist/witness/space/space-constants.d.mts.map +1 -0
  229. package/dist/witness/space/space-constants.mjs +192 -0
  230. package/dist/witness/space/space-constants.mjs.map +1 -0
  231. package/dist/witness/space/space-helper.d.mts +666 -0
  232. package/dist/witness/space/space-helper.d.mts.map +1 -0
  233. package/dist/witness/space/space-helper.mjs +2830 -0
  234. package/dist/witness/space/space-helper.mjs.map +1 -0
  235. package/dist/witness/space/space-types.d.mts +422 -0
  236. package/dist/witness/space/space-types.d.mts.map +1 -0
  237. package/dist/witness/space/space-types.mjs +52 -0
  238. package/dist/witness/space/space-types.mjs.map +1 -0
  239. package/dist/witness/witness-base-v1.d.ts +144 -0
  240. package/dist/witness/witness-base-v1.d.ts.map +1 -0
  241. package/dist/witness/witness-base-v1.js +300 -0
  242. package/dist/witness/witness-base-v1.js.map +1 -0
  243. package/dist/witness/witness-constants.d.mts +3 -0
  244. package/dist/witness/witness-constants.d.mts.map +1 -0
  245. package/dist/witness/witness-constants.mjs +3 -0
  246. package/dist/witness/witness-constants.mjs.map +1 -0
  247. package/dist/witness/witness-form-builder.d.mts +45 -0
  248. package/dist/witness/witness-form-builder.d.mts.map +1 -0
  249. package/dist/witness/witness-form-builder.mjs +95 -0
  250. package/dist/witness/witness-form-builder.mjs.map +1 -0
  251. package/dist/witness/witness-helper.d.mts +89 -0
  252. package/dist/witness/witness-helper.d.mts.map +1 -0
  253. package/dist/witness/witness-helper.mjs +229 -0
  254. package/dist/witness/witness-helper.mjs.map +1 -0
  255. package/dist/witness/witness-types.d.mts +211 -0
  256. package/dist/witness/witness-types.d.mts.map +1 -0
  257. package/dist/witness/witness-types.mjs +2 -0
  258. package/dist/witness/witness-types.mjs.map +1 -0
  259. package/jasmine-browser.json +18 -0
  260. package/jasmine.json +6 -0
  261. package/package.json +67 -0
  262. package/src/assumptions.spec.mts +45 -0
  263. package/src/common/aws-constants.mts +5 -0
  264. package/src/common/bin/bin-types.mts +17 -0
  265. package/src/common/cache/cache-types.mts +53 -0
  266. package/src/common/comment/comment-constants.mts +10 -0
  267. package/src/common/comment/comment-helper.mts +211 -0
  268. package/src/common/comment/comment-types.mts +19 -0
  269. package/src/common/display/display-helper.mts +88 -0
  270. package/src/common/display/display-types.mts +108 -0
  271. package/src/common/encrypt/encrypt-constants.mts +28 -0
  272. package/src/common/encrypt/encrypt-types.mts +130 -0
  273. package/src/common/error/error-constants.mts +8 -0
  274. package/src/common/error/error-helper.mts +155 -0
  275. package/src/common/error/error-types.mts +62 -0
  276. package/src/common/form/form-helper.mts +253 -0
  277. package/src/common/form/form-items.mts +236 -0
  278. package/src/common/import-export/import-export-types.mts +18 -0
  279. package/src/common/legacy/about-legacy.md +0 -0
  280. package/src/common/legacy/legacy-types.mts +0 -0
  281. package/src/common/link/link-constants.mts +1 -0
  282. package/src/common/link/link-helper.mts +155 -0
  283. package/src/common/link/link-types.mts +16 -0
  284. package/src/common/other/graph-helper.mts +853 -0
  285. package/src/common/other/ibgib-helper.mts +671 -0
  286. package/src/common/other/other-constants.mts +76 -0
  287. package/src/common/other/other-types.mts +186 -0
  288. package/src/common/other/svg-constants.mts +1 -0
  289. package/src/common/other/svg-helper.mts +238 -0
  290. package/src/common/pic/pic-constants.mts +13 -0
  291. package/src/common/pic/pic-helper.mts +295 -0
  292. package/src/common/pic/pic-types.mts +29 -0
  293. package/src/common/root/root-constants.mts +41 -0
  294. package/src/common/root/root-types.mts +8 -0
  295. package/src/common/tag/tag-constants.mts +34 -0
  296. package/src/common/tag/tag-types.mts +19 -0
  297. package/src/core-constants.mts +506 -0
  298. package/src/core-helper.mts +33 -0
  299. package/src/core-types.mts +519 -0
  300. package/src/helper.spec.mts +64 -0
  301. package/src/index.mts +1 -0
  302. package/src/witness/app/app-base-v1.mts +584 -0
  303. package/src/witness/app/app-constants.mts +16 -0
  304. package/src/witness/app/app-helper.mts +322 -0
  305. package/src/witness/app/app-types.mts +252 -0
  306. package/src/witness/app/chat-app/chat-app-types.mts +40 -0
  307. package/src/witness/app/flash-app/flash-app-types.mts +38 -0
  308. package/src/witness/app/raw-app/raw-app-types.mts +40 -0
  309. package/src/witness/app/todo-app/todo-app-types.ts +59 -0
  310. package/src/witness/robbot/robbot-base-v1.ts +1531 -0
  311. package/src/witness/robbot/robbot-constants.mts +25 -0
  312. package/src/witness/robbot/robbot-helper.mts +676 -0
  313. package/src/witness/robbot/robbot-helper.spec.mts +135 -0
  314. package/src/witness/robbot/robbot-types.mts +797 -0
  315. package/src/witness/space/bootstrap/bootstrap-constants.mts +15 -0
  316. package/src/witness/space/inner-space-v1.ts +372 -0
  317. package/src/witness/space/outer-space/outer-space-constants.mts +1 -0
  318. package/src/witness/space/outer-space/outer-space-helper.mts +91 -0
  319. package/src/witness/space/outer-space/outer-space-types.mts +627 -0
  320. package/src/witness/space/space-base-v1.mts +414 -0
  321. package/src/witness/space/space-constants.mts +208 -0
  322. package/src/witness/space/space-helper.mts +3242 -0
  323. package/src/witness/space/space-types.mts +476 -0
  324. package/src/witness/witness-base-v1.ts +325 -0
  325. package/src/witness/witness-constants.mts +2 -0
  326. package/src/witness/witness-form-builder.mts +128 -0
  327. package/src/witness/witness-helper.mts +256 -0
  328. package/src/witness/witness-types.mts +249 -0
  329. package/tsconfig.json +15 -0
  330. package/tsconfig.test.json +10 -0
@@ -0,0 +1,520 @@
1
+ import { Observable } from 'rxjs';
2
+ import { DeleteIbGibOpts, DeleteIbGibResult, GetIbGibOpts, GetIbGibResult, IbGibTimelineUpdateInfo, PutIbGibOpts, PutIbGibResult, SpecialIbGibType } from './common/other/other-types.mjs';
3
+ import { SpaceId } from './witness/space/space-types.mjs';
4
+ import { RobbotIbGib_V1, RobbotPromptResult } from './witness/robbot/robbot-types.mjs';
5
+ import { IbGib_V1 } from '@ibgib/ts-gib/dist/V1/index.mjs';
6
+ import { PicIbGib_V1, UpdatePicPromptResult } from './common/pic/pic-types.mjs';
7
+ import { CommentIbGib_V1, UpdateCommentPromptResult } from './common/comment/comment-types.mjs';
8
+ import { AppIbGib_V1, AppPromptResult } from './witness/app/app-types.mjs';
9
+ import { RootData } from './common/root/root-types.mjs';
10
+ import { IbGibAddr, TransformResult } from '@ibgib/ts-gib';
11
+ import { GetDependencyGraphOptions } from './common/other/graph-helper.mjs';
12
+ import { CiphertextIbGib_V1, EncryptionData_V1, SecretData_V1, SecretIbGib_V1 } from './common/encrypt/encrypt-types.mjs';
13
+ import { SyncSagaInfo } from './witness/space/outer-space/outer-space-types.mjs';
14
+ import { IbGibSpaceAny } from './witness/space/space-base-v1.mjs';
15
+ /**
16
+ * Primary "All Powerful" service (too big) that does a lot of work for a local
17
+ * space (node).
18
+ *
19
+ * All-purpose mega service (todo: which we'll need to break up!) to interact
20
+ * with ibgibs at the app/device level.
21
+ *
22
+ * This works with the local app user space.
23
+ *
24
+ * ## regarding special ibgibs
25
+ *
26
+ * Special ibgibs' behaviors are what hold in other apps configuration data.
27
+ * Of course the difference is that most special ibgibs can leverage the "on-chain"
28
+ * functionality of "regular" ibgibs.
29
+ *
30
+ * There are a couple meta ibgibs (which I also call "special"):
31
+ * * roots^gib
32
+ * * tracks other special root^gib ibgibs, which are like local app-level indexes.
33
+ * * tags^gib
34
+ * * tracks other special tag^gib ibgibs, which you can apply to any ibgib
35
+ * * latest^gib
36
+ * * tracks mappings between tjp -> latest ib^gib address
37
+ * * ephemeral (deletes past rel8ns and past ibGib frames)
38
+ * * ...
39
+ *
40
+ * ## regarding latest ibgibs
41
+ *
42
+ * The tjp (temporal junction point) defines atow the beginning of an ibGib
43
+ * timeline. it's like the birthday for an ibGib. (Or you can think if it as
44
+ * the id for the stream of ibgib frames in a given timeline.)
45
+ *
46
+ * The latest ibGib in that timeline is also special, because it's often what
47
+ * you want to work with.
48
+ *
49
+ * So ideally, when an ibgib, A, has a tjp A1, and it is updated to A2, A3, An
50
+ * via `mut8` and/or `rel8` transforms, that ibgib creates a single timeline.
51
+ * This service attempts to track the relationship between that starting tjp
52
+ * address and its corresponding latest frame in that timeline, i.e., A1 -> An.
53
+ *
54
+ * ### mapping persistence implementation details
55
+ *
56
+ * The latest ibGib service is backed by a special ibgib that maintains the
57
+ * mapping index. It does this by rel8-ing that special backing ibgib via the
58
+ * tjp pointer, e.g. [special latest ibgib^XXX000].rel8ns[A^TJP123] ===
59
+ * [A^N12345] . It does this via the ib^gib content address pointer, so this
60
+ * becomes a mapping from A^TJP123 to A^N12345.
61
+ *
62
+ * This backing ibGib is special (even for special ibGibs) in that:
63
+ * * it does not relate itself with the current root of the application
64
+ * * it does not maintain references to its past (i.e. rel8ns['past'] === [])
65
+ * * it DELETES its previous incarnation from the files service
66
+ *
67
+ * In other words, this service is meant to be as ephemeral as possible. I am
68
+ * keeping it as an ibGib and not some other data format (like straight in
69
+ * storage/some other db) because I've found this is often useful and what I end
70
+ * up doing anyway to leverage other ibgib behavior. For example, in the future
71
+ * it may be good to take snapshots, which is a simple copy operation of the
72
+ * file persistence.
73
+ *
74
+ * ### current naive implementation notes
75
+ *
76
+ * questions:
77
+ * * What do we want to do if we can't locate an ibGib record?
78
+ * * How/when do we want to alert the user/our own code that we've found
79
+ * multiple timelines for an ibGib with a tjp (usually a thing we want to
80
+ * avoid)?
81
+ * * Who do we want to notify when new ibGibs arrive?
82
+ * * How often do we want to check external sources for latest?
83
+ * * When do we get to merging ibGib timelines?
84
+ *
85
+ * This is behavior that is somewhat taken care of, e.g. in git, with the HEAD
86
+ * pointer for a repo. But we're talking about here basically as a metarepo or
87
+ * "repo of repos", and unlike git, we don't want our HEAD metadata living "off
88
+ * chain" (outside of the DLT itself that it's modifying). So eventually, what
89
+ * we want is just like what we want with ALL ibGibs: perspective. From "the
90
+ * app"'s perspective, the latest is mapped. But really, apps can't view slices
91
+ * of ibGib graphs in all sorts of interesting ways and still be productive &
92
+ * beneficial to the ecosystem as a whole.
93
+ */
94
+ export interface IbGibLocalSpaceService_AllPowerful {
95
+ instanceId: string;
96
+ get initialized(): boolean;
97
+ get initializing(): boolean;
98
+ get initialized$(): Observable<void>;
99
+ get latestObs(): Observable<IbGibTimelineUpdateInfo>;
100
+ /**
101
+ * gets the current local user space according to this svc.
102
+ */
103
+ getLocalUserSpace(arg: {
104
+ /**
105
+ * If true, then we lock by bootstrap/spaceId before trying to retrieve.
106
+ *
107
+ * @default If undefined, will default to false if platform is 'web', else true
108
+ */
109
+ lock?: boolean;
110
+ /**
111
+ * If provided, will look for the space via this id in the bootstrap ibgib.
112
+ * If not provided, will use the bootstrap ibgib's default spaceId.
113
+ */
114
+ localSpaceId?: SpaceId;
115
+ }): Promise<IbGibSpaceAny | undefined>;
116
+ /**
117
+ * gets all local user spaces known in bootstrap ibgib, according to
118
+ * spaceIds property
119
+ *
120
+ * (`bootstrapIbGib.data[c.BOOTSTRAP_DATA_KNOWN_SPACE_IDS_KEY]` atow)
121
+ *
122
+ * ## example bootstrap ibgib atow
123
+ *
124
+ ```json
125
+ {
126
+ "ib":"bootstrap",
127
+ "gib":"gib",
128
+ "data":{
129
+ "defaultSpaceId":"d455d9a72807617634ccbf1e532b71037c45762f824ec85fcd9a4c2275562f33",
130
+ "spaceIds":["d455d9a72807617634ccbf1e532b71037c45762f824ec85fcd9a4c2275562f33"]
131
+ },
132
+ "rel8ns":{
133
+ "d455d9a72807617634ccbf1e532b71037c45762f824ec85fcd9a4c2275562f33":[
134
+ "witness space IonicSpace_V1 oij d455d9a72807617634ccbf1e532b71037c45762f824ec85fcd9a4c2275562f33^B336251655E8C56B38E9E86F20E0E42E6C153785F1A0A798ADE6916E71CF055B"
135
+ ]
136
+ }
137
+ }
138
+ ```
139
+ *
140
+ * so this enumerates `data.spaceIds` and gets the corresponding addrs in the `rel8ns`.
141
+ * it then gets the space ibgibs themselves via the local zero space.
142
+ *
143
+ * @returns array of known local user spaces
144
+ *
145
+ * @throws if no local user spaces found (there should be at least one atow i think)
146
+ */
147
+ getLocalUserSpaces(arg: {
148
+ /**
149
+ * If true, then we lock by bootstrap/spaceId before trying to retrieve.
150
+ *
151
+ * @default false if platform is 'web', else true
152
+ */
153
+ lock?: boolean;
154
+ }): Promise<IbGibSpaceAny[]>;
155
+ get zeroSpace(): IbGibSpaceAny;
156
+ fnPromptRobbot: (space: IbGibSpaceAny, ibGib: RobbotIbGib_V1 | null) => Promise<RobbotPromptResult | undefined>;
157
+ fnPromptApp: (space: IbGibSpaceAny, ibGib: AppIbGib_V1 | null) => Promise<AppPromptResult | undefined>;
158
+ get syncing(): boolean;
159
+ initialize(arg: {
160
+ fnPromptSecret: (space: IbGibSpaceAny) => Promise<IbGib_V1 | undefined>;
161
+ fnPromptEncryption: (space: IbGibSpaceAny) => Promise<IbGib_V1 | undefined>;
162
+ fnPromptOuterSpace: (space: IbGibSpaceAny) => Promise<IbGib_V1 | undefined>;
163
+ fnPromptUpdatePic: (space: IbGibSpaceAny, picIbGib: PicIbGib_V1) => Promise<UpdatePicPromptResult | undefined>;
164
+ fnPromptUpdateComment: (space: IbGibSpaceAny, commentIbGib: CommentIbGib_V1) => Promise<UpdateCommentPromptResult | undefined>;
165
+ fnPromptRobbot: (space: IbGibSpaceAny, ibGib: RobbotIbGib_V1) => Promise<RobbotPromptResult | undefined>;
166
+ fnPromptApp: (space: IbGibSpaceAny, ibGib: AppIbGib_V1) => Promise<AppPromptResult | undefined>;
167
+ }): Promise<void>;
168
+ /**
169
+ * Takes the given `key`, which should be unique in the given space (or
170
+ * zerospace), and uses that to get the stored `addr` in that space.
171
+ *
172
+ * # notes
173
+ *
174
+ * configuration is stored in "special" ibgibs, and so we need only to persist
175
+ * the address of that configuration.
176
+ */
177
+ getConfigAddr(arg: {
178
+ key: string;
179
+ space?: IbGibSpaceAny;
180
+ }): Promise<string | undefined>;
181
+ fnUpdateBootstrap: (newSpace: IbGibSpaceAny) => Promise<void>;
182
+ fnBroadcast: (info: IbGibTimelineUpdateInfo) => void;
183
+ /**
184
+ * Takes the given `key`, which should be unique in the given space (or
185
+ * zerospace), and uses that to persist the given `addr` in that space.
186
+ *
187
+ * # notes
188
+ *
189
+ * configuration is stored in "special" ibgibs, and so we need only to persist
190
+ * the address of that configuration.
191
+ */
192
+ setConfigAddr(arg: {
193
+ key: string;
194
+ addr: string;
195
+ space?: IbGibSpaceAny;
196
+ }): Promise<IbGibSpaceAny>;
197
+ /**
198
+ * Gets the current root in the given space, or the default zerospace if not provided.
199
+ */
200
+ getCurrentRoot(arg: {
201
+ space?: IbGibSpaceAny;
202
+ }): Promise<IbGib_V1<RootData> | undefined>;
203
+ /**
204
+ * Sets the current root in the given space, or the default zerospace if not provided.
205
+ */
206
+ setCurrentRoot(arg: {
207
+ root: IbGib_V1<RootData>;
208
+ space?: IbGibSpaceAny;
209
+ }): Promise<void>;
210
+ /**
211
+ * Every tjp should be related to one of the roots in a space.
212
+ *
213
+ * You should NOT relate every ibgib frame of a given ibGib.
214
+ */
215
+ rel8ToCurrentRoot(arg: {
216
+ ibGib: IbGib_V1;
217
+ linked?: boolean;
218
+ rel8nName?: string;
219
+ space?: IbGibSpaceAny;
220
+ }): Promise<void>;
221
+ /**
222
+ * rel8s given ibgibs to special ibgib.
223
+ * @see {@link rel8ToSpecialIbGib}
224
+ * @returns new special ibgib addr
225
+ */
226
+ rel8ToSpecialIbGib(arg: {
227
+ type: SpecialIbGibType;
228
+ rel8nName: string;
229
+ /**
230
+ * multiple ibgibs to rel8
231
+ */
232
+ ibGibsToRel8?: IbGib_V1[];
233
+ /**
234
+ * multiple ibgibs to remove rel8n.
235
+ */
236
+ ibGibsToUnRel8?: IbGib_V1[];
237
+ linked?: boolean;
238
+ /**
239
+ * Clears out the special.rel8ns.past array to an empty array.
240
+ *
241
+ * {@see deletePreviousSpecialIbGib} for driving use case.
242
+ */
243
+ severPast?: boolean;
244
+ /**
245
+ * Deletes the previous special ibGib.
246
+ *
247
+ * ## driving use case
248
+ *
249
+ * the latest ibGib is one that is completely ephemeral. It doesn't get attached
250
+ * to the current root, and it only has the current instance. So we don't want to
251
+ * keep around past incarnations.
252
+ */
253
+ deletePreviousSpecialIbGib?: boolean;
254
+ space?: IbGibSpaceAny;
255
+ }): Promise<IbGibAddr>;
256
+ /**
257
+ * Used for tracking tjpAddr -> latest ibGibAddr.
258
+ *
259
+ * Call this when you create a new ibGib.
260
+ *
261
+ * Need to put this in another service at some point, but crunch crunch
262
+ * like pacman's lunch.
263
+ */
264
+ registerNewIbGib(arg: {
265
+ ibGib: IbGib_V1;
266
+ space?: IbGibSpaceAny;
267
+ }): Promise<void>;
268
+ /**
269
+ * Will trigger a latest info event to be fired.
270
+ * @param param0
271
+ */
272
+ pingLatest_Local(arg: {
273
+ ibGib: IbGib_V1<any>;
274
+ tjpIbGib: IbGib_V1<any>;
275
+ space?: IbGibSpaceAny;
276
+ /**
277
+ * If true, then will check the latest ibgib cache first. if found, will
278
+ * just return that.
279
+ */
280
+ useCache: boolean;
281
+ }): Promise<void>;
282
+ /**
283
+ * Convenience function for persisting a transform result, which has
284
+ * a newIbGib and optionally intermediate ibGibs and/or dnas.
285
+ *
286
+ * it persists these ibgibs into the given space, else the current space.
287
+ */
288
+ persistTransformResult(arg: {
289
+ resTransform: TransformResult<IbGib_V1>;
290
+ isMeta?: boolean;
291
+ force?: boolean;
292
+ space?: IbGibSpaceAny;
293
+ }): Promise<void>;
294
+ /**
295
+ * Wrapper for retrieving ibgib from a given space, else the current space.
296
+ */
297
+ get(arg: GetIbGibOpts): Promise<GetIbGibResult>;
298
+ /**
299
+ * Wrapper for saving ibgib in a given space, else the current space.
300
+ */
301
+ put(arg: PutIbGibOpts): Promise<PutIbGibResult>;
302
+ /**
303
+ * Wrapper for removing ibgib from the a given space, else the current space.
304
+ */
305
+ delete(arg: DeleteIbGibOpts): Promise<DeleteIbGibResult>;
306
+ /**
307
+ * Wrapper for `getDependencyGraph` fn in `helper/space.ts`, but using
308
+ * `this.localUserSpace` as default space.
309
+ *
310
+ * (refactoring!)
311
+ *
312
+ * ## note on space
313
+ *
314
+ * pass in `null` for space if you want to
315
+ *
316
+ * ## warning
317
+ *
318
+ * This does not (YET) have a flag that gets the latest ibgibs for the graph.
319
+ * It only climbs the current graph, which may not cover all ibgibs when you
320
+ * deal with ibGibs with tjps (timelines). We're going to eventually
321
+ * combat this with auto-updating our rel8ns, but for now we're just going
322
+ * to earmark this for the future.
323
+ *
324
+ * todo: auto-update or better
325
+ *
326
+ * @returns map of addr => ibGib
327
+ */
328
+ getDependencyGraph(opts: GetDependencyGraphOptions): Promise<{
329
+ [addr: string]: IbGib_V1;
330
+ }>;
331
+ /**
332
+ * Wrapper for getting the latest addr in the given space.
333
+ *
334
+ * ## warnings
335
+ *
336
+ * * This was written early and makes many assumptions.
337
+ * * Meant to work with Ionic space atow.
338
+ *
339
+ * @returns latest addr in a given space (or localUserSpace)
340
+ */
341
+ getLatestAddr(arg: {
342
+ ibGib?: IbGib_V1<any>;
343
+ addr?: IbGibAddr;
344
+ tjpAddr?: IbGibAddr;
345
+ tjp?: IbGib_V1<any>;
346
+ space?: IbGibSpaceAny;
347
+ }): Promise<IbGibAddr | undefined>;
348
+ /**
349
+ * Gets the tjpIbGib for the given `ibGib` in the given `space`.
350
+ * atow, naive must be true.
351
+ *
352
+ *
353
+ *
354
+ * @returns tjpIbGib for the given `ibGib`
355
+ */
356
+ getTjpIbGib(arg: {
357
+ ibGib: IbGib_V1<any>;
358
+ naive?: boolean;
359
+ space?: IbGibSpaceAny;
360
+ }): Promise<IbGib_V1<any>>;
361
+ /**
362
+ * Gets one of the app's special ibGibs, e.g., TagsIbGib.
363
+ *
364
+ * When initializing tags, this will generate some boilerplate tags.
365
+ * I'm going to be doing roots here also, and who knows what else, but each
366
+ * one will have its own initialize specifics.
367
+ *
368
+ * @param initialize initialize (i.e. create) ONLY IF IbGib not found. Used for initializing app (first run).
369
+ *
370
+ * @see {@link createSpecial}
371
+ * @see {@link createTags}
372
+ */
373
+ getSpecialIbGib(arg: {
374
+ type: SpecialIbGibType;
375
+ initialize?: boolean;
376
+ space?: IbGibSpaceAny;
377
+ lock?: boolean;
378
+ }): Promise<IbGib_V1 | null>;
379
+ getSpecialRel8dIbGibs<TIbGib extends IbGib_V1 = IbGib_V1>(arg: {
380
+ type: SpecialIbGibType;
381
+ rel8nName: string;
382
+ space?: IbGibSpaceAny;
383
+ }): Promise<TIbGib[]>;
384
+ /**
385
+ * Feels klugy.
386
+ */
387
+ getPasswordForSecrets(arg: {
388
+ secretIbGibs: IbGib_V1<SecretData_V1>[];
389
+ fnPromptPassword: (title: string, msg: string) => Promise<string | null>;
390
+ dontPrompt?: boolean;
391
+ checkCacheFirst?: boolean;
392
+ cacheAfter?: boolean;
393
+ }): Promise<string | null>;
394
+ getCiphertextIbGib<TEncryptionIbGib extends IbGib_V1<EncryptionData_V1>, TMetadata = any>(arg: {
395
+ /**
396
+ * Um...data...to...erm...encrypt...(as a string)
397
+ */
398
+ plaintext: string;
399
+ /**
400
+ * Password to perform the encryption.
401
+ */
402
+ password: string;
403
+ /**
404
+ * Information about encryption, i.e. encryption settings.
405
+ */
406
+ encryptionIbGib: TEncryptionIbGib;
407
+ /**
408
+ * Decrypts and checks against original data
409
+ */
410
+ confirm?: boolean;
411
+ /**
412
+ * If true, will persist the ibgib
413
+ */
414
+ persist?: boolean;
415
+ /**
416
+ * If you provide this, the resulting ibgib will have the following format:
417
+ * `${ibRoot} ${publicIbMetadata}`. Otherwise, this will default to:
418
+ * `ciphertext ${publicIbMetadata}`, or just `ciphertext` if
419
+ * `publicIbMetadata` is falsy.
420
+ */
421
+ ibRoot?: string;
422
+ /**
423
+ * If you want to include metadata in the ib itself of the
424
+ * ciphertext ibgib. This will of course make this metadata
425
+ * available without loading the full ibgib, but will increase
426
+ * storage size because every address linking to the ibgib will
427
+ * include this as well.
428
+ */
429
+ publicIbMetadata?: string;
430
+ /**
431
+ * If you want to include public, unencrypted metadata in the ibgib's
432
+ * data body itself.
433
+ */
434
+ publicMetadata?: TMetadata;
435
+ }): Promise<TransformResult<CiphertextIbGib_V1>>;
436
+ /**
437
+ * Brings together a ciphertext and secretIbGibs to decrypt
438
+ * the `ciphertextIbGib.data.ciphertext`
439
+ * @returns plaintext string of `ciphertextIbGib.data.ciphertext`
440
+ */
441
+ getPlaintextString(arg: {
442
+ ciphertextIbGib: CiphertextIbGib_V1;
443
+ secretIbGibs: SecretIbGib_V1[];
444
+ fnPromptPassword: (title: string, msg: string) => Promise<string | null>;
445
+ dontPrompt?: boolean;
446
+ space: IbGibSpaceAny;
447
+ }): Promise<string>;
448
+ unwrapEncryptedSyncSpace(arg: {
449
+ encryptedSpace: IbGibSpaceAny;
450
+ fnPromptPassword: (title: string, msg: string) => Promise<string | null>;
451
+ dontPrompt?: boolean;
452
+ space?: IbGibSpaceAny;
453
+ }): Promise<IbGibSpaceAny>;
454
+ getAppSyncSpaces(arg: {
455
+ unwrapEncrypted: boolean;
456
+ createIfNone: boolean;
457
+ /**
458
+ * If true, don't prompt the user if we don't have it already cached.
459
+ *
460
+ * We don't want the user to hit the page and then always have to type in
461
+ * the password, just because my password code sucks atow.
462
+ */
463
+ dontPrompt?: boolean;
464
+ space?: IbGibSpaceAny;
465
+ }): Promise<IbGibSpaceAny[]>;
466
+ getAppRobbotIbGibs(arg: {
467
+ createIfNone: boolean;
468
+ space?: IbGibSpaceAny;
469
+ }): Promise<RobbotIbGib_V1[]>;
470
+ getAppAppIbGibs(arg: {
471
+ createIfNone: boolean;
472
+ space?: IbGibSpaceAny;
473
+ }): Promise<AppIbGib_V1[]>;
474
+ syncIbGibs(arg: {
475
+ dependencyGraphIbGibs?: IbGib_V1[];
476
+ /**
477
+ * If true, will watch ibgibs in dependency graph that have timelines
478
+ * (tjps).
479
+ */
480
+ watch?: boolean;
481
+ /**
482
+ * The meat of the sync process is tracked via a status within the sync
483
+ * spaces themselves. I'm addign this fn to track the pre and post progress
484
+ * stuff, since decrypting takes some time, and building the dependency
485
+ * graphs takes time. Both of these happen before the actual syncing occurs
486
+ * in the spaces.
487
+ */
488
+ fnPreSyncProgress?: (msg: string) => Promise<void>;
489
+ }): Promise<SyncSagaInfo[] | undefined>;
490
+ /**
491
+ * Prompts the user to select a new picture for the given `picIbGib`.
492
+ *
493
+ * If the user does select one, this creates the appropriate ibgibs (pic,
494
+ * binary, dependencies), saves them, registers the new pic (but not the bin)
495
+ * in the given `space` if specified, else in the current `localUserSpace`.
496
+ */
497
+ updatePic(arg: {
498
+ /**
499
+ * picIbGib to update with a new image.
500
+ */
501
+ picIbGib: PicIbGib_V1;
502
+ /**
503
+ * space within which we are working, i.e., where the incoming `picIbGib` is
504
+ * and where we will save any new ibgibs.
505
+ */
506
+ space?: IbGibSpaceAny;
507
+ }): Promise<void>;
508
+ updateComment(arg: {
509
+ /**
510
+ * commentIbGib to update with a new text
511
+ */
512
+ commentIbGib: CommentIbGib_V1;
513
+ /**
514
+ * space within which we are working, i.e., where the incoming `commentIbGib` is
515
+ * and where we will save any new ibgibs.
516
+ */
517
+ space?: IbGibSpaceAny;
518
+ }): Promise<void>;
519
+ }
520
+ //# sourceMappingURL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C,GAAG,EAAE;QACd,qBAAqB,CAAC,EAAE,QAAQ,EAAE,CAAC;QAEnC;;;WAGG;QACH,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB;;;;;;WAMG;QACH,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;KACpD,GAAG,OAAO,CAAC,YAAY,EAAE,GAAG,SAAS,CAAC,CAAC;IACxC;;;;;;OAMG;IACH,SAAS,CAAC,GAAG,EAAE;QACb;;WAEG;QACH,QAAQ,EAAE,WAAW,CAAC;QACtB;;;WAGG;QACH,KAAK,CAAC,EAAE,aAAa,CAAC;KACvB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,aAAa,CAAC,GAAG,EAAE;QACjB;;WAEG;QACH,YAAY,EAAE,eAAe,CAAC;QAC9B;;;WAGG;QACH,KAAK,CAAC,EAAE,aAAa,CAAC;KACvB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=core-types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-types.mjs","sourceRoot":"","sources":["../src/core-types.mts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.mts"],"names":[],"mappings":""}
package/dist/index.mjs ADDED
@@ -0,0 +1,3 @@
1
+ export {};
2
+ // export * from './helper.mjs';
3
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.mts"],"names":[],"mappings":";AAAA,gCAAgC"}