@dxos/plugin-space 0.8.4-main.3c1ae3b → 0.8.4-main.3eb6e50203
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-XXLUNK3F.mjs +127 -0
- package/dist/lib/browser/CollectionArticle-XXLUNK3F.mjs.map +7 -0
- package/dist/lib/browser/ObjectCardStack-CXNBCSMR.mjs +148 -0
- package/dist/lib/browser/ObjectCardStack-CXNBCSMR.mjs.map +7 -0
- package/dist/lib/browser/ObjectDetails-HXV4IQEM.mjs +143 -0
- package/dist/lib/browser/ObjectDetails-HXV4IQEM.mjs.map +7 -0
- package/dist/lib/browser/RecordArticle-36LDKFWF.mjs +108 -0
- package/dist/lib/browser/RecordArticle-36LDKFWF.mjs.map +7 -0
- package/dist/lib/browser/app-graph-builder-GLV46QSI.mjs +530 -0
- package/dist/lib/browser/app-graph-builder-GLV46QSI.mjs.map +7 -0
- package/dist/lib/browser/app-graph-serializer-VOLRDNVE.mjs +85 -0
- package/dist/lib/browser/app-graph-serializer-VOLRDNVE.mjs.map +7 -0
- package/dist/lib/browser/{chunk-POFUXISV.mjs → chunk-7D63MVRS.mjs} +6 -5
- package/dist/lib/browser/chunk-7D63MVRS.mjs.map +7 -0
- package/dist/lib/browser/{chunk-5CSSKOWR.mjs → chunk-A7ZCVQGZ.mjs} +43 -45
- package/dist/lib/browser/chunk-A7ZCVQGZ.mjs.map +7 -0
- package/dist/lib/browser/chunk-ASV6DYFH.mjs +19 -0
- package/dist/lib/browser/chunk-ASV6DYFH.mjs.map +7 -0
- package/dist/lib/browser/chunk-CMLRMQNM.mjs +1889 -0
- package/dist/lib/browser/chunk-CMLRMQNM.mjs.map +7 -0
- package/dist/lib/browser/{chunk-VZBIIYFM.mjs → chunk-HSMQFM57.mjs} +1 -1
- package/dist/lib/browser/chunk-HSMQFM57.mjs.map +7 -0
- package/dist/lib/browser/chunk-KGLWYGIF.mjs +715 -0
- package/dist/lib/browser/chunk-KGLWYGIF.mjs.map +7 -0
- package/dist/lib/browser/chunk-NF3ZFAB4.mjs +13 -0
- package/dist/lib/browser/chunk-NF3ZFAB4.mjs.map +7 -0
- package/dist/lib/browser/{chunk-IJCMB5B5.mjs → chunk-WAOJLA2S.mjs} +195 -196
- package/dist/lib/browser/chunk-WAOJLA2S.mjs.map +7 -0
- package/dist/lib/browser/cli/index.mjs +851 -0
- package/dist/lib/browser/cli/index.mjs.map +7 -0
- package/dist/lib/browser/identity-created-VCFYLSBB.mjs +23 -0
- package/dist/lib/browser/identity-created-VCFYLSBB.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +215 -189
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/operation-resolver-PJJ3PCM7.mjs +830 -0
- package/dist/lib/browser/operation-resolver-PJJ3PCM7.mjs.map +7 -0
- package/dist/lib/browser/react-root-ITWAPZIY.mjs +30 -0
- package/dist/lib/browser/react-root-ITWAPZIY.mjs.map +7 -0
- package/dist/lib/browser/react-surface-6GD6K4I4.mjs +383 -0
- package/dist/lib/browser/react-surface-6GD6K4I4.mjs.map +7 -0
- package/dist/lib/browser/{repair-CNLE35NF.mjs → repair-DKU4TUD2.mjs} +16 -10
- package/dist/lib/browser/repair-DKU4TUD2.mjs.map +7 -0
- package/dist/lib/browser/settings-M2DMD2ZA.mjs +34 -0
- package/dist/lib/browser/settings-M2DMD2ZA.mjs.map +7 -0
- package/dist/lib/browser/spaces-ready-XWJUJ43N.mjs +243 -0
- package/dist/lib/browser/spaces-ready-XWJUJ43N.mjs.map +7 -0
- package/dist/lib/browser/state-V637BLIM.mjs +58 -0
- package/dist/lib/browser/state-V637BLIM.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +10 -8
- package/dist/lib/node-esm/CollectionArticle-KFFKKP37.mjs +128 -0
- package/dist/lib/node-esm/CollectionArticle-KFFKKP37.mjs.map +7 -0
- package/dist/lib/node-esm/ObjectCardStack-EHXPNRQW.mjs +149 -0
- package/dist/lib/node-esm/ObjectCardStack-EHXPNRQW.mjs.map +7 -0
- package/dist/lib/node-esm/ObjectDetails-N73UI4ZL.mjs +144 -0
- package/dist/lib/node-esm/ObjectDetails-N73UI4ZL.mjs.map +7 -0
- package/dist/lib/node-esm/RecordArticle-CMEXNNOZ.mjs +109 -0
- package/dist/lib/node-esm/RecordArticle-CMEXNNOZ.mjs.map +7 -0
- package/dist/lib/node-esm/app-graph-builder-KCEHEKVS.mjs +531 -0
- package/dist/lib/node-esm/app-graph-builder-KCEHEKVS.mjs.map +7 -0
- package/dist/lib/node-esm/app-graph-serializer-7C4MV5NB.mjs +86 -0
- package/dist/lib/node-esm/app-graph-serializer-7C4MV5NB.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-2NM62ORP.mjs +1890 -0
- package/dist/lib/node-esm/chunk-2NM62ORP.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-AX3UGL5D.mjs → chunk-5N3YIAXD.mjs} +6 -5
- package/dist/lib/node-esm/chunk-5N3YIAXD.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-UMZ7G6G4.mjs → chunk-A5A7M37T.mjs} +43 -45
- package/dist/lib/node-esm/chunk-A5A7M37T.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-CVXULIYC.mjs +20 -0
- package/dist/lib/node-esm/chunk-CVXULIYC.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-3D4NGZPW.mjs → chunk-FB5YNROS.mjs} +195 -196
- package/dist/lib/node-esm/chunk-FB5YNROS.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-NYSDQPNM.mjs +716 -0
- package/dist/lib/node-esm/chunk-NYSDQPNM.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-PG7DNOEX.mjs +15 -0
- package/dist/lib/node-esm/chunk-PG7DNOEX.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-BDEFTL6K.mjs → chunk-SL4BJSUG.mjs} +1 -1
- package/dist/lib/node-esm/chunk-SL4BJSUG.mjs.map +7 -0
- package/dist/lib/node-esm/cli/index.mjs +852 -0
- package/dist/lib/node-esm/cli/index.mjs.map +7 -0
- package/dist/lib/node-esm/identity-created-2SJABVJD.mjs +25 -0
- package/dist/lib/node-esm/identity-created-2SJABVJD.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +215 -189
- 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-2K7N4KYC.mjs +831 -0
- package/dist/lib/node-esm/operation-resolver-2K7N4KYC.mjs.map +7 -0
- package/dist/lib/node-esm/react-root-GIQAKDQ2.mjs +31 -0
- package/dist/lib/node-esm/react-root-GIQAKDQ2.mjs.map +7 -0
- package/dist/lib/node-esm/react-surface-KWP2DNFG.mjs +384 -0
- package/dist/lib/node-esm/react-surface-KWP2DNFG.mjs.map +7 -0
- package/dist/lib/node-esm/{repair-EHZS6MFY.mjs → repair-C2H6JQCL.mjs} +16 -10
- package/dist/lib/node-esm/repair-C2H6JQCL.mjs.map +7 -0
- package/dist/lib/node-esm/settings-VCPCNBOY.mjs +35 -0
- package/dist/lib/node-esm/settings-VCPCNBOY.mjs.map +7 -0
- package/dist/lib/node-esm/spaces-ready-5JOGEWON.mjs +244 -0
- package/dist/lib/node-esm/spaces-ready-5JOGEWON.mjs.map +7 -0
- package/dist/lib/node-esm/state-5MCEPWN3.mjs +59 -0
- package/dist/lib/node-esm/state-5MCEPWN3.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +10 -8
- 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 +7 -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/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 +17 -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.d.ts.map +1 -1
- package/dist/types/src/components/CollectionArticle.d.ts +6 -3
- package/dist/types/src/components/CollectionArticle.d.ts.map +1 -1
- package/dist/types/src/components/CollectionSection.d.ts +1 -1
- package/dist/types/src/components/CollectionSection.d.ts.map +1 -1
- package/dist/types/src/components/CreateDialog/CreateObjectDialog.d.ts +2 -2
- package/dist/types/src/components/CreateDialog/CreateObjectDialog.d.ts.map +1 -1
- package/dist/types/src/components/CreateDialog/CreateObjectDialog.stories.d.ts +17 -7
- package/dist/types/src/components/CreateDialog/CreateObjectDialog.stories.d.ts.map +1 -1
- package/dist/types/src/components/CreateDialog/CreateObjectPanel.d.ts +9 -5
- package/dist/types/src/components/CreateDialog/CreateObjectPanel.d.ts.map +1 -1
- package/dist/types/src/components/CreateDialog/CreateSpaceDialog.d.ts.map +1 -1
- package/dist/types/src/components/JoinDialog/JoinDialog.d.ts.map +1 -1
- package/dist/types/src/components/MembersContainer/MembersContainer.d.ts.map +1 -1
- package/dist/types/src/components/MembersContainer/MembersContainer.stories.d.ts +11 -2
- package/dist/types/src/components/MembersContainer/MembersContainer.stories.d.ts.map +1 -1
- package/dist/types/src/components/MenuFooter.d.ts +1 -1
- package/dist/types/src/components/MenuFooter.d.ts.map +1 -1
- package/dist/types/src/components/ObjectCardStack/ObjectCardStack.d.ts +1 -1
- package/dist/types/src/components/ObjectCardStack/ObjectCardStack.d.ts.map +1 -1
- package/dist/types/src/components/ObjectCardStack/ObjectForm.d.ts +1 -1
- package/dist/types/src/components/ObjectCardStack/ObjectForm.d.ts.map +1 -1
- package/dist/types/src/components/ObjectDetails/BaseObjectSettings.d.ts +1 -1
- package/dist/types/src/components/ObjectDetails/BaseObjectSettings.d.ts.map +1 -1
- package/dist/types/src/components/ObjectDetails/BaseObjectSettings.stories.d.ts +9 -0
- package/dist/types/src/components/ObjectDetails/BaseObjectSettings.stories.d.ts.map +1 -1
- package/dist/types/src/components/ObjectDetails/ObjectDetails.d.ts +6 -5
- package/dist/types/src/components/ObjectDetails/ObjectDetails.d.ts.map +1 -1
- package/dist/types/src/components/ObjectRenamePopover/ObjectRenamePopover.d.ts +1 -1
- package/dist/types/src/components/ObjectRenamePopover/ObjectRenamePopover.d.ts.map +1 -1
- package/dist/types/src/components/RecordArticle.d.ts +2 -2
- package/dist/types/src/components/RecordArticle.d.ts.map +1 -1
- package/dist/types/src/components/RecordArticle.stories.d.ts +11 -2
- package/dist/types/src/components/RecordArticle.stories.d.ts.map +1 -1
- package/dist/types/src/components/SchemaContainer.d.ts.map +1 -1
- package/dist/types/src/components/SpacePluginSettings.d.ts +4 -2
- package/dist/types/src/components/SpacePluginSettings.d.ts.map +1 -1
- package/dist/types/src/components/SpacePresence/SpacePresence.d.ts +4 -4
- package/dist/types/src/components/SpacePresence/SpacePresence.d.ts.map +1 -1
- package/dist/types/src/components/SpacePresence/SpacePresence.stories.d.ts +9 -0
- package/dist/types/src/components/SpacePresence/SpacePresence.stories.d.ts.map +1 -1
- package/dist/types/src/components/SpaceRenamePopover/SpaceRenamePopover.d.ts.map +1 -1
- package/dist/types/src/components/SpaceSettings/SpaceSettingsContainer.d.ts +4 -1
- package/dist/types/src/components/SpaceSettings/SpaceSettingsContainer.d.ts.map +1 -1
- package/dist/types/src/components/SpaceSettings/SpaceSettingsContainer.stories.d.ts +13 -1
- package/dist/types/src/components/SpaceSettings/SpaceSettingsContainer.stories.d.ts.map +1 -1
- package/dist/types/src/components/SyncStatus/SyncStatus.stories.d.ts +9 -0
- package/dist/types/src/components/SyncStatus/SyncStatus.stories.d.ts.map +1 -1
- package/dist/types/src/components/ViewEditor.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +11 -6
- 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/helpers/query.d.ts +3 -3
- package/dist/types/src/helpers/query.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/usePath.d.ts +2 -2
- package/dist/types/src/hooks/usePath.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -2
- 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 +9 -0
- 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/index.d.ts +2 -0
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +643 -354
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/src/util.d.ts +36 -31
- package/dist/types/src/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +83 -69
- package/src/SpacePlugin.ts +174 -194
- package/src/capabilities/app-graph-builder/app-graph-builder.ts +621 -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 +762 -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 +377 -0
- package/src/capabilities/repair/index.ts +7 -0
- package/src/capabilities/{repair.ts → repair/repair.ts} +21 -11
- 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 +64 -0
- package/src/cli/commands/database/add.ts +115 -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 +14 -10
- package/src/components/CollectionArticle.tsx +142 -19
- package/src/components/CollectionSection.tsx +1 -1
- package/src/components/CreateDialog/CreateObjectDialog.stories.tsx +28 -22
- package/src/components/CreateDialog/CreateObjectDialog.tsx +55 -60
- package/src/components/CreateDialog/CreateObjectPanel.tsx +102 -52
- package/src/components/CreateDialog/CreateSpaceDialog.tsx +34 -51
- package/src/components/JoinDialog/JoinDialog.tsx +26 -52
- package/src/components/MembersContainer/MembersContainer.stories.tsx +3 -3
- package/src/components/MembersContainer/MembersContainer.tsx +76 -81
- package/src/components/MenuFooter.tsx +1 -1
- package/src/components/ObjectCardStack/ObjectCardStack.tsx +13 -10
- package/src/components/ObjectCardStack/ObjectForm.tsx +34 -27
- package/src/components/ObjectDetails/BaseObjectSettings.stories.tsx +8 -8
- package/src/components/ObjectDetails/BaseObjectSettings.tsx +35 -31
- package/src/components/ObjectDetails/ObjectDetails.tsx +9 -11
- package/src/components/ObjectRenamePopover/ObjectRenamePopover.tsx +9 -13
- package/src/components/RecordArticle.stories.tsx +14 -13
- package/src/components/RecordArticle.tsx +47 -37
- package/src/components/SchemaContainer.tsx +20 -17
- package/src/components/SpacePluginSettings.tsx +42 -35
- package/src/components/SpacePresence/SpacePresence.stories.tsx +1 -1
- package/src/components/SpacePresence/SpacePresence.tsx +15 -16
- package/src/components/SpaceRenamePopover/SpaceRenamePopover.tsx +11 -12
- package/src/components/SpaceSettings/SpaceSettingsContainer.stories.tsx +5 -5
- package/src/components/SpaceSettings/SpaceSettingsContainer.tsx +165 -182
- package/src/components/SyncStatus/InlineSyncStatus.tsx +1 -1
- package/src/components/SyncStatus/SyncStatus.stories.tsx +1 -1
- package/src/components/SyncStatus/SyncStatus.tsx +1 -1
- package/src/components/SyncStatus/save-tracker.ts +2 -2
- package/src/components/ViewEditor.tsx +16 -12
- package/src/constants.ts +11 -0
- package/src/helpers/query.ts +7 -6
- package/src/hooks/useActiveSpace.ts +8 -5
- package/src/hooks/useInputSurfaceLookup.tsx +3 -3
- package/src/hooks/usePath.ts +4 -4
- package/src/index.ts +1 -2
- package/src/meta.ts +2 -2
- package/src/translations.ts +4 -2
- package/src/types/capabilities.ts +73 -0
- package/src/types/events.ts +16 -0
- package/src/types/index.ts +2 -0
- package/src/types/types.ts +533 -245
- package/src/util.tsx +222 -230
- package/dist/lib/browser/CollectionArticle-WTHWY4YS.mjs +0 -31
- package/dist/lib/browser/CollectionArticle-WTHWY4YS.mjs.map +0 -7
- package/dist/lib/browser/ObjectCardStack-TE7AWPMH.mjs +0 -144
- package/dist/lib/browser/ObjectCardStack-TE7AWPMH.mjs.map +0 -7
- package/dist/lib/browser/ObjectDetails-666IBRHE.mjs +0 -144
- package/dist/lib/browser/ObjectDetails-666IBRHE.mjs.map +0 -7
- package/dist/lib/browser/RecordArticle-2PFEBPXY.mjs +0 -116
- package/dist/lib/browser/RecordArticle-2PFEBPXY.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-USKWFIDK.mjs +0 -551
- package/dist/lib/browser/app-graph-builder-USKWFIDK.mjs.map +0 -7
- package/dist/lib/browser/app-graph-serializer-SXIQ425K.mjs +0 -80
- package/dist/lib/browser/app-graph-serializer-SXIQ425K.mjs.map +0 -7
- package/dist/lib/browser/chunk-5CSSKOWR.mjs.map +0 -7
- package/dist/lib/browser/chunk-C6DAPIFF.mjs +0 -20
- package/dist/lib/browser/chunk-C6DAPIFF.mjs.map +0 -7
- package/dist/lib/browser/chunk-E4BEMEZ3.mjs +0 -399
- package/dist/lib/browser/chunk-E4BEMEZ3.mjs.map +0 -7
- package/dist/lib/browser/chunk-IJCMB5B5.mjs.map +0 -7
- package/dist/lib/browser/chunk-POFUXISV.mjs.map +0 -7
- package/dist/lib/browser/chunk-VZBIIYFM.mjs.map +0 -7
- package/dist/lib/browser/chunk-WJXU4GKV.mjs +0 -19
- package/dist/lib/browser/chunk-WJXU4GKV.mjs.map +0 -7
- package/dist/lib/browser/chunk-XKQCDLXX.mjs +0 -2103
- package/dist/lib/browser/chunk-XKQCDLXX.mjs.map +0 -7
- package/dist/lib/browser/identity-created-NAXTPQXE.mjs +0 -23
- package/dist/lib/browser/identity-created-NAXTPQXE.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-QEIM7NQT.mjs +0 -769
- package/dist/lib/browser/intent-resolver-QEIM7NQT.mjs.map +0 -7
- package/dist/lib/browser/react-root-T6ZETLD2.mjs +0 -30
- package/dist/lib/browser/react-root-T6ZETLD2.mjs.map +0 -7
- package/dist/lib/browser/react-surface-MLN5BZ2G.mjs +0 -374
- package/dist/lib/browser/react-surface-MLN5BZ2G.mjs.map +0 -7
- package/dist/lib/browser/repair-CNLE35NF.mjs.map +0 -7
- package/dist/lib/browser/settings-EGTCHS7U.mjs +0 -24
- package/dist/lib/browser/settings-EGTCHS7U.mjs.map +0 -7
- package/dist/lib/browser/spaces-ready-YS4BBZXW.mjs +0 -208
- package/dist/lib/browser/spaces-ready-YS4BBZXW.mjs.map +0 -7
- package/dist/lib/browser/state-C7N6EDDZ.mjs +0 -47
- package/dist/lib/browser/state-C7N6EDDZ.mjs.map +0 -7
- package/dist/lib/node-esm/CollectionArticle-KHXYT3SH.mjs +0 -32
- package/dist/lib/node-esm/CollectionArticle-KHXYT3SH.mjs.map +0 -7
- package/dist/lib/node-esm/ObjectCardStack-AAKMAQ6T.mjs +0 -145
- package/dist/lib/node-esm/ObjectCardStack-AAKMAQ6T.mjs.map +0 -7
- package/dist/lib/node-esm/ObjectDetails-TZ5YKXGN.mjs +0 -145
- package/dist/lib/node-esm/ObjectDetails-TZ5YKXGN.mjs.map +0 -7
- package/dist/lib/node-esm/RecordArticle-SSJ7PULS.mjs +0 -117
- package/dist/lib/node-esm/RecordArticle-SSJ7PULS.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-QRQ5EQLB.mjs +0 -552
- package/dist/lib/node-esm/app-graph-builder-QRQ5EQLB.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-serializer-P2X4W7LI.mjs +0 -81
- package/dist/lib/node-esm/app-graph-serializer-P2X4W7LI.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-3D4NGZPW.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-AX3UGL5D.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-BDEFTL6K.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-H4JILUJK.mjs +0 -20
- package/dist/lib/node-esm/chunk-H4JILUJK.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-QQQE2ZCX.mjs +0 -400
- package/dist/lib/node-esm/chunk-QQQE2ZCX.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-UMZ7G6G4.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-WWGV5FJM.mjs +0 -21
- package/dist/lib/node-esm/chunk-WWGV5FJM.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-XD532BVR.mjs +0 -2104
- package/dist/lib/node-esm/chunk-XD532BVR.mjs.map +0 -7
- package/dist/lib/node-esm/identity-created-OXLKCJE3.mjs +0 -25
- package/dist/lib/node-esm/identity-created-OXLKCJE3.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-ZWCBVABN.mjs +0 -770
- package/dist/lib/node-esm/intent-resolver-ZWCBVABN.mjs.map +0 -7
- package/dist/lib/node-esm/react-root-SKB4UJ4K.mjs +0 -31
- package/dist/lib/node-esm/react-root-SKB4UJ4K.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-BVZGNSBB.mjs +0 -375
- package/dist/lib/node-esm/react-surface-BVZGNSBB.mjs.map +0 -7
- package/dist/lib/node-esm/repair-EHZS6MFY.mjs.map +0 -7
- package/dist/lib/node-esm/settings-N3F6JCIR.mjs +0 -25
- package/dist/lib/node-esm/settings-N3F6JCIR.mjs.map +0 -7
- package/dist/lib/node-esm/spaces-ready-U2K5P4LB.mjs +0 -209
- package/dist/lib/node-esm/spaces-ready-U2K5P4LB.mjs.map +0 -7
- package/dist/lib/node-esm/state-45TXZQJ6.mjs +0 -48
- package/dist/lib/node-esm/state-45TXZQJ6.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 -34
- 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/repair.d.ts +0 -4
- package/dist/types/src/capabilities/repair.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/events.d.ts +0 -8
- package/dist/types/src/events.d.ts.map +0 -1
- package/src/capabilities/app-graph-builder.ts +0 -724
- package/src/capabilities/app-graph-serializer.ts +0 -76
- package/src/capabilities/capabilities.ts +0 -40
- package/src/capabilities/identity-created.ts +0 -25
- package/src/capabilities/intent-resolver.ts +0 -705
- package/src/capabilities/react-root.tsx +0 -22
- package/src/capabilities/react-surface.tsx +0 -358
- package/src/capabilities/settings.ts +0 -21
- package/src/capabilities/spaces-ready.ts +0 -252
- package/src/capabilities/state.ts +0 -46
- package/src/events.ts +0 -15
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.3eb6e50203",
|
|
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,85 +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/
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/client": "0.8.4-main.
|
|
51
|
-
"@dxos/
|
|
52
|
-
"@dxos/
|
|
53
|
-
"@dxos/display-name": "0.8.4-main.
|
|
54
|
-
"@dxos/
|
|
55
|
-
"@dxos/echo
|
|
56
|
-
"@dxos/
|
|
57
|
-
"@dxos/
|
|
58
|
-
"@dxos/
|
|
59
|
-
"@dxos/echo-
|
|
60
|
-
"@dxos/
|
|
61
|
-
"@dxos/
|
|
62
|
-
"@dxos/
|
|
63
|
-
"@dxos/
|
|
64
|
-
"@dxos/
|
|
65
|
-
"@dxos/migrations": "0.8.4-main.
|
|
66
|
-
"@dxos/
|
|
67
|
-
"@dxos/plugin-
|
|
68
|
-
"@dxos/plugin-
|
|
69
|
-
"@dxos/plugin-
|
|
70
|
-
"@dxos/plugin-
|
|
71
|
-
"@dxos/plugin-
|
|
72
|
-
"@dxos/
|
|
73
|
-
"@dxos/
|
|
74
|
-
"@dxos/react-
|
|
75
|
-
"@dxos/react-ui-
|
|
76
|
-
"@dxos/react-ui-
|
|
77
|
-
"@dxos/react-ui-editor": "0.8.4-main.
|
|
78
|
-
"@dxos/react-ui-
|
|
79
|
-
"@dxos/react-ui-list": "0.8.4-main.
|
|
80
|
-
"@dxos/react-ui-masonry": "0.8.4-main.
|
|
81
|
-
"@dxos/react-ui-
|
|
82
|
-
"@dxos/react-ui-searchlist": "0.8.4-main.
|
|
83
|
-
"@dxos/react-ui-
|
|
84
|
-
"@dxos/react-ui-
|
|
85
|
-
"@dxos/react-ui-
|
|
86
|
-
"@dxos/react-ui-
|
|
87
|
-
"@dxos/
|
|
88
|
-
"@dxos/
|
|
89
|
-
"@dxos/types": "0.8.4-main.
|
|
90
|
-
"@dxos/
|
|
56
|
+
"@dxos/ai": "0.8.4-main.3eb6e50203",
|
|
57
|
+
"@dxos/app-framework": "0.8.4-main.3eb6e50203",
|
|
58
|
+
"@dxos/async": "0.8.4-main.3eb6e50203",
|
|
59
|
+
"@dxos/app-toolkit": "0.8.4-main.3eb6e50203",
|
|
60
|
+
"@dxos/client": "0.8.4-main.3eb6e50203",
|
|
61
|
+
"@dxos/cli-util": "0.8.4-main.3eb6e50203",
|
|
62
|
+
"@dxos/client-protocol": "0.8.4-main.3eb6e50203",
|
|
63
|
+
"@dxos/display-name": "0.8.4-main.3eb6e50203",
|
|
64
|
+
"@dxos/context": "0.8.4-main.3eb6e50203",
|
|
65
|
+
"@dxos/echo": "0.8.4-main.3eb6e50203",
|
|
66
|
+
"@dxos/blueprints": "0.8.4-main.3eb6e50203",
|
|
67
|
+
"@dxos/echo-db": "0.8.4-main.3eb6e50203",
|
|
68
|
+
"@dxos/echo-protocol": "0.8.4-main.3eb6e50203",
|
|
69
|
+
"@dxos/echo-atom": "0.8.4-main.3eb6e50203",
|
|
70
|
+
"@dxos/effect": "0.8.4-main.3eb6e50203",
|
|
71
|
+
"@dxos/functions": "0.8.4-main.3eb6e50203",
|
|
72
|
+
"@dxos/invariant": "0.8.4-main.3eb6e50203",
|
|
73
|
+
"@dxos/keys": "0.8.4-main.3eb6e50203",
|
|
74
|
+
"@dxos/log": "0.8.4-main.3eb6e50203",
|
|
75
|
+
"@dxos/migrations": "0.8.4-main.3eb6e50203",
|
|
76
|
+
"@dxos/operation": "0.8.4-main.3eb6e50203",
|
|
77
|
+
"@dxos/plugin-client": "0.8.4-main.3eb6e50203",
|
|
78
|
+
"@dxos/plugin-attention": "0.8.4-main.3eb6e50203",
|
|
79
|
+
"@dxos/plugin-graph": "0.8.4-main.3eb6e50203",
|
|
80
|
+
"@dxos/plugin-deck": "0.8.4-main.3eb6e50203",
|
|
81
|
+
"@dxos/plugin-observability": "0.8.4-main.3eb6e50203",
|
|
82
|
+
"@dxos/plugin-status-bar": "0.8.4-main.3eb6e50203",
|
|
83
|
+
"@dxos/react-ui": "0.8.4-main.3eb6e50203",
|
|
84
|
+
"@dxos/react-client": "0.8.4-main.3eb6e50203",
|
|
85
|
+
"@dxos/react-ui-components": "0.8.4-main.3eb6e50203",
|
|
86
|
+
"@dxos/react-ui-attention": "0.8.4-main.3eb6e50203",
|
|
87
|
+
"@dxos/react-ui-editor": "0.8.4-main.3eb6e50203",
|
|
88
|
+
"@dxos/react-ui-form": "0.8.4-main.3eb6e50203",
|
|
89
|
+
"@dxos/react-ui-list": "0.8.4-main.3eb6e50203",
|
|
90
|
+
"@dxos/react-ui-masonry": "0.8.4-main.3eb6e50203",
|
|
91
|
+
"@dxos/react-ui-mosaic": "0.8.4-main.3eb6e50203",
|
|
92
|
+
"@dxos/react-ui-searchlist": "0.8.4-main.3eb6e50203",
|
|
93
|
+
"@dxos/react-ui-syntax-highlighter": "0.8.4-main.3eb6e50203",
|
|
94
|
+
"@dxos/react-ui-stack": "0.8.4-main.3eb6e50203",
|
|
95
|
+
"@dxos/react-ui-tabs": "0.8.4-main.3eb6e50203",
|
|
96
|
+
"@dxos/react-ui-pickers": "0.8.4-main.3eb6e50203",
|
|
97
|
+
"@dxos/shell": "0.8.4-main.3eb6e50203",
|
|
98
|
+
"@dxos/schema": "0.8.4-main.3eb6e50203",
|
|
99
|
+
"@dxos/types": "0.8.4-main.3eb6e50203",
|
|
100
|
+
"@dxos/ui-theme": "0.8.4-main.3eb6e50203",
|
|
101
|
+
"@dxos/ui-types": "0.8.4-main.3eb6e50203",
|
|
102
|
+
"@dxos/util": "0.8.4-main.3eb6e50203",
|
|
103
|
+
"@dxos/protocols": "0.8.4-main.3eb6e50203"
|
|
91
104
|
},
|
|
92
105
|
"devDependencies": {
|
|
93
|
-
"@atlaskit/pragmatic-drag-and-drop-hitbox": "
|
|
106
|
+
"@atlaskit/pragmatic-drag-and-drop-hitbox": "1.1.0",
|
|
94
107
|
"@babel/core": "^7.18.13",
|
|
95
|
-
"@effect-atom/atom-react": "^0.
|
|
96
|
-
"@effect/platform": "0.
|
|
97
|
-
"@types/react": "~19.2.
|
|
98
|
-
"@types/react-dom": "~19.2.
|
|
99
|
-
"effect": "3.
|
|
100
|
-
"react": "~19.2.
|
|
101
|
-
"react-dom": "~19.2.
|
|
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",
|
|
102
115
|
"vite": "7.1.9",
|
|
103
|
-
"@dxos/
|
|
104
|
-
"@dxos/
|
|
105
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
106
|
-
"@dxos/
|
|
107
|
-
"@dxos/storybook-utils": "0.8.4-main.
|
|
116
|
+
"@dxos/lit-ui": "0.8.4-main.3eb6e50203",
|
|
117
|
+
"@dxos/plugin-testing": "0.8.4-main.3eb6e50203",
|
|
118
|
+
"@dxos/react-ui": "0.8.4-main.3eb6e50203",
|
|
119
|
+
"@dxos/random": "0.8.4-main.3eb6e50203",
|
|
120
|
+
"@dxos/storybook-utils": "0.8.4-main.3eb6e50203",
|
|
121
|
+
"@dxos/ui-theme": "0.8.4-main.3eb6e50203"
|
|
108
122
|
},
|
|
109
123
|
"peerDependencies": {
|
|
110
|
-
"@effect-atom/atom-react": "^0.
|
|
111
|
-
"@effect/platform": "
|
|
112
|
-
"effect": "
|
|
113
|
-
"react": "
|
|
114
|
-
"react-dom": "
|
|
115
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
116
|
-
"@dxos/
|
|
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/react-ui": "0.8.4-main.3eb6e50203",
|
|
130
|
+
"@dxos/ui-theme": "0.8.4-main.3eb6e50203"
|
|
117
131
|
},
|
|
118
132
|
"publishConfig": {
|
|
119
133
|
"access": "public"
|
package/src/SpacePlugin.ts
CHANGED
|
@@ -2,21 +2,15 @@
|
|
|
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
|
-
Events,
|
|
10
|
-
allOf,
|
|
11
|
-
contributes,
|
|
12
|
-
createIntent,
|
|
13
|
-
defineModule,
|
|
14
|
-
definePlugin,
|
|
15
|
-
oneOf,
|
|
16
|
-
} from '@dxos/app-framework';
|
|
8
|
+
import { ActivationEvent, ActivationEvents, Capability, Plugin } from '@dxos/app-framework';
|
|
9
|
+
import { AppActivationEvents, AppPlugin } from '@dxos/app-toolkit';
|
|
17
10
|
import { Ref, Tag, Type } from '@dxos/echo';
|
|
11
|
+
import { Operation } from '@dxos/operation';
|
|
18
12
|
import { AttentionEvents } from '@dxos/plugin-attention';
|
|
19
|
-
import {
|
|
13
|
+
import { ClientEvents } from '@dxos/plugin-client/types';
|
|
20
14
|
import { translations as componentsTranslations } from '@dxos/react-ui-components';
|
|
21
15
|
import { translations as formTranslations } from '@dxos/react-ui-form';
|
|
22
16
|
import { Collection, DataTypes, createDefaultSchema } from '@dxos/schema';
|
|
@@ -30,7 +24,7 @@ import {
|
|
|
30
24
|
HasSubject,
|
|
31
25
|
Organization,
|
|
32
26
|
Person,
|
|
33
|
-
|
|
27
|
+
Pipeline,
|
|
34
28
|
Task,
|
|
35
29
|
} from '@dxos/types';
|
|
36
30
|
|
|
@@ -38,7 +32,7 @@ import {
|
|
|
38
32
|
AppGraphBuilder,
|
|
39
33
|
AppGraphSerializer,
|
|
40
34
|
IdentityCreated,
|
|
41
|
-
|
|
35
|
+
OperationResolver,
|
|
42
36
|
ReactRoot,
|
|
43
37
|
ReactSurface,
|
|
44
38
|
Repair,
|
|
@@ -46,192 +40,178 @@ import {
|
|
|
46
40
|
SpaceState,
|
|
47
41
|
SpacesReady,
|
|
48
42
|
} from './capabilities';
|
|
49
|
-
import { SpaceEvents } from './events';
|
|
50
43
|
import { meta } from './meta';
|
|
51
44
|
import { translations } from './translations';
|
|
52
|
-
import {
|
|
53
|
-
|
|
54
|
-
export type SpacePluginOptions = {
|
|
55
|
-
/**
|
|
56
|
-
* Base URL for the invitation link.
|
|
57
|
-
*/
|
|
58
|
-
invitationUrl?: string;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Query parameter for the invitation code.
|
|
62
|
-
*/
|
|
63
|
-
invitationParam?: string;
|
|
45
|
+
import { SpaceEvents } from './types';
|
|
46
|
+
import { type CreateObject, SpaceOperation, type SpacePluginOptions } from './types';
|
|
64
47
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
48
|
+
export const SpacePlugin = Plugin.define<SpacePluginOptions>(meta).pipe(
|
|
49
|
+
AppPlugin.addMetadataModule({
|
|
50
|
+
metadata: [
|
|
51
|
+
{
|
|
52
|
+
id: Collection.Collection.typename,
|
|
53
|
+
metadata: {
|
|
54
|
+
icon: 'ph--cards-three--regular',
|
|
55
|
+
iconHue: 'neutral',
|
|
56
|
+
// TODO(wittjosiah): Move out of metadata.
|
|
57
|
+
loadReferences: async (collection: Collection.Collection) => await Ref.Array.loadAll(collection.objects),
|
|
58
|
+
inputSchema: Schema.Struct({ name: Schema.optional(Schema.String) }),
|
|
59
|
+
createObject: ((props) => Effect.sync(() => Collection.make(props))) satisfies CreateObject,
|
|
60
|
+
addToCollectionOnCreate: true,
|
|
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
|
+
if (props.typename) {
|
|
72
|
+
const result = yield* Operation.invoke(SpaceOperation.UseStaticSchema, {
|
|
73
|
+
db,
|
|
74
|
+
typename: props.typename,
|
|
75
|
+
});
|
|
76
|
+
return result as any;
|
|
77
|
+
} else {
|
|
78
|
+
const result = yield* Operation.invoke(SpaceOperation.AddSchema, {
|
|
79
|
+
db,
|
|
80
|
+
name: props.name,
|
|
81
|
+
schema: createDefaultSchema(),
|
|
82
|
+
});
|
|
83
|
+
return result.object;
|
|
84
|
+
}
|
|
85
|
+
})) satisfies CreateObject,
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
id: Event.Event.typename,
|
|
90
|
+
metadata: {
|
|
91
|
+
icon: 'ph--calendar-dot--regular',
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
id: Organization.Organization.typename,
|
|
96
|
+
metadata: {
|
|
97
|
+
icon: 'ph--building-office--regular',
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
id: Person.Person.typename,
|
|
102
|
+
metadata: {
|
|
103
|
+
icon: 'ph--user--regular',
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
id: Task.Task.typename,
|
|
108
|
+
metadata: {
|
|
109
|
+
icon: 'ph--check-circle--regular',
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
}),
|
|
114
|
+
AppPlugin.addReactRootModule({ activate: ReactRoot }),
|
|
115
|
+
AppPlugin.addSchemaModule({
|
|
116
|
+
schema: [
|
|
117
|
+
...DataTypes,
|
|
118
|
+
AnchoredTo.AnchoredTo,
|
|
119
|
+
Employer.Employer,
|
|
120
|
+
Event.Event,
|
|
121
|
+
HasConnection.HasConnection,
|
|
122
|
+
HasRelationship.HasRelationship,
|
|
123
|
+
HasSubject.HasSubject,
|
|
124
|
+
Organization.Organization,
|
|
125
|
+
Person.Person,
|
|
126
|
+
Pipeline.Pipeline,
|
|
127
|
+
Tag.Tag,
|
|
128
|
+
Task.Task,
|
|
129
|
+
],
|
|
130
|
+
}),
|
|
131
|
+
AppPlugin.addSettingsModule({ activate: SpaceSettings }),
|
|
132
|
+
AppPlugin.addTranslationsModule({
|
|
133
|
+
translations: [...translations, ...componentsTranslations, ...formTranslations, ...shellTranslations],
|
|
134
|
+
}),
|
|
135
|
+
Plugin.addModule({
|
|
136
|
+
// TODO(wittjosiah): Does not integrate with settings store.
|
|
137
|
+
// Should this be a different event?
|
|
138
|
+
// Should settings store be renamed to be more generic?
|
|
139
|
+
activatesOn: ActivationEvent.oneOf(AppActivationEvents.SetupSettings, AppActivationEvents.SetupAppGraph),
|
|
140
|
+
activatesAfter: [SpaceEvents.StateReady],
|
|
141
|
+
activate: SpaceState,
|
|
142
|
+
}),
|
|
143
|
+
Plugin.addModule(
|
|
144
|
+
({
|
|
145
|
+
shareableLinkOrigin = typeof window !== 'undefined' ? window.location.origin : 'http://localhost',
|
|
146
|
+
invitationPath = '/',
|
|
147
|
+
invitationProp = 'spaceInvitationCode',
|
|
148
|
+
}) => {
|
|
149
|
+
const createInvitationUrl = (invitationCode: string) => {
|
|
150
|
+
const baseUrl = new URL(invitationPath || '/', shareableLinkOrigin);
|
|
151
|
+
baseUrl.searchParams.set(invitationProp, invitationCode);
|
|
152
|
+
return baseUrl.toString();
|
|
153
|
+
};
|
|
70
154
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
const createInvitationUrl = (invitationCode: string) => {
|
|
75
|
-
const baseUrl = new URL(invitationUrl);
|
|
76
|
-
baseUrl.searchParams.set(invitationParam, invitationCode);
|
|
77
|
-
return baseUrl.toString();
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
return [
|
|
81
|
-
defineModule({
|
|
82
|
-
id: `${meta.id}/module/state`,
|
|
83
|
-
// TODO(wittjosiah): Does not integrate with settings store.
|
|
84
|
-
// Should this be a different event?
|
|
85
|
-
// Should settings store be renamed to be more generic?
|
|
86
|
-
activatesOn: oneOf(Events.SetupSettings, Events.SetupAppGraph),
|
|
87
|
-
activatesAfter: [SpaceEvents.StateReady],
|
|
88
|
-
activate: SpaceState,
|
|
89
|
-
}),
|
|
90
|
-
defineModule({
|
|
91
|
-
id: `${meta.id}/module/settings`,
|
|
92
|
-
activatesOn: Events.SetupSettings,
|
|
93
|
-
activate: SpaceSettings,
|
|
94
|
-
}),
|
|
95
|
-
defineModule({
|
|
96
|
-
id: `${meta.id}/module/translations`,
|
|
97
|
-
activatesOn: Events.SetupTranslations,
|
|
98
|
-
activate: () =>
|
|
99
|
-
contributes(Capabilities.Translations, [
|
|
100
|
-
...translations,
|
|
101
|
-
...componentsTranslations,
|
|
102
|
-
...formTranslations,
|
|
103
|
-
...shellTranslations,
|
|
104
|
-
]),
|
|
105
|
-
}),
|
|
106
|
-
defineModule({
|
|
107
|
-
id: `${meta.id}/module/metadata`,
|
|
108
|
-
activatesOn: Events.SetupMetadata,
|
|
109
|
-
activate: () => [
|
|
110
|
-
contributes(Capabilities.Metadata, {
|
|
111
|
-
id: Collection.Collection.typename,
|
|
112
|
-
metadata: {
|
|
113
|
-
icon: 'ph--cards-three--regular',
|
|
114
|
-
iconHue: 'neutral',
|
|
115
|
-
// TODO(wittjosiah): Move out of metadata.
|
|
116
|
-
loadReferences: async (collection: Collection.Collection) => await Ref.Array.loadAll(collection.objects),
|
|
117
|
-
inputSchema: Schema.Struct({ name: Schema.optional(Schema.String) }),
|
|
118
|
-
createObjectIntent: ((props) =>
|
|
119
|
-
createIntent(CollectionAction.Create, props)) satisfies CreateObjectIntent,
|
|
120
|
-
addToCollectionOnCreate: true,
|
|
121
|
-
},
|
|
122
|
-
}),
|
|
123
|
-
contributes(Capabilities.Metadata, {
|
|
124
|
-
id: Type.getTypename(Type.PersistentType),
|
|
125
|
-
metadata: {
|
|
126
|
-
icon: 'ph--database--regular',
|
|
127
|
-
iconHue: 'green',
|
|
128
|
-
inputSchema: SpaceAction.StoredSchemaForm,
|
|
129
|
-
createObjectIntent: ((props, options) =>
|
|
130
|
-
props.typename
|
|
131
|
-
? createIntent(SpaceAction.UseStaticSchema, { space: options.space, typename: props.typename })
|
|
132
|
-
: createIntent(SpaceAction.AddSchema, {
|
|
133
|
-
space: options.space,
|
|
134
|
-
name: props.name,
|
|
135
|
-
schema: createDefaultSchema(),
|
|
136
|
-
})) satisfies CreateObjectIntent,
|
|
137
|
-
},
|
|
138
|
-
}),
|
|
139
|
-
contributes(Capabilities.Metadata, {
|
|
140
|
-
id: Event.Event.typename,
|
|
141
|
-
metadata: {
|
|
142
|
-
icon: 'ph--calendar-dot--regular',
|
|
143
|
-
},
|
|
144
|
-
}),
|
|
145
|
-
contributes(Capabilities.Metadata, {
|
|
146
|
-
id: Organization.Organization.typename,
|
|
147
|
-
metadata: {
|
|
148
|
-
icon: 'ph--building-office--regular',
|
|
149
|
-
},
|
|
150
|
-
}),
|
|
151
|
-
contributes(Capabilities.Metadata, {
|
|
152
|
-
id: Person.Person.typename,
|
|
153
|
-
metadata: {
|
|
154
|
-
icon: 'ph--user--regular',
|
|
155
|
-
},
|
|
156
|
-
}),
|
|
157
|
-
contributes(Capabilities.Metadata, {
|
|
158
|
-
id: Task.Task.typename,
|
|
159
|
-
metadata: {
|
|
160
|
-
icon: 'ph--check-circle--regular',
|
|
161
|
-
},
|
|
162
|
-
}),
|
|
163
|
-
],
|
|
164
|
-
}),
|
|
165
|
-
defineModule({
|
|
166
|
-
id: `${meta.id}/module/schema`,
|
|
167
|
-
activatesOn: ClientEvents.SetupSchema,
|
|
168
|
-
activate: () =>
|
|
169
|
-
contributes(ClientCapabilities.Schema, [
|
|
170
|
-
...DataTypes,
|
|
171
|
-
AnchoredTo.AnchoredTo,
|
|
172
|
-
Employer.Employer,
|
|
173
|
-
Event.Event,
|
|
174
|
-
HasConnection.HasConnection,
|
|
175
|
-
HasRelationship.HasRelationship,
|
|
176
|
-
HasSubject.HasSubject,
|
|
177
|
-
Organization.Organization,
|
|
178
|
-
Person.Person,
|
|
179
|
-
Project.Project,
|
|
180
|
-
Tag.Tag,
|
|
181
|
-
Task.Task,
|
|
182
|
-
]),
|
|
183
|
-
}),
|
|
184
|
-
defineModule({
|
|
185
|
-
id: `${meta.id}/module/react-root`,
|
|
186
|
-
activatesOn: Events.Startup,
|
|
187
|
-
activate: ReactRoot,
|
|
188
|
-
}),
|
|
189
|
-
defineModule({
|
|
190
|
-
id: `${meta.id}/module/react-surface`,
|
|
191
|
-
activatesOn: Events.SetupReactSurface,
|
|
155
|
+
return {
|
|
156
|
+
id: Capability.getModuleTag(ReactSurface),
|
|
157
|
+
activatesOn: ActivationEvents.SetupReactSurface,
|
|
192
158
|
// TODO(wittjosiah): Should occur before the settings dialog is loaded when surfaces activation is more granular.
|
|
193
159
|
activatesBefore: [SpaceEvents.SetupSettingsPanel],
|
|
194
160
|
activate: () => ReactSurface({ createInvitationUrl }),
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
id:
|
|
220
|
-
activatesOn:
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
161
|
+
};
|
|
162
|
+
},
|
|
163
|
+
),
|
|
164
|
+
Plugin.addModule(
|
|
165
|
+
({ shareableLinkOrigin = typeof window !== 'undefined' ? window.location.origin : 'http://localhost' }) => ({
|
|
166
|
+
id: Capability.getModuleTag(AppGraphBuilder()) ?? 'space-app-graph-builder',
|
|
167
|
+
activatesOn: AppActivationEvents.SetupAppGraph,
|
|
168
|
+
activate: () => AppGraphBuilder({ shareableLinkOrigin }),
|
|
169
|
+
}),
|
|
170
|
+
),
|
|
171
|
+
Plugin.addModule(
|
|
172
|
+
({
|
|
173
|
+
shareableLinkOrigin = typeof window !== 'undefined' ? window.location.origin : 'http://localhost',
|
|
174
|
+
invitationPath = '/',
|
|
175
|
+
invitationProp = 'spaceInvitationCode',
|
|
176
|
+
observability = false,
|
|
177
|
+
}) => {
|
|
178
|
+
const createInvitationUrl = (invitationCode: string) => {
|
|
179
|
+
const baseUrl = new URL(invitationPath || '/', shareableLinkOrigin);
|
|
180
|
+
baseUrl.searchParams.set(invitationProp, invitationCode);
|
|
181
|
+
return baseUrl.toString();
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
return {
|
|
185
|
+
id: Capability.getModuleTag(OperationResolver),
|
|
186
|
+
activatesOn: ActivationEvents.SetupOperationResolver,
|
|
187
|
+
activate: () => OperationResolver({ createInvitationUrl, observability }),
|
|
188
|
+
};
|
|
189
|
+
},
|
|
190
|
+
),
|
|
191
|
+
// TODO(wittjosiah): This could probably be deferred.
|
|
192
|
+
Plugin.addModule({
|
|
193
|
+
activatesOn: AppActivationEvents.AppGraphReady,
|
|
194
|
+
activate: AppGraphSerializer,
|
|
195
|
+
}),
|
|
196
|
+
Plugin.addModule({
|
|
197
|
+
activatesOn: ClientEvents.IdentityCreated,
|
|
198
|
+
activatesAfter: [SpaceEvents.DefaultSpaceReady],
|
|
199
|
+
activate: IdentityCreated,
|
|
200
|
+
}),
|
|
201
|
+
Plugin.addModule({
|
|
202
|
+
activatesOn: ActivationEvent.allOf(
|
|
203
|
+
ActivationEvents.OperationInvokerReady,
|
|
204
|
+
AppActivationEvents.LayoutReady,
|
|
205
|
+
AppActivationEvents.AppGraphReady,
|
|
206
|
+
AttentionEvents.AttentionReady,
|
|
207
|
+
SpaceEvents.StateReady,
|
|
208
|
+
ClientEvents.SpacesReady,
|
|
209
|
+
),
|
|
210
|
+
activate: SpacesReady,
|
|
211
|
+
}),
|
|
212
|
+
Plugin.addModule({
|
|
213
|
+
activatesOn: ClientEvents.SpacesReady,
|
|
214
|
+
activate: Repair,
|
|
215
|
+
}),
|
|
216
|
+
Plugin.make,
|
|
237
217
|
);
|