@dxos/plugin-space 0.8.4-main.9be5663bfe → 0.8.4-main.abd8ff62ef

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 (600) hide show
  1. package/dist/lib/browser/{add-object-UUFWBSVJ.mjs → add-object-QUW3AJNA.mjs} +8 -16
  2. package/dist/lib/browser/add-object-QUW3AJNA.mjs.map +7 -0
  3. package/dist/lib/browser/{add-relation-LKD2TNKD.mjs → add-relation-UOGGGVRT.mjs} +4 -4
  4. package/dist/lib/browser/add-relation-UOGGGVRT.mjs.map +7 -0
  5. package/dist/lib/browser/{add-schema-5VZHKL5T.mjs → add-schema-IIMWTWLE.mjs} +5 -5
  6. package/dist/lib/browser/add-schema-IIMWTWLE.mjs.map +7 -0
  7. package/dist/lib/browser/{chunk-VV4C4APQ.mjs → chunk-3RYTAKKI.mjs} +1 -1
  8. package/dist/lib/browser/{chunk-VV4C4APQ.mjs.map → chunk-3RYTAKKI.mjs.map} +2 -2
  9. package/dist/lib/browser/{chunk-WB3HNICB.mjs → chunk-DFVE6G3O.mjs} +3 -1
  10. package/dist/lib/browser/chunk-DFVE6G3O.mjs.map +7 -0
  11. package/dist/lib/browser/{chunk-JH2UWMN2.mjs → chunk-JHZGRYGS.mjs} +1 -1
  12. package/dist/lib/browser/{chunk-JH2UWMN2.mjs.map → chunk-JHZGRYGS.mjs.map} +2 -2
  13. package/dist/lib/browser/{chunk-5CKPBXLB.mjs → chunk-KFOBLNVU.mjs} +1 -1
  14. package/dist/lib/browser/{chunk-5CKPBXLB.mjs.map → chunk-KFOBLNVU.mjs.map} +2 -2
  15. package/dist/lib/browser/{chunk-GNIQSANG.mjs → chunk-LEDDBKH2.mjs} +3 -3
  16. package/dist/lib/browser/chunk-LEDDBKH2.mjs.map +7 -0
  17. package/dist/lib/browser/{chunk-YSV6LKD6.mjs → chunk-YELP3CVT.mjs} +2 -10
  18. package/dist/lib/browser/chunk-YELP3CVT.mjs.map +7 -0
  19. package/dist/lib/browser/{close-5PRMRLNE.mjs → close-4VUCZFW3.mjs} +4 -4
  20. package/dist/lib/browser/{close-5PRMRLNE.mjs.map → close-4VUCZFW3.mjs.map} +1 -1
  21. package/dist/lib/browser/{create-CUMAKRH6.mjs → create-WVIQ5DGE.mjs} +6 -6
  22. package/dist/lib/browser/create-WVIQ5DGE.mjs.map +7 -0
  23. package/dist/lib/browser/{delete-field-E7VR37AY.mjs → delete-field-XA3ZHCMQ.mjs} +7 -31
  24. package/dist/lib/browser/delete-field-XA3ZHCMQ.mjs.map +7 -0
  25. package/dist/lib/browser/{duplicate-object-FEPM2FY4.mjs → duplicate-object-U36HQTOY.mjs} +6 -14
  26. package/dist/lib/browser/duplicate-object-U36HQTOY.mjs.map +7 -0
  27. package/dist/lib/browser/{get-share-link-7RPLVQ5E.mjs → get-share-link-LCYLO6R4.mjs} +5 -5
  28. package/dist/lib/browser/{get-share-link-7RPLVQ5E.mjs.map → get-share-link-LCYLO6R4.mjs.map} +1 -1
  29. package/dist/lib/browser/index.mjs +8 -885
  30. package/dist/lib/browser/index.mjs.map +4 -4
  31. package/dist/lib/browser/{join-OVC62STB.mjs → join-UTLT5EPC.mjs} +5 -5
  32. package/dist/lib/browser/{join-OVC62STB.mjs.map → join-UTLT5EPC.mjs.map} +1 -1
  33. package/dist/lib/browser/meta.json +1 -1
  34. package/dist/lib/browser/meta.mjs +1 -1
  35. package/dist/lib/browser/{migrate-CIMFYFPJ.mjs → migrate-VTVFRKTI.mjs} +4 -4
  36. package/dist/lib/browser/migrate-VTVFRKTI.mjs.map +7 -0
  37. package/dist/lib/browser/{open-G4XBPNNJ.mjs → open-G27V7VC6.mjs} +4 -4
  38. package/dist/lib/browser/{open-G4XBPNNJ.mjs.map → open-G27V7VC6.mjs.map} +1 -1
  39. package/dist/lib/browser/{open-create-object-KFR6ZM6M.mjs → open-create-object-CT7C3F5R.mjs} +5 -5
  40. package/dist/lib/browser/open-create-object-CT7C3F5R.mjs.map +7 -0
  41. package/dist/lib/browser/{open-create-space-ICQYYDPT.mjs → open-create-space-RXVG5YJ6.mjs} +5 -5
  42. package/dist/lib/browser/{open-create-space-ICQYYDPT.mjs.map → open-create-space-RXVG5YJ6.mjs.map} +1 -1
  43. package/dist/lib/browser/{open-members-TFARRDZG.mjs → open-members-SFORTHHO.mjs} +4 -4
  44. package/dist/lib/browser/{open-members-TFARRDZG.mjs.map → open-members-SFORTHHO.mjs.map} +1 -1
  45. package/dist/lib/browser/{open-settings-MLCXUE2H.mjs → open-settings-T3GBE2ZO.mjs} +5 -5
  46. package/dist/lib/browser/{open-settings-MLCXUE2H.mjs.map → open-settings-T3GBE2ZO.mjs.map} +1 -1
  47. package/dist/lib/browser/operations/index.mjs +4 -4
  48. package/dist/lib/browser/operations/index.mjs.map +3 -3
  49. package/dist/lib/browser/{remove-objects-OKPOXX5K.mjs → remove-objects-4NGQQ3MB.mjs} +7 -15
  50. package/dist/lib/browser/remove-objects-4NGQQ3MB.mjs.map +7 -0
  51. package/dist/lib/browser/{rename-LPPVIVCM.mjs → rename-WXLQ6A7I.mjs} +5 -5
  52. package/dist/lib/browser/{rename-LPPVIVCM.mjs.map → rename-WXLQ6A7I.mjs.map} +1 -1
  53. package/dist/lib/browser/{rename-object-5BG6G7OZ.mjs → rename-object-FENQ35M5.mjs} +5 -5
  54. package/dist/lib/browser/rename-object-FENQ35M5.mjs.map +7 -0
  55. package/dist/lib/browser/{restore-field-7GJWVHDA.mjs → restore-field-PRMD4VMB.mjs} +7 -31
  56. package/dist/lib/browser/restore-field-PRMD4VMB.mjs.map +7 -0
  57. package/dist/lib/browser/{restore-objects-IDA5K4JY.mjs → restore-objects-CJCTTZUT.mjs} +6 -14
  58. package/dist/lib/browser/restore-objects-CJCTTZUT.mjs.map +7 -0
  59. package/dist/lib/browser/{share-X3CPU6VI.mjs → share-H23WYPDJ.mjs} +4 -4
  60. package/dist/lib/browser/{share-X3CPU6VI.mjs.map → share-H23WYPDJ.mjs.map} +1 -1
  61. package/dist/lib/browser/{snapshot-4ICGB7QL.mjs → snapshot-4OOW4C5P.mjs} +5 -13
  62. package/dist/lib/browser/snapshot-4OOW4C5P.mjs.map +7 -0
  63. package/dist/lib/browser/types/index.mjs +3 -1
  64. package/dist/lib/browser/{wait-for-object-RNK4EMZZ.mjs → wait-for-object-HU6DSIRP.mjs} +4 -4
  65. package/dist/lib/browser/{wait-for-object-RNK4EMZZ.mjs.map → wait-for-object-HU6DSIRP.mjs.map} +1 -1
  66. package/dist/lib/node-esm/{add-object-2DVOIRLC.mjs → add-object-22RLQV24.mjs} +8 -16
  67. package/dist/lib/node-esm/add-object-22RLQV24.mjs.map +7 -0
  68. package/dist/lib/node-esm/{add-relation-RGXQYERC.mjs → add-relation-KBH2GORQ.mjs} +4 -4
  69. package/dist/lib/node-esm/add-relation-KBH2GORQ.mjs.map +7 -0
  70. package/dist/lib/node-esm/{add-schema-KNXXCGGN.mjs → add-schema-4ILDNVUN.mjs} +5 -5
  71. package/dist/lib/node-esm/add-schema-4ILDNVUN.mjs.map +7 -0
  72. package/dist/lib/node-esm/{chunk-64AL4GHY.mjs → chunk-CFSLV7OJ.mjs} +1 -1
  73. package/dist/lib/node-esm/{chunk-64AL4GHY.mjs.map → chunk-CFSLV7OJ.mjs.map} +2 -2
  74. package/dist/lib/node-esm/{chunk-EQMZ4GGS.mjs → chunk-DPOCSUFM.mjs} +3 -1
  75. package/dist/lib/node-esm/chunk-DPOCSUFM.mjs.map +7 -0
  76. package/dist/lib/node-esm/{chunk-GTF56ZOK.mjs → chunk-HSVHLOWA.mjs} +1 -1
  77. package/dist/lib/node-esm/{chunk-GTF56ZOK.mjs.map → chunk-HSVHLOWA.mjs.map} +2 -2
  78. package/dist/lib/node-esm/{chunk-IYW6CXLN.mjs → chunk-QKEPMULV.mjs} +1 -1
  79. package/dist/lib/node-esm/{chunk-IYW6CXLN.mjs.map → chunk-QKEPMULV.mjs.map} +2 -2
  80. package/dist/lib/node-esm/{chunk-IHOQPYNT.mjs → chunk-TIKBCL5D.mjs} +2 -10
  81. package/dist/lib/node-esm/chunk-TIKBCL5D.mjs.map +7 -0
  82. package/dist/lib/node-esm/{chunk-O76EE6YO.mjs → chunk-TL2HJZZN.mjs} +3 -3
  83. package/dist/lib/node-esm/chunk-TL2HJZZN.mjs.map +7 -0
  84. package/dist/lib/node-esm/{close-B3YKWJFA.mjs → close-5XLHR5HP.mjs} +4 -4
  85. package/dist/lib/node-esm/{close-B3YKWJFA.mjs.map → close-5XLHR5HP.mjs.map} +1 -1
  86. package/dist/lib/node-esm/{create-4R6VMTBK.mjs → create-EAET5IGQ.mjs} +6 -6
  87. package/dist/lib/node-esm/create-EAET5IGQ.mjs.map +7 -0
  88. package/dist/lib/node-esm/{delete-field-GO23FHRM.mjs → delete-field-YSXZZUIU.mjs} +7 -31
  89. package/dist/lib/node-esm/delete-field-YSXZZUIU.mjs.map +7 -0
  90. package/dist/lib/node-esm/{duplicate-object-DAOAOSN2.mjs → duplicate-object-M3KIW2GA.mjs} +6 -14
  91. package/dist/lib/node-esm/duplicate-object-M3KIW2GA.mjs.map +7 -0
  92. package/dist/lib/node-esm/{get-share-link-HVUXWNJQ.mjs → get-share-link-JRTCLA7F.mjs} +5 -5
  93. package/dist/lib/node-esm/{get-share-link-HVUXWNJQ.mjs.map → get-share-link-JRTCLA7F.mjs.map} +1 -1
  94. package/dist/lib/node-esm/index.mjs +8 -885
  95. package/dist/lib/node-esm/index.mjs.map +4 -4
  96. package/dist/lib/node-esm/{join-GNUI4Q2E.mjs → join-OPOATWZ5.mjs} +5 -5
  97. package/dist/lib/node-esm/{join-GNUI4Q2E.mjs.map → join-OPOATWZ5.mjs.map} +1 -1
  98. package/dist/lib/node-esm/meta.json +1 -1
  99. package/dist/lib/node-esm/meta.mjs +1 -1
  100. package/dist/lib/node-esm/{migrate-3LLZU3Y3.mjs → migrate-2JJ4GMRU.mjs} +4 -4
  101. package/dist/lib/node-esm/migrate-2JJ4GMRU.mjs.map +7 -0
  102. package/dist/lib/node-esm/{open-5LPYF342.mjs → open-YSRDOUUC.mjs} +4 -4
  103. package/dist/lib/node-esm/{open-5LPYF342.mjs.map → open-YSRDOUUC.mjs.map} +1 -1
  104. package/dist/lib/node-esm/{open-create-object-FSECJKWJ.mjs → open-create-object-KRFMEKQ7.mjs} +5 -5
  105. package/dist/lib/node-esm/open-create-object-KRFMEKQ7.mjs.map +7 -0
  106. package/dist/lib/node-esm/{open-create-space-GKROCVE7.mjs → open-create-space-3W3QZDTI.mjs} +5 -5
  107. package/dist/lib/node-esm/{open-create-space-GKROCVE7.mjs.map → open-create-space-3W3QZDTI.mjs.map} +1 -1
  108. package/dist/lib/node-esm/{open-members-NGWMFHIN.mjs → open-members-34WLQUXB.mjs} +4 -4
  109. package/dist/lib/node-esm/{open-members-NGWMFHIN.mjs.map → open-members-34WLQUXB.mjs.map} +1 -1
  110. package/dist/lib/node-esm/{open-settings-VGBMSULJ.mjs → open-settings-GR6WTJ22.mjs} +5 -5
  111. package/dist/lib/node-esm/{open-settings-VGBMSULJ.mjs.map → open-settings-GR6WTJ22.mjs.map} +1 -1
  112. package/dist/lib/node-esm/operations/index.mjs +4 -4
  113. package/dist/lib/node-esm/operations/index.mjs.map +3 -3
  114. package/dist/lib/node-esm/{remove-objects-6RQQAJNW.mjs → remove-objects-XAF22OXS.mjs} +7 -15
  115. package/dist/lib/node-esm/remove-objects-XAF22OXS.mjs.map +7 -0
  116. package/dist/lib/node-esm/{rename-JMPOMOYY.mjs → rename-OXYMJFQG.mjs} +5 -5
  117. package/dist/lib/node-esm/{rename-JMPOMOYY.mjs.map → rename-OXYMJFQG.mjs.map} +1 -1
  118. package/dist/lib/node-esm/{rename-object-F7ZV5MRF.mjs → rename-object-LQYSLUSC.mjs} +5 -5
  119. package/dist/lib/node-esm/rename-object-LQYSLUSC.mjs.map +7 -0
  120. package/dist/lib/node-esm/{restore-field-2QRK5Y4Y.mjs → restore-field-PS67QVNP.mjs} +7 -31
  121. package/dist/lib/node-esm/restore-field-PS67QVNP.mjs.map +7 -0
  122. package/dist/lib/node-esm/{restore-objects-QZPN5HNB.mjs → restore-objects-KOBUZ4RN.mjs} +6 -14
  123. package/dist/lib/node-esm/restore-objects-KOBUZ4RN.mjs.map +7 -0
  124. package/dist/lib/node-esm/{share-NLDQZYWK.mjs → share-2KAPTANB.mjs} +4 -4
  125. package/dist/lib/node-esm/{share-NLDQZYWK.mjs.map → share-2KAPTANB.mjs.map} +1 -1
  126. package/dist/lib/node-esm/{snapshot-INHLF3MW.mjs → snapshot-ACV7XGBY.mjs} +5 -13
  127. package/dist/lib/node-esm/snapshot-ACV7XGBY.mjs.map +7 -0
  128. package/dist/lib/node-esm/types/index.mjs +3 -1
  129. package/dist/lib/node-esm/{wait-for-object-HBN6FXLS.mjs → wait-for-object-DJ76E725.mjs} +4 -4
  130. package/dist/lib/node-esm/{wait-for-object-HBN6FXLS.mjs.map → wait-for-object-DJ76E725.mjs.map} +1 -1
  131. package/dist/types/src/SpacePlugin.d.ts +1 -0
  132. package/dist/types/src/SpacePlugin.d.ts.map +1 -1
  133. package/dist/types/src/{cli/plugin.d.ts → SpacePlugin.node.d.ts} +2 -1
  134. package/dist/types/src/SpacePlugin.node.d.ts.map +1 -0
  135. package/dist/types/src/SpacePlugin.test.d.ts +2 -0
  136. package/dist/types/src/SpacePlugin.test.d.ts.map +1 -0
  137. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +1 -1
  138. package/dist/types/src/capabilities/app-graph-builder/extensions/collections.d.ts +28 -4
  139. package/dist/types/src/capabilities/app-graph-builder/extensions/collections.d.ts.map +1 -1
  140. package/dist/types/src/capabilities/app-graph-builder/extensions/companions.d.ts +21 -3
  141. package/dist/types/src/capabilities/app-graph-builder/extensions/companions.d.ts.map +1 -1
  142. package/dist/types/src/capabilities/app-graph-builder/extensions/settings.d.ts +10 -2
  143. package/dist/types/src/capabilities/app-graph-builder/extensions/settings.d.ts.map +1 -1
  144. package/dist/types/src/capabilities/app-graph-builder/extensions/shared.d.ts +4 -5
  145. package/dist/types/src/capabilities/app-graph-builder/extensions/shared.d.ts.map +1 -1
  146. package/dist/types/src/capabilities/app-graph-builder/extensions/spaces.d.ts +21 -3
  147. package/dist/types/src/capabilities/app-graph-builder/extensions/spaces.d.ts.map +1 -1
  148. package/dist/types/src/capabilities/app-graph-builder/extensions/types.d.ts.map +1 -1
  149. package/dist/types/src/capabilities/app-graph-serializer.d.ts.map +1 -1
  150. package/dist/types/src/capabilities/identity-created.d.ts.map +1 -1
  151. package/dist/types/src/capabilities/index.d.ts +3 -7
  152. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  153. package/dist/types/src/capabilities/migrations.d.ts +1 -1
  154. package/dist/types/src/capabilities/migrations.d.ts.map +1 -1
  155. package/dist/types/src/capabilities/navigation-handler/navigation-handler.d.ts.map +1 -1
  156. package/dist/types/src/capabilities/navigation-resolver.d.ts.map +1 -1
  157. package/dist/types/src/capabilities/node.d.ts +1 -1
  158. package/dist/types/src/capabilities/node.d.ts.map +1 -1
  159. package/dist/types/src/capabilities/operation-handler.d.ts +1 -1
  160. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -1
  161. package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
  162. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  163. package/dist/types/src/capabilities/repair.d.ts.map +1 -1
  164. package/dist/types/src/capabilities/settings.d.ts +2 -5
  165. package/dist/types/src/capabilities/settings.d.ts.map +1 -1
  166. package/dist/types/src/capabilities/spaces-ready.d.ts.map +1 -1
  167. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  168. package/dist/types/src/capabilities/undo-mappings.d.ts.map +1 -1
  169. package/dist/types/src/{cli/commands → commands}/database/add.d.ts +2 -2
  170. package/dist/types/src/commands/database/add.d.ts.map +1 -0
  171. package/dist/types/src/commands/database/index.d.ts.map +1 -0
  172. package/dist/types/src/commands/database/query/index.d.ts.map +1 -0
  173. package/dist/types/src/{cli/commands → commands}/database/query/query.d.ts +2 -2
  174. package/dist/types/src/commands/database/query/query.d.ts.map +1 -0
  175. package/dist/types/src/commands/database/query/query.test.d.ts.map +1 -0
  176. package/dist/types/src/{cli/commands → commands}/database/remove.d.ts +1 -1
  177. package/dist/types/src/commands/database/remove.d.ts.map +1 -0
  178. package/dist/types/src/{cli/commands → commands}/database/stats.d.ts +1 -1
  179. package/dist/types/src/commands/database/stats.d.ts.map +1 -0
  180. package/dist/types/src/commands/database/util.d.ts.map +1 -0
  181. package/dist/types/src/commands/index.d.ts.map +1 -0
  182. package/dist/types/src/{cli/commands → commands}/queue/index.d.ts +1 -1
  183. package/dist/types/src/commands/queue/index.d.ts.map +1 -0
  184. package/dist/types/src/{cli/commands → commands}/queue/query.d.ts +1 -1
  185. package/dist/types/src/commands/queue/query.d.ts.map +1 -0
  186. package/dist/types/src/commands/queue/util.d.ts.map +1 -0
  187. package/dist/types/src/commands/space/close/close.d.ts +12 -0
  188. package/dist/types/src/commands/space/close/close.d.ts.map +1 -0
  189. package/dist/types/src/commands/space/close/index.d.ts.map +1 -0
  190. package/dist/types/src/{cli/commands → commands}/space/create/create.d.ts +2 -2
  191. package/dist/types/src/commands/space/create/create.d.ts.map +1 -0
  192. package/dist/types/src/commands/space/create/create.test.d.ts.map +1 -0
  193. package/dist/types/src/commands/space/create/index.d.ts.map +1 -0
  194. package/dist/types/src/{cli/commands → commands}/space/index.d.ts +15 -12
  195. package/dist/types/src/commands/space/index.d.ts.map +1 -0
  196. package/dist/types/src/commands/space/info/index.d.ts.map +1 -0
  197. package/dist/types/src/commands/space/info/info.d.ts +15 -0
  198. package/dist/types/src/commands/space/info/info.d.ts.map +1 -0
  199. package/dist/types/src/commands/space/info/info.test.d.ts.map +1 -0
  200. package/dist/types/src/commands/space/join/index.d.ts.map +1 -0
  201. package/dist/types/src/{cli/commands → commands}/space/join/join.d.ts +2 -2
  202. package/dist/types/src/commands/space/join/join.d.ts.map +1 -0
  203. package/dist/types/src/commands/space/join/util.d.ts.map +1 -0
  204. package/dist/types/src/commands/space/list/index.d.ts.map +1 -0
  205. package/dist/types/src/commands/space/list/list.d.ts +12 -0
  206. package/dist/types/src/commands/space/list/list.d.ts.map +1 -0
  207. package/dist/types/src/commands/space/list/list.test.d.ts.map +1 -0
  208. package/dist/types/src/commands/space/members/index.d.ts.map +1 -0
  209. package/dist/types/src/{cli/commands → commands}/space/members/members.d.ts +2 -2
  210. package/dist/types/src/commands/space/members/members.d.ts.map +1 -0
  211. package/dist/types/src/commands/space/members/members.test.d.ts.map +1 -0
  212. package/dist/types/src/commands/space/members/util.d.ts.map +1 -0
  213. package/dist/types/src/commands/space/open/index.d.ts.map +1 -0
  214. package/dist/types/src/commands/space/open/open.d.ts +12 -0
  215. package/dist/types/src/commands/space/open/open.d.ts.map +1 -0
  216. package/dist/types/src/{cli/commands → commands}/space/schema/index.d.ts +1 -1
  217. package/dist/types/src/commands/space/schema/index.d.ts.map +1 -0
  218. package/dist/types/src/commands/space/schema/list/index.d.ts.map +1 -0
  219. package/dist/types/src/{cli/commands → commands}/space/schema/list/list.d.ts +2 -2
  220. package/dist/types/src/commands/space/schema/list/list.d.ts.map +1 -0
  221. package/dist/types/src/commands/space/schema/list/list.test.d.ts.map +1 -0
  222. package/dist/types/src/commands/space/schema/list/util.d.ts.map +1 -0
  223. package/dist/types/src/commands/space/share/index.d.ts.map +1 -0
  224. package/dist/types/src/{cli/commands → commands}/space/share/share.d.ts +2 -2
  225. package/dist/types/src/commands/space/share/share.d.ts.map +1 -0
  226. package/dist/types/src/commands/space/sync/index.d.ts.map +1 -0
  227. package/dist/types/src/commands/space/sync/sync.d.ts.map +1 -0
  228. package/dist/types/src/commands/space/sync/sync.test.d.ts.map +1 -0
  229. package/dist/types/src/components/AwaitingObject/AwaitingObject.d.ts.map +1 -1
  230. package/dist/types/src/components/CreateDialog/CreateObjectPanel.d.ts +4 -4
  231. package/dist/types/src/components/CreateDialog/CreateObjectPanel.d.ts.map +1 -1
  232. package/dist/types/src/components/ForeignKeys/ForeignKeys.d.ts.map +1 -1
  233. package/dist/types/src/components/SpaceSettings/SpaceSettings.d.ts +10 -0
  234. package/dist/types/src/components/SpaceSettings/SpaceSettings.d.ts.map +1 -0
  235. package/dist/types/src/components/{SpacePluginSettings/SpacePluginSettings.stories.d.ts → SpaceSettings/SpaceSettings.stories.d.ts} +482 -245
  236. package/dist/types/src/components/{SpacePluginSettings/SpacePluginSettings.stories.d.ts.map → SpaceSettings/SpaceSettings.stories.d.ts.map} +1 -1
  237. package/dist/types/src/components/SpaceSettings/index.d.ts +2 -0
  238. package/dist/types/src/{containers/ObjectDetails → components/SpaceSettings}/index.d.ts.map +1 -1
  239. package/dist/types/src/components/SyncStatus/save-tracker.d.ts +1 -1
  240. package/dist/types/src/components/SyncStatus/save-tracker.d.ts.map +1 -1
  241. package/dist/types/src/components/SyncStatus/status.d.ts +1 -1
  242. package/dist/types/src/components/SyncStatus/status.d.ts.map +1 -1
  243. package/dist/types/src/components/index.d.ts +1 -1
  244. package/dist/types/src/components/index.d.ts.map +1 -1
  245. package/dist/types/src/containers/CollectionArticle/CollectionArticle.d.ts.map +1 -1
  246. package/dist/types/src/containers/CollectionSection/CollectionSection.d.ts.map +1 -1
  247. package/dist/types/src/containers/CreateObjectDialog/CreateObjectDialog.d.ts.map +1 -1
  248. package/dist/types/src/containers/CreateObjectDialog/CreateObjectDialog.stories.d.ts +480 -243
  249. package/dist/types/src/containers/CreateObjectDialog/CreateObjectDialog.stories.d.ts.map +1 -1
  250. package/dist/types/src/containers/CreateSpaceDialog/CreateSpaceDialog.stories.d.ts +480 -243
  251. package/dist/types/src/containers/CreateSpaceDialog/CreateSpaceDialog.stories.d.ts.map +1 -1
  252. package/dist/types/src/containers/InlineSyncStatus/InlineSyncStatus.d.ts.map +1 -1
  253. package/dist/types/src/containers/JoinDialog/JoinDialog.d.ts.map +1 -1
  254. package/dist/types/src/containers/JoinDialog/JoinDialog.stories.d.ts +480 -243
  255. package/dist/types/src/containers/JoinDialog/JoinDialog.stories.d.ts.map +1 -1
  256. package/dist/types/src/containers/MembersContainer/MembersContainer.d.ts +3 -4
  257. package/dist/types/src/containers/MembersContainer/MembersContainer.d.ts.map +1 -1
  258. package/dist/types/src/containers/MenuFooter/MenuFooter.d.ts.map +1 -1
  259. package/dist/types/src/containers/ObjectProperties/ObjectProperties.d.ts +10 -0
  260. package/dist/types/src/containers/ObjectProperties/ObjectProperties.d.ts.map +1 -0
  261. package/dist/types/src/containers/ObjectProperties/index.d.ts +2 -0
  262. package/dist/types/src/containers/ObjectProperties/index.d.ts.map +1 -0
  263. package/dist/types/src/containers/ObjectRenamePopover/ObjectRenamePopover.d.ts.map +1 -1
  264. package/dist/types/src/containers/RecordArticle/RecordArticle.d.ts +1 -1
  265. package/dist/types/src/containers/RecordArticle/RecordArticle.d.ts.map +1 -1
  266. package/dist/types/src/containers/RecordArticle/RecordArticle.stories.d.ts.map +1 -1
  267. package/dist/types/src/containers/RelatedArticle/RelatedArticle.d.ts +1 -1
  268. package/dist/types/src/containers/RelatedArticle/RelatedArticle.d.ts.map +1 -1
  269. package/dist/types/src/containers/SchemaContainer/SchemaContainer.d.ts +2 -5
  270. package/dist/types/src/containers/SchemaContainer/SchemaContainer.d.ts.map +1 -1
  271. package/dist/types/src/containers/SpacePresence/SpacePresence.d.ts.map +1 -1
  272. package/dist/types/src/containers/SpacePresence/SpacePresence.stories.d.ts +480 -243
  273. package/dist/types/src/containers/SpacePresence/SpacePresence.stories.d.ts.map +1 -1
  274. package/dist/types/src/containers/SpaceRenamePopover/SpaceRenamePopover.d.ts.map +1 -1
  275. package/dist/types/src/containers/SpaceSettingsContainer/SpaceSettingsContainer.d.ts +5 -8
  276. package/dist/types/src/containers/SpaceSettingsContainer/SpaceSettingsContainer.d.ts.map +1 -1
  277. package/dist/types/src/containers/SpaceSettingsContainer/SpaceSettingsContainer.stories.d.ts +484 -246
  278. package/dist/types/src/containers/SpaceSettingsContainer/SpaceSettingsContainer.stories.d.ts.map +1 -1
  279. package/dist/types/src/containers/SyncStatus/SyncStatus.d.ts.map +1 -1
  280. package/dist/types/src/containers/SyncStatus/SyncStatus.stories.d.ts +480 -243
  281. package/dist/types/src/containers/SyncStatus/SyncStatus.stories.d.ts.map +1 -1
  282. package/dist/types/src/containers/ViewEditor/ViewEditor.d.ts.map +1 -1
  283. package/dist/types/src/containers/index.d.ts +1 -1
  284. package/dist/types/src/containers/index.d.ts.map +1 -1
  285. package/dist/types/src/hooks/useInputSurfaceLookup.d.ts.map +1 -1
  286. package/dist/types/src/hooks/usePath.d.ts.map +1 -1
  287. package/dist/types/src/hooks/useRelatedObjects.d.ts.map +1 -1
  288. package/dist/types/src/index.d.ts +2 -2
  289. package/dist/types/src/index.d.ts.map +1 -1
  290. package/dist/types/src/operations/add-object.d.ts +1 -1
  291. package/dist/types/src/operations/add-object.d.ts.map +1 -1
  292. package/dist/types/src/operations/add-relation.d.ts +1 -1
  293. package/dist/types/src/operations/add-relation.d.ts.map +1 -1
  294. package/dist/types/src/operations/add-schema.d.ts +1 -1
  295. package/dist/types/src/operations/add-schema.d.ts.map +1 -1
  296. package/dist/types/src/operations/close.d.ts +1 -1
  297. package/dist/types/src/operations/close.d.ts.map +1 -1
  298. package/dist/types/src/operations/create.d.ts +1 -1
  299. package/dist/types/src/operations/create.d.ts.map +1 -1
  300. package/dist/types/src/operations/definitions.d.ts +15 -15
  301. package/dist/types/src/operations/definitions.d.ts.map +1 -1
  302. package/dist/types/src/operations/delete-field.d.ts +1 -1
  303. package/dist/types/src/operations/delete-field.d.ts.map +1 -1
  304. package/dist/types/src/operations/duplicate-object.d.ts +1 -1
  305. package/dist/types/src/operations/duplicate-object.d.ts.map +1 -1
  306. package/dist/types/src/operations/get-share-link.d.ts +1 -1
  307. package/dist/types/src/operations/get-share-link.d.ts.map +1 -1
  308. package/dist/types/src/operations/index.d.ts +1 -1
  309. package/dist/types/src/operations/index.d.ts.map +1 -1
  310. package/dist/types/src/operations/join.d.ts +1 -1
  311. package/dist/types/src/operations/join.d.ts.map +1 -1
  312. package/dist/types/src/operations/migrate.d.ts +1 -1
  313. package/dist/types/src/operations/migrate.d.ts.map +1 -1
  314. package/dist/types/src/operations/open-create-object.d.ts +1 -1
  315. package/dist/types/src/operations/open-create-object.d.ts.map +1 -1
  316. package/dist/types/src/operations/open-create-space.d.ts +1 -1
  317. package/dist/types/src/operations/open-create-space.d.ts.map +1 -1
  318. package/dist/types/src/operations/open-members.d.ts +1 -1
  319. package/dist/types/src/operations/open-members.d.ts.map +1 -1
  320. package/dist/types/src/operations/open-settings.d.ts +1 -1
  321. package/dist/types/src/operations/open-settings.d.ts.map +1 -1
  322. package/dist/types/src/operations/open.d.ts +1 -1
  323. package/dist/types/src/operations/open.d.ts.map +1 -1
  324. package/dist/types/src/operations/remove-objects.d.ts +1 -1
  325. package/dist/types/src/operations/remove-objects.d.ts.map +1 -1
  326. package/dist/types/src/operations/rename-object.d.ts +1 -1
  327. package/dist/types/src/operations/rename-object.d.ts.map +1 -1
  328. package/dist/types/src/operations/rename.d.ts +1 -1
  329. package/dist/types/src/operations/rename.d.ts.map +1 -1
  330. package/dist/types/src/operations/restore-field.d.ts +1 -1
  331. package/dist/types/src/operations/restore-field.d.ts.map +1 -1
  332. package/dist/types/src/operations/restore-objects.d.ts +1 -1
  333. package/dist/types/src/operations/restore-objects.d.ts.map +1 -1
  334. package/dist/types/src/operations/share.d.ts +1 -1
  335. package/dist/types/src/operations/share.d.ts.map +1 -1
  336. package/dist/types/src/operations/snapshot.d.ts +1 -1
  337. package/dist/types/src/operations/snapshot.d.ts.map +1 -1
  338. package/dist/types/src/operations/wait-for-object.d.ts +1 -1
  339. package/dist/types/src/operations/wait-for-object.d.ts.map +1 -1
  340. package/dist/types/src/translations.d.ts +480 -243
  341. package/dist/types/src/translations.d.ts.map +1 -1
  342. package/dist/types/src/types/Settings.d.ts +2 -1
  343. package/dist/types/src/types/Settings.d.ts.map +1 -1
  344. package/dist/types/src/types/capabilities.d.ts +4 -7
  345. package/dist/types/src/types/capabilities.d.ts.map +1 -1
  346. package/dist/types/src/types/events.d.ts.map +1 -1
  347. package/dist/types/src/types/types.d.ts +3 -1
  348. package/dist/types/src/types/types.d.ts.map +1 -1
  349. package/dist/types/src/util.d.ts +1 -1
  350. package/dist/types/src/util.d.ts.map +1 -1
  351. package/dist/types/tsconfig.tsbuildinfo +1 -1
  352. package/package.json +73 -82
  353. package/src/{cli/plugin.ts → SpacePlugin.node.ts} +4 -2
  354. package/src/SpacePlugin.test.ts +33 -0
  355. package/src/SpacePlugin.ts +29 -8
  356. package/src/capabilities/app-graph-builder/app-graph-builder.ts +1 -1
  357. package/src/capabilities/app-graph-builder/extensions/collections.ts +13 -7
  358. package/src/capabilities/app-graph-builder/extensions/companions.ts +5 -5
  359. package/src/capabilities/app-graph-builder/extensions/settings.ts +44 -20
  360. package/src/capabilities/app-graph-builder/extensions/shared.test.ts +2 -2
  361. package/src/capabilities/app-graph-builder/extensions/shared.ts +33 -14
  362. package/src/capabilities/app-graph-builder/extensions/spaces.ts +4 -19
  363. package/src/capabilities/app-graph-builder/extensions/types.ts +17 -10
  364. package/src/capabilities/app-graph-serializer.ts +1 -1
  365. package/src/capabilities/identity-created.ts +3 -4
  366. package/src/capabilities/index.ts +1 -1
  367. package/src/capabilities/navigation-handler/navigation-handler.ts +1 -1
  368. package/src/capabilities/node.ts +1 -1
  369. package/src/capabilities/operation-handler.ts +1 -1
  370. package/src/capabilities/react-surface.tsx +87 -67
  371. package/src/capabilities/repair.ts +1 -1
  372. package/src/capabilities/spaces-ready.ts +15 -36
  373. package/src/capabilities/state.ts +1 -1
  374. package/src/{cli/commands → commands}/database/add.ts +2 -2
  375. package/src/{cli/commands → commands}/space/create/create.ts +1 -1
  376. package/src/{cli/commands → commands}/space/info/info.test.ts +1 -1
  377. package/src/{cli/commands → commands}/space/info/info.ts +16 -3
  378. package/src/{cli/commands → commands}/space/list/list.test.ts +4 -3
  379. package/src/commands/space/list/list.ts +42 -0
  380. package/src/components/CreateDialog/CreateObjectPanel.tsx +35 -37
  381. package/src/components/{SpacePluginSettings/SpacePluginSettings.stories.tsx → SpaceSettings/SpaceSettings.stories.tsx} +6 -5
  382. package/src/components/{SpacePluginSettings/SpacePluginSettings.tsx → SpaceSettings/SpaceSettings.tsx} +2 -7
  383. package/src/components/SpaceSettings/index.ts +5 -0
  384. package/src/components/index.ts +1 -1
  385. package/src/containers/CreateObjectDialog/CreateObjectDialog.stories.tsx +1 -2
  386. package/src/containers/CreateObjectDialog/CreateObjectDialog.tsx +2 -3
  387. package/src/containers/CreateSpaceDialog/CreateSpaceDialog.stories.tsx +2 -1
  388. package/src/containers/JoinDialog/JoinDialog.stories.tsx +2 -1
  389. package/src/containers/MembersContainer/MembersContainer.tsx +4 -4
  390. package/src/containers/{ObjectDetails/ObjectDetails.tsx → ObjectProperties/ObjectProperties.tsx} +7 -7
  391. package/src/containers/ObjectProperties/index.ts +5 -0
  392. package/src/containers/ObjectRenamePopover/ObjectRenamePopover.tsx +1 -1
  393. package/src/containers/RecordArticle/RecordArticle.stories.tsx +2 -1
  394. package/src/containers/RecordArticle/RecordArticle.tsx +2 -2
  395. package/src/containers/RelatedArticle/RelatedArticle.tsx +6 -4
  396. package/src/containers/SchemaContainer/SchemaContainer.tsx +2 -3
  397. package/src/containers/SpacePresence/SpacePresence.stories.tsx +2 -1
  398. package/src/containers/SpaceRenamePopover/SpaceRenamePopover.tsx +1 -1
  399. package/src/containers/SpaceSettingsContainer/SpaceSettingsContainer.stories.tsx +6 -4
  400. package/src/containers/SpaceSettingsContainer/SpaceSettingsContainer.tsx +51 -11
  401. package/src/containers/SyncStatus/SyncStatus.stories.tsx +2 -1
  402. package/src/containers/SyncStatus/SyncStatus.tsx +1 -1
  403. package/src/containers/ViewEditor/ViewEditor.tsx +2 -2
  404. package/src/containers/index.ts +1 -1
  405. package/src/hooks/useInputSurfaceLookup.tsx +9 -2
  406. package/src/index.ts +5 -2
  407. package/src/operations/add-object.ts +6 -7
  408. package/src/operations/add-relation.ts +1 -1
  409. package/src/operations/add-schema.ts +2 -2
  410. package/src/operations/close.ts +1 -1
  411. package/src/operations/create.ts +2 -2
  412. package/src/operations/definitions.ts +1 -1
  413. package/src/operations/delete-field.ts +1 -1
  414. package/src/operations/duplicate-object.ts +1 -1
  415. package/src/operations/get-share-link.ts +1 -1
  416. package/src/operations/index.ts +1 -1
  417. package/src/operations/join.ts +1 -1
  418. package/src/operations/migrate.ts +1 -1
  419. package/src/operations/open-create-object.ts +1 -1
  420. package/src/operations/open-create-space.ts +1 -1
  421. package/src/operations/open-members.ts +1 -1
  422. package/src/operations/open-settings.ts +2 -2
  423. package/src/operations/open.ts +1 -1
  424. package/src/operations/remove-objects.ts +2 -2
  425. package/src/operations/rename-object.ts +1 -1
  426. package/src/operations/rename.ts +1 -1
  427. package/src/operations/restore-field.ts +1 -1
  428. package/src/operations/restore-objects.ts +2 -2
  429. package/src/operations/share.ts +1 -1
  430. package/src/operations/snapshot.ts +1 -1
  431. package/src/operations/wait-for-object.ts +1 -1
  432. package/src/translations.ts +38 -20
  433. package/src/types/Settings.ts +1 -1
  434. package/src/types/capabilities.ts +2 -2
  435. package/src/types/types.ts +4 -1
  436. package/src/util.ts +1 -1
  437. package/dist/lib/browser/SpacePluginSettings-BHTDFW3O.mjs +0 -47
  438. package/dist/lib/browser/SpacePluginSettings-BHTDFW3O.mjs.map +0 -7
  439. package/dist/lib/browser/add-object-UUFWBSVJ.mjs.map +0 -7
  440. package/dist/lib/browser/add-relation-LKD2TNKD.mjs.map +0 -7
  441. package/dist/lib/browser/add-schema-5VZHKL5T.mjs.map +0 -7
  442. package/dist/lib/browser/chunk-GNIQSANG.mjs.map +0 -7
  443. package/dist/lib/browser/chunk-WB3HNICB.mjs.map +0 -7
  444. package/dist/lib/browser/chunk-YSV6LKD6.mjs.map +0 -7
  445. package/dist/lib/browser/cli/index.mjs +0 -848
  446. package/dist/lib/browser/cli/index.mjs.map +0 -7
  447. package/dist/lib/browser/create-CUMAKRH6.mjs.map +0 -7
  448. package/dist/lib/browser/delete-field-E7VR37AY.mjs.map +0 -7
  449. package/dist/lib/browser/duplicate-object-FEPM2FY4.mjs.map +0 -7
  450. package/dist/lib/browser/migrate-CIMFYFPJ.mjs.map +0 -7
  451. package/dist/lib/browser/open-create-object-KFR6ZM6M.mjs.map +0 -7
  452. package/dist/lib/browser/remove-objects-OKPOXX5K.mjs.map +0 -7
  453. package/dist/lib/browser/rename-object-5BG6G7OZ.mjs.map +0 -7
  454. package/dist/lib/browser/restore-field-7GJWVHDA.mjs.map +0 -7
  455. package/dist/lib/browser/restore-objects-IDA5K4JY.mjs.map +0 -7
  456. package/dist/lib/browser/snapshot-4ICGB7QL.mjs.map +0 -7
  457. package/dist/lib/node-esm/SpacePluginSettings-D63KOL6O.mjs +0 -48
  458. package/dist/lib/node-esm/SpacePluginSettings-D63KOL6O.mjs.map +0 -7
  459. package/dist/lib/node-esm/add-object-2DVOIRLC.mjs.map +0 -7
  460. package/dist/lib/node-esm/add-relation-RGXQYERC.mjs.map +0 -7
  461. package/dist/lib/node-esm/add-schema-KNXXCGGN.mjs.map +0 -7
  462. package/dist/lib/node-esm/chunk-EQMZ4GGS.mjs.map +0 -7
  463. package/dist/lib/node-esm/chunk-IHOQPYNT.mjs.map +0 -7
  464. package/dist/lib/node-esm/chunk-O76EE6YO.mjs.map +0 -7
  465. package/dist/lib/node-esm/cli/index.mjs +0 -849
  466. package/dist/lib/node-esm/cli/index.mjs.map +0 -7
  467. package/dist/lib/node-esm/create-4R6VMTBK.mjs.map +0 -7
  468. package/dist/lib/node-esm/delete-field-GO23FHRM.mjs.map +0 -7
  469. package/dist/lib/node-esm/duplicate-object-DAOAOSN2.mjs.map +0 -7
  470. package/dist/lib/node-esm/migrate-3LLZU3Y3.mjs.map +0 -7
  471. package/dist/lib/node-esm/open-create-object-FSECJKWJ.mjs.map +0 -7
  472. package/dist/lib/node-esm/remove-objects-6RQQAJNW.mjs.map +0 -7
  473. package/dist/lib/node-esm/rename-object-F7ZV5MRF.mjs.map +0 -7
  474. package/dist/lib/node-esm/restore-field-2QRK5Y4Y.mjs.map +0 -7
  475. package/dist/lib/node-esm/restore-objects-QZPN5HNB.mjs.map +0 -7
  476. package/dist/lib/node-esm/snapshot-INHLF3MW.mjs.map +0 -7
  477. package/dist/types/src/cli/commands/database/add.d.ts.map +0 -1
  478. package/dist/types/src/cli/commands/database/index.d.ts.map +0 -1
  479. package/dist/types/src/cli/commands/database/query/index.d.ts.map +0 -1
  480. package/dist/types/src/cli/commands/database/query/query.d.ts.map +0 -1
  481. package/dist/types/src/cli/commands/database/query/query.test.d.ts.map +0 -1
  482. package/dist/types/src/cli/commands/database/remove.d.ts.map +0 -1
  483. package/dist/types/src/cli/commands/database/stats.d.ts.map +0 -1
  484. package/dist/types/src/cli/commands/database/util.d.ts.map +0 -1
  485. package/dist/types/src/cli/commands/index.d.ts.map +0 -1
  486. package/dist/types/src/cli/commands/queue/index.d.ts.map +0 -1
  487. package/dist/types/src/cli/commands/queue/query.d.ts.map +0 -1
  488. package/dist/types/src/cli/commands/queue/util.d.ts.map +0 -1
  489. package/dist/types/src/cli/commands/space/close/close.d.ts +0 -12
  490. package/dist/types/src/cli/commands/space/close/close.d.ts.map +0 -1
  491. package/dist/types/src/cli/commands/space/close/index.d.ts.map +0 -1
  492. package/dist/types/src/cli/commands/space/create/create.d.ts.map +0 -1
  493. package/dist/types/src/cli/commands/space/create/create.test.d.ts.map +0 -1
  494. package/dist/types/src/cli/commands/space/create/index.d.ts.map +0 -1
  495. package/dist/types/src/cli/commands/space/index.d.ts.map +0 -1
  496. package/dist/types/src/cli/commands/space/info/index.d.ts.map +0 -1
  497. package/dist/types/src/cli/commands/space/info/info.d.ts +0 -13
  498. package/dist/types/src/cli/commands/space/info/info.d.ts.map +0 -1
  499. package/dist/types/src/cli/commands/space/info/info.test.d.ts.map +0 -1
  500. package/dist/types/src/cli/commands/space/join/index.d.ts.map +0 -1
  501. package/dist/types/src/cli/commands/space/join/join.d.ts.map +0 -1
  502. package/dist/types/src/cli/commands/space/join/util.d.ts.map +0 -1
  503. package/dist/types/src/cli/commands/space/list/index.d.ts.map +0 -1
  504. package/dist/types/src/cli/commands/space/list/list.d.ts +0 -7
  505. package/dist/types/src/cli/commands/space/list/list.d.ts.map +0 -1
  506. package/dist/types/src/cli/commands/space/list/list.test.d.ts.map +0 -1
  507. package/dist/types/src/cli/commands/space/members/index.d.ts.map +0 -1
  508. package/dist/types/src/cli/commands/space/members/members.d.ts.map +0 -1
  509. package/dist/types/src/cli/commands/space/members/members.test.d.ts.map +0 -1
  510. package/dist/types/src/cli/commands/space/members/util.d.ts.map +0 -1
  511. package/dist/types/src/cli/commands/space/open/index.d.ts.map +0 -1
  512. package/dist/types/src/cli/commands/space/open/open.d.ts +0 -12
  513. package/dist/types/src/cli/commands/space/open/open.d.ts.map +0 -1
  514. package/dist/types/src/cli/commands/space/schema/index.d.ts.map +0 -1
  515. package/dist/types/src/cli/commands/space/schema/list/index.d.ts.map +0 -1
  516. package/dist/types/src/cli/commands/space/schema/list/list.d.ts.map +0 -1
  517. package/dist/types/src/cli/commands/space/schema/list/list.test.d.ts.map +0 -1
  518. package/dist/types/src/cli/commands/space/schema/list/util.d.ts.map +0 -1
  519. package/dist/types/src/cli/commands/space/share/index.d.ts.map +0 -1
  520. package/dist/types/src/cli/commands/space/share/share.d.ts.map +0 -1
  521. package/dist/types/src/cli/commands/space/sync/index.d.ts.map +0 -1
  522. package/dist/types/src/cli/commands/space/sync/sync.d.ts.map +0 -1
  523. package/dist/types/src/cli/commands/space/sync/sync.test.d.ts.map +0 -1
  524. package/dist/types/src/cli/index.d.ts +0 -2
  525. package/dist/types/src/cli/index.d.ts.map +0 -1
  526. package/dist/types/src/cli/plugin.d.ts.map +0 -1
  527. package/dist/types/src/components/SpacePluginSettings/SpacePluginSettings.d.ts +0 -10
  528. package/dist/types/src/components/SpacePluginSettings/SpacePluginSettings.d.ts.map +0 -1
  529. package/dist/types/src/components/SpacePluginSettings/index.d.ts +0 -2
  530. package/dist/types/src/components/SpacePluginSettings/index.d.ts.map +0 -1
  531. package/dist/types/src/containers/ObjectDetails/ObjectDetails.d.ts +0 -11
  532. package/dist/types/src/containers/ObjectDetails/ObjectDetails.d.ts.map +0 -1
  533. package/dist/types/src/containers/ObjectDetails/index.d.ts +0 -2
  534. package/src/cli/commands/space/list/list.ts +0 -30
  535. package/src/cli/index.ts +0 -5
  536. package/src/components/SpacePluginSettings/index.ts +0 -5
  537. package/src/containers/ObjectDetails/index.ts +0 -5
  538. /package/dist/types/src/{cli/commands → commands}/database/index.d.ts +0 -0
  539. /package/dist/types/src/{cli/commands → commands}/database/query/index.d.ts +0 -0
  540. /package/dist/types/src/{cli/commands → commands}/database/query/query.test.d.ts +0 -0
  541. /package/dist/types/src/{cli/commands → commands}/database/util.d.ts +0 -0
  542. /package/dist/types/src/{cli/commands → commands}/index.d.ts +0 -0
  543. /package/dist/types/src/{cli/commands → commands}/queue/util.d.ts +0 -0
  544. /package/dist/types/src/{cli/commands → commands}/space/close/index.d.ts +0 -0
  545. /package/dist/types/src/{cli/commands → commands}/space/create/create.test.d.ts +0 -0
  546. /package/dist/types/src/{cli/commands → commands}/space/create/index.d.ts +0 -0
  547. /package/dist/types/src/{cli/commands → commands}/space/info/index.d.ts +0 -0
  548. /package/dist/types/src/{cli/commands → commands}/space/info/info.test.d.ts +0 -0
  549. /package/dist/types/src/{cli/commands → commands}/space/join/index.d.ts +0 -0
  550. /package/dist/types/src/{cli/commands → commands}/space/join/util.d.ts +0 -0
  551. /package/dist/types/src/{cli/commands → commands}/space/list/index.d.ts +0 -0
  552. /package/dist/types/src/{cli/commands → commands}/space/list/list.test.d.ts +0 -0
  553. /package/dist/types/src/{cli/commands → commands}/space/members/index.d.ts +0 -0
  554. /package/dist/types/src/{cli/commands → commands}/space/members/members.test.d.ts +0 -0
  555. /package/dist/types/src/{cli/commands → commands}/space/members/util.d.ts +0 -0
  556. /package/dist/types/src/{cli/commands → commands}/space/open/index.d.ts +0 -0
  557. /package/dist/types/src/{cli/commands → commands}/space/schema/list/index.d.ts +0 -0
  558. /package/dist/types/src/{cli/commands → commands}/space/schema/list/list.test.d.ts +0 -0
  559. /package/dist/types/src/{cli/commands → commands}/space/schema/list/util.d.ts +0 -0
  560. /package/dist/types/src/{cli/commands → commands}/space/share/index.d.ts +0 -0
  561. /package/dist/types/src/{cli/commands → commands}/space/sync/index.d.ts +0 -0
  562. /package/dist/types/src/{cli/commands → commands}/space/sync/sync.d.ts +0 -0
  563. /package/dist/types/src/{cli/commands → commands}/space/sync/sync.test.d.ts +0 -0
  564. /package/src/{cli/commands → commands}/database/index.ts +0 -0
  565. /package/src/{cli/commands → commands}/database/query/index.ts +0 -0
  566. /package/src/{cli/commands → commands}/database/query/query.test.ts +0 -0
  567. /package/src/{cli/commands → commands}/database/query/query.ts +0 -0
  568. /package/src/{cli/commands → commands}/database/remove.ts +0 -0
  569. /package/src/{cli/commands → commands}/database/stats.ts +0 -0
  570. /package/src/{cli/commands → commands}/database/util.ts +0 -0
  571. /package/src/{cli/commands → commands}/index.ts +0 -0
  572. /package/src/{cli/commands → commands}/queue/index.ts +0 -0
  573. /package/src/{cli/commands → commands}/queue/query.ts +0 -0
  574. /package/src/{cli/commands → commands}/queue/util.ts +0 -0
  575. /package/src/{cli/commands → commands}/space/close/close.ts +0 -0
  576. /package/src/{cli/commands → commands}/space/close/index.ts +0 -0
  577. /package/src/{cli/commands → commands}/space/create/create.test.ts +0 -0
  578. /package/src/{cli/commands → commands}/space/create/index.ts +0 -0
  579. /package/src/{cli/commands → commands}/space/index.ts +0 -0
  580. /package/src/{cli/commands → commands}/space/info/index.ts +0 -0
  581. /package/src/{cli/commands → commands}/space/join/index.ts +0 -0
  582. /package/src/{cli/commands → commands}/space/join/join.ts +0 -0
  583. /package/src/{cli/commands → commands}/space/join/util.ts +0 -0
  584. /package/src/{cli/commands → commands}/space/list/index.ts +0 -0
  585. /package/src/{cli/commands → commands}/space/members/index.ts +0 -0
  586. /package/src/{cli/commands → commands}/space/members/members.test.ts +0 -0
  587. /package/src/{cli/commands → commands}/space/members/members.ts +0 -0
  588. /package/src/{cli/commands → commands}/space/members/util.ts +0 -0
  589. /package/src/{cli/commands → commands}/space/open/index.ts +0 -0
  590. /package/src/{cli/commands → commands}/space/open/open.ts +0 -0
  591. /package/src/{cli/commands → commands}/space/schema/index.ts +0 -0
  592. /package/src/{cli/commands → commands}/space/schema/list/index.ts +0 -0
  593. /package/src/{cli/commands → commands}/space/schema/list/list.test.ts +0 -0
  594. /package/src/{cli/commands → commands}/space/schema/list/list.ts +0 -0
  595. /package/src/{cli/commands → commands}/space/schema/list/util.ts +0 -0
  596. /package/src/{cli/commands → commands}/space/share/index.ts +0 -0
  597. /package/src/{cli/commands → commands}/space/share/share.ts +0 -0
  598. /package/src/{cli/commands → commands}/space/sync/index.ts +0 -0
  599. /package/src/{cli/commands → commands}/space/sync/sync.test.ts +0 -0
  600. /package/src/{cli/commands → commands}/space/sync/sync.ts +0 -0
