@dxos/plugin-space 0.8.3 → 0.8.4-main.1068cf700f
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-4ZKSFDXM.mjs → chunk-7D63MVRS.mjs} +110 -41
- package/dist/lib/browser/chunk-7D63MVRS.mjs.map +7 -0
- package/dist/lib/browser/chunk-A7ZCVQGZ.mjs +118 -0
- 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-HSMQFM57.mjs +16 -0
- 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-WAOJLA2S.mjs +772 -0
- 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 +251 -183
- 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-DKU4TUD2.mjs +50 -0
- 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 +18 -10
- 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-JBQKU4K5.mjs → chunk-5N3YIAXD.mjs} +110 -41
- package/dist/lib/node-esm/chunk-5N3YIAXD.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-A5A7M37T.mjs +119 -0
- 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-FB5YNROS.mjs +773 -0
- 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-SL4BJSUG.mjs +18 -0
- 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 +251 -183
- 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-C2H6JQCL.mjs +51 -0
- 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 +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 +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 -21
- 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 +9 -0
- package/dist/types/src/components/CollectionArticle.d.ts.map +1 -0
- package/dist/types/src/components/CollectionSection.d.ts +3 -4
- package/dist/types/src/components/CollectionSection.d.ts.map +1 -1
- package/dist/types/src/components/CreateDialog/CreateObjectDialog.d.ts +6 -5
- package/dist/types/src/components/CreateDialog/CreateObjectDialog.d.ts.map +1 -1
- package/dist/types/src/components/CreateDialog/CreateObjectDialog.stories.d.ts +1602 -8
- package/dist/types/src/components/CreateDialog/CreateObjectDialog.stories.d.ts.map +1 -1
- package/dist/types/src/components/CreateDialog/CreateObjectPanel.d.ts +23 -10
- package/dist/types/src/components/CreateDialog/CreateObjectPanel.d.ts.map +1 -1
- package/dist/types/src/components/CreateDialog/CreateSpaceDialog.d.ts +1 -1
- package/dist/types/src/components/CreateDialog/CreateSpaceDialog.d.ts.map +1 -1
- package/dist/types/src/components/{JoinDialog.d.ts → JoinDialog/JoinDialog.d.ts} +1 -1
- package/dist/types/src/components/JoinDialog/JoinDialog.d.ts.map +1 -0
- package/dist/types/src/components/JoinDialog/index.d.ts +2 -0
- package/dist/types/src/components/JoinDialog/index.d.ts.map +1 -0
- package/dist/types/src/components/{MembersContainer.d.ts → MembersContainer/MembersContainer.d.ts} +3 -2
- package/dist/types/src/components/MembersContainer/MembersContainer.d.ts.map +1 -0
- package/dist/types/src/components/MembersContainer/MembersContainer.stories.d.ts +1600 -0
- package/dist/types/src/components/MembersContainer/MembersContainer.stories.d.ts.map +1 -0
- package/dist/types/src/components/MembersContainer/index.d.ts +2 -0
- package/dist/types/src/components/MembersContainer/index.d.ts.map +1 -0
- 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 +8 -0
- package/dist/types/src/components/ObjectCardStack/ObjectCardStack.d.ts.map +1 -0
- package/dist/types/src/components/ObjectCardStack/ObjectForm.d.ts +9 -0
- package/dist/types/src/components/ObjectCardStack/ObjectForm.d.ts.map +1 -0
- package/dist/types/src/components/ObjectCardStack/index.d.ts +3 -0
- package/dist/types/src/components/ObjectCardStack/index.d.ts.map +1 -0
- 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/ObjectDetails/BaseObjectSettings.stories.d.ts +1433 -0
- package/dist/types/src/components/ObjectDetails/BaseObjectSettings.stories.d.ts.map +1 -0
- 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/ObjectDetails.d.ts +9 -0
- package/dist/types/src/components/ObjectDetails/ObjectDetails.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/ObjectRenamePopover/ObjectRenamePopover.d.ts +7 -0
- package/dist/types/src/components/ObjectRenamePopover/ObjectRenamePopover.d.ts.map +1 -0
- package/dist/types/src/components/ObjectRenamePopover/index.d.ts +2 -0
- package/dist/types/src/components/ObjectRenamePopover/index.d.ts.map +1 -0
- package/dist/types/src/components/RecordArticle.d.ts +5 -0
- package/dist/types/src/components/RecordArticle.d.ts.map +1 -0
- package/dist/types/src/components/RecordArticle.stories.d.ts +1600 -0
- package/dist/types/src/components/RecordArticle.stories.d.ts.map +1 -0
- package/dist/types/src/components/SchemaContainer.d.ts +2 -2
- 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.d.ts → SpacePresence/SpacePresence.d.ts} +7 -6
- package/dist/types/src/components/SpacePresence/SpacePresence.d.ts.map +1 -0
- package/dist/types/src/components/SpacePresence/SpacePresence.stories.d.ts +1430 -0
- package/dist/types/src/components/SpacePresence/SpacePresence.stories.d.ts.map +1 -0
- package/dist/types/src/components/SpacePresence/index.d.ts +2 -0
- package/dist/types/src/components/SpacePresence/index.d.ts.map +1 -0
- package/dist/types/src/components/SpaceRenamePopover/SpaceRenamePopover.d.ts +7 -0
- package/dist/types/src/components/SpaceRenamePopover/SpaceRenamePopover.d.ts.map +1 -0
- package/dist/types/src/components/SpaceRenamePopover/index.d.ts +2 -0
- package/dist/types/src/components/SpaceRenamePopover/index.d.ts.map +1 -0
- 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 +1433 -4
- package/dist/types/src/components/SpaceSettings/SpaceSettingsContainer.stories.d.ts.map +1 -1
- package/dist/types/src/components/SyncStatus/SyncStatus.d.ts +1 -1
- package/dist/types/src/components/SyncStatus/SyncStatus.d.ts.map +1 -1
- package/dist/types/src/components/SyncStatus/SyncStatus.stories.d.ts +1431 -5
- package/dist/types/src/components/SyncStatus/SyncStatus.stories.d.ts.map +1 -1
- package/dist/types/src/components/SyncStatus/status.d.ts +5 -5
- package/dist/types/src/components/ViewEditor.d.ts +7 -0
- package/dist/types/src/components/ViewEditor.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +16 -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/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 +3 -3
- 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 +2 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -3
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +1415 -410
- 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 +22 -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 +646 -338
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/src/util.d.ts +50 -31
- package/dist/types/src/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +87 -64
- package/src/SpacePlugin.ts +197 -174
- 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 -15
- 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/repair.ts +67 -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 +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 +27 -27
- package/src/components/CollectionArticle.tsx +156 -0
- package/src/components/CollectionSection.tsx +8 -6
- package/src/components/CreateDialog/CreateObjectDialog.stories.tsx +40 -33
- package/src/components/CreateDialog/CreateObjectDialog.tsx +108 -81
- package/src/components/CreateDialog/CreateObjectPanel.tsx +163 -91
- package/src/components/CreateDialog/CreateSpaceDialog.tsx +35 -29
- package/src/components/{JoinDialog.tsx → JoinDialog/JoinDialog.tsx} +29 -39
- package/src/components/JoinDialog/index.ts +5 -0
- package/src/components/MembersContainer/MembersContainer.stories.tsx +56 -0
- package/src/components/{MembersContainer.tsx → MembersContainer/MembersContainer.tsx} +95 -98
- package/src/components/MembersContainer/index.ts +5 -0
- package/src/components/MenuFooter.tsx +5 -6
- package/src/components/ObjectCardStack/ObjectCardStack.tsx +67 -0
- package/src/components/ObjectCardStack/ObjectForm.tsx +97 -0
- package/src/components/ObjectCardStack/index.ts +7 -0
- package/src/components/ObjectDetails/BaseObjectSettings.stories.tsx +63 -0
- package/src/components/ObjectDetails/BaseObjectSettings.tsx +122 -0
- package/src/components/{ObjectSettings → ObjectDetails}/ForeignKeys.tsx +8 -8
- package/src/components/ObjectDetails/ObjectDetails.tsx +33 -0
- package/src/components/ObjectDetails/index.ts +7 -0
- package/src/components/ObjectRenamePopover/ObjectRenamePopover.tsx +52 -0
- package/src/components/ObjectRenamePopover/index.ts +5 -0
- package/src/components/RecordArticle.stories.tsx +116 -0
- package/src/components/RecordArticle.tsx +124 -0
- package/src/components/SchemaContainer.tsx +31 -31
- package/src/components/SpacePluginSettings.tsx +45 -33
- package/src/components/{SpacePresence.stories.tsx → SpacePresence/SpacePresence.stories.tsx} +25 -24
- package/src/components/{SpacePresence.tsx → SpacePresence/SpacePresence.tsx} +28 -24
- package/src/components/SpacePresence/index.ts +5 -0
- package/src/components/{PopoverRenameSpace.tsx → SpaceRenamePopover/SpaceRenamePopover.tsx} +16 -16
- package/src/components/SpaceRenamePopover/index.ts +5 -0
- package/src/components/SpaceSettings/SpaceSettingsContainer.stories.tsx +20 -12
- package/src/components/SpaceSettings/SpaceSettingsContainer.tsx +99 -81
- package/src/components/SyncStatus/InlineSyncStatus.tsx +8 -8
- package/src/components/SyncStatus/SyncStatus.stories.tsx +12 -19
- package/src/components/SyncStatus/SyncStatus.tsx +110 -13
- package/src/components/SyncStatus/save-tracker.ts +3 -3
- package/src/components/SyncStatus/status.ts +4 -4
- package/src/components/ViewEditor.tsx +101 -0
- package/src/components/index.ts +11 -6
- package/src/constants.ts +11 -0
- package/src/helpers/index.ts +5 -0
- package/src/helpers/query.test.ts +24 -0
- package/src/helpers/query.ts +153 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useActiveSpace.ts +8 -4
- package/src/hooks/useInputSurfaceLookup.tsx +9 -13
- package/src/hooks/usePath.ts +5 -5
- package/src/hooks/useTypeOptions.ts +25 -0
- package/src/index.ts +2 -2
- package/src/meta.ts +8 -5
- package/src/translations.ts +112 -36
- package/src/types/capabilities.ts +73 -0
- package/src/types/events.ts +16 -0
- package/src/types/form.ts +69 -0
- package/src/types/index.ts +3 -0
- package/src/types/types.ts +546 -206
- package/src/util.tsx +451 -242
- package/dist/lib/browser/app-graph-builder-M2RH72VL.mjs +0 -363
- package/dist/lib/browser/app-graph-builder-M2RH72VL.mjs.map +0 -7
- package/dist/lib/browser/app-graph-serializer-F7ISRRBV.mjs +0 -80
- package/dist/lib/browser/app-graph-serializer-F7ISRRBV.mjs.map +0 -7
- package/dist/lib/browser/chunk-4ZKSFDXM.mjs.map +0 -7
- package/dist/lib/browser/chunk-7Y4M7GXO.mjs +0 -94
- package/dist/lib/browser/chunk-7Y4M7GXO.mjs.map +0 -7
- package/dist/lib/browser/chunk-BXNL6SDI.mjs +0 -19
- package/dist/lib/browser/chunk-BXNL6SDI.mjs.map +0 -7
- package/dist/lib/browser/chunk-NFUKCRGE.mjs +0 -1916
- package/dist/lib/browser/chunk-NFUKCRGE.mjs.map +0 -7
- package/dist/lib/browser/chunk-PTKYMZWO.mjs +0 -13
- package/dist/lib/browser/chunk-PTKYMZWO.mjs.map +0 -7
- package/dist/lib/browser/chunk-TW7O2EPP.mjs +0 -284
- package/dist/lib/browser/chunk-TW7O2EPP.mjs.map +0 -7
- package/dist/lib/browser/chunk-V24VASAJ.mjs +0 -546
- package/dist/lib/browser/chunk-V24VASAJ.mjs.map +0 -7
- package/dist/lib/browser/chunk-YMCZR6EZ.mjs +0 -18
- package/dist/lib/browser/chunk-YMCZR6EZ.mjs.map +0 -7
- package/dist/lib/browser/identity-created-PI7TKANR.mjs +0 -23
- package/dist/lib/browser/identity-created-PI7TKANR.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-RWU6ZE4H.mjs +0 -610
- package/dist/lib/browser/intent-resolver-RWU6ZE4H.mjs.map +0 -7
- package/dist/lib/browser/react-root-QIKHSNT2.mjs +0 -29
- package/dist/lib/browser/react-root-QIKHSNT2.mjs.map +0 -7
- package/dist/lib/browser/react-surface-W56UD53I.mjs +0 -353
- package/dist/lib/browser/react-surface-W56UD53I.mjs.map +0 -7
- package/dist/lib/browser/schema-defs-WREJNMIC.mjs +0 -26
- package/dist/lib/browser/schema-defs-WREJNMIC.mjs.map +0 -7
- package/dist/lib/browser/schema-tools-ILTVSSS3.mjs +0 -124
- package/dist/lib/browser/schema-tools-ILTVSSS3.mjs.map +0 -7
- package/dist/lib/browser/settings-K54STC5A.mjs +0 -24
- package/dist/lib/browser/settings-K54STC5A.mjs.map +0 -7
- package/dist/lib/browser/spaces-ready-3PDRDHPC.mjs +0 -199
- package/dist/lib/browser/spaces-ready-3PDRDHPC.mjs.map +0 -7
- package/dist/lib/browser/state-HRZ4VRXU.mjs +0 -47
- package/dist/lib/browser/state-HRZ4VRXU.mjs.map +0 -7
- package/dist/lib/node/app-graph-builder-6LK5HLLE.cjs +0 -364
- package/dist/lib/node/app-graph-builder-6LK5HLLE.cjs.map +0 -7
- package/dist/lib/node/app-graph-serializer-HKHBNHA3.cjs +0 -89
- package/dist/lib/node/app-graph-serializer-HKHBNHA3.cjs.map +0 -7
- package/dist/lib/node/chunk-3X4EA4XL.cjs +0 -37
- package/dist/lib/node/chunk-3X4EA4XL.cjs.map +0 -7
- package/dist/lib/node/chunk-5WLAXYE3.cjs +0 -125
- package/dist/lib/node/chunk-5WLAXYE3.cjs.map +0 -7
- package/dist/lib/node/chunk-6P2DB4QQ.cjs +0 -36
- package/dist/lib/node/chunk-6P2DB4QQ.cjs.map +0 -7
- package/dist/lib/node/chunk-DOC5XEZ4.cjs +0 -184
- package/dist/lib/node/chunk-DOC5XEZ4.cjs.map +0 -7
- package/dist/lib/node/chunk-NCHF433F.cjs +0 -1921
- package/dist/lib/node/chunk-NCHF433F.cjs.map +0 -7
- package/dist/lib/node/chunk-NL5Y4EDX.cjs +0 -38
- package/dist/lib/node/chunk-NL5Y4EDX.cjs.map +0 -7
- package/dist/lib/node/chunk-ULJZPATP.cjs +0 -312
- package/dist/lib/node/chunk-ULJZPATP.cjs.map +0 -7
- package/dist/lib/node/chunk-XHWVT7LW.cjs +0 -572
- package/dist/lib/node/chunk-XHWVT7LW.cjs.map +0 -7
- package/dist/lib/node/identity-created-FF4WZ2WY.cjs +0 -42
- package/dist/lib/node/identity-created-FF4WZ2WY.cjs.map +0 -7
- package/dist/lib/node/index.cjs +0 -278
- package/dist/lib/node/index.cjs.map +0 -7
- package/dist/lib/node/intent-resolver-AV4CMM3Z.cjs +0 -609
- package/dist/lib/node/intent-resolver-AV4CMM3Z.cjs.map +0 -7
- package/dist/lib/node/meta.json +0 -1
- package/dist/lib/node/react-root-RQUU3A45.cjs +0 -51
- package/dist/lib/node/react-root-RQUU3A45.cjs.map +0 -7
- package/dist/lib/node/react-surface-AZFJLE72.cjs +0 -351
- package/dist/lib/node/react-surface-AZFJLE72.cjs.map +0 -7
- package/dist/lib/node/schema-defs-OB2X2HBH.cjs +0 -42
- package/dist/lib/node/schema-defs-OB2X2HBH.cjs.map +0 -7
- package/dist/lib/node/schema-tools-IYREN4IH.cjs +0 -147
- package/dist/lib/node/schema-tools-IYREN4IH.cjs.map +0 -7
- package/dist/lib/node/settings-P2EQ7VKQ.cjs +0 -38
- package/dist/lib/node/settings-P2EQ7VKQ.cjs.map +0 -7
- package/dist/lib/node/spaces-ready-DXPOHYV7.cjs +0 -210
- package/dist/lib/node/spaces-ready-DXPOHYV7.cjs.map +0 -7
- package/dist/lib/node/state-M35DK75Z.cjs +0 -61
- package/dist/lib/node/state-M35DK75Z.cjs.map +0 -7
- package/dist/lib/node/types/index.cjs +0 -48
- package/dist/lib/node/types/index.cjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-BCHVZ4OM.mjs +0 -364
- package/dist/lib/node-esm/app-graph-builder-BCHVZ4OM.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-serializer-TXRGGNP2.mjs +0 -81
- package/dist/lib/node-esm/app-graph-serializer-TXRGGNP2.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-3CP67AYY.mjs +0 -19
- package/dist/lib/node-esm/chunk-3CP67AYY.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-BSLREHIX.mjs +0 -20
- package/dist/lib/node-esm/chunk-BSLREHIX.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-D4QMPPS7.mjs +0 -285
- package/dist/lib/node-esm/chunk-D4QMPPS7.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-GH2FGJXH.mjs +0 -96
- package/dist/lib/node-esm/chunk-GH2FGJXH.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HO7AIKQS.mjs +0 -547
- package/dist/lib/node-esm/chunk-HO7AIKQS.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-JBQKU4K5.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-LA6AVVH6.mjs +0 -1917
- package/dist/lib/node-esm/chunk-LA6AVVH6.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-MSWEFAPD.mjs +0 -15
- package/dist/lib/node-esm/chunk-MSWEFAPD.mjs.map +0 -7
- package/dist/lib/node-esm/identity-created-35CTAQWI.mjs +0 -25
- package/dist/lib/node-esm/identity-created-35CTAQWI.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-JO6L2VXC.mjs +0 -611
- package/dist/lib/node-esm/intent-resolver-JO6L2VXC.mjs.map +0 -7
- package/dist/lib/node-esm/react-root-YFGL3B4J.mjs +0 -30
- package/dist/lib/node-esm/react-root-YFGL3B4J.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-CVAPDLEZ.mjs +0 -354
- package/dist/lib/node-esm/react-surface-CVAPDLEZ.mjs.map +0 -7
- package/dist/lib/node-esm/schema-defs-4MEJETVX.mjs +0 -27
- package/dist/lib/node-esm/schema-defs-4MEJETVX.mjs.map +0 -7
- package/dist/lib/node-esm/schema-tools-SRLCRZ3B.mjs +0 -126
- package/dist/lib/node-esm/schema-tools-SRLCRZ3B.mjs.map +0 -7
- package/dist/lib/node-esm/settings-TD76LTQS.mjs +0 -25
- package/dist/lib/node-esm/settings-TD76LTQS.mjs.map +0 -7
- package/dist/lib/node-esm/spaces-ready-FJMGPAVV.mjs +0 -200
- package/dist/lib/node-esm/spaces-ready-FJMGPAVV.mjs.map +0 -7
- package/dist/lib/node-esm/state-XQNDCN37.mjs +0 -48
- package/dist/lib/node-esm/state-XQNDCN37.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 -22
- 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/schema-tool.test.d.ts +0 -2
- package/dist/types/src/capabilities/schema-tool.test.d.ts.map +0 -1
- package/dist/types/src/capabilities/schema-tools.d.ts +0 -13
- package/dist/types/src/capabilities/schema-tools.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/CollectionMain.d.ts +0 -6
- package/dist/types/src/components/CollectionMain.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/MembersContainer.stories.d.ts +0 -8
- package/dist/types/src/components/MembersContainer.stories.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/SpacePresence.d.ts.map +0 -1
- package/dist/types/src/components/SpacePresence.stories.d.ts +0 -9
- package/dist/types/src/components/SpacePresence.stories.d.ts.map +0 -1
- package/dist/types/src/events.d.ts +0 -7
- package/dist/types/src/events.d.ts.map +0 -1
- package/src/capabilities/app-graph-builder.ts +0 -540
- package/src/capabilities/app-graph-serializer.ts +0 -76
- package/src/capabilities/capabilities.ts +0 -24
- package/src/capabilities/identity-created.ts +0 -27
- package/src/capabilities/intent-resolver.ts +0 -585
- package/src/capabilities/react-root.tsx +0 -20
- package/src/capabilities/react-surface.tsx +0 -349
- package/src/capabilities/schema-defs.ts +0 -30
- package/src/capabilities/schema-tool.test.ts +0 -44
- package/src/capabilities/schema-tools.ts +0 -125
- package/src/capabilities/settings.ts +0 -21
- package/src/capabilities/spaces-ready.ts +0 -231
- package/src/capabilities/state.ts +0 -45
- package/src/components/CollectionMain.tsx +0 -30
- package/src/components/MembersContainer.stories.tsx +0 -30
- package/src/components/ObjectSettings/AdvancedObjectSettings.tsx +0 -80
- package/src/components/ObjectSettings/BaseObjectSettings.tsx +0 -47
- package/src/components/ObjectSettings/ObjectSettingsContainer.tsx +0 -36
- package/src/components/ObjectSettings/index.ts +0 -5
- package/src/components/PersistenceStatus.tsx +0 -84
- package/src/components/PopoverRenameObject.tsx +0 -62
- package/src/events.ts +0 -14
|
@@ -1,13 +1,34 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { type
|
|
5
|
-
import {
|
|
6
|
-
import { type
|
|
7
|
-
import {
|
|
1
|
+
import type * as Effect from 'effect/Effect';
|
|
2
|
+
import * as Schema from 'effect/Schema';
|
|
3
|
+
import { Capability, Plugin } from '@dxos/app-framework';
|
|
4
|
+
import { type PublicKey } from '@dxos/client';
|
|
5
|
+
import { CancellableInvitationObservable, Invitation } from '@dxos/client/invitations';
|
|
6
|
+
import { Database, type Obj, QueryAST, Type } from '@dxos/echo';
|
|
7
|
+
import { Operation } from '@dxos/operation';
|
|
8
|
+
import { View } from '@dxos/schema';
|
|
8
9
|
import { type ComplexMap } from '@dxos/util';
|
|
9
|
-
export declare const SPACE_DIRECTORY_HANDLE
|
|
10
|
+
export declare const SPACE_DIRECTORY_HANDLE: string;
|
|
10
11
|
export declare const SPACE_TYPE = "dxos.org/type/Space";
|
|
12
|
+
export type SpacePluginOptions = {
|
|
13
|
+
/**
|
|
14
|
+
* Origin used for shareable links (object copy-link and invitation base).
|
|
15
|
+
* Defaults to window.location.origin.
|
|
16
|
+
*/
|
|
17
|
+
shareableLinkOrigin?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Path appended to shareableLinkOrigin to form the invitation base URL.
|
|
20
|
+
* Defaults to '/'.
|
|
21
|
+
*/
|
|
22
|
+
invitationPath?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Query parameter name for the invitation code.
|
|
25
|
+
*/
|
|
26
|
+
invitationProp?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Whether to send observability events.
|
|
29
|
+
*/
|
|
30
|
+
observability?: boolean;
|
|
31
|
+
};
|
|
11
32
|
export type ObjectViewerProps = {
|
|
12
33
|
lastSeen: number;
|
|
13
34
|
currentlyAttended: boolean;
|
|
@@ -52,7 +73,7 @@ export declare const SpaceSettingsSchema: Schema.mutable<Schema.Struct<{
|
|
|
52
73
|
}>>;
|
|
53
74
|
export type SpaceSettingsProps = Schema.Schema.Type<typeof SpaceSettingsSchema>;
|
|
54
75
|
export type SerializerMap = Record<string, TypedObjectSerializer>;
|
|
55
|
-
export interface TypedObjectSerializer<T extends Obj.
|
|
76
|
+
export interface TypedObjectSerializer<T extends Obj.Unknown = Obj.Unknown> {
|
|
56
77
|
serialize(params: {
|
|
57
78
|
object: T;
|
|
58
79
|
}): Promise<string>;
|
|
@@ -63,358 +84,645 @@ export interface TypedObjectSerializer<T extends Obj.Any = Type.Expando> {
|
|
|
63
84
|
*/
|
|
64
85
|
deserialize(params: {
|
|
65
86
|
content: string;
|
|
66
|
-
|
|
87
|
+
db: Database.Database;
|
|
67
88
|
newId?: boolean;
|
|
68
89
|
}): Promise<T>;
|
|
69
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* Factory function that creates an object directly using Type.make().
|
|
93
|
+
* Returns an Effect that resolves to the created object.
|
|
94
|
+
*
|
|
95
|
+
* Options include:
|
|
96
|
+
* - `db`: The database to use for object creation.
|
|
97
|
+
*/
|
|
98
|
+
export type CreateObject = (props: any, options: {
|
|
99
|
+
db: Database.Database;
|
|
100
|
+
}) => Effect.Effect<Obj.Unknown, Error, Capability.Service | Operation.Service>;
|
|
70
101
|
export declare const IconAnnotationId: unique symbol;
|
|
71
102
|
export declare const HueAnnotationId: unique symbol;
|
|
72
103
|
export declare const SpaceForm: Schema.Struct<{
|
|
73
104
|
name: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
74
105
|
icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
75
106
|
hue: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
76
|
-
edgeReplication: Schema.SchemaClass<boolean, boolean, never
|
|
107
|
+
edgeReplication: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
77
108
|
}>;
|
|
78
|
-
export
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
readonly
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
} & {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
readonly
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
readonly
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
}
|
|
212
|
-
const
|
|
213
|
-
readonly
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
readonly
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
109
|
+
export declare namespace CollectionOperation {
|
|
110
|
+
const Create: Omit<{
|
|
111
|
+
readonly meta: {
|
|
112
|
+
readonly key: "dxos.org/plugin/collection/operation/create";
|
|
113
|
+
readonly name: "Create Collection";
|
|
114
|
+
};
|
|
115
|
+
readonly services: readonly [typeof Capability.Service];
|
|
116
|
+
readonly schema: {
|
|
117
|
+
readonly input: Schema.Struct<{
|
|
118
|
+
name: Schema.optional<typeof Schema.String>;
|
|
119
|
+
}>;
|
|
120
|
+
readonly output: Schema.Struct<{
|
|
121
|
+
object: Type.Obj<{
|
|
122
|
+
readonly name?: string | undefined;
|
|
123
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
124
|
+
}, Schema.Struct.Fields>;
|
|
125
|
+
}>;
|
|
126
|
+
};
|
|
127
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
128
|
+
readonly executionMode: "sync" | "async";
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Operations for the Space plugin.
|
|
133
|
+
*/
|
|
134
|
+
export declare namespace SpaceOperation {
|
|
135
|
+
const Create: Omit<{
|
|
136
|
+
readonly meta: {
|
|
137
|
+
readonly key: `${string}/create`;
|
|
138
|
+
readonly name: "Create Space";
|
|
139
|
+
readonly description: "Create a new space.";
|
|
140
|
+
};
|
|
141
|
+
readonly services: readonly [typeof Capability.Service, typeof Plugin.Service];
|
|
142
|
+
readonly schema: {
|
|
143
|
+
readonly input: Schema.Struct<{
|
|
144
|
+
name: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
145
|
+
icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
146
|
+
hue: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
147
|
+
edgeReplication: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
148
|
+
}>;
|
|
149
|
+
readonly output: Schema.Struct<{
|
|
150
|
+
id: typeof Schema.String;
|
|
151
|
+
subject: Schema.Array$<typeof Schema.String>;
|
|
152
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
153
|
+
}>;
|
|
154
|
+
};
|
|
155
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
156
|
+
readonly executionMode: "sync" | "async";
|
|
157
|
+
};
|
|
158
|
+
const Join: Omit<{
|
|
159
|
+
readonly meta: {
|
|
160
|
+
readonly key: `${string}/join`;
|
|
161
|
+
readonly name: "Join Space";
|
|
162
|
+
readonly description: "Join a space via invitation.";
|
|
163
|
+
};
|
|
164
|
+
readonly services: readonly [typeof Capability.Service];
|
|
165
|
+
readonly schema: {
|
|
166
|
+
readonly input: Schema.Struct<{
|
|
167
|
+
invitationCode: Schema.optional<typeof Schema.String>;
|
|
168
|
+
onDone: Schema.optional<typeof Schema.Any>;
|
|
169
|
+
}>;
|
|
170
|
+
readonly output: typeof Schema.Void;
|
|
171
|
+
};
|
|
172
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
173
|
+
readonly executionMode: "sync" | "async";
|
|
174
|
+
};
|
|
175
|
+
const Open: Omit<{
|
|
176
|
+
readonly meta: {
|
|
177
|
+
readonly key: `${string}/open`;
|
|
178
|
+
readonly name: "Open Space";
|
|
179
|
+
readonly description: "Open a space.";
|
|
180
|
+
};
|
|
181
|
+
readonly services: readonly [typeof Capability.Service];
|
|
182
|
+
readonly schema: {
|
|
183
|
+
readonly input: Schema.Struct<{
|
|
184
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
185
|
+
}>;
|
|
186
|
+
readonly output: typeof Schema.Void;
|
|
187
|
+
};
|
|
188
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
189
|
+
readonly executionMode: "sync" | "async";
|
|
190
|
+
};
|
|
191
|
+
const Close: Omit<{
|
|
192
|
+
readonly meta: {
|
|
193
|
+
readonly key: `${string}/close`;
|
|
194
|
+
readonly name: "Close Space";
|
|
195
|
+
readonly description: "Close a space.";
|
|
196
|
+
};
|
|
197
|
+
readonly services: readonly [typeof Capability.Service];
|
|
198
|
+
readonly schema: {
|
|
199
|
+
readonly input: Schema.Struct<{
|
|
200
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
201
|
+
}>;
|
|
202
|
+
readonly output: typeof Schema.Void;
|
|
203
|
+
};
|
|
204
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
205
|
+
readonly executionMode: "sync" | "async";
|
|
206
|
+
};
|
|
207
|
+
const Share: Omit<{
|
|
208
|
+
readonly meta: {
|
|
209
|
+
readonly key: `${string}/share`;
|
|
210
|
+
readonly name: "Share Space";
|
|
211
|
+
readonly description: "Share a space.";
|
|
212
|
+
};
|
|
213
|
+
readonly services: readonly [typeof Capability.Service];
|
|
214
|
+
readonly schema: {
|
|
215
|
+
readonly input: Schema.Struct<{
|
|
216
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
217
|
+
type: Schema.Enums<typeof Invitation.Type>;
|
|
218
|
+
authMethod: Schema.Enums<typeof Invitation.AuthMethod>;
|
|
219
|
+
multiUse: typeof Schema.Boolean;
|
|
220
|
+
target: Schema.optional<typeof Schema.String>;
|
|
221
|
+
}>;
|
|
222
|
+
readonly output: Schema.instanceOf<CancellableInvitationObservable>;
|
|
223
|
+
};
|
|
224
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
225
|
+
readonly executionMode: "sync" | "async";
|
|
226
|
+
};
|
|
227
|
+
const Lock: Omit<{
|
|
228
|
+
readonly meta: {
|
|
229
|
+
readonly key: `${string}/lock`;
|
|
230
|
+
readonly name: "Lock Space";
|
|
231
|
+
readonly description: "Lock a space to prevent modifications.";
|
|
232
|
+
};
|
|
233
|
+
readonly services: readonly [typeof Capability.Service];
|
|
234
|
+
readonly schema: {
|
|
235
|
+
readonly input: Schema.Struct<{
|
|
236
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
237
|
+
}>;
|
|
238
|
+
readonly output: typeof Schema.Void;
|
|
239
|
+
};
|
|
240
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
241
|
+
readonly executionMode: "sync" | "async";
|
|
242
|
+
};
|
|
243
|
+
const Unlock: Omit<{
|
|
244
|
+
readonly meta: {
|
|
245
|
+
readonly key: `${string}/unlock`;
|
|
246
|
+
readonly name: "Unlock Space";
|
|
247
|
+
readonly description: "Unlock a space to allow modifications.";
|
|
248
|
+
};
|
|
249
|
+
readonly services: readonly [typeof Capability.Service];
|
|
250
|
+
readonly schema: {
|
|
251
|
+
readonly input: Schema.Struct<{
|
|
252
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
253
|
+
}>;
|
|
254
|
+
readonly output: typeof Schema.Void;
|
|
255
|
+
};
|
|
256
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
257
|
+
readonly executionMode: "sync" | "async";
|
|
258
|
+
};
|
|
259
|
+
const OpenSettings: Omit<{
|
|
260
|
+
readonly meta: {
|
|
261
|
+
readonly key: `${string}/open-settings`;
|
|
262
|
+
readonly name: "Open Space Settings";
|
|
263
|
+
readonly description: "Open space settings.";
|
|
264
|
+
};
|
|
265
|
+
readonly services: readonly [typeof Capability.Service];
|
|
266
|
+
readonly schema: {
|
|
267
|
+
readonly input: Schema.Struct<{
|
|
268
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
269
|
+
}>;
|
|
270
|
+
readonly output: typeof Schema.Void;
|
|
271
|
+
};
|
|
272
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
273
|
+
readonly executionMode: "sync" | "async";
|
|
274
|
+
};
|
|
275
|
+
const WaitForObject: Omit<{
|
|
276
|
+
readonly meta: {
|
|
277
|
+
readonly key: `${string}/wait-for-object`;
|
|
278
|
+
readonly name: "Wait For Object";
|
|
279
|
+
readonly description: "Wait for an object to be available.";
|
|
280
|
+
};
|
|
281
|
+
readonly services: readonly [typeof Capability.Service];
|
|
282
|
+
readonly schema: {
|
|
283
|
+
readonly input: Schema.Struct<{
|
|
284
|
+
id: Schema.optional<typeof Schema.String>;
|
|
285
|
+
}>;
|
|
286
|
+
readonly output: typeof Schema.Void;
|
|
287
|
+
};
|
|
288
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
289
|
+
readonly executionMode: "sync" | "async";
|
|
290
|
+
};
|
|
291
|
+
const AddObject: Omit<{
|
|
292
|
+
readonly meta: {
|
|
293
|
+
readonly key: `${string}/add-object`;
|
|
294
|
+
readonly name: "Add Object";
|
|
295
|
+
readonly description: "Add an object to a space.";
|
|
296
|
+
};
|
|
297
|
+
readonly services: readonly [typeof Capability.Service];
|
|
298
|
+
readonly schema: {
|
|
299
|
+
readonly input: Schema.Struct<{
|
|
300
|
+
object: Schema.Schema<any, {
|
|
241
301
|
id: string;
|
|
242
|
-
}, never
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
} & {
|
|
254
|
-
input: Schema.Struct<{
|
|
255
|
-
object: Schema.Schema<any, any, never>;
|
|
256
|
-
target: Schema.Union<[Schema.Schema<Space, Space, never>, Type.obj<Schema.Struct<{
|
|
257
|
-
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
258
|
-
objects: import("effect/Schema").mutable<import("effect/Schema").Array$<import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
|
|
259
|
-
[x: string]: any;
|
|
302
|
+
} & import("@dxos/echo/internal").AnyProperties, never>;
|
|
303
|
+
target: Schema.Union<[Schema.Schema<Database.Database, Database.Database, never>, Type.Obj<{
|
|
304
|
+
readonly name?: string | undefined;
|
|
305
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
306
|
+
}, Schema.Struct.Fields>]>;
|
|
307
|
+
hidden: Schema.optional<typeof Schema.Boolean>;
|
|
308
|
+
}>;
|
|
309
|
+
readonly output: Schema.Struct<{
|
|
310
|
+
id: typeof Schema.String;
|
|
311
|
+
subject: Schema.Array$<typeof Schema.String>;
|
|
312
|
+
object: Schema.Schema<any, {
|
|
260
313
|
id: string;
|
|
261
|
-
}, never
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
source: Schema.Schema<Type.Expando, {
|
|
280
|
-
[x: string]: any;
|
|
281
|
-
id: string;
|
|
282
|
-
}, never>;
|
|
283
|
-
target: Schema.Schema<Type.Expando, {
|
|
284
|
-
[x: string]: any;
|
|
285
|
-
id: string;
|
|
286
|
-
}, never>;
|
|
287
|
-
fields: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
|
|
288
|
-
}>;
|
|
289
|
-
output: Schema.Struct<{
|
|
290
|
-
relation: typeof Schema.Any;
|
|
291
|
-
}>;
|
|
292
|
-
}>;
|
|
293
|
-
export class AddRelation extends AddRelation_base {
|
|
294
|
-
}
|
|
295
|
-
export const DeletionData: Schema.Struct<{
|
|
296
|
-
objects: Schema.Array$<Schema.Schema<any, any, never>>;
|
|
297
|
-
parentCollection: Type.obj<Schema.Struct<{
|
|
298
|
-
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
299
|
-
objects: import("effect/Schema").mutable<import("effect/Schema").Array$<import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
|
|
300
|
-
[x: string]: any;
|
|
301
|
-
id: string;
|
|
302
|
-
}, never>>>>;
|
|
303
|
-
}>>;
|
|
314
|
+
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
315
|
+
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
316
|
+
} & import("@dxos/echo/internal").TypeMeta;
|
|
317
|
+
}>;
|
|
318
|
+
};
|
|
319
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
320
|
+
readonly executionMode: "sync" | "async";
|
|
321
|
+
};
|
|
322
|
+
const RemoveObjectsOutput: Schema.Struct<{
|
|
323
|
+
objects: Schema.Array$<Schema.Schema<any, {
|
|
324
|
+
id: string;
|
|
325
|
+
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
326
|
+
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
327
|
+
} & import("@dxos/echo/internal").TypeMeta>;
|
|
328
|
+
parentCollection: Type.Obj<{
|
|
329
|
+
readonly name?: string | undefined;
|
|
330
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
331
|
+
}, Schema.Struct.Fields>;
|
|
304
332
|
indices: Schema.Array$<typeof Schema.Number>;
|
|
305
|
-
nestedObjectsList: Schema.Array$<Schema.Array$<Schema.Schema<any,
|
|
333
|
+
nestedObjectsList: Schema.Array$<Schema.Array$<Schema.Schema<any, {
|
|
334
|
+
id: string;
|
|
335
|
+
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
336
|
+
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
337
|
+
} & import("@dxos/echo/internal").TypeMeta>>;
|
|
306
338
|
wasActive: Schema.Array$<typeof Schema.String>;
|
|
307
339
|
}>;
|
|
308
|
-
|
|
309
|
-
const
|
|
310
|
-
readonly
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
340
|
+
type RemoveObjectsOutput = Schema.Schema.Type<typeof RemoveObjectsOutput>;
|
|
341
|
+
const RemoveObjects: Omit<{
|
|
342
|
+
readonly meta: {
|
|
343
|
+
readonly key: `${string}/remove-objects`;
|
|
344
|
+
readonly name: "Remove Objects";
|
|
345
|
+
readonly description: "Remove objects from a space.";
|
|
346
|
+
};
|
|
347
|
+
readonly services: readonly [typeof Capability.Service];
|
|
348
|
+
readonly schema: {
|
|
349
|
+
readonly input: Schema.Struct<{
|
|
350
|
+
objects: Schema.Array$<Schema.Schema<any, {
|
|
351
|
+
id: string;
|
|
352
|
+
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
353
|
+
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
354
|
+
} & import("@dxos/echo/internal").TypeMeta>;
|
|
355
|
+
target: Schema.optional<Type.Obj<{
|
|
356
|
+
readonly name?: string | undefined;
|
|
357
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
358
|
+
}, Schema.Struct.Fields>>;
|
|
359
|
+
}>;
|
|
360
|
+
readonly output: Schema.Struct<{
|
|
361
|
+
objects: Schema.Array$<Schema.Schema<any, {
|
|
318
362
|
id: string;
|
|
319
|
-
}, never
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
[x: string]: any;
|
|
327
|
-
id: string;
|
|
328
|
-
}, never>>>>;
|
|
329
|
-
}>>;
|
|
363
|
+
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
364
|
+
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
365
|
+
} & import("@dxos/echo/internal").TypeMeta>;
|
|
366
|
+
parentCollection: Type.Obj<{
|
|
367
|
+
readonly name?: string | undefined;
|
|
368
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
369
|
+
}, Schema.Struct.Fields>;
|
|
330
370
|
indices: Schema.Array$<typeof Schema.Number>;
|
|
331
|
-
nestedObjectsList: Schema.Array$<Schema.Array$<Schema.Schema<any,
|
|
371
|
+
nestedObjectsList: Schema.Array$<Schema.Array$<Schema.Schema<any, {
|
|
372
|
+
id: string;
|
|
373
|
+
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
374
|
+
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
375
|
+
} & import("@dxos/echo/internal").TypeMeta>>;
|
|
332
376
|
wasActive: Schema.Array$<typeof Schema.String>;
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
caller: Schema.optional<typeof Schema.String>;
|
|
377
|
+
}>;
|
|
378
|
+
};
|
|
379
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
380
|
+
readonly executionMode: "sync" | "async";
|
|
381
|
+
};
|
|
382
|
+
const DeleteFieldOutput: Schema.Struct<{
|
|
383
|
+
field: Schema.Struct<{
|
|
384
|
+
id: typeof Schema.String;
|
|
385
|
+
path: Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
|
|
386
|
+
visible: Schema.optional<typeof Schema.Boolean>;
|
|
387
|
+
referencePath: Schema.optional<Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
|
|
345
388
|
}>;
|
|
346
|
-
|
|
389
|
+
props: Schema.SchemaClass<any, any, never>;
|
|
390
|
+
index: Schema.SchemaClass<number, number, never>;
|
|
347
391
|
}>;
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
392
|
+
type DeleteFieldOutput = Schema.Schema.Type<typeof DeleteFieldOutput>;
|
|
393
|
+
const DeleteField: Omit<{
|
|
394
|
+
readonly meta: {
|
|
395
|
+
readonly key: `${string}/delete-field`;
|
|
396
|
+
readonly name: "Delete Field";
|
|
397
|
+
readonly description: "Delete a field from a view.";
|
|
398
|
+
};
|
|
399
|
+
readonly services: readonly [typeof Capability.Service];
|
|
400
|
+
readonly schema: {
|
|
401
|
+
readonly input: Schema.Struct<{
|
|
402
|
+
view: Type.Obj<View.View, Schema.Struct.Fields>;
|
|
403
|
+
fieldId: typeof Schema.String;
|
|
404
|
+
}>;
|
|
405
|
+
readonly output: Schema.Struct<{
|
|
406
|
+
field: Schema.Struct<{
|
|
407
|
+
id: typeof Schema.String;
|
|
408
|
+
path: Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
|
|
409
|
+
visible: Schema.optional<typeof Schema.Boolean>;
|
|
410
|
+
referencePath: Schema.optional<Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
|
|
411
|
+
}>;
|
|
412
|
+
props: Schema.SchemaClass<any, any, never>;
|
|
413
|
+
index: Schema.SchemaClass<number, number, never>;
|
|
414
|
+
}>;
|
|
415
|
+
};
|
|
416
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
417
|
+
readonly executionMode: "sync" | "async";
|
|
418
|
+
};
|
|
419
|
+
const OpenCreateObject: Omit<{
|
|
420
|
+
readonly meta: {
|
|
421
|
+
readonly key: `${string}/open-create-object`;
|
|
422
|
+
readonly name: "Open Create Object Dialog";
|
|
423
|
+
readonly description: "Open the create object dialog.";
|
|
424
|
+
};
|
|
425
|
+
readonly services: readonly [typeof Capability.Service];
|
|
426
|
+
readonly schema: {
|
|
427
|
+
readonly input: Schema.Struct<{
|
|
428
|
+
target: Schema.Union<[Schema.Schema<Database.Database, Database.Database, never>, Type.Obj<{
|
|
429
|
+
readonly name?: string | undefined;
|
|
430
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
431
|
+
}, Schema.Struct.Fields>]>;
|
|
432
|
+
views: Schema.optional<typeof Schema.Boolean>;
|
|
433
|
+
typename: Schema.optional<typeof Schema.String>;
|
|
434
|
+
initialFormValues: Schema.optional<typeof Schema.Any>;
|
|
435
|
+
navigable: Schema.optional<typeof Schema.Boolean>;
|
|
436
|
+
onCreateObject: Schema.optional<typeof Schema.Any>;
|
|
437
|
+
}>;
|
|
438
|
+
readonly output: typeof Schema.Void;
|
|
439
|
+
};
|
|
440
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
441
|
+
readonly executionMode: "sync" | "async";
|
|
442
|
+
};
|
|
443
|
+
const OpenCreateSpace: Omit<{
|
|
444
|
+
readonly meta: {
|
|
445
|
+
readonly key: `${string}/open-create-space`;
|
|
446
|
+
readonly name: "Open Create Space Dialog";
|
|
447
|
+
readonly description: "Open the create space dialog.";
|
|
448
|
+
};
|
|
449
|
+
readonly services: readonly [typeof Capability.Service];
|
|
450
|
+
readonly schema: {
|
|
451
|
+
readonly input: typeof Schema.Void;
|
|
452
|
+
readonly output: typeof Schema.Void;
|
|
453
|
+
};
|
|
454
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
455
|
+
readonly executionMode: "sync" | "async";
|
|
456
|
+
};
|
|
457
|
+
const Migrate: Omit<{
|
|
458
|
+
readonly meta: {
|
|
459
|
+
readonly key: `${string}/migrate`;
|
|
460
|
+
readonly name: "Migrate Space";
|
|
461
|
+
readonly description: "Migrate a space to a new version.";
|
|
462
|
+
};
|
|
463
|
+
readonly services: readonly [typeof Capability.Service];
|
|
464
|
+
readonly schema: {
|
|
465
|
+
readonly input: Schema.Struct<{
|
|
466
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
467
|
+
version: Schema.optional<typeof Schema.String>;
|
|
468
|
+
}>;
|
|
469
|
+
readonly output: typeof Schema.Boolean;
|
|
470
|
+
};
|
|
471
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
472
|
+
readonly executionMode: "sync" | "async";
|
|
473
|
+
};
|
|
474
|
+
const Snapshot: Omit<{
|
|
475
|
+
readonly meta: {
|
|
476
|
+
readonly key: `${string}/snapshot`;
|
|
477
|
+
readonly name: "Create Snapshot";
|
|
478
|
+
readonly description: "Create a snapshot of the space.";
|
|
479
|
+
};
|
|
480
|
+
readonly services: readonly [typeof Capability.Service];
|
|
481
|
+
readonly schema: {
|
|
482
|
+
readonly input: Schema.Struct<{
|
|
483
|
+
db: Schema.Schema<Database.Database, Database.Database, never>;
|
|
484
|
+
query: Schema.optional<Schema.Schema<QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryHierarchyTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause | QueryAST.QueryLimitClause, QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryHierarchyTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause | QueryAST.QueryLimitClause, never>>;
|
|
485
|
+
}>;
|
|
486
|
+
readonly output: Schema.Struct<{
|
|
487
|
+
snapshot: Schema.instanceOf<Blob>;
|
|
488
|
+
}>;
|
|
489
|
+
};
|
|
490
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
491
|
+
readonly executionMode: "sync" | "async";
|
|
492
|
+
};
|
|
493
|
+
const Rename: Omit<{
|
|
494
|
+
readonly meta: {
|
|
495
|
+
readonly key: `${string}/rename`;
|
|
496
|
+
readonly name: "Rename Space";
|
|
497
|
+
readonly description: "Rename a space.";
|
|
498
|
+
};
|
|
499
|
+
readonly services: readonly [typeof Capability.Service];
|
|
500
|
+
readonly schema: {
|
|
501
|
+
readonly input: Schema.Struct<{
|
|
502
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
503
|
+
caller: Schema.optional<typeof Schema.String>;
|
|
504
|
+
}>;
|
|
505
|
+
readonly output: typeof Schema.Void;
|
|
506
|
+
};
|
|
507
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
508
|
+
readonly executionMode: "sync" | "async";
|
|
509
|
+
};
|
|
510
|
+
const RenameObject: Omit<{
|
|
511
|
+
readonly meta: {
|
|
512
|
+
readonly key: `${string}/rename-object`;
|
|
513
|
+
readonly name: "Rename Object";
|
|
514
|
+
readonly description: "Rename an object.";
|
|
515
|
+
};
|
|
516
|
+
readonly services: readonly [typeof Capability.Service];
|
|
517
|
+
readonly schema: {
|
|
518
|
+
readonly input: Schema.Struct<{
|
|
519
|
+
object: Schema.Schema<any, {
|
|
359
520
|
id: string;
|
|
360
|
-
}, never
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
readonly
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
521
|
+
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
522
|
+
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
523
|
+
} & import("@dxos/echo/internal").TypeMeta;
|
|
524
|
+
caller: Schema.optional<typeof Schema.String>;
|
|
525
|
+
}>;
|
|
526
|
+
readonly output: typeof Schema.Void;
|
|
527
|
+
};
|
|
528
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
529
|
+
readonly executionMode: "sync" | "async";
|
|
530
|
+
};
|
|
531
|
+
const OpenMembers: Omit<{
|
|
532
|
+
readonly meta: {
|
|
533
|
+
readonly key: `${string}/open-members`;
|
|
534
|
+
readonly name: "Open Members";
|
|
535
|
+
readonly description: "Open the members panel for a space.";
|
|
536
|
+
};
|
|
537
|
+
readonly services: readonly [typeof Capability.Service];
|
|
538
|
+
readonly schema: {
|
|
539
|
+
readonly input: Schema.Struct<{
|
|
540
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
541
|
+
}>;
|
|
542
|
+
readonly output: typeof Schema.Void;
|
|
543
|
+
};
|
|
544
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
545
|
+
readonly executionMode: "sync" | "async";
|
|
546
|
+
};
|
|
547
|
+
const GetShareLink: Omit<{
|
|
548
|
+
readonly meta: {
|
|
549
|
+
readonly key: `${string}/get-share-link`;
|
|
550
|
+
readonly name: "Get Share Link";
|
|
551
|
+
readonly description: "Get a shareable link for a space.";
|
|
552
|
+
};
|
|
553
|
+
readonly services: readonly [typeof Capability.Service];
|
|
554
|
+
readonly schema: {
|
|
555
|
+
readonly input: Schema.Struct<{
|
|
556
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
557
|
+
target: Schema.optional<typeof Schema.String>;
|
|
558
|
+
copyToClipboard: Schema.optional<typeof Schema.Boolean>;
|
|
559
|
+
}>;
|
|
560
|
+
readonly output: typeof Schema.String;
|
|
561
|
+
};
|
|
562
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
563
|
+
readonly executionMode: "sync" | "async";
|
|
564
|
+
};
|
|
565
|
+
const StoredSchemaForm: Schema.Struct<{
|
|
399
566
|
name: Schema.optional<typeof Schema.String>;
|
|
400
567
|
typename: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
401
568
|
}>;
|
|
402
|
-
const
|
|
403
|
-
readonly
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
}
|
|
418
|
-
|
|
569
|
+
const UseStaticSchema: Omit<{
|
|
570
|
+
readonly meta: {
|
|
571
|
+
readonly key: `${string}/use-static-schema`;
|
|
572
|
+
readonly name: "Use Static Schema";
|
|
573
|
+
readonly description: "Use a static schema in the space.";
|
|
574
|
+
};
|
|
575
|
+
readonly services: readonly [typeof Capability.Service, typeof Plugin.Service];
|
|
576
|
+
readonly schema: {
|
|
577
|
+
readonly input: Schema.Struct<{
|
|
578
|
+
db: Schema.Schema<Database.Database, Database.Database, never>;
|
|
579
|
+
typename: typeof Schema.String;
|
|
580
|
+
show: Schema.optional<typeof Schema.Boolean>;
|
|
581
|
+
}>;
|
|
582
|
+
readonly output: Schema.Struct<{}>;
|
|
583
|
+
};
|
|
584
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
585
|
+
readonly executionMode: "sync" | "async";
|
|
586
|
+
};
|
|
587
|
+
const AddSchema: Omit<{
|
|
588
|
+
readonly meta: {
|
|
589
|
+
readonly key: `${string}/add-schema`;
|
|
590
|
+
readonly name: "Add Schema";
|
|
591
|
+
readonly description: "Add a schema to the space.";
|
|
592
|
+
};
|
|
593
|
+
readonly services: readonly [typeof Capability.Service, typeof Plugin.Service];
|
|
594
|
+
readonly schema: {
|
|
595
|
+
readonly input: Schema.Struct<{
|
|
596
|
+
db: Schema.Schema<Database.Database, Database.Database, never>;
|
|
597
|
+
name: Schema.optional<typeof Schema.String>;
|
|
598
|
+
typename: Schema.optional<typeof Schema.String>;
|
|
599
|
+
version: Schema.optional<typeof Schema.String>;
|
|
600
|
+
schema: typeof Schema.Any;
|
|
601
|
+
show: Schema.optional<typeof Schema.Boolean>;
|
|
602
|
+
}>;
|
|
603
|
+
readonly output: Schema.Struct<{
|
|
604
|
+
id: typeof Schema.String;
|
|
605
|
+
object: Type.Obj<import("@dxos/echo/internal").PersistentSchema, Schema.Struct.Fields>;
|
|
606
|
+
schema: Schema.instanceOf<Type.RuntimeType<unknown, unknown>>;
|
|
607
|
+
}>;
|
|
608
|
+
};
|
|
609
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
610
|
+
readonly executionMode: "sync" | "async";
|
|
611
|
+
};
|
|
612
|
+
const AddRelation: Omit<{
|
|
613
|
+
readonly meta: {
|
|
614
|
+
readonly key: `${string}/add-relation`;
|
|
615
|
+
readonly name: "Add Relation";
|
|
616
|
+
readonly description: "Add a relation between objects.";
|
|
617
|
+
};
|
|
618
|
+
readonly services: readonly [typeof Capability.Service];
|
|
619
|
+
readonly schema: {
|
|
620
|
+
readonly input: Schema.Struct<{
|
|
621
|
+
db: Schema.Schema<Database.Database, Database.Database, never>;
|
|
622
|
+
schema: typeof Schema.Any;
|
|
623
|
+
source: Schema.Schema<any, {
|
|
624
|
+
id: string;
|
|
625
|
+
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
626
|
+
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
627
|
+
} & import("@dxos/echo/internal").TypeMeta;
|
|
628
|
+
target: Schema.Schema<any, {
|
|
629
|
+
id: string;
|
|
630
|
+
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
631
|
+
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
632
|
+
} & import("@dxos/echo/internal").TypeMeta;
|
|
633
|
+
fields: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
|
|
634
|
+
}>;
|
|
635
|
+
readonly output: Schema.Struct<{
|
|
636
|
+
relation: typeof Schema.Any;
|
|
637
|
+
}>;
|
|
638
|
+
};
|
|
639
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
640
|
+
readonly executionMode: "sync" | "async";
|
|
641
|
+
};
|
|
642
|
+
const DuplicateObject: Omit<{
|
|
643
|
+
readonly meta: {
|
|
644
|
+
readonly key: `${string}/duplicate-object`;
|
|
645
|
+
readonly name: "Duplicate Object";
|
|
646
|
+
readonly description: "Duplicate an object.";
|
|
647
|
+
};
|
|
648
|
+
readonly services: readonly [typeof Capability.Service];
|
|
649
|
+
readonly schema: {
|
|
650
|
+
readonly input: Schema.Struct<{
|
|
651
|
+
object: Schema.Schema<any, {
|
|
652
|
+
id: string;
|
|
653
|
+
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
654
|
+
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
655
|
+
} & import("@dxos/echo/internal").TypeMeta;
|
|
656
|
+
target: Schema.Union<[Schema.Schema<Database.Database, Database.Database, never>, Type.Obj<{
|
|
657
|
+
readonly name?: string | undefined;
|
|
658
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
659
|
+
}, Schema.Struct.Fields>]>;
|
|
660
|
+
}>;
|
|
661
|
+
readonly output: typeof Schema.Void;
|
|
662
|
+
};
|
|
663
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
664
|
+
readonly executionMode: "sync" | "async";
|
|
665
|
+
};
|
|
666
|
+
/**
|
|
667
|
+
* Restore a deleted field to a view (inverse of DeleteField).
|
|
668
|
+
*/
|
|
669
|
+
const RestoreField: Omit<{
|
|
670
|
+
readonly meta: {
|
|
671
|
+
readonly key: `${string}/restore-field`;
|
|
672
|
+
readonly name: "Restore Field";
|
|
673
|
+
readonly description: "Restore a deleted field to a view.";
|
|
674
|
+
};
|
|
675
|
+
readonly services: readonly [typeof Capability.Service];
|
|
676
|
+
readonly schema: {
|
|
677
|
+
readonly input: Schema.Struct<{
|
|
678
|
+
view: Type.Obj<View.View, Schema.Struct.Fields>;
|
|
679
|
+
field: Schema.Struct<{
|
|
680
|
+
id: typeof Schema.String;
|
|
681
|
+
path: Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
|
|
682
|
+
visible: Schema.optional<typeof Schema.Boolean>;
|
|
683
|
+
referencePath: Schema.optional<Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
|
|
684
|
+
}>;
|
|
685
|
+
props: Schema.SchemaClass<any, any, never>;
|
|
686
|
+
index: Schema.SchemaClass<number, number, never>;
|
|
687
|
+
}>;
|
|
688
|
+
readonly output: typeof Schema.Void;
|
|
689
|
+
};
|
|
690
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
691
|
+
readonly executionMode: "sync" | "async";
|
|
692
|
+
};
|
|
693
|
+
/**
|
|
694
|
+
* Restore deleted objects to a space (inverse of RemoveObjects).
|
|
695
|
+
*/
|
|
696
|
+
const RestoreObjects: Omit<{
|
|
697
|
+
readonly meta: {
|
|
698
|
+
readonly key: `${string}/restore-objects`;
|
|
699
|
+
readonly name: "Restore Objects";
|
|
700
|
+
readonly description: "Restore deleted objects to a space.";
|
|
701
|
+
};
|
|
702
|
+
readonly services: readonly [typeof Capability.Service];
|
|
703
|
+
readonly schema: {
|
|
704
|
+
readonly input: Schema.Struct<{
|
|
705
|
+
objects: Schema.Array$<Schema.Schema<any, {
|
|
706
|
+
id: string;
|
|
707
|
+
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
708
|
+
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
709
|
+
} & import("@dxos/echo/internal").TypeMeta>;
|
|
710
|
+
parentCollection: Type.Obj<{
|
|
711
|
+
readonly name?: string | undefined;
|
|
712
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
713
|
+
}, Schema.Struct.Fields>;
|
|
714
|
+
indices: Schema.Array$<typeof Schema.Number>;
|
|
715
|
+
nestedObjectsList: Schema.Array$<Schema.Array$<Schema.Schema<any, {
|
|
716
|
+
id: string;
|
|
717
|
+
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
718
|
+
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
719
|
+
} & import("@dxos/echo/internal").TypeMeta>>;
|
|
720
|
+
wasActive: Schema.Array$<typeof Schema.String>;
|
|
721
|
+
}>;
|
|
722
|
+
readonly output: typeof Schema.Void;
|
|
723
|
+
};
|
|
724
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
725
|
+
readonly executionMode: "sync" | "async";
|
|
726
|
+
};
|
|
419
727
|
}
|
|
420
728
|
//# sourceMappingURL=types.d.ts.map
|