@dxos/plugin-space 0.8.4-main.c4373fc → 0.8.4-main.d05673bc65
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.
- package/dist/lib/browser/CollectionArticle-WPLUW5HF.mjs +111 -0
- package/dist/lib/browser/CollectionArticle-WPLUW5HF.mjs.map +7 -0
- package/dist/lib/browser/CollectionSection-H2MBNI63.mjs +23 -0
- package/dist/lib/browser/CollectionSection-H2MBNI63.mjs.map +7 -0
- package/dist/lib/browser/CreateObjectDialog-YUBUWSEL.mjs +142 -0
- package/dist/lib/browser/CreateObjectDialog-YUBUWSEL.mjs.map +7 -0
- package/dist/lib/browser/CreateSpaceDialog-3M2LAWV6.mjs +64 -0
- package/dist/lib/browser/CreateSpaceDialog-3M2LAWV6.mjs.map +7 -0
- package/dist/lib/browser/InlineSyncStatus-K5MZ3YMZ.mjs +53 -0
- package/dist/lib/browser/InlineSyncStatus-K5MZ3YMZ.mjs.map +7 -0
- package/dist/lib/browser/JoinDialog-PBK2RE5F.mjs +115 -0
- package/dist/lib/browser/JoinDialog-PBK2RE5F.mjs.map +7 -0
- package/dist/lib/browser/MembersContainer-OGYV2L4M.mjs +257 -0
- package/dist/lib/browser/MembersContainer-OGYV2L4M.mjs.map +7 -0
- package/dist/lib/browser/MenuFooter-XCBDK7WP.mjs +37 -0
- package/dist/lib/browser/MenuFooter-XCBDK7WP.mjs.map +7 -0
- package/dist/lib/browser/ObjectCardStack-OMXF2DSG.mjs +64 -0
- package/dist/lib/browser/ObjectCardStack-OMXF2DSG.mjs.map +7 -0
- package/dist/lib/browser/ObjectDetails-QFTQQN4W.mjs +43 -0
- package/dist/lib/browser/ObjectDetails-QFTQQN4W.mjs.map +7 -0
- package/dist/lib/browser/ObjectRenamePopover-JNPJIFIR.mjs +70 -0
- package/dist/lib/browser/ObjectRenamePopover-JNPJIFIR.mjs.map +7 -0
- package/dist/lib/browser/RecordArticle-BO2XHBFN.mjs +112 -0
- package/dist/lib/browser/RecordArticle-BO2XHBFN.mjs.map +7 -0
- package/dist/lib/browser/SchemaContainer-QWCSIZBS.mjs +49 -0
- package/dist/lib/browser/SchemaContainer-QWCSIZBS.mjs.map +7 -0
- package/dist/lib/browser/SmallPresenceLive-AHHLBAUP.mjs +9 -0
- package/dist/lib/browser/SmallPresenceLive-AHHLBAUP.mjs.map +7 -0
- package/dist/lib/browser/SpacePluginSettings-QGZKNQLK.mjs +59 -0
- package/dist/lib/browser/SpacePluginSettings-QGZKNQLK.mjs.map +7 -0
- package/dist/lib/browser/SpacePresence-JIWLBUWO.mjs +12 -0
- package/dist/lib/browser/SpacePresence-JIWLBUWO.mjs.map +7 -0
- package/dist/lib/browser/SpaceRenamePopover-ZL6RRZ2B.mjs +62 -0
- package/dist/lib/browser/SpaceRenamePopover-ZL6RRZ2B.mjs.map +7 -0
- package/dist/lib/browser/SpaceSettingsContainer-MIOOT63N.mjs +242 -0
- package/dist/lib/browser/SpaceSettingsContainer-MIOOT63N.mjs.map +7 -0
- package/dist/lib/browser/SyncStatus-6N7JJ7XF.mjs +141 -0
- package/dist/lib/browser/SyncStatus-6N7JJ7XF.mjs.map +7 -0
- package/dist/lib/browser/ViewEditor-3FX5HDRT.mjs +113 -0
- package/dist/lib/browser/ViewEditor-3FX5HDRT.mjs.map +7 -0
- package/dist/lib/browser/app-graph-builder-JORZZE3P.mjs +1203 -0
- package/dist/lib/browser/app-graph-builder-JORZZE3P.mjs.map +7 -0
- package/dist/lib/browser/app-graph-serializer-UZWWGLGY.mjs +85 -0
- package/dist/lib/browser/app-graph-serializer-UZWWGLGY.mjs.map +7 -0
- package/dist/lib/browser/chunk-2WHUSAHE.mjs +579 -0
- package/dist/lib/browser/chunk-2WHUSAHE.mjs.map +7 -0
- package/dist/lib/browser/chunk-6IT5IBB5.mjs +683 -0
- package/dist/lib/browser/chunk-6IT5IBB5.mjs.map +7 -0
- package/dist/lib/browser/chunk-6OA75CWN.mjs +77 -0
- package/dist/lib/browser/chunk-6OA75CWN.mjs.map +7 -0
- package/dist/lib/browser/{chunk-YZJWWMNB.mjs → chunk-AUX3RRLY.mjs} +99 -67
- package/dist/lib/browser/chunk-AUX3RRLY.mjs.map +7 -0
- package/dist/lib/browser/chunk-CBWGVOJE.mjs +16 -0
- package/dist/lib/browser/chunk-CBWGVOJE.mjs.map +7 -0
- package/dist/lib/browser/chunk-ICXESMDI.mjs +118 -0
- package/dist/lib/browser/chunk-ICXESMDI.mjs.map +7 -0
- package/dist/lib/browser/chunk-RJUOHI3B.mjs +19 -0
- package/dist/lib/browser/chunk-RJUOHI3B.mjs.map +7 -0
- package/dist/lib/browser/chunk-SJCNERZI.mjs +115 -0
- package/dist/lib/browser/chunk-SJCNERZI.mjs.map +7 -0
- package/dist/lib/browser/chunk-SSTUPFZ2.mjs +13 -0
- package/dist/lib/browser/chunk-SSTUPFZ2.mjs.map +7 -0
- package/dist/lib/browser/chunk-UYOJYBGW.mjs +168 -0
- package/dist/lib/browser/chunk-UYOJYBGW.mjs.map +7 -0
- package/dist/lib/browser/cli/index.mjs +843 -0
- package/dist/lib/browser/cli/index.mjs.map +7 -0
- package/dist/lib/browser/identity-created-ETXNQYR6.mjs +23 -0
- package/dist/lib/browser/identity-created-ETXNQYR6.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +233 -295
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/operation-resolver-D4LHB4D4.mjs +807 -0
- package/dist/lib/browser/operation-resolver-D4LHB4D4.mjs.map +7 -0
- package/dist/lib/browser/react-root-OD2HP63B.mjs +30 -0
- package/dist/lib/browser/react-root-OD2HP63B.mjs.map +7 -0
- package/dist/lib/browser/react-surface-E4TAFED5.mjs +364 -0
- package/dist/lib/browser/react-surface-E4TAFED5.mjs.map +7 -0
- package/dist/lib/browser/repair-NUVEV4AK.mjs +31 -0
- package/dist/lib/browser/repair-NUVEV4AK.mjs.map +7 -0
- package/dist/lib/browser/settings-RUDP2Q56.mjs +34 -0
- package/dist/lib/browser/settings-RUDP2Q56.mjs.map +7 -0
- package/dist/lib/browser/spaces-ready-B2GYL5IN.mjs +243 -0
- package/dist/lib/browser/spaces-ready-B2GYL5IN.mjs.map +7 -0
- package/dist/lib/browser/state-I6JDZCDE.mjs +58 -0
- package/dist/lib/browser/state-I6JDZCDE.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +18 -10
- package/dist/lib/node-esm/CollectionArticle-JGVNBX66.mjs +112 -0
- package/dist/lib/node-esm/CollectionArticle-JGVNBX66.mjs.map +7 -0
- package/dist/lib/node-esm/CollectionSection-BI66Y34F.mjs +24 -0
- package/dist/lib/node-esm/CollectionSection-BI66Y34F.mjs.map +7 -0
- package/dist/lib/node-esm/CreateObjectDialog-B6OLP5VQ.mjs +143 -0
- package/dist/lib/node-esm/CreateObjectDialog-B6OLP5VQ.mjs.map +7 -0
- package/dist/lib/node-esm/CreateSpaceDialog-J47M5FPQ.mjs +65 -0
- package/dist/lib/node-esm/CreateSpaceDialog-J47M5FPQ.mjs.map +7 -0
- package/dist/lib/node-esm/InlineSyncStatus-BLD57LB5.mjs +54 -0
- package/dist/lib/node-esm/InlineSyncStatus-BLD57LB5.mjs.map +7 -0
- package/dist/lib/node-esm/JoinDialog-XCOYKSHA.mjs +116 -0
- package/dist/lib/node-esm/JoinDialog-XCOYKSHA.mjs.map +7 -0
- package/dist/lib/node-esm/MembersContainer-4PV3Z4BA.mjs +258 -0
- package/dist/lib/node-esm/MembersContainer-4PV3Z4BA.mjs.map +7 -0
- package/dist/lib/node-esm/MenuFooter-PXG2GV6A.mjs +38 -0
- package/dist/lib/node-esm/MenuFooter-PXG2GV6A.mjs.map +7 -0
- package/dist/lib/node-esm/ObjectCardStack-457SNNVF.mjs +65 -0
- package/dist/lib/node-esm/ObjectCardStack-457SNNVF.mjs.map +7 -0
- package/dist/lib/node-esm/ObjectDetails-OLF7HSM4.mjs +44 -0
- package/dist/lib/node-esm/ObjectDetails-OLF7HSM4.mjs.map +7 -0
- package/dist/lib/node-esm/ObjectRenamePopover-BRPKVNVF.mjs +71 -0
- package/dist/lib/node-esm/ObjectRenamePopover-BRPKVNVF.mjs.map +7 -0
- package/dist/lib/node-esm/RecordArticle-XUIT25PP.mjs +113 -0
- package/dist/lib/node-esm/RecordArticle-XUIT25PP.mjs.map +7 -0
- package/dist/lib/node-esm/SchemaContainer-5G4R3Z6O.mjs +50 -0
- package/dist/lib/node-esm/SchemaContainer-5G4R3Z6O.mjs.map +7 -0
- package/dist/lib/node-esm/SmallPresenceLive-4K7RJS74.mjs +10 -0
- package/dist/lib/node-esm/SmallPresenceLive-4K7RJS74.mjs.map +7 -0
- package/dist/lib/node-esm/SpacePluginSettings-PENV4GHL.mjs +60 -0
- package/dist/lib/node-esm/SpacePluginSettings-PENV4GHL.mjs.map +7 -0
- package/dist/lib/node-esm/SpacePresence-H3VZWFJV.mjs +13 -0
- package/dist/lib/node-esm/SpacePresence-H3VZWFJV.mjs.map +7 -0
- package/dist/lib/node-esm/SpaceRenamePopover-XEMTI4PU.mjs +63 -0
- package/dist/lib/node-esm/SpaceRenamePopover-XEMTI4PU.mjs.map +7 -0
- package/dist/lib/node-esm/SpaceSettingsContainer-WI4D7RWA.mjs +243 -0
- package/dist/lib/node-esm/SpaceSettingsContainer-WI4D7RWA.mjs.map +7 -0
- package/dist/lib/node-esm/SyncStatus-YEBGTNSD.mjs +142 -0
- package/dist/lib/node-esm/SyncStatus-YEBGTNSD.mjs.map +7 -0
- package/dist/lib/node-esm/ViewEditor-CUQVNM2H.mjs +114 -0
- package/dist/lib/node-esm/ViewEditor-CUQVNM2H.mjs.map +7 -0
- package/dist/lib/node-esm/app-graph-builder-WTM6SSX7.mjs +1204 -0
- package/dist/lib/node-esm/app-graph-builder-WTM6SSX7.mjs.map +7 -0
- package/dist/lib/node-esm/app-graph-serializer-RT2RQTV2.mjs +86 -0
- package/dist/lib/node-esm/app-graph-serializer-RT2RQTV2.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-2OLR2ZKH.mjs +119 -0
- package/dist/lib/node-esm/chunk-2OLR2ZKH.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-5KTTTTEX.mjs +20 -0
- package/dist/lib/node-esm/chunk-5KTTTTEX.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-63N5JJXI.mjs +18 -0
- package/dist/lib/node-esm/chunk-63N5JJXI.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-EDC2RUJU.mjs +169 -0
- package/dist/lib/node-esm/chunk-EDC2RUJU.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-EVNSLSQS.mjs +684 -0
- package/dist/lib/node-esm/chunk-EVNSLSQS.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-GEGWQVZX.mjs +78 -0
- package/dist/lib/node-esm/chunk-GEGWQVZX.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-IV7VKVGC.mjs +117 -0
- package/dist/lib/node-esm/chunk-IV7VKVGC.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-7UIEPBQJ.mjs → chunk-RYQQXNI7.mjs} +99 -67
- package/dist/lib/node-esm/chunk-RYQQXNI7.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-S5BQUCL4.mjs +580 -0
- package/dist/lib/node-esm/chunk-S5BQUCL4.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-XYLDAH5C.mjs +15 -0
- package/dist/lib/node-esm/chunk-XYLDAH5C.mjs.map +7 -0
- package/dist/lib/node-esm/cli/index.mjs +844 -0
- package/dist/lib/node-esm/cli/index.mjs.map +7 -0
- package/dist/lib/node-esm/identity-created-U5LGULVL.mjs +25 -0
- package/dist/lib/node-esm/identity-created-U5LGULVL.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +233 -295
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/operation-resolver-IL2AHNPN.mjs +808 -0
- package/dist/lib/node-esm/operation-resolver-IL2AHNPN.mjs.map +7 -0
- package/dist/lib/node-esm/react-root-RILC5MBD.mjs +31 -0
- package/dist/lib/node-esm/react-root-RILC5MBD.mjs.map +7 -0
- package/dist/lib/node-esm/react-surface-SWKRVK4S.mjs +365 -0
- package/dist/lib/node-esm/react-surface-SWKRVK4S.mjs.map +7 -0
- package/dist/lib/node-esm/repair-LRZHFPSJ.mjs +32 -0
- package/dist/lib/node-esm/repair-LRZHFPSJ.mjs.map +7 -0
- package/dist/lib/node-esm/settings-3EKSEAAG.mjs +35 -0
- package/dist/lib/node-esm/settings-3EKSEAAG.mjs.map +7 -0
- package/dist/lib/node-esm/spaces-ready-QK3EHBOS.mjs +244 -0
- package/dist/lib/node-esm/spaces-ready-QK3EHBOS.mjs.map +7 -0
- package/dist/lib/node-esm/state-W36RRYUO.mjs +59 -0
- package/dist/lib/node-esm/state-W36RRYUO.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +18 -10
- package/dist/types/src/SpacePlugin.d.ts +3 -15
- package/dist/types/src/SpacePlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +6 -0
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/collections.d.ts +33 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/collections.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/companions.d.ts +19 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/companions.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/index.d.ts +6 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/settings.d.ts +12 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/settings.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/shared.d.ts +57 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/shared.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/shared.test.d.ts +2 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/shared.test.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/spaces.d.ts +24 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/spaces.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/types.d.ts +38 -0
- package/dist/types/src/capabilities/app-graph-builder/extensions/types.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts +3 -0
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-serializer/app-graph-serializer.d.ts +5 -0
- package/dist/types/src/capabilities/app-graph-serializer/app-graph-serializer.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-serializer/index.d.ts +3 -0
- package/dist/types/src/capabilities/app-graph-serializer/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/identity-created/identity-created.d.ts +5 -0
- package/dist/types/src/capabilities/identity-created/identity-created.d.ts.map +1 -0
- package/dist/types/src/capabilities/identity-created/index.d.ts +3 -0
- package/dist/types/src/capabilities/identity-created/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +10 -20
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/operation-resolver/index.d.ts +6 -0
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +9 -0
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-root/index.d.ts +6 -0
- package/dist/types/src/capabilities/react-root/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-root/react-root.d.ts +9 -0
- package/dist/types/src/capabilities/react-root/react-root.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface/index.d.ts +5 -0
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +8 -0
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
- package/dist/types/src/capabilities/repair/index.d.ts +3 -0
- package/dist/types/src/capabilities/repair/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/repair/repair.d.ts +6 -0
- package/dist/types/src/capabilities/repair/repair.d.ts.map +1 -0
- package/dist/types/src/capabilities/settings/index.d.ts +7 -0
- package/dist/types/src/capabilities/settings/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/settings/settings.d.ts +10 -0
- package/dist/types/src/capabilities/settings/settings.d.ts.map +1 -0
- package/dist/types/src/capabilities/spaces-ready/index.d.ts +3 -0
- package/dist/types/src/capabilities/spaces-ready/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/spaces-ready/spaces-ready.d.ts +5 -0
- package/dist/types/src/capabilities/spaces-ready/spaces-ready.d.ts.map +1 -0
- package/dist/types/src/capabilities/state/index.d.ts +13 -0
- package/dist/types/src/capabilities/state/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/state/state.d.ts +17 -0
- package/dist/types/src/capabilities/state/state.d.ts.map +1 -0
- package/dist/types/src/cli/commands/database/add.d.ts +16 -0
- package/dist/types/src/cli/commands/database/add.d.ts.map +1 -0
- package/dist/types/src/cli/commands/database/index.d.ts +3 -0
- package/dist/types/src/cli/commands/database/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/database/query/index.d.ts +2 -0
- package/dist/types/src/cli/commands/database/query/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/database/query/query.d.ts +13 -0
- package/dist/types/src/cli/commands/database/query/query.d.ts.map +1 -0
- package/dist/types/src/cli/commands/database/query/query.test.d.ts +2 -0
- package/dist/types/src/cli/commands/database/query/query.test.d.ts.map +1 -0
- package/dist/types/src/cli/commands/database/remove.d.ts +9 -0
- package/dist/types/src/cli/commands/database/remove.d.ts.map +1 -0
- package/dist/types/src/cli/commands/database/stats.d.ts +6 -0
- package/dist/types/src/cli/commands/database/stats.d.ts.map +1 -0
- package/dist/types/src/cli/commands/database/util.d.ts +14 -0
- package/dist/types/src/cli/commands/database/util.d.ts.map +1 -0
- package/dist/types/src/cli/commands/index.d.ts +4 -0
- package/dist/types/src/cli/commands/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/queue/index.d.ts +7 -0
- package/dist/types/src/cli/commands/queue/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/queue/query.d.ts +8 -0
- package/dist/types/src/cli/commands/queue/query.d.ts.map +1 -0
- package/dist/types/src/cli/commands/queue/util.d.ts +6 -0
- package/dist/types/src/cli/commands/queue/util.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/close/close.d.ts +12 -0
- package/dist/types/src/cli/commands/space/close/close.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/close/index.d.ts +2 -0
- package/dist/types/src/cli/commands/space/close/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/create/create.d.ts +12 -0
- package/dist/types/src/cli/commands/space/create/create.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/create/create.test.d.ts +2 -0
- package/dist/types/src/cli/commands/space/create/create.test.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/create/index.d.ts +2 -0
- package/dist/types/src/cli/commands/space/create/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/index.d.ts +31 -0
- package/dist/types/src/cli/commands/space/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/info/index.d.ts +2 -0
- package/dist/types/src/cli/commands/space/info/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/info/info.d.ts +13 -0
- package/dist/types/src/cli/commands/space/info/info.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/info/info.test.d.ts +2 -0
- package/dist/types/src/cli/commands/space/info/info.test.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/join/index.d.ts +2 -0
- package/dist/types/src/cli/commands/space/join/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/join/join.d.ts +14 -0
- package/dist/types/src/cli/commands/space/join/join.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/join/util.d.ts +17 -0
- package/dist/types/src/cli/commands/space/join/util.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/list/index.d.ts +2 -0
- package/dist/types/src/cli/commands/space/list/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/list/list.d.ts +7 -0
- package/dist/types/src/cli/commands/space/list/list.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/list/list.test.d.ts +2 -0
- package/dist/types/src/cli/commands/space/list/list.test.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/members/index.d.ts +2 -0
- package/dist/types/src/cli/commands/space/members/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/members/members.d.ts +13 -0
- package/dist/types/src/cli/commands/space/members/members.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/members/members.test.d.ts +2 -0
- package/dist/types/src/cli/commands/space/members/members.test.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/members/util.d.ts +9 -0
- package/dist/types/src/cli/commands/space/members/util.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/open/index.d.ts +2 -0
- package/dist/types/src/cli/commands/space/open/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/open/open.d.ts +12 -0
- package/dist/types/src/cli/commands/space/open/open.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/schema/index.d.ts +8 -0
- package/dist/types/src/cli/commands/space/schema/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/schema/list/index.d.ts +2 -0
- package/dist/types/src/cli/commands/space/schema/list/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/schema/list/list.d.ts +15 -0
- package/dist/types/src/cli/commands/space/schema/list/list.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/schema/list/list.test.d.ts +2 -0
- package/dist/types/src/cli/commands/space/schema/list/list.test.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/schema/list/util.d.ts +15 -0
- package/dist/types/src/cli/commands/space/schema/list/util.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/share/index.d.ts +2 -0
- package/dist/types/src/cli/commands/space/share/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/share/share.d.ts +19 -0
- package/dist/types/src/cli/commands/space/share/share.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/sync/index.d.ts +2 -0
- package/dist/types/src/cli/commands/space/sync/index.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/sync/sync.d.ts +6 -0
- package/dist/types/src/cli/commands/space/sync/sync.d.ts.map +1 -0
- package/dist/types/src/cli/commands/space/sync/sync.test.d.ts +2 -0
- package/dist/types/src/cli/commands/space/sync/sync.test.d.ts.map +1 -0
- package/dist/types/src/cli/index.d.ts +2 -0
- package/dist/types/src/cli/index.d.ts.map +1 -0
- package/dist/types/src/cli/plugin.d.ts +4 -0
- package/dist/types/src/cli/plugin.d.ts.map +1 -0
- package/dist/types/src/components/AwaitingObject/AwaitingObject.d.ts.map +1 -0
- package/dist/types/src/components/AwaitingObject/index.d.ts +2 -0
- package/dist/types/src/components/AwaitingObject/index.d.ts.map +1 -0
- package/dist/types/src/components/CreateDialog/CreateObjectPanel.d.ts +26 -11
- package/dist/types/src/components/CreateDialog/CreateObjectPanel.d.ts.map +1 -1
- package/dist/types/src/components/CreateDialog/index.d.ts +1 -2
- package/dist/types/src/components/CreateDialog/index.d.ts.map +1 -1
- package/dist/types/src/components/{ObjectSettings → ObjectDetails}/BaseObjectSettings.d.ts +3 -3
- package/dist/types/src/components/ObjectDetails/BaseObjectSettings.d.ts.map +1 -0
- package/dist/types/src/components/{MembersContainer.stories.d.ts → ObjectDetails/BaseObjectSettings.stories.d.ts} +295 -395
- package/dist/types/src/components/{MembersContainer.stories.d.ts.map → ObjectDetails/BaseObjectSettings.stories.d.ts.map} +1 -1
- package/dist/types/src/components/ObjectDetails/ForeignKeys.d.ts +8 -0
- package/dist/types/src/components/ObjectDetails/ForeignKeys.d.ts.map +1 -0
- package/dist/types/src/components/ObjectDetails/index.d.ts +3 -0
- package/dist/types/src/components/ObjectDetails/index.d.ts.map +1 -0
- package/dist/types/src/components/ObjectForm/ObjectForm.d.ts +9 -0
- package/dist/types/src/components/ObjectForm/ObjectForm.d.ts.map +1 -0
- package/dist/types/src/components/ObjectForm/index.d.ts +2 -0
- package/dist/types/src/components/ObjectForm/index.d.ts.map +1 -0
- package/dist/types/src/components/SyncStatus/index.d.ts +2 -2
- package/dist/types/src/components/SyncStatus/index.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +2 -26
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/constants.d.ts +6 -0
- package/dist/types/src/constants.d.ts.map +1 -0
- package/dist/types/src/containers/CollectionArticle/CollectionArticle.d.ts +8 -0
- package/dist/types/src/containers/CollectionArticle/CollectionArticle.d.ts.map +1 -0
- package/dist/types/src/containers/CollectionArticle/index.d.ts +3 -0
- package/dist/types/src/containers/CollectionArticle/index.d.ts.map +1 -0
- package/dist/types/src/containers/CollectionSection/CollectionSection.d.ts +5 -0
- package/dist/types/src/containers/CollectionSection/CollectionSection.d.ts.map +1 -0
- package/dist/types/src/containers/CollectionSection/index.d.ts +3 -0
- package/dist/types/src/containers/CollectionSection/index.d.ts.map +1 -0
- package/dist/types/src/containers/CreateObjectDialog/CreateObjectDialog.d.ts +12 -0
- package/dist/types/src/containers/CreateObjectDialog/CreateObjectDialog.d.ts.map +1 -0
- package/dist/types/src/containers/CreateObjectDialog/index.d.ts +3 -0
- package/dist/types/src/containers/CreateObjectDialog/index.d.ts.map +1 -0
- package/dist/types/src/containers/CreateSpaceDialog/CreateSpaceDialog.d.ts.map +1 -0
- package/dist/types/src/containers/CreateSpaceDialog/index.d.ts +3 -0
- package/dist/types/src/containers/CreateSpaceDialog/index.d.ts.map +1 -0
- package/dist/types/src/containers/InlineSyncStatus/InlineSyncStatus.d.ts.map +1 -0
- package/dist/types/src/containers/InlineSyncStatus/index.d.ts +3 -0
- package/dist/types/src/containers/InlineSyncStatus/index.d.ts.map +1 -0
- package/dist/types/src/containers/JoinDialog/JoinDialog.d.ts.map +1 -0
- package/dist/types/src/containers/JoinDialog/index.d.ts +3 -0
- package/dist/types/src/containers/JoinDialog/index.d.ts.map +1 -0
- package/dist/types/src/containers/MembersContainer/MembersContainer.d.ts.map +1 -0
- package/dist/types/src/containers/MembersContainer/index.d.ts +3 -0
- package/dist/types/src/containers/MembersContainer/index.d.ts.map +1 -0
- package/dist/types/src/{components → containers/MenuFooter}/MenuFooter.d.ts +1 -1
- package/dist/types/src/containers/MenuFooter/MenuFooter.d.ts.map +1 -0
- package/dist/types/src/containers/MenuFooter/index.d.ts +3 -0
- package/dist/types/src/containers/MenuFooter/index.d.ts.map +1 -0
- package/dist/types/src/containers/ObjectCardStack/ObjectCardStack.d.ts +11 -0
- package/dist/types/src/containers/ObjectCardStack/ObjectCardStack.d.ts.map +1 -0
- package/dist/types/src/containers/ObjectCardStack/index.d.ts +3 -0
- package/dist/types/src/containers/ObjectCardStack/index.d.ts.map +1 -0
- package/dist/types/src/containers/ObjectDetails/ObjectDetails.d.ts +10 -0
- package/dist/types/src/containers/ObjectDetails/ObjectDetails.d.ts.map +1 -0
- package/dist/types/src/containers/ObjectDetails/index.d.ts +3 -0
- package/dist/types/src/containers/ObjectDetails/index.d.ts.map +1 -0
- package/dist/types/src/containers/ObjectRenamePopover/ObjectRenamePopover.d.ts +7 -0
- package/dist/types/src/containers/ObjectRenamePopover/ObjectRenamePopover.d.ts.map +1 -0
- package/dist/types/src/containers/ObjectRenamePopover/index.d.ts +3 -0
- package/dist/types/src/containers/ObjectRenamePopover/index.d.ts.map +1 -0
- package/dist/types/src/containers/RecordArticle/RecordArticle.d.ts +4 -0
- package/dist/types/src/containers/RecordArticle/RecordArticle.d.ts.map +1 -0
- package/dist/types/src/containers/RecordArticle/index.d.ts +3 -0
- package/dist/types/src/containers/RecordArticle/index.d.ts.map +1 -0
- package/dist/types/src/{components → containers/SchemaContainer}/SchemaContainer.d.ts +2 -2
- package/dist/types/src/containers/SchemaContainer/SchemaContainer.d.ts.map +1 -0
- package/dist/types/src/containers/SchemaContainer/index.d.ts +3 -0
- package/dist/types/src/containers/SchemaContainer/index.d.ts.map +1 -0
- package/dist/types/src/containers/SmallPresenceLive/index.d.ts +2 -0
- package/dist/types/src/containers/SmallPresenceLive/index.d.ts.map +1 -0
- package/dist/types/src/containers/SpacePluginSettings/SpacePluginSettings.d.ts +8 -0
- package/dist/types/src/containers/SpacePluginSettings/SpacePluginSettings.d.ts.map +1 -0
- package/dist/types/src/containers/SpacePluginSettings/index.d.ts +3 -0
- package/dist/types/src/containers/SpacePluginSettings/index.d.ts.map +1 -0
- package/dist/types/src/{components → containers/SpacePresence}/SpacePresence.d.ts +7 -6
- package/dist/types/src/containers/SpacePresence/SpacePresence.d.ts.map +1 -0
- package/dist/types/src/{components → containers/SpacePresence}/SpacePresence.stories.d.ts +291 -224
- package/dist/types/src/{components → containers/SpacePresence}/SpacePresence.stories.d.ts.map +1 -1
- package/dist/types/src/containers/SpacePresence/index.d.ts +3 -0
- package/dist/types/src/containers/SpacePresence/index.d.ts.map +1 -0
- package/dist/types/src/containers/SpaceRenamePopover/SpaceRenamePopover.d.ts +7 -0
- package/dist/types/src/containers/SpaceRenamePopover/SpaceRenamePopover.d.ts.map +1 -0
- package/dist/types/src/containers/SpaceRenamePopover/index.d.ts +3 -0
- package/dist/types/src/containers/SpaceRenamePopover/index.d.ts.map +1 -0
- package/dist/types/src/containers/SpaceSettingsContainer/SpaceSettingsContainer.d.ts +10 -0
- package/dist/types/src/containers/SpaceSettingsContainer/SpaceSettingsContainer.d.ts.map +1 -0
- package/dist/types/src/{components/SpaceSettings → containers/SpaceSettingsContainer}/SpaceSettingsContainer.stories.d.ts +295 -225
- package/dist/types/src/{components/SpaceSettings → containers/SpaceSettingsContainer}/SpaceSettingsContainer.stories.d.ts.map +1 -1
- package/dist/types/src/containers/SpaceSettingsContainer/index.d.ts +3 -0
- package/dist/types/src/containers/SpaceSettingsContainer/index.d.ts.map +1 -0
- package/dist/types/src/containers/SyncStatus/SyncStatus.d.ts.map +1 -0
- package/dist/types/src/{components → containers}/SyncStatus/SyncStatus.stories.d.ts +292 -225
- package/dist/types/src/{components → containers}/SyncStatus/SyncStatus.stories.d.ts.map +1 -1
- package/dist/types/src/containers/SyncStatus/index.d.ts +3 -0
- package/dist/types/src/containers/SyncStatus/index.d.ts.map +1 -0
- package/dist/types/src/containers/ViewEditor/ViewEditor.d.ts +7 -0
- package/dist/types/src/containers/ViewEditor/ViewEditor.d.ts.map +1 -0
- package/dist/types/src/containers/ViewEditor/index.d.ts +3 -0
- package/dist/types/src/containers/ViewEditor/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +23 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- package/dist/types/src/helpers/index.d.ts +2 -0
- package/dist/types/src/helpers/index.d.ts.map +1 -0
- package/dist/types/src/helpers/query.d.ts +7 -0
- package/dist/types/src/helpers/query.d.ts.map +1 -0
- package/dist/types/src/helpers/query.test.d.ts +2 -0
- package/dist/types/src/helpers/query.test.d.ts.map +1 -0
- package/dist/types/src/hooks/index.d.ts +1 -0
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useActiveSpace.d.ts +2 -2
- package/dist/types/src/hooks/useActiveSpace.d.ts.map +1 -1
- package/dist/types/src/hooks/useInputSurfaceLookup.d.ts +2 -8
- package/dist/types/src/hooks/useInputSurfaceLookup.d.ts.map +1 -1
- package/dist/types/src/hooks/usePath.d.ts +2 -2
- package/dist/types/src/hooks/usePath.d.ts.map +1 -1
- package/dist/types/src/hooks/useTypeOptions.d.ts +10 -0
- package/dist/types/src/hooks/useTypeOptions.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +3 -3
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -2
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +291 -224
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/capabilities.d.ts +71 -0
- package/dist/types/src/types/capabilities.d.ts.map +1 -0
- package/dist/types/src/types/events.d.ts +9 -0
- package/dist/types/src/types/events.d.ts.map +1 -0
- package/dist/types/src/types/form.d.ts +20 -0
- package/dist/types/src/types/form.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +3 -0
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +579 -398
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/src/util.d.ts +9 -134
- package/dist/types/src/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +84 -61
- package/src/SpacePlugin.ts +183 -235
- package/src/capabilities/app-graph-builder/app-graph-builder.ts +32 -0
- package/src/capabilities/app-graph-builder/extensions/collections.ts +351 -0
- package/src/capabilities/app-graph-builder/extensions/companions.ts +80 -0
- package/src/capabilities/app-graph-builder/extensions/index.ts +9 -0
- package/src/capabilities/app-graph-builder/extensions/settings.ts +60 -0
- package/src/capabilities/app-graph-builder/extensions/shared.test.ts +112 -0
- package/src/capabilities/app-graph-builder/extensions/shared.ts +171 -0
- package/src/capabilities/app-graph-builder/extensions/spaces.ts +338 -0
- package/src/capabilities/app-graph-builder/extensions/types.ts +421 -0
- package/src/capabilities/app-graph-builder/index.ts +7 -0
- package/src/capabilities/app-graph-serializer/app-graph-serializer.ts +83 -0
- package/src/capabilities/app-graph-serializer/index.ts +7 -0
- package/src/capabilities/identity-created/identity-created.ts +29 -0
- package/src/capabilities/identity-created/index.ts +7 -0
- package/src/capabilities/index.ts +10 -14
- package/src/capabilities/operation-resolver/index.ts +7 -0
- package/src/capabilities/operation-resolver/operation-resolver.ts +763 -0
- package/src/capabilities/react-root/index.ts +7 -0
- package/src/capabilities/react-root/react-root.tsx +25 -0
- package/src/capabilities/react-surface/index.ts +7 -0
- package/src/capabilities/react-surface/react-surface.tsx +355 -0
- package/src/capabilities/repair/index.ts +7 -0
- package/src/capabilities/repair/repair.ts +42 -0
- package/src/capabilities/settings/index.ts +7 -0
- package/src/capabilities/settings/settings.ts +33 -0
- package/src/capabilities/spaces-ready/index.ts +7 -0
- package/src/capabilities/spaces-ready/spaces-ready.ts +290 -0
- package/src/capabilities/state/index.ts +7 -0
- package/src/capabilities/state/state.ts +66 -0
- package/src/cli/commands/database/add.ts +114 -0
- package/src/cli/commands/database/index.ts +16 -0
- package/src/cli/commands/database/query/index.ts +5 -0
- package/src/cli/commands/database/query/query.test.ts +55 -0
- package/src/cli/commands/database/query/query.ts +44 -0
- package/src/cli/commands/database/remove.ts +51 -0
- package/src/cli/commands/database/stats.ts +44 -0
- package/src/cli/commands/database/util.ts +32 -0
- package/src/cli/commands/index.ts +7 -0
- package/src/cli/commands/queue/index.ts +12 -0
- package/src/cli/commands/queue/query.ts +45 -0
- package/src/cli/commands/queue/util.ts +19 -0
- package/src/cli/commands/space/close/close.ts +40 -0
- package/src/cli/commands/space/close/index.ts +5 -0
- package/src/cli/commands/space/create/create.test.ts +67 -0
- package/src/cli/commands/space/create/create.ts +61 -0
- package/src/cli/commands/space/create/index.ts +5 -0
- package/src/cli/commands/space/index.ts +21 -0
- package/src/cli/commands/space/info/index.ts +5 -0
- package/src/cli/commands/space/info/info.test.ts +47 -0
- package/src/cli/commands/space/info/info.ts +37 -0
- package/src/cli/commands/space/join/index.ts +5 -0
- package/src/cli/commands/space/join/join.ts +122 -0
- package/src/cli/commands/space/join/util.ts +82 -0
- package/src/cli/commands/space/list/index.ts +5 -0
- package/src/cli/commands/space/list/list.test.ts +36 -0
- package/src/cli/commands/space/list/list.ts +30 -0
- package/src/cli/commands/space/members/index.ts +5 -0
- package/src/cli/commands/space/members/members.test.ts +46 -0
- package/src/cli/commands/space/members/members.ts +40 -0
- package/src/cli/commands/space/members/util.ts +29 -0
- package/src/cli/commands/space/open/index.ts +5 -0
- package/src/cli/commands/space/open/open.ts +39 -0
- package/src/cli/commands/space/schema/index.ts +12 -0
- package/src/cli/commands/space/schema/list/index.ts +5 -0
- package/src/cli/commands/space/schema/list/list.test.ts +42 -0
- package/src/cli/commands/space/schema/list/list.ts +64 -0
- package/src/cli/commands/space/schema/list/util.ts +39 -0
- package/src/cli/commands/space/share/index.ts +5 -0
- package/src/cli/commands/space/share/share.ts +112 -0
- package/src/cli/commands/space/sync/index.ts +5 -0
- package/src/cli/commands/space/sync/sync.test.ts +12 -0
- package/src/cli/commands/space/sync/sync.ts +33 -0
- package/src/cli/index.ts +5 -0
- package/src/cli/plugin.ts +88 -0
- package/src/components/{AwaitingObject.tsx → AwaitingObject/AwaitingObject.tsx} +23 -21
- package/src/components/AwaitingObject/index.ts +5 -0
- package/src/components/CreateDialog/CreateObjectPanel.tsx +155 -114
- package/src/components/CreateDialog/index.ts +1 -2
- package/src/components/ObjectDetails/BaseObjectSettings.stories.tsx +63 -0
- package/src/components/ObjectDetails/BaseObjectSettings.tsx +122 -0
- package/src/components/{ObjectSettings → ObjectDetails}/ForeignKeys.tsx +5 -5
- package/src/components/ObjectDetails/index.ts +6 -0
- package/src/components/ObjectForm/ObjectForm.tsx +99 -0
- package/src/components/ObjectForm/index.ts +5 -0
- package/src/components/SyncStatus/index.ts +2 -2
- package/src/components/SyncStatus/save-tracker.ts +2 -2
- package/src/components/index.ts +2 -19
- package/src/constants.ts +11 -0
- package/src/containers/CollectionArticle/CollectionArticle.tsx +133 -0
- package/src/containers/CollectionArticle/index.ts +7 -0
- package/src/containers/CollectionSection/CollectionSection.tsx +22 -0
- package/src/containers/CollectionSection/index.ts +7 -0
- package/src/containers/CreateObjectDialog/CreateObjectDialog.tsx +164 -0
- package/src/containers/CreateObjectDialog/index.ts +6 -0
- package/src/containers/CreateSpaceDialog/CreateSpaceDialog.tsx +72 -0
- package/src/containers/CreateSpaceDialog/index.ts +7 -0
- package/src/{components/SyncStatus → containers/InlineSyncStatus}/InlineSyncStatus.tsx +12 -23
- package/src/containers/InlineSyncStatus/index.ts +7 -0
- package/src/{components → containers/JoinDialog}/JoinDialog.tsx +28 -38
- package/src/containers/JoinDialog/index.ts +6 -0
- package/src/{components → containers/MembersContainer}/MembersContainer.tsx +86 -89
- package/src/containers/MembersContainer/index.ts +7 -0
- package/src/{components → containers/MenuFooter}/MenuFooter.tsx +6 -6
- package/src/containers/MenuFooter/index.ts +7 -0
- package/src/containers/ObjectCardStack/ObjectCardStack.tsx +82 -0
- package/src/containers/ObjectCardStack/index.ts +7 -0
- package/src/containers/ObjectDetails/ObjectDetails.tsx +36 -0
- package/src/containers/ObjectDetails/index.ts +7 -0
- package/src/{components/PopoverRenameObject.tsx → containers/ObjectRenamePopover/ObjectRenamePopover.tsx} +11 -15
- package/src/containers/ObjectRenamePopover/index.ts +7 -0
- package/src/containers/RecordArticle/RecordArticle.tsx +124 -0
- package/src/containers/RecordArticle/index.ts +7 -0
- package/src/containers/SchemaContainer/SchemaContainer.tsx +60 -0
- package/src/containers/SchemaContainer/index.ts +7 -0
- package/src/containers/SmallPresenceLive/index.ts +5 -0
- package/src/containers/SpacePluginSettings/SpacePluginSettings.tsx +65 -0
- package/src/containers/SpacePluginSettings/index.ts +7 -0
- package/src/{components → containers/SpacePresence}/SpacePresence.stories.tsx +3 -3
- package/src/{components → containers/SpacePresence}/SpacePresence.tsx +28 -36
- package/src/containers/SpacePresence/index.ts +6 -0
- package/src/{components/PopoverRenameSpace.tsx → containers/SpaceRenamePopover/SpaceRenamePopover.tsx} +15 -15
- package/src/containers/SpaceRenamePopover/index.ts +7 -0
- package/src/{components/SpaceSettings → containers/SpaceSettingsContainer}/SpaceSettingsContainer.stories.tsx +7 -7
- package/src/containers/SpaceSettingsContainer/SpaceSettingsContainer.tsx +202 -0
- package/src/containers/SpaceSettingsContainer/index.ts +7 -0
- package/src/{components → containers}/SyncStatus/SyncStatus.stories.tsx +4 -3
- package/src/containers/SyncStatus/SyncStatus.tsx +153 -0
- package/src/containers/SyncStatus/index.ts +7 -0
- package/src/containers/ViewEditor/ViewEditor.tsx +102 -0
- package/src/containers/ViewEditor/index.ts +7 -0
- package/src/containers/index.ts +28 -0
- package/src/helpers/index.ts +5 -0
- package/src/helpers/query.test.ts +24 -0
- package/src/helpers/query.ts +166 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useActiveSpace.ts +11 -7
- package/src/hooks/useInputSurfaceLookup.tsx +9 -13
- package/src/hooks/usePath.ts +4 -4
- package/src/hooks/useTypeOptions.ts +25 -0
- package/src/index.ts +4 -3
- package/src/meta.ts +8 -3
- package/src/translations.ts +95 -58
- package/src/types/capabilities.ts +73 -0
- package/src/types/events.ts +16 -0
- package/src/types/form.ts +62 -0
- package/src/types/index.ts +3 -0
- package/src/types/types.ts +519 -258
- package/src/util.ts +82 -0
- package/dist/lib/browser/CollectionMain-AX7KKXWP.mjs +0 -31
- package/dist/lib/browser/CollectionMain-AX7KKXWP.mjs.map +0 -7
- package/dist/lib/browser/ObjectDetailsPanel-SJ4XUXXX.mjs +0 -90
- package/dist/lib/browser/ObjectDetailsPanel-SJ4XUXXX.mjs.map +0 -7
- package/dist/lib/browser/RecordMain-FHPCS6GM.mjs +0 -68
- package/dist/lib/browser/RecordMain-FHPCS6GM.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-Y2LBZX2G.mjs +0 -520
- package/dist/lib/browser/app-graph-builder-Y2LBZX2G.mjs.map +0 -7
- package/dist/lib/browser/app-graph-serializer-425OVRTW.mjs +0 -80
- package/dist/lib/browser/app-graph-serializer-425OVRTW.mjs.map +0 -7
- package/dist/lib/browser/chunk-6KVKMOGQ.mjs +0 -1975
- package/dist/lib/browser/chunk-6KVKMOGQ.mjs.map +0 -7
- package/dist/lib/browser/chunk-CVZAZRW4.mjs +0 -94
- package/dist/lib/browser/chunk-CVZAZRW4.mjs.map +0 -7
- package/dist/lib/browser/chunk-EIXZABXD.mjs +0 -19
- package/dist/lib/browser/chunk-EIXZABXD.mjs.map +0 -7
- package/dist/lib/browser/chunk-IRKDREHY.mjs +0 -11
- package/dist/lib/browser/chunk-IRKDREHY.mjs.map +0 -7
- package/dist/lib/browser/chunk-OYHC63NL.mjs +0 -344
- package/dist/lib/browser/chunk-OYHC63NL.mjs.map +0 -7
- package/dist/lib/browser/chunk-PUF3B7XO.mjs +0 -20
- package/dist/lib/browser/chunk-PUF3B7XO.mjs.map +0 -7
- package/dist/lib/browser/chunk-X6COEDOD.mjs +0 -704
- package/dist/lib/browser/chunk-X6COEDOD.mjs.map +0 -7
- package/dist/lib/browser/chunk-YZJWWMNB.mjs.map +0 -7
- package/dist/lib/browser/identity-created-PW2BA46S.mjs +0 -23
- package/dist/lib/browser/identity-created-PW2BA46S.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-2TBYHOBA.mjs +0 -765
- package/dist/lib/browser/intent-resolver-2TBYHOBA.mjs.map +0 -7
- package/dist/lib/browser/react-root-KMJXJ5VX.mjs +0 -29
- package/dist/lib/browser/react-root-KMJXJ5VX.mjs.map +0 -7
- package/dist/lib/browser/react-surface-YAJUAMER.mjs +0 -385
- package/dist/lib/browser/react-surface-YAJUAMER.mjs.map +0 -7
- package/dist/lib/browser/schema-defs-2OCPV7JF.mjs +0 -26
- package/dist/lib/browser/schema-defs-2OCPV7JF.mjs.map +0 -7
- package/dist/lib/browser/settings-UYYJ225A.mjs +0 -24
- package/dist/lib/browser/settings-UYYJ225A.mjs.map +0 -7
- package/dist/lib/browser/spaces-ready-YNZPWXA3.mjs +0 -201
- package/dist/lib/browser/spaces-ready-YNZPWXA3.mjs.map +0 -7
- package/dist/lib/browser/state-BPU73TYO.mjs +0 -47
- package/dist/lib/browser/state-BPU73TYO.mjs.map +0 -7
- package/dist/lib/node-esm/CollectionMain-EU57SRYK.mjs +0 -32
- package/dist/lib/node-esm/CollectionMain-EU57SRYK.mjs.map +0 -7
- package/dist/lib/node-esm/ObjectDetailsPanel-P7D727OV.mjs +0 -91
- package/dist/lib/node-esm/ObjectDetailsPanel-P7D727OV.mjs.map +0 -7
- package/dist/lib/node-esm/RecordMain-V73AEB6N.mjs +0 -70
- package/dist/lib/node-esm/RecordMain-V73AEB6N.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-DMNLDT7E.mjs +0 -521
- package/dist/lib/node-esm/app-graph-builder-DMNLDT7E.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-serializer-ZEDSY77N.mjs +0 -81
- package/dist/lib/node-esm/app-graph-serializer-ZEDSY77N.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-36TAYXV7.mjs +0 -21
- package/dist/lib/node-esm/chunk-36TAYXV7.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-7UIEPBQJ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-ADEZJQE3.mjs +0 -345
- package/dist/lib/node-esm/chunk-ADEZJQE3.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-FLRC6XWU.mjs +0 -96
- package/dist/lib/node-esm/chunk-FLRC6XWU.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-L26ZIGHA.mjs +0 -1976
- package/dist/lib/node-esm/chunk-L26ZIGHA.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-MWNATOXL.mjs +0 -13
- package/dist/lib/node-esm/chunk-MWNATOXL.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-SVFKU7EW.mjs +0 -20
- package/dist/lib/node-esm/chunk-SVFKU7EW.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-ZFCCFELA.mjs +0 -705
- package/dist/lib/node-esm/chunk-ZFCCFELA.mjs.map +0 -7
- package/dist/lib/node-esm/identity-created-MWTLGQRU.mjs +0 -25
- package/dist/lib/node-esm/identity-created-MWTLGQRU.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-YOG27WOG.mjs +0 -766
- package/dist/lib/node-esm/intent-resolver-YOG27WOG.mjs.map +0 -7
- package/dist/lib/node-esm/react-root-27QMJZD2.mjs +0 -30
- package/dist/lib/node-esm/react-root-27QMJZD2.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-RC73GAN5.mjs +0 -386
- package/dist/lib/node-esm/react-surface-RC73GAN5.mjs.map +0 -7
- package/dist/lib/node-esm/schema-defs-X2Z7F2EV.mjs +0 -27
- package/dist/lib/node-esm/schema-defs-X2Z7F2EV.mjs.map +0 -7
- package/dist/lib/node-esm/settings-Q736OQRP.mjs +0 -25
- package/dist/lib/node-esm/settings-Q736OQRP.mjs.map +0 -7
- package/dist/lib/node-esm/spaces-ready-XZQD7Q65.mjs +0 -202
- package/dist/lib/node-esm/spaces-ready-XZQD7Q65.mjs.map +0 -7
- package/dist/lib/node-esm/state-BY75TM32.mjs +0 -48
- package/dist/lib/node-esm/state-BY75TM32.mjs.map +0 -7
- package/dist/types/src/capabilities/app-graph-builder.d.ts +0 -4
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +0 -1
- package/dist/types/src/capabilities/app-graph-serializer.d.ts +0 -4
- package/dist/types/src/capabilities/app-graph-serializer.d.ts.map +0 -1
- package/dist/types/src/capabilities/capabilities.d.ts +0 -28
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/identity-created.d.ts +0 -4
- package/dist/types/src/capabilities/identity-created.d.ts.map +0 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -9
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-root.d.ts +0 -7
- package/dist/types/src/capabilities/react-root.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface.d.ts +0 -7
- package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
- package/dist/types/src/capabilities/schema-defs.d.ts +0 -4
- package/dist/types/src/capabilities/schema-defs.d.ts.map +0 -1
- package/dist/types/src/capabilities/settings.d.ts +0 -4
- package/dist/types/src/capabilities/settings.d.ts.map +0 -1
- package/dist/types/src/capabilities/spaces-ready.d.ts +0 -4
- package/dist/types/src/capabilities/spaces-ready.d.ts.map +0 -1
- package/dist/types/src/capabilities/state.d.ts +0 -5
- package/dist/types/src/capabilities/state.d.ts.map +0 -1
- package/dist/types/src/components/AwaitingObject.d.ts.map +0 -1
- package/dist/types/src/components/CollectionMain.d.ts +0 -7
- package/dist/types/src/components/CollectionMain.d.ts.map +0 -1
- package/dist/types/src/components/CollectionSection.d.ts +0 -6
- package/dist/types/src/components/CollectionSection.d.ts.map +0 -1
- package/dist/types/src/components/CreateDialog/CreateObjectDialog.d.ts +0 -10
- package/dist/types/src/components/CreateDialog/CreateObjectDialog.d.ts.map +0 -1
- package/dist/types/src/components/CreateDialog/CreateObjectDialog.stories.d.ts +0 -1590
- package/dist/types/src/components/CreateDialog/CreateObjectDialog.stories.d.ts.map +0 -1
- package/dist/types/src/components/CreateDialog/CreateSpaceDialog.d.ts.map +0 -1
- package/dist/types/src/components/JoinDialog.d.ts.map +0 -1
- package/dist/types/src/components/MembersContainer.d.ts.map +0 -1
- package/dist/types/src/components/MenuFooter.d.ts.map +0 -1
- package/dist/types/src/components/ObjectDetailsPanel.d.ts +0 -9
- package/dist/types/src/components/ObjectDetailsPanel.d.ts.map +0 -1
- package/dist/types/src/components/ObjectSettings/AdvancedObjectSettings.d.ts +0 -7
- package/dist/types/src/components/ObjectSettings/AdvancedObjectSettings.d.ts.map +0 -1
- package/dist/types/src/components/ObjectSettings/BaseObjectSettings.d.ts.map +0 -1
- package/dist/types/src/components/ObjectSettings/ForeignKeys.d.ts +0 -8
- package/dist/types/src/components/ObjectSettings/ForeignKeys.d.ts.map +0 -1
- package/dist/types/src/components/ObjectSettings/ObjectSettingsContainer.d.ts +0 -8
- package/dist/types/src/components/ObjectSettings/ObjectSettingsContainer.d.ts.map +0 -1
- package/dist/types/src/components/ObjectSettings/index.d.ts +0 -2
- package/dist/types/src/components/ObjectSettings/index.d.ts.map +0 -1
- package/dist/types/src/components/PersistenceStatus.d.ts +0 -6
- package/dist/types/src/components/PersistenceStatus.d.ts.map +0 -1
- package/dist/types/src/components/PopoverRenameObject.d.ts +0 -7
- package/dist/types/src/components/PopoverRenameObject.d.ts.map +0 -1
- package/dist/types/src/components/PopoverRenameSpace.d.ts +0 -7
- package/dist/types/src/components/PopoverRenameSpace.d.ts.map +0 -1
- package/dist/types/src/components/RecordMain.d.ts +0 -7
- package/dist/types/src/components/RecordMain.d.ts.map +0 -1
- package/dist/types/src/components/SchemaContainer.d.ts.map +0 -1
- package/dist/types/src/components/SpacePluginSettings.d.ts +0 -6
- package/dist/types/src/components/SpacePluginSettings.d.ts.map +0 -1
- package/dist/types/src/components/SpacePresence.d.ts.map +0 -1
- package/dist/types/src/components/SpaceSettings/SpaceSettingsContainer.d.ts +0 -7
- package/dist/types/src/components/SpaceSettings/SpaceSettingsContainer.d.ts.map +0 -1
- package/dist/types/src/components/SpaceSettings/index.d.ts +0 -2
- package/dist/types/src/components/SpaceSettings/index.d.ts.map +0 -1
- package/dist/types/src/components/SyncStatus/InlineSyncStatus.d.ts.map +0 -1
- package/dist/types/src/components/SyncStatus/SyncStatus.d.ts.map +0 -1
- package/dist/types/src/components/ViewEditor.d.ts +0 -8
- package/dist/types/src/components/ViewEditor.d.ts.map +0 -1
- package/dist/types/src/events.d.ts +0 -8
- package/dist/types/src/events.d.ts.map +0 -1
- package/src/capabilities/app-graph-builder.ts +0 -757
- package/src/capabilities/app-graph-serializer.ts +0 -76
- package/src/capabilities/capabilities.ts +0 -30
- package/src/capabilities/identity-created.ts +0 -25
- package/src/capabilities/intent-resolver.ts +0 -706
- package/src/capabilities/react-root.tsx +0 -21
- package/src/capabilities/react-surface.tsx +0 -400
- package/src/capabilities/schema-defs.ts +0 -31
- package/src/capabilities/settings.ts +0 -21
- package/src/capabilities/spaces-ready.ts +0 -234
- package/src/capabilities/state.ts +0 -46
- package/src/components/CollectionMain.tsx +0 -32
- package/src/components/CollectionSection.tsx +0 -20
- package/src/components/CreateDialog/CreateObjectDialog.stories.tsx +0 -85
- package/src/components/CreateDialog/CreateObjectDialog.tsx +0 -135
- package/src/components/CreateDialog/CreateSpaceDialog.tsx +0 -67
- package/src/components/MembersContainer.stories.tsx +0 -56
- package/src/components/ObjectDetailsPanel.tsx +0 -79
- package/src/components/ObjectSettings/AdvancedObjectSettings.tsx +0 -81
- package/src/components/ObjectSettings/BaseObjectSettings.tsx +0 -47
- package/src/components/ObjectSettings/ObjectSettingsContainer.tsx +0 -37
- package/src/components/ObjectSettings/index.ts +0 -5
- package/src/components/PersistenceStatus.tsx +0 -83
- package/src/components/RecordMain.tsx +0 -43
- package/src/components/SchemaContainer.tsx +0 -59
- package/src/components/SpacePluginSettings.tsx +0 -52
- package/src/components/SpaceSettings/SpaceSettingsContainer.tsx +0 -185
- package/src/components/SpaceSettings/index.ts +0 -5
- package/src/components/SyncStatus/SyncStatus.tsx +0 -59
- package/src/components/ViewEditor.tsx +0 -59
- package/src/events.ts +0 -15
- package/src/util.tsx +0 -725
- /package/dist/types/src/components/{AwaitingObject.d.ts → AwaitingObject/AwaitingObject.d.ts} +0 -0
- /package/dist/types/src/{components/CreateDialog → containers/CreateSpaceDialog}/CreateSpaceDialog.d.ts +0 -0
- /package/dist/types/src/{components/SyncStatus → containers/InlineSyncStatus}/InlineSyncStatus.d.ts +0 -0
- /package/dist/types/src/{components → containers/JoinDialog}/JoinDialog.d.ts +0 -0
- /package/dist/types/src/{components → containers/MembersContainer}/MembersContainer.d.ts +0 -0
- /package/dist/types/src/{components → containers}/SyncStatus/SyncStatus.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-space",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.d05673bc65",
|
|
4
4
|
"description": "DXOS Surface plugin for DXOS ECHO Spaces",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/dxos/dxos"
|
|
10
|
+
},
|
|
7
11
|
"license": "MIT",
|
|
8
12
|
"author": "DXOS.org",
|
|
9
13
|
"sideEffects": true,
|
|
@@ -15,6 +19,11 @@
|
|
|
15
19
|
"browser": "./dist/lib/browser/index.mjs",
|
|
16
20
|
"node": "./dist/lib/node-esm/index.mjs"
|
|
17
21
|
},
|
|
22
|
+
"./cli": {
|
|
23
|
+
"source": "./src/cli/index.ts",
|
|
24
|
+
"types": "./dist/types/src/cli/index.d.ts",
|
|
25
|
+
"node": "./dist/lib/node-esm/cli/index.mjs"
|
|
26
|
+
},
|
|
18
27
|
"./types": {
|
|
19
28
|
"source": "./src/types/index.ts",
|
|
20
29
|
"types": "./dist/types/src/types/index.d.ts",
|
|
@@ -35,76 +44,90 @@
|
|
|
35
44
|
"src"
|
|
36
45
|
],
|
|
37
46
|
"dependencies": {
|
|
38
|
-
"@automerge/automerge": "3.
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
47
|
+
"@automerge/automerge": "3.2.3",
|
|
48
|
+
"@effect-atom/atom": "^0.5.1",
|
|
49
|
+
"@effect-atom/atom-react": "^0.5.0",
|
|
50
|
+
"@effect/cli": "0.73.2",
|
|
41
51
|
"jszip": "^3.10.1",
|
|
42
52
|
"localforage": "^1.10.0",
|
|
43
53
|
"react-drag-drop-files": "^2.3.8",
|
|
44
54
|
"react-is": "~19.2.0",
|
|
45
55
|
"react-qr-rounded": "^1.0.0",
|
|
46
|
-
"@dxos/ai": "0.8.4-main.
|
|
47
|
-
"@dxos/async": "0.8.4-main.
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/
|
|
52
|
-
"@dxos/
|
|
53
|
-
"@dxos/
|
|
54
|
-
"@dxos/
|
|
55
|
-
"@dxos/
|
|
56
|
-
"@dxos/
|
|
57
|
-
"@dxos/
|
|
58
|
-
"@dxos/
|
|
59
|
-
"@dxos/
|
|
60
|
-
"@dxos/
|
|
61
|
-
"@dxos/
|
|
62
|
-
"@dxos/
|
|
63
|
-
"@dxos/
|
|
64
|
-
"@dxos/
|
|
65
|
-
"@dxos/plugin-
|
|
66
|
-
"@dxos/
|
|
67
|
-
"@dxos/plugin-
|
|
68
|
-
"@dxos/
|
|
69
|
-
"@dxos/
|
|
70
|
-
"@dxos/
|
|
71
|
-
"@dxos/
|
|
72
|
-
"@dxos/
|
|
73
|
-
"@dxos/
|
|
74
|
-
"@dxos/react-ui-
|
|
75
|
-
"@dxos/react-
|
|
76
|
-
"@dxos/react-ui
|
|
77
|
-
"@dxos/react-ui-
|
|
78
|
-
"@dxos/react-ui-
|
|
79
|
-
"@dxos/react-ui-
|
|
80
|
-
"@dxos/react-ui-
|
|
81
|
-
"@dxos/
|
|
82
|
-
"@dxos/
|
|
83
|
-
"@dxos/
|
|
56
|
+
"@dxos/ai": "0.8.4-main.d05673bc65",
|
|
57
|
+
"@dxos/async": "0.8.4-main.d05673bc65",
|
|
58
|
+
"@dxos/app-toolkit": "0.8.4-main.d05673bc65",
|
|
59
|
+
"@dxos/app-framework": "0.8.4-main.d05673bc65",
|
|
60
|
+
"@dxos/blueprints": "0.8.4-main.d05673bc65",
|
|
61
|
+
"@dxos/client": "0.8.4-main.d05673bc65",
|
|
62
|
+
"@dxos/cli-util": "0.8.4-main.d05673bc65",
|
|
63
|
+
"@dxos/client-protocol": "0.8.4-main.d05673bc65",
|
|
64
|
+
"@dxos/context": "0.8.4-main.d05673bc65",
|
|
65
|
+
"@dxos/display-name": "0.8.4-main.d05673bc65",
|
|
66
|
+
"@dxos/echo": "0.8.4-main.d05673bc65",
|
|
67
|
+
"@dxos/echo-db": "0.8.4-main.d05673bc65",
|
|
68
|
+
"@dxos/echo-protocol": "0.8.4-main.d05673bc65",
|
|
69
|
+
"@dxos/effect": "0.8.4-main.d05673bc65",
|
|
70
|
+
"@dxos/functions": "0.8.4-main.d05673bc65",
|
|
71
|
+
"@dxos/keys": "0.8.4-main.d05673bc65",
|
|
72
|
+
"@dxos/invariant": "0.8.4-main.d05673bc65",
|
|
73
|
+
"@dxos/log": "0.8.4-main.d05673bc65",
|
|
74
|
+
"@dxos/operation": "0.8.4-main.d05673bc65",
|
|
75
|
+
"@dxos/plugin-attention": "0.8.4-main.d05673bc65",
|
|
76
|
+
"@dxos/echo-atom": "0.8.4-main.d05673bc65",
|
|
77
|
+
"@dxos/plugin-client": "0.8.4-main.d05673bc65",
|
|
78
|
+
"@dxos/plugin-graph": "0.8.4-main.d05673bc65",
|
|
79
|
+
"@dxos/plugin-observability": "0.8.4-main.d05673bc65",
|
|
80
|
+
"@dxos/plugin-status-bar": "0.8.4-main.d05673bc65",
|
|
81
|
+
"@dxos/protocols": "0.8.4-main.d05673bc65",
|
|
82
|
+
"@dxos/plugin-deck": "0.8.4-main.d05673bc65",
|
|
83
|
+
"@dxos/migrations": "0.8.4-main.d05673bc65",
|
|
84
|
+
"@dxos/react-ui-attention": "0.8.4-main.d05673bc65",
|
|
85
|
+
"@dxos/react-client": "0.8.4-main.d05673bc65",
|
|
86
|
+
"@dxos/react-ui": "0.8.4-main.d05673bc65",
|
|
87
|
+
"@dxos/react-ui-components": "0.8.4-main.d05673bc65",
|
|
88
|
+
"@dxos/react-ui-editor": "0.8.4-main.d05673bc65",
|
|
89
|
+
"@dxos/react-ui-form": "0.8.4-main.d05673bc65",
|
|
90
|
+
"@dxos/react-ui-list": "0.8.4-main.d05673bc65",
|
|
91
|
+
"@dxos/react-ui-mosaic": "0.8.4-main.d05673bc65",
|
|
92
|
+
"@dxos/react-ui-masonry": "0.8.4-main.d05673bc65",
|
|
93
|
+
"@dxos/react-ui-pickers": "0.8.4-main.d05673bc65",
|
|
94
|
+
"@dxos/react-ui-searchlist": "0.8.4-main.d05673bc65",
|
|
95
|
+
"@dxos/react-ui-syntax-highlighter": "0.8.4-main.d05673bc65",
|
|
96
|
+
"@dxos/react-ui-tabs": "0.8.4-main.d05673bc65",
|
|
97
|
+
"@dxos/react-ui-stack": "0.8.4-main.d05673bc65",
|
|
98
|
+
"@dxos/schema": "0.8.4-main.d05673bc65",
|
|
99
|
+
"@dxos/shell": "0.8.4-main.d05673bc65",
|
|
100
|
+
"@dxos/types": "0.8.4-main.d05673bc65",
|
|
101
|
+
"@dxos/ui-theme": "0.8.4-main.d05673bc65",
|
|
102
|
+
"@dxos/ui-types": "0.8.4-main.d05673bc65",
|
|
103
|
+
"@dxos/util": "0.8.4-main.d05673bc65"
|
|
84
104
|
},
|
|
85
105
|
"devDependencies": {
|
|
106
|
+
"@atlaskit/pragmatic-drag-and-drop-hitbox": "1.1.0",
|
|
86
107
|
"@babel/core": "^7.18.13",
|
|
87
|
-
"@effect-
|
|
88
|
-
"@effect/platform": "0.
|
|
89
|
-
"@types/react": "~19.2.
|
|
90
|
-
"@types/react-dom": "~19.2.
|
|
91
|
-
"effect": "3.
|
|
92
|
-
"react": "~19.2.
|
|
93
|
-
"react-dom": "~19.2.
|
|
94
|
-
"vite": "7.1.
|
|
95
|
-
"@dxos/
|
|
96
|
-
"@dxos/
|
|
97
|
-
"@dxos/
|
|
98
|
-
"@dxos/
|
|
108
|
+
"@effect-atom/atom-react": "^0.5.0",
|
|
109
|
+
"@effect/platform": "0.94.4",
|
|
110
|
+
"@types/react": "~19.2.7",
|
|
111
|
+
"@types/react-dom": "~19.2.3",
|
|
112
|
+
"effect": "3.19.16",
|
|
113
|
+
"react": "~19.2.3",
|
|
114
|
+
"react-dom": "~19.2.3",
|
|
115
|
+
"vite": "^7.1.11",
|
|
116
|
+
"@dxos/lit-ui": "0.8.4-main.d05673bc65",
|
|
117
|
+
"@dxos/plugin-testing": "0.8.4-main.d05673bc65",
|
|
118
|
+
"@dxos/random": "0.8.4-main.d05673bc65",
|
|
119
|
+
"@dxos/react-ui": "0.8.4-main.d05673bc65",
|
|
120
|
+
"@dxos/storybook-utils": "0.8.4-main.d05673bc65",
|
|
121
|
+
"@dxos/ui-theme": "0.8.4-main.d05673bc65"
|
|
99
122
|
},
|
|
100
123
|
"peerDependencies": {
|
|
101
|
-
"@effect-
|
|
102
|
-
"@effect/platform": "
|
|
103
|
-
"effect": "
|
|
104
|
-
"react": "
|
|
105
|
-
"react-dom": "
|
|
106
|
-
"@dxos/
|
|
107
|
-
"@dxos/react-ui
|
|
124
|
+
"@effect-atom/atom-react": "^0.5.0",
|
|
125
|
+
"@effect/platform": "0.94.4",
|
|
126
|
+
"effect": "3.19.16",
|
|
127
|
+
"react": "~19.2.3",
|
|
128
|
+
"react-dom": "~19.2.3",
|
|
129
|
+
"@dxos/ui-theme": "0.8.4-main.d05673bc65",
|
|
130
|
+
"@dxos/react-ui": "0.8.4-main.d05673bc65"
|
|
108
131
|
},
|
|
109
132
|
"publishConfig": {
|
|
110
133
|
"access": "public"
|
package/src/SpacePlugin.ts
CHANGED
|
@@ -2,261 +2,209 @@
|
|
|
2
2
|
// Copyright 2025 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
+
import * as Effect from 'effect/Effect';
|
|
5
6
|
import * as Schema from 'effect/Schema';
|
|
6
7
|
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
createIntent,
|
|
13
|
-
defineModule,
|
|
14
|
-
definePlugin,
|
|
15
|
-
oneOf,
|
|
16
|
-
} from '@dxos/app-framework';
|
|
17
|
-
import { Ref, Type } from '@dxos/echo';
|
|
8
|
+
import { ActivationEvent, ActivationEvents, Capability, Plugin } from '@dxos/app-framework';
|
|
9
|
+
import { AppActivationEvents, AppPlugin } from '@dxos/app-toolkit';
|
|
10
|
+
import { Ref, Tag, Type } from '@dxos/echo';
|
|
11
|
+
import { Collection } from '@dxos/echo';
|
|
12
|
+
import { Operation } from '@dxos/operation';
|
|
18
13
|
import { AttentionEvents } from '@dxos/plugin-attention';
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
14
|
+
import { ClientEvents } from '@dxos/plugin-client/types';
|
|
15
|
+
import { translations as componentsTranslations } from '@dxos/react-ui-components';
|
|
16
|
+
import { translations as formTranslations } from '@dxos/react-ui-form';
|
|
17
|
+
import { DataTypes, createDefaultSchema } from '@dxos/schema';
|
|
21
18
|
import { translations as shellTranslations } from '@dxos/shell/react';
|
|
19
|
+
import {
|
|
20
|
+
AnchoredTo,
|
|
21
|
+
Employer,
|
|
22
|
+
Event,
|
|
23
|
+
HasConnection,
|
|
24
|
+
HasRelationship,
|
|
25
|
+
HasSubject,
|
|
26
|
+
Organization,
|
|
27
|
+
Person,
|
|
28
|
+
Pipeline,
|
|
29
|
+
Task,
|
|
30
|
+
} from '@dxos/types';
|
|
22
31
|
|
|
23
32
|
import {
|
|
24
33
|
AppGraphBuilder,
|
|
25
34
|
AppGraphSerializer,
|
|
26
35
|
IdentityCreated,
|
|
27
|
-
|
|
36
|
+
OperationResolver,
|
|
28
37
|
ReactRoot,
|
|
29
38
|
ReactSurface,
|
|
30
|
-
|
|
31
|
-
SpaceCapabilities,
|
|
39
|
+
Repair,
|
|
32
40
|
SpaceSettings,
|
|
33
41
|
SpaceState,
|
|
34
42
|
SpacesReady,
|
|
35
43
|
} from './capabilities';
|
|
36
|
-
import { SpaceEvents } from './events';
|
|
37
44
|
import { meta } from './meta';
|
|
38
45
|
import { translations } from './translations';
|
|
39
|
-
import {
|
|
40
|
-
|
|
41
|
-
export type SpacePluginOptions = {
|
|
42
|
-
/**
|
|
43
|
-
* Base URL for the invitation link.
|
|
44
|
-
*/
|
|
45
|
-
invitationUrl?: string;
|
|
46
|
+
import { SpaceEvents } from './types';
|
|
47
|
+
import { type CreateObject, SpaceOperation, type SpacePluginOptions } from './types';
|
|
46
48
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
export const SpacePlugin = Plugin.define<SpacePluginOptions>(meta).pipe(
|
|
50
|
+
AppPlugin.addMetadataModule({
|
|
51
|
+
metadata: [
|
|
52
|
+
{
|
|
53
|
+
id: Collection.Collection.typename,
|
|
54
|
+
metadata: {
|
|
55
|
+
icon: 'ph--folder--regular',
|
|
56
|
+
iconHue: 'neutral',
|
|
57
|
+
// TODO(wittjosiah): Move out of metadata.
|
|
58
|
+
loadReferences: async (collection: Collection.Collection) => await Ref.Array.loadAll(collection.objects),
|
|
59
|
+
inputSchema: Schema.Struct({ name: Schema.optional(Schema.String) }),
|
|
60
|
+
createObject: ((props) => Effect.sync(() => Collection.make(props))) satisfies CreateObject,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
id: Type.getTypename(Type.PersistentType),
|
|
65
|
+
metadata: {
|
|
66
|
+
icon: 'ph--database--regular',
|
|
67
|
+
iconHue: 'green',
|
|
68
|
+
inputSchema: SpaceOperation.StoredSchemaForm,
|
|
69
|
+
createObject: ((props, { db }) =>
|
|
70
|
+
Effect.gen(function* () {
|
|
71
|
+
const result = yield* Operation.invoke(SpaceOperation.AddSchema, {
|
|
72
|
+
db,
|
|
73
|
+
name: props.name,
|
|
74
|
+
schema: createDefaultSchema(),
|
|
75
|
+
});
|
|
76
|
+
return result.object;
|
|
77
|
+
})) satisfies CreateObject,
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: Organization.Organization.typename,
|
|
82
|
+
metadata: {
|
|
83
|
+
icon: 'ph--building-office--regular',
|
|
84
|
+
iconHue: 'neutral',
|
|
85
|
+
createObject: ((props) => Effect.sync(() => Organization.make(props))) satisfies CreateObject,
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
id: Person.Person.typename,
|
|
90
|
+
metadata: {
|
|
91
|
+
icon: 'ph--user--regular',
|
|
92
|
+
iconHue: 'neutral',
|
|
93
|
+
createObject: ((props) => Effect.sync(() => Person.make(props))) satisfies CreateObject,
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
id: Task.Task.typename,
|
|
98
|
+
metadata: {
|
|
99
|
+
icon: 'ph--check-circle--regular',
|
|
100
|
+
iconHue: 'neutral',
|
|
101
|
+
inputSchema: Task.Task,
|
|
102
|
+
createObject: ((props) => Effect.sync(() => Task.make(props))) satisfies CreateObject,
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
}),
|
|
107
|
+
AppPlugin.addReactRootModule({ activate: ReactRoot }),
|
|
108
|
+
AppPlugin.addSchemaModule({
|
|
109
|
+
schema: [
|
|
110
|
+
...DataTypes,
|
|
111
|
+
AnchoredTo.AnchoredTo,
|
|
112
|
+
Employer.Employer,
|
|
113
|
+
Event.Event,
|
|
114
|
+
HasConnection.HasConnection,
|
|
115
|
+
HasRelationship.HasRelationship,
|
|
116
|
+
HasSubject.HasSubject,
|
|
117
|
+
Organization.Organization,
|
|
118
|
+
Person.Person,
|
|
119
|
+
Pipeline.Pipeline,
|
|
120
|
+
Tag.Tag,
|
|
121
|
+
Task.Task,
|
|
122
|
+
],
|
|
123
|
+
}),
|
|
124
|
+
AppPlugin.addSettingsModule({ activate: SpaceSettings }),
|
|
125
|
+
AppPlugin.addTranslationsModule({
|
|
126
|
+
translations: [...translations, ...componentsTranslations, ...formTranslations, ...shellTranslations],
|
|
127
|
+
}),
|
|
128
|
+
Plugin.addModule({
|
|
129
|
+
// TODO(wittjosiah): Does not integrate with settings store.
|
|
130
|
+
// Should this be a different event?
|
|
131
|
+
// Should settings store be renamed to be more generic?
|
|
132
|
+
activatesOn: ActivationEvent.oneOf(AppActivationEvents.SetupSettings, AppActivationEvents.SetupAppGraph),
|
|
133
|
+
activatesAfter: [SpaceEvents.StateReady],
|
|
134
|
+
activate: SpaceState,
|
|
135
|
+
}),
|
|
136
|
+
Plugin.addModule(
|
|
137
|
+
({
|
|
138
|
+
shareableLinkOrigin = typeof window !== 'undefined' ? window.location.origin : 'http://localhost',
|
|
139
|
+
invitationPath = '/',
|
|
140
|
+
invitationProp = 'spaceInvitationCode',
|
|
141
|
+
}) => {
|
|
142
|
+
const createInvitationUrl = (invitationCode: string) => {
|
|
143
|
+
const baseUrl = new URL(invitationPath || '/', shareableLinkOrigin);
|
|
144
|
+
baseUrl.searchParams.set(invitationProp, invitationCode);
|
|
145
|
+
return baseUrl.toString();
|
|
146
|
+
};
|
|
51
147
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
observability?: boolean;
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export const SpacePlugin = definePlugin<SpacePluginOptions>(
|
|
59
|
-
meta,
|
|
60
|
-
({ invitationUrl = window.location.origin, invitationParam = 'spaceInvitationCode', observability = false }) => {
|
|
61
|
-
const createInvitationUrl = (invitationCode: string) => {
|
|
62
|
-
const baseUrl = new URL(invitationUrl);
|
|
63
|
-
baseUrl.searchParams.set(invitationParam, invitationCode);
|
|
64
|
-
return baseUrl.toString();
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
return [
|
|
68
|
-
defineModule({
|
|
69
|
-
id: `${meta.id}/module/state`,
|
|
70
|
-
// TODO(wittjosiah): Does not integrate with settings store.
|
|
71
|
-
// Should this be a different event?
|
|
72
|
-
// Should settings store be renamed to be more generic?
|
|
73
|
-
activatesOn: oneOf(Events.SetupSettings, Events.SetupAppGraph),
|
|
74
|
-
activatesAfter: [SpaceEvents.StateReady],
|
|
75
|
-
activate: SpaceState,
|
|
76
|
-
}),
|
|
77
|
-
defineModule({
|
|
78
|
-
id: `${meta.id}/module/settings`,
|
|
79
|
-
activatesOn: Events.SetupSettings,
|
|
80
|
-
activate: SpaceSettings,
|
|
81
|
-
}),
|
|
82
|
-
defineModule({
|
|
83
|
-
id: `${meta.id}/module/translations`,
|
|
84
|
-
activatesOn: Events.SetupTranslations,
|
|
85
|
-
activate: () => contributes(Capabilities.Translations, [...translations, ...shellTranslations]),
|
|
86
|
-
}),
|
|
87
|
-
defineModule({
|
|
88
|
-
id: `${meta.id}/module/metadata`,
|
|
89
|
-
activatesOn: Events.SetupMetadata,
|
|
90
|
-
activate: () => [
|
|
91
|
-
contributes(Capabilities.Metadata, {
|
|
92
|
-
id: Type.getTypename(DataType.Collection),
|
|
93
|
-
metadata: {
|
|
94
|
-
icon: 'ph--cards-three--regular',
|
|
95
|
-
// TODO(wittjosiah): Move out of metadata.
|
|
96
|
-
loadReferences: async (collection: DataType.Collection) => await Ref.Array.loadAll(collection.objects),
|
|
97
|
-
},
|
|
98
|
-
}),
|
|
99
|
-
contributes(Capabilities.Metadata, {
|
|
100
|
-
id: Type.getTypename(DataType.QueryCollection),
|
|
101
|
-
metadata: {
|
|
102
|
-
label: (object: DataType.QueryCollection) => [
|
|
103
|
-
'typename label',
|
|
104
|
-
{
|
|
105
|
-
ns: getTypenameFromQuery(object.query),
|
|
106
|
-
count: 2,
|
|
107
|
-
defaultValue: 'New smart collection',
|
|
108
|
-
},
|
|
109
|
-
],
|
|
110
|
-
icon: 'ph--funnel-simple--regular',
|
|
111
|
-
},
|
|
112
|
-
}),
|
|
113
|
-
contributes(Capabilities.Metadata, {
|
|
114
|
-
id: Type.getTypename(DataType.StoredSchema),
|
|
115
|
-
metadata: {
|
|
116
|
-
icon: 'ph--database--regular',
|
|
117
|
-
},
|
|
118
|
-
}),
|
|
119
|
-
contributes(Capabilities.Metadata, {
|
|
120
|
-
id: Type.getTypename(DataType.Event),
|
|
121
|
-
metadata: {
|
|
122
|
-
icon: 'ph--calendar-dot--regular',
|
|
123
|
-
},
|
|
124
|
-
}),
|
|
125
|
-
contributes(Capabilities.Metadata, {
|
|
126
|
-
id: Type.getTypename(DataType.Organization),
|
|
127
|
-
metadata: {
|
|
128
|
-
icon: 'ph--building-office--regular',
|
|
129
|
-
},
|
|
130
|
-
}),
|
|
131
|
-
contributes(Capabilities.Metadata, {
|
|
132
|
-
id: Type.getTypename(DataType.Person),
|
|
133
|
-
metadata: {
|
|
134
|
-
icon: 'ph--user--regular',
|
|
135
|
-
},
|
|
136
|
-
}),
|
|
137
|
-
contributes(Capabilities.Metadata, {
|
|
138
|
-
id: Type.getTypename(DataType.Task),
|
|
139
|
-
metadata: {
|
|
140
|
-
icon: 'ph--check-circle--regular',
|
|
141
|
-
},
|
|
142
|
-
}),
|
|
143
|
-
],
|
|
144
|
-
}),
|
|
145
|
-
defineModule({
|
|
146
|
-
id: `${meta.id}/module/object-form`,
|
|
147
|
-
activatesOn: ClientEvents.SetupSchema,
|
|
148
|
-
activate: () => [
|
|
149
|
-
contributes(
|
|
150
|
-
SpaceCapabilities.ObjectForm,
|
|
151
|
-
defineObjectForm({
|
|
152
|
-
objectSchema: DataType.Collection,
|
|
153
|
-
formSchema: Schema.Struct({ name: Schema.optional(Schema.String) }),
|
|
154
|
-
getIntent: (props) => createIntent(CollectionAction.Create, props),
|
|
155
|
-
}),
|
|
156
|
-
),
|
|
157
|
-
contributes(
|
|
158
|
-
SpaceCapabilities.ObjectForm,
|
|
159
|
-
defineObjectForm({
|
|
160
|
-
// TODO(wittjosiah): Remove cast.
|
|
161
|
-
objectSchema: DataType.QueryCollection as any,
|
|
162
|
-
formSchema: CollectionAction.QueryCollectionForm,
|
|
163
|
-
getIntent: (props) => createIntent(CollectionAction.CreateQueryCollection, props),
|
|
164
|
-
}),
|
|
165
|
-
),
|
|
166
|
-
contributes(
|
|
167
|
-
SpaceCapabilities.ObjectForm,
|
|
168
|
-
defineObjectForm({
|
|
169
|
-
objectSchema: DataType.StoredSchema,
|
|
170
|
-
formSchema: SpaceAction.StoredSchemaForm,
|
|
171
|
-
getIntent: (props, options) =>
|
|
172
|
-
props.typename
|
|
173
|
-
? createIntent(SpaceAction.UseStaticSchema, { space: options.space, typename: props.typename })
|
|
174
|
-
: createIntent(SpaceAction.AddSchema, {
|
|
175
|
-
space: options.space,
|
|
176
|
-
name: props.name,
|
|
177
|
-
schema: createDefaultSchema(),
|
|
178
|
-
}),
|
|
179
|
-
}),
|
|
180
|
-
),
|
|
181
|
-
],
|
|
182
|
-
}),
|
|
183
|
-
defineModule({
|
|
184
|
-
id: `${meta.id}/module/schema-defs`,
|
|
185
|
-
activatesOn: ClientEvents.ClientReady,
|
|
186
|
-
activatesBefore: [ClientEvents.SetupSchema],
|
|
187
|
-
activate: SchemaDefs,
|
|
188
|
-
}),
|
|
189
|
-
defineModule({
|
|
190
|
-
id: `${meta.id}/module/schema`,
|
|
191
|
-
activatesOn: ClientEvents.SetupSchema,
|
|
192
|
-
activate: () =>
|
|
193
|
-
contributes(ClientCapabilities.Schema, [
|
|
194
|
-
DataType.View,
|
|
195
|
-
DataType.Event,
|
|
196
|
-
DataType.Organization,
|
|
197
|
-
DataType.Person,
|
|
198
|
-
DataType.Project,
|
|
199
|
-
DataType.Task,
|
|
200
|
-
]),
|
|
201
|
-
}),
|
|
202
|
-
defineModule({
|
|
203
|
-
id: `${meta.id}/module/whitelist-schema`,
|
|
204
|
-
activatesOn: ClientEvents.SetupSchema,
|
|
205
|
-
activate: () =>
|
|
206
|
-
contributes(ClientCapabilities.SchemaWhiteList, [
|
|
207
|
-
DataType.Event,
|
|
208
|
-
DataType.Organization,
|
|
209
|
-
DataType.Person,
|
|
210
|
-
DataType.Project,
|
|
211
|
-
DataType.Task,
|
|
212
|
-
]),
|
|
213
|
-
}),
|
|
214
|
-
defineModule({
|
|
215
|
-
id: `${meta.id}/module/react-root`,
|
|
216
|
-
activatesOn: Events.Startup,
|
|
217
|
-
activate: ReactRoot,
|
|
218
|
-
}),
|
|
219
|
-
defineModule({
|
|
220
|
-
id: `${meta.id}/module/react-surface`,
|
|
221
|
-
activatesOn: Events.SetupReactSurface,
|
|
148
|
+
return {
|
|
149
|
+
id: Capability.getModuleTag(ReactSurface),
|
|
150
|
+
activatesOn: ActivationEvents.SetupReactSurface,
|
|
222
151
|
// TODO(wittjosiah): Should occur before the settings dialog is loaded when surfaces activation is more granular.
|
|
223
152
|
activatesBefore: [SpaceEvents.SetupSettingsPanel],
|
|
224
153
|
activate: () => ReactSurface({ createInvitationUrl }),
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
id:
|
|
250
|
-
activatesOn:
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
154
|
+
};
|
|
155
|
+
},
|
|
156
|
+
),
|
|
157
|
+
Plugin.addModule(
|
|
158
|
+
({ shareableLinkOrigin = typeof window !== 'undefined' ? window.location.origin : 'http://localhost' }) => ({
|
|
159
|
+
id: Capability.getModuleTag(AppGraphBuilder),
|
|
160
|
+
activatesOn: AppActivationEvents.SetupAppGraph,
|
|
161
|
+
activate: () => AppGraphBuilder({ shareableLinkOrigin }),
|
|
162
|
+
}),
|
|
163
|
+
),
|
|
164
|
+
Plugin.addModule(
|
|
165
|
+
({
|
|
166
|
+
shareableLinkOrigin = typeof window !== 'undefined' ? window.location.origin : 'http://localhost',
|
|
167
|
+
invitationPath = '/',
|
|
168
|
+
invitationProp = 'spaceInvitationCode',
|
|
169
|
+
observability = false,
|
|
170
|
+
}) => {
|
|
171
|
+
const createInvitationUrl = (invitationCode: string) => {
|
|
172
|
+
const baseUrl = new URL(invitationPath || '/', shareableLinkOrigin);
|
|
173
|
+
baseUrl.searchParams.set(invitationProp, invitationCode);
|
|
174
|
+
return baseUrl.toString();
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
return {
|
|
178
|
+
id: Capability.getModuleTag(OperationResolver),
|
|
179
|
+
activatesOn: ActivationEvents.SetupOperationResolver,
|
|
180
|
+
activate: () => OperationResolver({ createInvitationUrl, observability }),
|
|
181
|
+
};
|
|
182
|
+
},
|
|
183
|
+
),
|
|
184
|
+
// TODO(wittjosiah): This could probably be deferred.
|
|
185
|
+
Plugin.addModule({
|
|
186
|
+
activatesOn: AppActivationEvents.AppGraphReady,
|
|
187
|
+
activate: AppGraphSerializer,
|
|
188
|
+
}),
|
|
189
|
+
Plugin.addModule({
|
|
190
|
+
activatesOn: ClientEvents.IdentityCreated,
|
|
191
|
+
activatesAfter: [SpaceEvents.DefaultSpaceReady],
|
|
192
|
+
activate: IdentityCreated,
|
|
193
|
+
}),
|
|
194
|
+
Plugin.addModule({
|
|
195
|
+
activatesOn: ActivationEvent.allOf(
|
|
196
|
+
ActivationEvents.OperationInvokerReady,
|
|
197
|
+
AppActivationEvents.LayoutReady,
|
|
198
|
+
AppActivationEvents.AppGraphReady,
|
|
199
|
+
AttentionEvents.AttentionReady,
|
|
200
|
+
SpaceEvents.StateReady,
|
|
201
|
+
ClientEvents.SpacesReady,
|
|
202
|
+
),
|
|
203
|
+
activate: SpacesReady,
|
|
204
|
+
}),
|
|
205
|
+
Plugin.addModule({
|
|
206
|
+
activatesOn: ClientEvents.SpacesReady,
|
|
207
|
+
activate: Repair,
|
|
208
|
+
}),
|
|
209
|
+
Plugin.make,
|
|
262
210
|
);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import * as Effect from 'effect/Effect';
|
|
6
|
+
|
|
7
|
+
import { Capability } from '@dxos/app-framework';
|
|
8
|
+
import { AppCapabilities } from '@dxos/app-toolkit';
|
|
9
|
+
|
|
10
|
+
import { type SpacePluginOptions } from '../../types';
|
|
11
|
+
|
|
12
|
+
import {
|
|
13
|
+
createCollectionExtensions,
|
|
14
|
+
createCompanionExtensions,
|
|
15
|
+
createSettingsExtensions,
|
|
16
|
+
createSpaceExtensions,
|
|
17
|
+
createTypeExtensions,
|
|
18
|
+
} from './extensions';
|
|
19
|
+
|
|
20
|
+
export default Capability.makeModule(
|
|
21
|
+
Effect.fnUntraced(function* ({ shareableLinkOrigin = window.location.origin }: SpacePluginOptions = {}) {
|
|
22
|
+
const extensions = yield* Effect.all([
|
|
23
|
+
createSpaceExtensions(),
|
|
24
|
+
createTypeExtensions(),
|
|
25
|
+
createCollectionExtensions({ shareableLinkOrigin }),
|
|
26
|
+
createCompanionExtensions(),
|
|
27
|
+
createSettingsExtensions(),
|
|
28
|
+
]);
|
|
29
|
+
|
|
30
|
+
return Capability.contributes(AppCapabilities.AppGraphBuilder, extensions.flat());
|
|
31
|
+
}),
|
|
32
|
+
);
|