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