@@ -7,19 +7,21 @@ import React from 'react';
7
7
 
8
8
  import { OperationPlugin, RuntimePlugin } from '@dxos/app-framework';
9
9
  import { withPluginManager } from '@dxos/app-framework/testing';
10
+ import { AppSurface } from '@dxos/app-toolkit/ui';
10
11
  import { useClientStory, withClientProvider } from '@dxos/react-client/testing';
11
12
  import { Loading, withLayout, withTheme } from '@dxos/react-ui/testing';
12
13
 
13
- import { translations } from '../../translations';
14
- import { SpaceSettingsContainer, type SpaceSettingsContainerProps } from './SpaceSettingsContainer';
14
+ import { translations } from '#translations';
15
15
 
16
- const Story = (props: Partial<SpaceSettingsContainerProps>) => {
16
+ import { SpaceSettingsContainer } from './SpaceSettingsContainer';
17
+
18
+ const Story = (props: Partial<AppSurface.SpaceArticleProps>) => {
17
19
  const { space } = useClientStory();
18
20
  if (!space) {
19
21
  return <Loading />;
20
22
  }
21
23
 
22
- return <SpaceSettingsContainer {...props} space={space} />;
24
+ return <SpaceSettingsContainer role='article' attendableId={space.id} {...props} space={space} />;
23
25
  };
24
26
 
25
27
  const meta = {
@@ -7,12 +7,23 @@ import React, { type ChangeEvent, useCallback, useMemo, useState } from 'react';
7
7
 
8
8
  import { useCapabilities, useOperationInvoker } from '@dxos/app-framework/ui';
9
9
  import { getPersonalSpace, getSpacePath, isPersonalSpace, LayoutOperation } from '@dxos/app-toolkit';
10
+ import { AppSurface } from '@dxos/app-toolkit/ui';
10
11
  import { Obj } from '@dxos/echo';
11
12
  import { log } from '@dxos/log';
13
+ import { SpaceArchive } from '@dxos/protocols/proto/dxos/client/services';
12
14
  import { EdgeReplicationSetting } from '@dxos/protocols/proto/dxos/echo/metadata';
13
15
  import { useClient } from '@dxos/react-client';
14
- import { type Space, SpaceState } from '@dxos/react-client/echo';
15
- import { Button, Input, useFileDownload, useMulticastObservable, useTranslation } from '@dxos/react-ui';
16
+ import { SpaceState } from '@dxos/react-client/echo';
17
+ import {
18
+ Button,
19
+ DropdownMenu,
20
+ Icon,
21
+ IconButton,
22
+ Input,
23
+ useFileDownload,
24
+ useMulticastObservable,
25
+ useTranslation,
26
+ } from '@dxos/react-ui';
16
27
  import { Form, type FormFieldMap, Settings } from '@dxos/react-ui-form';
17
28
  import { HuePicker, IconPicker } from '@dxos/react-ui-pickers';
18
29
 
@@ -28,12 +39,8 @@ const SpaceFormSchema = SpaceForm.pipe(
28
39
  ),
29
40
  );
30
41
 
31
- export type SpaceSettingsContainerProps = {
32
- space: Space;
33
- };
34
-
35
42
  // TODO(wittjosiah): Handle space migrations here?
36
- export const SpaceSettingsContainer = ({ space }: SpaceSettingsContainerProps) => {
43
+ export const SpaceSettingsContainer = ({ space }: AppSurface.SpaceArticleProps) => {
37
44
  const { t } = useTranslation(meta.id);
38
45
  const { invokePromise } = useOperationInvoker();
39
46
  const client = useClient();
@@ -62,7 +69,7 @@ export const SpaceSettingsContainer = ({ space }: SpaceSettingsContainerProps) =
62
69
  }
63
70
 
64
71
  if (changed['name'] || changed['icon'] || changed['hue']) {
65
- Obj.change(space.properties, (obj) => {
72
+ Obj.update(space.properties, (obj) => {
66
73
  if (changed['name'] && newValues.name !== undefined) {
67
74
  obj.name = newValues.name;
68
75
  }
@@ -175,8 +182,12 @@ export const SpaceSettingsContainer = ({ space }: SpaceSettingsContainerProps) =
175
182
  );
176
183
 
177
184
  const download = useFileDownload();
178
- const handleBackup = useCallback(async () => {
179
- const archive = await space.internal.export();
185
+ const handleBackupBinary = useCallback(async () => {
186
+ const archive = await space.internal.export({ format: SpaceArchive.Format.BINARY });
187
+ download(new Blob([archive.contents as Uint8Array<ArrayBuffer>]), archive.filename);
188
+ }, [space, download]);
189
+ const handleBackupJson = useCallback(async () => {
190
+ const archive = await space.internal.export({ format: SpaceArchive.Format.JSON });
180
191
  download(new Blob([archive.contents as Uint8Array<ArrayBuffer>]), archive.filename);
181
192
  }, [space, download]);
182
193
 
@@ -201,9 +212,38 @@ export const SpaceSettingsContainer = ({ space }: SpaceSettingsContainerProps) =
201
212
  <Form.FieldSet />
202
213
  </Form.Root>
203
214
  </Settings.Section>
215
+
204
216
  <Settings.Section title={t('space-controls.title')} description={t('space-controls.description')}>
217
+ <Settings.Item title={t('space-key.title')} description={t('space-key.description')}>
218
+ <div className='flex items-center gap-2'>
219
+ <Input.Root>
220
+ <Input.TextInput value={space.key.toHex()} disabled classNames='flex-1 font-mono text-xs' />
221
+ </Input.Root>
222
+ <IconButton
223
+ icon='ph--copy--regular'
224
+ iconOnly
225
+ label={t('copy-space-key.label')}
226
+ onClick={() => {
227
+ void navigator.clipboard.writeText(space.key.toHex());
228
+ }}
229
+ />
230
+ </div>
231
+ </Settings.Item>
205
232
  <Settings.Item title={t('backup-space.title')} description={t('backup-space.description')}>
206
- <Button onClick={handleBackup}>{t('download-backup.label')}</Button>
233
+ <DropdownMenu.Root>
234
+ <DropdownMenu.Trigger asChild>
235
+ <Button>
236
+ {t('download-backup.label')}
237
+ <Icon icon='ph--caret-down--regular' size={4} classNames='mis-2' />
238
+ </Button>
239
+ </DropdownMenu.Trigger>
240
+ <DropdownMenu.Content>
241
+ <DropdownMenu.Viewport>
242
+ <DropdownMenu.Item onClick={handleBackupBinary}>{t('download-backup-binary.label')}</DropdownMenu.Item>
243
+ <DropdownMenu.Item onClick={handleBackupJson}>{t('download-backup-json.label')}</DropdownMenu.Item>
244
+ </DropdownMenu.Viewport>
245
+ </DropdownMenu.Content>
246
+ </DropdownMenu.Root>
207
247
  </Settings.Item>
208
248
  <Settings.Item title={t('repair-space.title')} description={t('repair-space.description')}>
209
249
  <Button onClick={handleRepair}>{t('repair-space.label')}</Button>
@@ -7,7 +7,8 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';
7
7
  import { withClientProvider } from '@dxos/react-client/testing';
8
8
  import { withTheme } from '@dxos/react-ui/testing';
9
9
 
10
- import { translations } from '../../translations';
10
+ import { translations } from '#translations';
11
+
11
12
  import { SyncStatusIndicator } from './SyncStatus';
12
13
 
13
14
  const meta = {
@@ -5,7 +5,7 @@
5
5
  import React, { useEffect, useState } from 'react';
6
6
 
7
7
  import { log } from '@dxos/log';
8
- import { StatusBar } from '@dxos/plugin-status-bar';
8
+ import { StatusBar } from '@dxos/plugin-status-bar/components';
9
9
  import { EdgeStatus } from '@dxos/protocols/proto/dxos/client/services';
10
10
  import { type QueryEdgeStatusResponse } from '@dxos/protocols/proto/dxos/client/services';
11
11
  import { useClient } from '@dxos/react-client';
@@ -54,7 +54,7 @@ export const ViewEditor = ({ view }: ViewEditorProps) => {
54
54
 
55
55
  const queue = target && DXN.tryParse(target) ? target : undefined;
56
56
  const query = queue ? Query.fromAst(newQuery).from({ queues: [queue] }) : Query.fromAst(newQuery);
57
- Obj.change(view, (view) => {
57
+ Obj.update(view, (view) => {
58
58
  view.query.ast = query.ast as Mutable<typeof query.ast>;
59
59
  });
60
60
  const newSchema = await resolveSchemaWithRegistry(space.db.schemaRegistry, query.ast);
@@ -66,7 +66,7 @@ export const ViewEditor = ({ view }: ViewEditorProps) => {
66
66
  query,
67
67
  jsonSchema: JsonSchema.toJsonSchema(newSchema),
68
68
  });
69
- Obj.change(view, (view) => {
69
+ Obj.update(view, (view) => {
70
70
  view.projection = Obj.getSnapshot(newView).projection as Mutable<typeof view.projection>;
71
71
  });
72
72
 
@@ -15,7 +15,7 @@ export const JoinDialog: ComponentType<any> = lazy(() => import('./JoinDialog'))
15
15
  export const MembersContainer: ComponentType<any> = lazy(() => import('./MembersContainer'));
16
16
  export const MenuFooter: ComponentType<any> = lazy(() => import('./MenuFooter'));
17
17
  export const ObjectCardStack: ComponentType<any> = lazy(() => import('./ObjectCardStack'));
18
- export const ObjectDetails: ComponentType<any> = lazy(() => import('./ObjectDetails'));
18
+ export const ObjectProperties: ComponentType<any> = lazy(() => import('./ObjectProperties'));
19
19
  export const ObjectRenamePopover: ComponentType<any> = lazy(() => import('./ObjectRenamePopover'));
20
20
  export const RecordArticle: ComponentType<any> = lazy(() => import('./RecordArticle'));
21
21
  export const RelatedArticle: ComponentType<any> = lazy(() => import('./RelatedArticle'));
@@ -17,9 +17,16 @@ export const useInputSurfaceLookup = (baseData?: Record<string, any>): FormField
17
17
  const pluginManager = usePluginManager();
18
18
  return useCallback<FormFieldProvider>(
19
19
  ({ schema, prop, fieldProps }) => {
20
- const data = { prop, schema, ...baseData };
20
+ const data = {
21
+ prop,
22
+ schema,
23
+ /** Property Schema AST (`fieldProps.type`). Not spread as React prop `type` — Surface peels `type` for role tokens. */
24
+ fieldPropertyAst: fieldProps.type,
25
+ ...baseData,
26
+ };
27
+ const { type: _fieldPropertyAstExcluded, ...surfaceFieldProps } = fieldProps as Record<string, any>;
21
28
  if (Surface.isAvailable(pluginManager.capabilities, { role: 'form-input', data })) {
22
- return <Surface.Surface role='form-input' data={data} {...fieldProps} />;
29
+ return <Surface.Surface role='form-input' data={data} {...surfaceFieldProps} />;
23
30
  }
24
31
  },
25
32
  [pluginManager, baseData],
package/src/index.ts CHANGED
@@ -2,10 +2,13 @@
2
2
  // Copyright 2023 DXOS.org
3
3
  //
4
4
 
5
+ import { Plugin } from '@dxos/app-framework';
6
+
7
+ import { meta } from './meta';
8
+
5
9
  export { SpaceCapabilities, SpaceEvents } from './types';
6
10
 
7
- export * from './components';
8
11
  export * from './meta';
9
12
  export * from './util';
10
13
 
11
- export * from './SpacePlugin';
14
+ export const SpacePlugin = Plugin.lazy(meta, () => import('#plugin'));
@@ -4,10 +4,10 @@ import * as Effect from 'effect/Effect';
4
4
  import * as Option from 'effect/Option';
5
5
 
6
6
  import { getCollectionsPath, getObjectPath, getTypePath } from '@dxos/app-toolkit';
7
- import { Database, Obj, View } from '@dxos/echo';
7
+ import { Operation } from '@dxos/compute';
8
+ import { Database, Obj } from '@dxos/echo';
8
9
  import { Collection } from '@dxos/echo';
9
10
  import { invariant } from '@dxos/invariant';
10
- import { Operation } from '@dxos/operation';
11
11
  import { ObservabilityOperation } from '@dxos/plugin-observability/operations';
12
12
  import { CollectionModel, ViewAnnotation, getTypenameFromQuery } from '@dxos/schema';
13
13
 
@@ -37,11 +37,10 @@ const handler: Operation.WithHandler<typeof SpaceOperation.AddObject> = SpaceOpe
37
37
  },
38
38
  });
39
39
 
40
- const [schema] = db.schemaRegistry.query({ typename, location: ['runtime'] }).runSync();
41
- const isViewSchema = schema !== undefined && ViewAnnotation.get(schema).pipe(Option.getOrElse(() => false));
42
- const view = isViewSchema
43
- ? yield* Effect.promise(() => (object as Obj.Any).view.load() as Promise<View.View>)
44
- : undefined;
40
+ const [runtimeSchema] = db.schemaRegistry.query({ typename, location: ['runtime'] }).runSync();
41
+ const echoViewPath =
42
+ runtimeSchema !== undefined ? ViewAnnotation.get(runtimeSchema).pipe(Option.getOrElse(() => [])) : [];
43
+ const view = echoViewPath.length > 0 ? yield* ViewAnnotation.tryLoadAtPath(object, echoViewPath) : undefined;
45
44
  const viewTargetTypename = view ? getTypenameFromQuery(view.query.ast) : undefined;
46
45
  const subject = getSubjectPathForNewObject({
47
46
  spaceId: db.spaceId,
@@ -2,8 +2,8 @@
2
2
 
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
+ import { Operation } from '@dxos/compute';
5
6
  import { Database, Relation } from '@dxos/echo';
6
- import { Operation } from '@dxos/operation';
7
7
 
8
8
  import { SpaceOperation } from './definitions';
9
9
 
@@ -3,8 +3,8 @@
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { Capability, Plugin } from '@dxos/app-framework';
6
+ import { Operation } from '@dxos/compute';
6
7
  import { Obj } from '@dxos/echo';
7
- import { Operation } from '@dxos/operation';
8
8
  import { ObservabilityOperation } from '@dxos/plugin-observability/operations';
9
9
 
10
10
  import { SpaceEvents, SpaceCapabilities } from '../types';
@@ -16,7 +16,7 @@ const handler: Operation.WithHandler<typeof SpaceOperation.AddSchema> = SpaceOpe
16
16
  const db = input.db;
17
17
  const schemas = yield* Effect.promise(() => db.schemaRegistry.register([input.schema]));
18
18
  const schema = schemas[0];
19
- Obj.change(schema.persistentSchema, (obj) => {
19
+ Obj.update(schema.persistentSchema, (obj) => {
20
20
  if (input.name) {
21
21
  obj.name = input.name;
22
22
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
- import { Operation } from '@dxos/operation';
5
+ import { Operation } from '@dxos/compute';
6
6
 
7
7
  import { SpaceOperation } from './definitions';
8
8
 
@@ -3,9 +3,9 @@
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { Capability, Plugin } from '@dxos/app-framework';
6
+ import { Operation } from '@dxos/compute';
6
7
  import { Collection, Obj, Ref } from '@dxos/echo';
7
8
  import { Migrations } from '@dxos/migrations';
8
- import { Operation } from '@dxos/operation';
9
9
  import { ClientCapabilities } from '@dxos/plugin-client/types';
10
10
  import { ObservabilityOperation } from '@dxos/plugin-observability/operations';
11
11
  import { EdgeReplicationSetting } from '@dxos/protocols/proto/dxos/echo/metadata';
@@ -29,7 +29,7 @@ const handler: Operation.WithHandler<typeof SpaceOperation.Create> = SpaceOperat
29
29
  yield* Effect.promise(() => space.waitUntilReady());
30
30
 
31
31
  const collection = Obj.make(Collection.Collection, { objects: [] });
32
- Obj.change(space.properties, (obj) => {
32
+ Obj.update(space.properties, (obj) => {
33
33
  obj[Collection.Collection.typename] = Ref.make(collection);
34
34
  if (Migrations.versionProperty) {
35
35
  obj[Migrations.versionProperty] = Migrations.targetVersion;
@@ -7,8 +7,8 @@ import * as Schema from 'effect/Schema';
7
7
  import { Capability, Plugin } from '@dxos/app-framework';
8
8
  import { SpaceSchema } from '@dxos/client/echo';
9
9
  import { CancellableInvitationObservable, Invitation } from '@dxos/client/invitations';
10
+ import { Operation } from '@dxos/compute';
10
11
  import { Collection, Database, Obj, QueryAST, Type, View } from '@dxos/echo';
11
- import { Operation } from '@dxos/operation';
12
12
 
13
13
  import { meta } from '#meta';
14
14
 
@@ -3,9 +3,9 @@
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { Capabilities, Capability } from '@dxos/app-framework';
6
+ import { Operation } from '@dxos/compute';
6
7
  import { Obj } from '@dxos/echo';
7
8
  import { invariant } from '@dxos/invariant';
8
- import { Operation } from '@dxos/operation';
9
9
  import { ProjectionModel, createEchoChangeCallback, getTypenameFromQuery } from '@dxos/schema';
10
10
 
11
11
  import { SpaceOperation } from './definitions';
@@ -4,9 +4,9 @@ import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { Capability } from '@dxos/app-framework';
6
6
  import { AppCapabilities } from '@dxos/app-toolkit';
7
+ import { Operation } from '@dxos/compute';
7
8
  import { Obj } from '@dxos/echo';
8
9
  import { invariant } from '@dxos/invariant';
9
- import { Operation } from '@dxos/operation';
10
10
 
11
11
  import { cloneObject } from '../util';
12
12
  import { SpaceOperation } from './definitions';
@@ -3,7 +3,7 @@
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { Capability } from '@dxos/app-framework';
6
- import { Operation } from '@dxos/operation';
6
+ import { Operation } from '@dxos/compute';
7
7
 
8
8
  import { SpaceOperation } from './definitions';
9
9
  import { SpaceOperationConfig } from './helpers';
@@ -1,6 +1,6 @@
1
1
  // Copyright 2025 DXOS.org
2
2
 
3
- import { OperationHandlerSet } from '@dxos/operation';
3
+ import { OperationHandlerSet } from '@dxos/compute';
4
4
 
5
5
  export { SpaceOperation } from './definitions';
6
6
 
@@ -3,7 +3,7 @@
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { LayoutOperation } from '@dxos/app-toolkit';
6
- import { Operation } from '@dxos/operation';
6
+ import { Operation } from '@dxos/compute';
7
7
 
8
8
  import { JOIN_DIALOG } from '../constants';
9
9
  import { type JoinDialogProps } from '../containers/JoinDialog';
@@ -4,8 +4,8 @@ import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { Capabilities } from '@dxos/app-framework';
6
6
  import { SpaceState } from '@dxos/client/echo';
7
+ import { Operation } from '@dxos/compute';
7
8
  import { Migrations } from '@dxos/migrations';
8
- import { Operation } from '@dxos/operation';
9
9
  import { ObservabilityOperation } from '@dxos/plugin-observability/operations';
10
10
 
11
11
  import { SpaceCapabilities } from '../types';
@@ -4,8 +4,8 @@ import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { Capabilities } from '@dxos/app-framework';
6
6
  import { LayoutOperation } from '@dxos/app-toolkit';
7
+ import { Operation } from '@dxos/compute';
7
8
  import { Collection, Obj } from '@dxos/echo';
8
- import { Operation } from '@dxos/operation';
9
9
 
10
10
  import { CREATE_OBJECT_DIALOG } from '../constants';
11
11
  import { SpaceCapabilities } from '../types';
@@ -3,7 +3,7 @@
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { LayoutOperation } from '@dxos/app-toolkit';
6
- import { Operation } from '@dxos/operation';
6
+ import { Operation } from '@dxos/compute';
7
7
 
8
8
  import { CREATE_SPACE_DIALOG } from '../constants';
9
9
  import { SpaceOperation } from './definitions';
@@ -3,7 +3,7 @@
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { LayoutOperation, getSpacePath } from '@dxos/app-toolkit';
6
- import { Operation } from '@dxos/operation';
6
+ import { Operation } from '@dxos/compute';
7
7
 
8
8
  import { SpaceOperation } from './definitions';
9
9
 
@@ -3,7 +3,7 @@
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { LayoutOperation, getSpacePath } from '@dxos/app-toolkit';
6
- import { Operation } from '@dxos/operation';
6
+ import { Operation } from '@dxos/compute';
7
7
 
8
8
  import { SpaceOperation } from './definitions';
9
9
 
@@ -11,7 +11,7 @@ const handler: Operation.WithHandler<typeof SpaceOperation.OpenSettings> = Space
11
11
  Operation.withHandler(
12
12
  Effect.fnUntraced(function* (input) {
13
13
  yield* Operation.invoke(LayoutOperation.Open, {
14
- subject: [`${getSpacePath(input.space.id)}/settings`],
14
+ subject: [`${getSpacePath(input.space.id)}/general`],
15
15
  workspace: getSpacePath(input.space.id),
16
16
  });
17
17
  }),
@@ -2,7 +2,7 @@
2
2
 
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
- import { Operation } from '@dxos/operation';
5
+ import { Operation } from '@dxos/compute';
6
6
 
7
7
  import { SpaceOperation } from './definitions';
8
8
 
@@ -5,9 +5,9 @@ import * as Effect from 'effect/Effect';
5
5
  import { Capabilities, Capability } from '@dxos/app-framework';
6
6
  import { AppCapabilities, LayoutOperation } from '@dxos/app-toolkit';
7
7
  import { getSpace } from '@dxos/client/echo';
8
+ import { Operation } from '@dxos/compute';
8
9
  import { Collection, Obj, Relation } from '@dxos/echo';
9
10
  import { invariant } from '@dxos/invariant';
10
- import { Operation } from '@dxos/operation';
11
11
  import { isNonNullable } from '@dxos/util';
12
12
 
13
13
  import { getNestedObjects } from '../util';
@@ -52,7 +52,7 @@ const handler: Operation.WithHandler<typeof SpaceOperation.RemoveObjects> = Spac
52
52
 
53
53
  const index = parentCollection.objects.findIndex((ref) => ref.target === obj);
54
54
  if (index !== -1) {
55
- Obj.change(parentCollection, (parentCollection) => {
55
+ Obj.update(parentCollection, (parentCollection) => {
56
56
  parentCollection.objects.splice(index, 1);
57
57
  });
58
58
  }
@@ -3,8 +3,8 @@
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { LayoutOperation } from '@dxos/app-toolkit';
6
+ import { Operation } from '@dxos/compute';
6
7
  import { Obj } from '@dxos/echo';
7
- import { Operation } from '@dxos/operation';
8
8
 
9
9
  import { OBJECT_RENAME_POPOVER } from '../constants';
10
10
  import { SpaceOperation } from './definitions';
@@ -3,7 +3,7 @@
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { LayoutOperation } from '@dxos/app-toolkit';
6
- import { Operation } from '@dxos/operation';
6
+ import { Operation } from '@dxos/compute';
7
7
 
8
8
  import { SPACE_RENAME_POPOVER } from '../constants';
9
9
  import { SpaceOperation } from './definitions';
@@ -3,9 +3,9 @@
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { Capabilities, Capability } from '@dxos/app-framework';
6
+ import { Operation } from '@dxos/compute';
6
7
  import { Obj } from '@dxos/echo';
7
8
  import { invariant } from '@dxos/invariant';
8
- import { Operation } from '@dxos/operation';
9
9
  import { ProjectionModel, createEchoChangeCallback, getTypenameFromQuery } from '@dxos/schema';
10
10
 
11
11
  import { SpaceOperation } from './definitions';
@@ -4,9 +4,9 @@ import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { LayoutOperation } from '@dxos/app-toolkit';
6
6
  import { getSpace } from '@dxos/client/echo';
7
+ import { Operation } from '@dxos/compute';
7
8
  import { Collection, Obj, Ref, Relation } from '@dxos/echo';
8
9
  import { invariant } from '@dxos/invariant';
9
- import { Operation } from '@dxos/operation';
10
10
 
11
11
  import { SpaceOperation } from './definitions';
12
12
 
@@ -32,7 +32,7 @@ const handler: Operation.WithHandler<typeof SpaceOperation.RestoreObjects> = Spa
32
32
  }
33
33
  });
34
34
 
35
- Obj.change(parentCollection, (parentCollection) => {
35
+ Obj.update(parentCollection, (parentCollection) => {
36
36
  indices.forEach((index: number, i: number) => {
37
37
  if (index !== -1) {
38
38
  parentCollection.objects.splice(index, 0, Ref.make(restoredObjects[i] as Obj.Unknown));
@@ -2,7 +2,7 @@
2
2
 
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
- import { Operation } from '@dxos/operation';
5
+ import { Operation } from '@dxos/compute';
6
6
  import { ObservabilityOperation } from '@dxos/plugin-observability/operations';
7
7
 
8
8
  import { SpaceOperation } from './definitions';
@@ -2,10 +2,10 @@
2
2
 
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
+ import { Operation } from '@dxos/compute';
5
6
  import { Query } from '@dxos/echo';
6
7
  import { EchoDatabaseImpl, Serializer } from '@dxos/echo-db';
7
8
  import { invariant } from '@dxos/invariant';
8
- import { Operation } from '@dxos/operation';
9
9
 
10
10
  import { SpaceOperation } from './definitions';
11
11
 
@@ -3,7 +3,7 @@
3
3
  import * as Effect from 'effect/Effect';
4
4
 
5
5
  import { Capabilities } from '@dxos/app-framework';
6
- import { Operation } from '@dxos/operation';
6
+ import { Operation } from '@dxos/compute';
7
7
 
8
8
  import { SpaceCapabilities } from '../types';
9
9
  import { SpaceOperation } from './definitions';