@dxos/plugin-client 0.8.4-main.1068cf700f → 0.8.4-main.1c7ec43d41
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/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
- package/dist/lib/browser/chunk-M37DHX5L.mjs +131 -0
- package/dist/lib/browser/chunk-M37DHX5L.mjs.map +7 -0
- package/dist/lib/browser/chunk-RPMM5NKJ.mjs +175 -0
- package/dist/lib/browser/chunk-RPMM5NKJ.mjs.map +7 -0
- package/dist/lib/browser/chunk-VAIJSQYA.mjs +12 -0
- package/dist/lib/browser/chunk-VAIJSQYA.mjs.map +7 -0
- package/dist/lib/browser/create-agent-JV3EM3TV.mjs +26 -0
- package/dist/lib/browser/create-agent-JV3EM3TV.mjs.map +7 -0
- package/dist/lib/browser/create-identity-ZITQKEVZ.mjs +30 -0
- package/dist/lib/browser/create-identity-ZITQKEVZ.mjs.map +7 -0
- package/dist/lib/browser/create-passkey-NCP4XA7C.mjs +81 -0
- package/dist/lib/browser/create-passkey-NCP4XA7C.mjs.map +7 -0
- package/dist/lib/browser/create-recovery-code-L5LA3GAP.mjs +36 -0
- package/dist/lib/browser/create-recovery-code-L5LA3GAP.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +18 -139
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/join-identity-3W6PJLKN.mjs +27 -0
- package/dist/lib/browser/join-identity-3W6PJLKN.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/operations/index.mjs +13 -0
- package/dist/lib/browser/operations/index.mjs.map +7 -0
- package/dist/lib/browser/plugin.mjs +61 -0
- package/dist/lib/browser/plugin.mjs.map +7 -0
- package/dist/lib/browser/recover-identity-KL6QY4GI.mjs +26 -0
- package/dist/lib/browser/recover-identity-KL6QY4GI.mjs.map +7 -0
- package/dist/lib/browser/redeem-passkey-NDEWSJTM.mjs +66 -0
- package/dist/lib/browser/redeem-passkey-NDEWSJTM.mjs.map +7 -0
- package/dist/lib/browser/redeem-token-YLWAVFXD.mjs +29 -0
- package/dist/lib/browser/redeem-token-YLWAVFXD.mjs.map +7 -0
- package/dist/lib/browser/reset-storage-OBHEGA6Z.mjs +26 -0
- package/dist/lib/browser/reset-storage-OBHEGA6Z.mjs.map +7 -0
- package/dist/lib/browser/share-identity-FTFHFSZQ.mjs +31 -0
- package/dist/lib/browser/share-identity-FTFHFSZQ.mjs.map +7 -0
- package/dist/lib/browser/testing/index.mjs +22 -0
- package/dist/lib/browser/testing/index.mjs.map +7 -0
- package/dist/lib/browser/translations.mjs +74 -0
- package/dist/lib/browser/translations.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +4 -5
- package/dist/lib/node-esm/chunk-G77YYPR6.mjs +176 -0
- package/dist/lib/node-esm/chunk-G77YYPR6.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-OHKM7GJW.mjs +14 -0
- package/dist/lib/node-esm/chunk-OHKM7GJW.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-UBY7FBQ7.mjs +133 -0
- package/dist/lib/node-esm/chunk-UBY7FBQ7.mjs.map +7 -0
- package/dist/lib/node-esm/create-agent-Y4BPVDV7.mjs +27 -0
- package/dist/lib/node-esm/create-agent-Y4BPVDV7.mjs.map +7 -0
- package/dist/lib/node-esm/create-identity-367SQSX6.mjs +31 -0
- package/dist/lib/node-esm/create-identity-367SQSX6.mjs.map +7 -0
- package/dist/lib/node-esm/create-passkey-WMWK2ETT.mjs +82 -0
- package/dist/lib/node-esm/create-passkey-WMWK2ETT.mjs.map +7 -0
- package/dist/lib/node-esm/create-recovery-code-VJGE5HJL.mjs +37 -0
- package/dist/lib/node-esm/create-recovery-code-VJGE5HJL.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +18 -139
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/join-identity-IRIRO2VT.mjs +28 -0
- package/dist/lib/node-esm/join-identity-IRIRO2VT.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/operations/index.mjs +14 -0
- package/dist/lib/node-esm/operations/index.mjs.map +7 -0
- package/dist/lib/node-esm/plugin.mjs +62 -0
- package/dist/lib/node-esm/plugin.mjs.map +7 -0
- package/dist/lib/node-esm/recover-identity-LJCY4BCJ.mjs +27 -0
- package/dist/lib/node-esm/recover-identity-LJCY4BCJ.mjs.map +7 -0
- package/dist/lib/node-esm/redeem-passkey-PT7QWFJE.mjs +67 -0
- package/dist/lib/node-esm/redeem-passkey-PT7QWFJE.mjs.map +7 -0
- package/dist/lib/node-esm/redeem-token-BHKHEXJM.mjs +30 -0
- package/dist/lib/node-esm/redeem-token-BHKHEXJM.mjs.map +7 -0
- package/dist/lib/node-esm/reset-storage-VPUZJOUV.mjs +27 -0
- package/dist/lib/node-esm/reset-storage-VPUZJOUV.mjs.map +7 -0
- package/dist/lib/node-esm/share-identity-SZ3REIRC.mjs +32 -0
- package/dist/lib/node-esm/share-identity-SZ3REIRC.mjs.map +7 -0
- package/dist/lib/node-esm/testing/index.mjs +23 -0
- package/dist/lib/node-esm/testing/index.mjs.map +7 -0
- package/dist/lib/node-esm/translations.mjs +75 -0
- package/dist/lib/node-esm/translations.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +4 -5
- package/dist/types/src/ClientPlugin.d.ts +2 -1
- package/dist/types/src/ClientPlugin.d.ts.map +1 -1
- package/dist/types/src/ClientPlugin.node.d.ts +5 -0
- package/dist/types/src/ClientPlugin.node.d.ts.map +1 -0
- package/dist/types/src/ClientPlugin.test.d.ts +2 -0
- package/dist/types/src/ClientPlugin.test.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts +6 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/client.d.ts +8 -0
- package/dist/types/src/capabilities/client.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +32 -7
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/migrations.d.ts +5 -0
- package/dist/types/src/capabilities/migrations.d.ts.map +1 -0
- package/dist/types/src/capabilities/navigation-handler/index.d.ts +4 -0
- package/dist/types/src/capabilities/navigation-handler/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/navigation-handler/navigation-handler.d.ts +15 -0
- package/dist/types/src/capabilities/navigation-handler/navigation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/node.d.ts +21 -0
- package/dist/types/src/capabilities/node.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/{react-context/react-context.d.ts → react-context.d.ts} +1 -1
- package/dist/types/src/capabilities/react-context.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts +9 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/capabilities/schema-defs.d.ts +5 -0
- package/dist/types/src/capabilities/schema-defs.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/config/index.d.ts +1 -1
- package/dist/types/src/commands/config/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/config/view.d.ts +1 -1
- package/dist/types/src/commands/config/view.d.ts.map +1 -0
- package/dist/types/src/commands/device/index.d.ts.map +1 -0
- package/dist/types/src/commands/device/info/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/device/info/info.d.ts +2 -2
- package/dist/types/src/commands/device/info/info.d.ts.map +1 -0
- package/dist/types/src/commands/device/info/info.test.d.ts.map +1 -0
- package/dist/types/src/commands/device/list/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/device/list/list.d.ts +2 -2
- package/dist/types/src/commands/device/list/list.d.ts.map +1 -0
- package/dist/types/src/commands/device/list/list.test.d.ts.map +1 -0
- package/dist/types/src/commands/device/update/index.d.ts.map +1 -0
- package/dist/types/src/commands/device/update/update.d.ts.map +1 -0
- package/dist/types/src/commands/device/util.d.ts.map +1 -0
- package/dist/types/src/commands/edge/index.d.ts.map +1 -0
- package/dist/types/src/commands/edge/status.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/halo/create/create.d.ts +2 -2
- package/dist/types/src/commands/halo/create/create.d.ts.map +1 -0
- package/dist/types/src/commands/halo/create/create.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/create/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/add/add.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/add/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/list/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/halo/credential/list/list.d.ts +3 -3
- package/dist/types/src/commands/halo/credential/list/list.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/list/list.test.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/halo/identity/identity.d.ts +2 -2
- package/dist/types/src/commands/halo/identity/identity.d.ts.map +1 -0
- package/dist/types/src/commands/halo/identity/identity.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/identity/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/join/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/halo/join/join.d.ts +1 -1
- package/dist/types/src/commands/halo/join/join.d.ts.map +1 -0
- package/dist/types/src/commands/halo/join/join.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/keys/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/halo/keys/keys.d.ts +2 -2
- package/dist/types/src/commands/halo/keys/keys.d.ts.map +1 -0
- package/dist/types/src/commands/halo/keys/keys.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/recover/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/recover/recover.d.ts.map +1 -0
- package/dist/types/src/commands/halo/recover/recover.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/seed/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/seed/seed.d.ts.map +1 -0
- package/dist/types/src/commands/halo/share/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/share/share.d.ts.map +1 -0
- package/dist/types/src/commands/halo/update/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/update/update.d.ts.map +1 -0
- package/dist/types/src/commands/halo/update/update.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/util.d.ts.map +1 -0
- package/dist/types/src/commands/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/profile/create.d.ts +3 -2
- package/dist/types/src/commands/profile/create.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/profile/delete.d.ts +1 -1
- package/dist/types/src/commands/profile/delete.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/profile/import.d.ts +2 -2
- package/dist/types/src/commands/profile/import.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/profile/index.d.ts +6 -6
- package/dist/types/src/commands/profile/index.d.ts.map +1 -0
- package/dist/types/src/commands/profile/inspect.d.ts.map +1 -0
- package/dist/types/src/commands/profile/list.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/profile/reset.d.ts +1 -1
- package/dist/types/src/commands/profile/reset.d.ts.map +1 -0
- package/dist/types/src/commands/profile/util.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +0 -6
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/containers/DevicesContainer/DevicesContainer.d.ts.map +1 -0
- package/dist/types/src/containers/DevicesContainer/DevicesContainer.stories.d.ts +184 -0
- package/dist/types/src/containers/DevicesContainer/DevicesContainer.stories.d.ts.map +1 -0
- package/dist/types/src/containers/DevicesContainer/index.d.ts +2 -0
- package/dist/types/src/containers/DevicesContainer/index.d.ts.map +1 -0
- package/dist/types/src/containers/JoinDialog/JoinDialog.d.ts.map +1 -0
- package/dist/types/src/containers/JoinDialog/JoinDialog.stories.d.ts +15 -0
- package/dist/types/src/containers/JoinDialog/JoinDialog.stories.d.ts.map +1 -0
- package/dist/types/src/containers/JoinDialog/index.d.ts +2 -0
- package/dist/types/src/containers/JoinDialog/index.d.ts.map +1 -0
- package/dist/types/src/containers/ProfileContainer/ProfileContainer.d.ts.map +1 -0
- package/dist/types/src/containers/ProfileContainer/ProfileContainer.stories.d.ts.map +1 -0
- package/dist/types/src/containers/ProfileContainer/index.d.ts +2 -0
- package/dist/types/src/containers/ProfileContainer/index.d.ts.map +1 -0
- package/dist/types/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.d.ts.map +1 -0
- package/dist/types/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.stories.d.ts.map +1 -0
- package/dist/types/src/containers/RecoveryCodeDialog/index.d.ts +4 -0
- package/dist/types/src/containers/RecoveryCodeDialog/index.d.ts.map +1 -0
- package/dist/types/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.d.ts.map +1 -0
- package/dist/types/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.stories.d.ts.map +1 -0
- package/dist/types/src/containers/RecoveryCredentialsContainer/index.d.ts +2 -0
- package/dist/types/src/containers/RecoveryCredentialsContainer/index.d.ts.map +1 -0
- package/dist/types/src/{components → containers/ResetDialog}/ResetDialog.d.ts +1 -1
- package/dist/types/src/containers/ResetDialog/ResetDialog.d.ts.map +1 -0
- package/dist/types/src/{components → containers/ResetDialog}/ResetDialog.stories.d.ts +1 -1
- package/dist/types/src/containers/ResetDialog/ResetDialog.stories.d.ts.map +1 -0
- package/dist/types/src/containers/ResetDialog/index.d.ts +4 -0
- package/dist/types/src/containers/ResetDialog/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +10 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +3 -4
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/operations/create-agent.d.ts +5 -0
- package/dist/types/src/operations/create-agent.d.ts.map +1 -0
- package/dist/types/src/operations/create-identity.d.ts +5 -0
- package/dist/types/src/operations/create-identity.d.ts.map +1 -0
- package/dist/types/src/operations/create-passkey.d.ts +5 -0
- package/dist/types/src/operations/create-passkey.d.ts.map +1 -0
- package/dist/types/src/operations/create-recovery-code.d.ts +5 -0
- package/dist/types/src/operations/create-recovery-code.d.ts.map +1 -0
- package/dist/types/src/operations/definitions.d.ts +36 -0
- package/dist/types/src/operations/definitions.d.ts.map +1 -0
- package/dist/types/src/operations/index.d.ts +4 -0
- package/dist/types/src/operations/index.d.ts.map +1 -0
- package/dist/types/src/operations/join-identity.d.ts +5 -0
- package/dist/types/src/operations/join-identity.d.ts.map +1 -0
- package/dist/types/src/operations/recover-identity.d.ts +5 -0
- package/dist/types/src/operations/recover-identity.d.ts.map +1 -0
- package/dist/types/src/operations/redeem-passkey.d.ts +5 -0
- package/dist/types/src/operations/redeem-passkey.d.ts.map +1 -0
- package/dist/types/src/operations/redeem-token.d.ts +5 -0
- package/dist/types/src/operations/redeem-token.d.ts.map +1 -0
- package/dist/types/src/operations/reset-storage.d.ts +5 -0
- package/dist/types/src/operations/reset-storage.d.ts.map +1 -0
- package/dist/types/src/operations/share-identity.d.ts +5 -0
- package/dist/types/src/operations/share-identity.d.ts.map +1 -0
- package/dist/types/src/plugin.d.ts +2 -0
- package/dist/types/src/plugin.d.ts.map +1 -0
- package/dist/types/src/testing/index.d.ts +2 -0
- package/dist/types/src/testing/index.d.ts.map +1 -0
- package/dist/types/src/testing/initializeIdentity.d.ts +13 -0
- package/dist/types/src/testing/initializeIdentity.d.ts.map +1 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/capabilities.d.ts +2 -3
- package/dist/types/src/types/capabilities.d.ts.map +1 -1
- package/dist/types/src/types/events.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts +26 -175
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +77 -43
- package/src/{cli/plugin.ts → ClientPlugin.node.ts} +9 -10
- package/src/ClientPlugin.test.ts +29 -0
- package/src/ClientPlugin.ts +35 -22
- package/src/capabilities/{app-graph-builder/app-graph-builder.ts → app-graph-builder.ts} +20 -19
- package/src/capabilities/{client/client.ts → client.ts} +14 -10
- package/src/capabilities/index.ts +15 -7
- package/src/capabilities/{migrations/migrations.ts → migrations.ts} +1 -1
- package/src/capabilities/navigation-handler/index.ts +9 -0
- package/src/capabilities/navigation-handler/navigation-handler.ts +64 -0
- package/src/capabilities/node.ts +13 -0
- package/src/capabilities/operation-handler.ts +16 -0
- package/src/capabilities/{react-context/react-context.tsx → react-context.tsx} +4 -4
- package/src/capabilities/{react-surface/react-surface.tsx → react-surface.tsx} +19 -24
- package/src/capabilities/schema-defs.ts +56 -0
- package/src/{cli/commands → commands}/config/view.ts +4 -1
- package/src/{cli/commands → commands}/device/info/info.test.ts +0 -1
- package/src/{cli/commands → commands}/device/info/info.ts +0 -2
- package/src/{cli/commands → commands}/device/list/list.test.ts +0 -1
- package/src/{cli/commands → commands}/device/list/list.ts +0 -2
- package/src/{cli/commands → commands}/device/update/update.ts +0 -2
- package/src/{cli/commands → commands}/edge/status.ts +3 -2
- package/src/{cli/commands → commands}/halo/create/create.test.ts +7 -3
- package/src/{cli/commands → commands}/halo/create/create.ts +11 -4
- package/src/{cli/commands → commands}/halo/credential/list/list.test.ts +0 -1
- package/src/{cli/commands → commands}/halo/credential/list/list.ts +4 -7
- package/src/{cli/commands → commands}/halo/identity/identity.ts +0 -1
- package/src/{cli/commands → commands}/halo/keys/keys.ts +0 -2
- package/src/{cli/commands → commands}/halo/seed/seed.ts +0 -2
- package/src/{cli/commands → commands}/halo/update/update.test.ts +0 -1
- package/src/{cli/commands → commands}/halo/update/update.ts +0 -2
- package/src/{cli/commands → commands}/profile/create.ts +9 -6
- package/src/{cli/commands → commands}/profile/delete.ts +5 -2
- package/src/{cli/commands → commands}/profile/list.ts +12 -11
- package/src/components/index.ts +0 -7
- package/src/constants.ts +4 -4
- package/src/{components → containers/DevicesContainer}/DevicesContainer.stories.tsx +7 -5
- package/src/{components → containers/DevicesContainer}/DevicesContainer.tsx +69 -66
- package/src/containers/DevicesContainer/index.ts +5 -0
- package/src/containers/JoinDialog/JoinDialog.stories.tsx +43 -0
- package/src/{components → containers/JoinDialog}/JoinDialog.tsx +17 -12
- package/src/containers/JoinDialog/index.ts +5 -0
- package/src/{components → containers/ProfileContainer}/ProfileContainer.stories.tsx +4 -4
- package/src/{components → containers/ProfileContainer}/ProfileContainer.tsx +16 -16
- package/src/containers/ProfileContainer/index.ts +5 -0
- package/src/{components → containers/RecoveryCodeDialog}/RecoveryCodeDialog.stories.tsx +4 -4
- package/src/{components → containers/RecoveryCodeDialog}/RecoveryCodeDialog.tsx +29 -26
- package/src/containers/RecoveryCodeDialog/index.ts +8 -0
- package/src/{components → containers/RecoveryCredentialsContainer}/RecoveryCredentialsContainer.stories.tsx +9 -6
- package/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.tsx +66 -0
- package/src/containers/RecoveryCredentialsContainer/index.ts +5 -0
- package/src/{components → containers/ResetDialog}/ResetDialog.stories.tsx +7 -6
- package/src/{components → containers/ResetDialog}/ResetDialog.tsx +12 -13
- package/src/containers/ResetDialog/index.ts +8 -0
- package/src/containers/index.ts +15 -0
- package/src/index.ts +5 -4
- package/src/meta.ts +2 -1
- package/src/operations/create-agent.ts +26 -0
- package/src/operations/create-identity.ts +29 -0
- package/src/operations/create-passkey.ts +88 -0
- package/src/operations/create-recovery-code.ts +34 -0
- package/src/operations/definitions.ts +107 -0
- package/src/operations/index.ts +20 -0
- package/src/operations/join-identity.ts +28 -0
- package/src/operations/recover-identity.ts +28 -0
- package/src/operations/redeem-passkey.ts +85 -0
- package/src/operations/redeem-token.ts +31 -0
- package/src/operations/reset-storage.ts +27 -0
- package/src/operations/share-identity.ts +26 -0
- package/src/plugin.ts +7 -0
- package/src/testing/index.ts +5 -0
- package/src/testing/initializeIdentity.ts +24 -0
- package/src/translations.ts +53 -43
- package/src/types/capabilities.ts +4 -4
- package/src/types/events.ts +6 -6
- package/src/types/schema.ts +18 -123
- package/dist/lib/browser/app-graph-builder-DTETNB5U.mjs +0 -119
- package/dist/lib/browser/app-graph-builder-DTETNB5U.mjs.map +0 -7
- package/dist/lib/browser/chunk-4BZGRIFS.mjs +0 -293
- package/dist/lib/browser/chunk-4BZGRIFS.mjs.map +0 -7
- package/dist/lib/browser/chunk-G7C3S2BE.mjs +0 -15
- package/dist/lib/browser/chunk-G7C3S2BE.mjs.map +0 -7
- package/dist/lib/browser/chunk-MY6BJCB6.mjs +0 -18
- package/dist/lib/browser/chunk-MY6BJCB6.mjs.map +0 -7
- package/dist/lib/browser/cli/index.mjs +0 -1049
- package/dist/lib/browser/cli/index.mjs.map +0 -7
- package/dist/lib/browser/client-XOQQ5POJ.mjs +0 -86
- package/dist/lib/browser/client-XOQQ5POJ.mjs.map +0 -7
- package/dist/lib/browser/migrations-YNQ7L5GT.mjs +0 -24
- package/dist/lib/browser/migrations-YNQ7L5GT.mjs.map +0 -7
- package/dist/lib/browser/operation-resolver-N4YCJ4KS.mjs +0 -299
- package/dist/lib/browser/operation-resolver-N4YCJ4KS.mjs.map +0 -7
- package/dist/lib/browser/react-context-FDXHIBZL.mjs +0 -24
- package/dist/lib/browser/react-context-FDXHIBZL.mjs.map +0 -7
- package/dist/lib/browser/react-surface-ZP3FLVRS.mjs +0 -676
- package/dist/lib/browser/react-surface-ZP3FLVRS.mjs.map +0 -7
- package/dist/lib/browser/schema-defs-AYXOYD2M.mjs +0 -27
- package/dist/lib/browser/schema-defs-AYXOYD2M.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-PFKVFRXI.mjs +0 -120
- package/dist/lib/node-esm/app-graph-builder-PFKVFRXI.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-JAF64TFQ.mjs +0 -295
- package/dist/lib/node-esm/chunk-JAF64TFQ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-MUOMX53G.mjs +0 -20
- package/dist/lib/node-esm/chunk-MUOMX53G.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-PRAFFO54.mjs +0 -16
- package/dist/lib/node-esm/chunk-PRAFFO54.mjs.map +0 -7
- package/dist/lib/node-esm/cli/index.mjs +0 -1050
- package/dist/lib/node-esm/cli/index.mjs.map +0 -7
- package/dist/lib/node-esm/client-3YIMWKR7.mjs +0 -87
- package/dist/lib/node-esm/client-3YIMWKR7.mjs.map +0 -7
- package/dist/lib/node-esm/migrations-ZH5GNG4U.mjs +0 -25
- package/dist/lib/node-esm/migrations-ZH5GNG4U.mjs.map +0 -7
- package/dist/lib/node-esm/operation-resolver-CHGWI5P2.mjs +0 -300
- package/dist/lib/node-esm/operation-resolver-CHGWI5P2.mjs.map +0 -7
- package/dist/lib/node-esm/react-context-7Z2TVUTV.mjs +0 -25
- package/dist/lib/node-esm/react-context-7Z2TVUTV.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-BHJMHIMH.mjs +0 -677
- package/dist/lib/node-esm/react-surface-BHJMHIMH.mjs.map +0 -7
- package/dist/lib/node-esm/schema-defs-TV2SCKSH.mjs +0 -28
- package/dist/lib/node-esm/schema-defs-TV2SCKSH.mjs.map +0 -7
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +0 -6
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +0 -1
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts +0 -3
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/client/client.d.ts +0 -8
- package/dist/types/src/capabilities/client/client.d.ts.map +0 -1
- package/dist/types/src/capabilities/client/index.d.ts +0 -18
- package/dist/types/src/capabilities/client/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/migrations/index.d.ts +0 -3
- package/dist/types/src/capabilities/migrations/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/migrations/migrations.d.ts +0 -5
- package/dist/types/src/capabilities/migrations/migrations.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -5
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -8
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-context/index.d.ts +0 -7
- package/dist/types/src/capabilities/react-context/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-context/react-context.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts +0 -5
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -9
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
- package/dist/types/src/capabilities/schema-defs/index.d.ts +0 -3
- package/dist/types/src/capabilities/schema-defs/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/schema-defs/schema-defs.d.ts +0 -5
- package/dist/types/src/capabilities/schema-defs/schema-defs.d.ts.map +0 -1
- package/dist/types/src/cli/commands/config/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/config/view.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/info/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/info/info.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/info/info.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/list/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/list/list.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/list/list.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/update/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/update/update.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/util.d.ts.map +0 -1
- package/dist/types/src/cli/commands/edge/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/edge/status.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/create/create.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/create/create.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/create/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/add/add.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/add/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/list/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/list/list.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/list/list.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/identity/identity.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/identity/identity.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/identity/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/join/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/join/join.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/join/join.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/keys/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/keys/keys.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/keys/keys.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/recover/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/recover/recover.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/recover/recover.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/seed/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/seed/seed.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/share/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/share/share.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/update/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/update/update.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/update/update.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/util.d.ts.map +0 -1
- package/dist/types/src/cli/commands/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/create.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/delete.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/import.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/inspect.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/list.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/reset.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/util.d.ts.map +0 -1
- package/dist/types/src/cli/index.d.ts +0 -2
- package/dist/types/src/cli/index.d.ts.map +0 -1
- package/dist/types/src/cli/plugin.d.ts +0 -4
- package/dist/types/src/cli/plugin.d.ts.map +0 -1
- package/dist/types/src/cli/testing/test-console.d.ts +0 -37
- package/dist/types/src/cli/testing/test-console.d.ts.map +0 -1
- package/dist/types/src/components/DevicesContainer.d.ts.map +0 -1
- package/dist/types/src/components/DevicesContainer.stories.d.ts +0 -181
- package/dist/types/src/components/DevicesContainer.stories.d.ts.map +0 -1
- package/dist/types/src/components/JoinDialog.d.ts.map +0 -1
- package/dist/types/src/components/ProfileContainer.d.ts.map +0 -1
- package/dist/types/src/components/ProfileContainer.stories.d.ts.map +0 -1
- package/dist/types/src/components/RecoveryCodeDialog.d.ts.map +0 -1
- package/dist/types/src/components/RecoveryCodeDialog.stories.d.ts.map +0 -1
- package/dist/types/src/components/RecoveryCredentialsContainer.d.ts.map +0 -1
- package/dist/types/src/components/RecoveryCredentialsContainer.stories.d.ts.map +0 -1
- package/dist/types/src/components/ResetDialog.d.ts.map +0 -1
- package/dist/types/src/components/ResetDialog.stories.d.ts.map +0 -1
- package/src/capabilities/app-graph-builder/index.ts +0 -7
- package/src/capabilities/client/index.ts +0 -7
- package/src/capabilities/migrations/index.ts +0 -7
- package/src/capabilities/operation-resolver/index.ts +0 -7
- package/src/capabilities/operation-resolver/operation-resolver.ts +0 -249
- package/src/capabilities/react-context/index.ts +0 -7
- package/src/capabilities/react-surface/index.ts +0 -7
- package/src/capabilities/schema-defs/index.ts +0 -7
- package/src/capabilities/schema-defs/schema-defs.ts +0 -36
- package/src/cli/index.ts +0 -5
- package/src/cli/testing/test-console.ts +0 -88
- package/src/components/RecoveryCredentialsContainer.tsx +0 -68
- /package/dist/types/src/{cli/commands → commands}/device/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/info/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/info/info.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/list/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/list/list.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/update/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/update/update.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/util.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/edge/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/edge/status.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/create/create.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/create/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/add/add.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/add/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/list/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/list/list.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/identity/identity.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/identity/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/join/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/join/join.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/keys/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/keys/keys.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/recover/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/recover/recover.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/recover/recover.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/seed/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/seed/seed.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/share/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/share/share.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/update/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/update/update.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/update/update.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/util.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/profile/inspect.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/profile/list.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/profile/util.d.ts +0 -0
- /package/dist/types/src/{components → containers/DevicesContainer}/DevicesContainer.d.ts +0 -0
- /package/dist/types/src/{components → containers/JoinDialog}/JoinDialog.d.ts +0 -0
- /package/dist/types/src/{components → containers/ProfileContainer}/ProfileContainer.d.ts +0 -0
- /package/dist/types/src/{components → containers/ProfileContainer}/ProfileContainer.stories.d.ts +0 -0
- /package/dist/types/src/{components → containers/RecoveryCodeDialog}/RecoveryCodeDialog.d.ts +0 -0
- /package/dist/types/src/{components → containers/RecoveryCodeDialog}/RecoveryCodeDialog.stories.d.ts +0 -0
- /package/dist/types/src/{components → containers/RecoveryCredentialsContainer}/RecoveryCredentialsContainer.d.ts +0 -0
- /package/dist/types/src/{components → containers/RecoveryCredentialsContainer}/RecoveryCredentialsContainer.stories.d.ts +0 -0
- /package/src/{cli/commands → commands}/config/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/info/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/list/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/update/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/util.ts +0 -0
- /package/src/{cli/commands → commands}/edge/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/create/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/add/add.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/add/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/list/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/identity/identity.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/identity/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/join/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/join/join.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/join/join.ts +0 -0
- /package/src/{cli/commands → commands}/halo/keys/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/keys/keys.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/recover/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/recover/recover.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/recover/recover.ts +0 -0
- /package/src/{cli/commands → commands}/halo/seed/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/share/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/share/share.ts +0 -0
- /package/src/{cli/commands → commands}/halo/update/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/util.ts +0 -0
- /package/src/{cli/commands → commands}/index.ts +0 -0
- /package/src/{cli/commands → commands}/profile/import.ts +0 -0
- /package/src/{cli/commands → commands}/profile/index.ts +0 -0
- /package/src/{cli/commands → commands}/profile/inspect.ts +0 -0
- /package/src/{cli/commands → commands}/profile/reset.ts +0 -0
- /package/src/{cli/commands → commands}/profile/util.ts +0 -0
|
@@ -3,8 +3,8 @@ import * as Schema from 'effect/Schema';
|
|
|
3
3
|
import { Capability } from '@dxos/app-framework';
|
|
4
4
|
import { type Client, type ClientOptions, PublicKey } from '@dxos/client';
|
|
5
5
|
export declare namespace ClientAction {
|
|
6
|
-
const CreateIdentity_base: Schema.TaggedClass<CreateIdentity, `${string}
|
|
7
|
-
readonly _tag: Schema.tag<`${string}
|
|
6
|
+
const CreateIdentity_base: Schema.TaggedClass<CreateIdentity, `${string}.action.create-identity`, {
|
|
7
|
+
readonly _tag: Schema.tag<`${string}.action.create-identity`>;
|
|
8
8
|
} & {
|
|
9
9
|
input: Schema.Struct<{
|
|
10
10
|
displayName: Schema.optional<typeof Schema.String>;
|
|
@@ -23,8 +23,8 @@ export declare namespace ClientAction {
|
|
|
23
23
|
}>;
|
|
24
24
|
export class CreateIdentity extends CreateIdentity_base {
|
|
25
25
|
}
|
|
26
|
-
const JoinIdentity_base: Schema.TaggedClass<JoinIdentity, `${string}
|
|
27
|
-
readonly _tag: Schema.tag<`${string}
|
|
26
|
+
const JoinIdentity_base: Schema.TaggedClass<JoinIdentity, `${string}.action.join-identity`, {
|
|
27
|
+
readonly _tag: Schema.tag<`${string}.action.join-identity`>;
|
|
28
28
|
} & {
|
|
29
29
|
input: Schema.Struct<{
|
|
30
30
|
invitationCode: Schema.optional<typeof Schema.String>;
|
|
@@ -33,24 +33,24 @@ export declare namespace ClientAction {
|
|
|
33
33
|
}>;
|
|
34
34
|
export class JoinIdentity extends JoinIdentity_base {
|
|
35
35
|
}
|
|
36
|
-
const ShareIdentity_base: Schema.TaggedClass<ShareIdentity, `${string}
|
|
37
|
-
readonly _tag: Schema.tag<`${string}
|
|
36
|
+
const ShareIdentity_base: Schema.TaggedClass<ShareIdentity, `${string}.action.share-identity`, {
|
|
37
|
+
readonly _tag: Schema.tag<`${string}.action.share-identity`>;
|
|
38
38
|
} & {
|
|
39
39
|
input: typeof Schema.Void;
|
|
40
40
|
output: typeof Schema.Void;
|
|
41
41
|
}>;
|
|
42
42
|
export class ShareIdentity extends ShareIdentity_base {
|
|
43
43
|
}
|
|
44
|
-
const RecoverIdentity_base: Schema.TaggedClass<RecoverIdentity, `${string}
|
|
45
|
-
readonly _tag: Schema.tag<`${string}
|
|
44
|
+
const RecoverIdentity_base: Schema.TaggedClass<RecoverIdentity, `${string}.action.recover-identity`, {
|
|
45
|
+
readonly _tag: Schema.tag<`${string}.action.recover-identity`>;
|
|
46
46
|
} & {
|
|
47
47
|
input: typeof Schema.Void;
|
|
48
48
|
output: typeof Schema.Void;
|
|
49
49
|
}>;
|
|
50
50
|
export class RecoverIdentity extends RecoverIdentity_base {
|
|
51
51
|
}
|
|
52
|
-
const ResetStorage_base: Schema.TaggedClass<ResetStorage, `${string}
|
|
53
|
-
readonly _tag: Schema.tag<`${string}
|
|
52
|
+
const ResetStorage_base: Schema.TaggedClass<ResetStorage, `${string}.action.reset-storage`, {
|
|
53
|
+
readonly _tag: Schema.tag<`${string}.action.reset-storage`>;
|
|
54
54
|
} & {
|
|
55
55
|
input: Schema.Struct<{
|
|
56
56
|
mode: Schema.optional<typeof Schema.String>;
|
|
@@ -59,40 +59,40 @@ export declare namespace ClientAction {
|
|
|
59
59
|
}>;
|
|
60
60
|
export class ResetStorage extends ResetStorage_base {
|
|
61
61
|
}
|
|
62
|
-
const CreateAgent_base: Schema.TaggedClass<CreateAgent, `${string}
|
|
63
|
-
readonly _tag: Schema.tag<`${string}
|
|
62
|
+
const CreateAgent_base: Schema.TaggedClass<CreateAgent, `${string}.action.create-agent`, {
|
|
63
|
+
readonly _tag: Schema.tag<`${string}.action.create-agent`>;
|
|
64
64
|
} & {
|
|
65
65
|
input: typeof Schema.Void;
|
|
66
66
|
output: typeof Schema.Void;
|
|
67
67
|
}>;
|
|
68
68
|
export class CreateAgent extends CreateAgent_base {
|
|
69
69
|
}
|
|
70
|
-
const CreateRecoveryCode_base: Schema.TaggedClass<CreateRecoveryCode, `${string}
|
|
71
|
-
readonly _tag: Schema.tag<`${string}
|
|
70
|
+
const CreateRecoveryCode_base: Schema.TaggedClass<CreateRecoveryCode, `${string}.action.create-recovery-code`, {
|
|
71
|
+
readonly _tag: Schema.tag<`${string}.action.create-recovery-code`>;
|
|
72
72
|
} & {
|
|
73
73
|
input: typeof Schema.Void;
|
|
74
74
|
output: typeof Schema.Void;
|
|
75
75
|
}>;
|
|
76
76
|
export class CreateRecoveryCode extends CreateRecoveryCode_base {
|
|
77
77
|
}
|
|
78
|
-
const CreatePasskey_base: Schema.TaggedClass<CreatePasskey, `${string}
|
|
79
|
-
readonly _tag: Schema.tag<`${string}
|
|
78
|
+
const CreatePasskey_base: Schema.TaggedClass<CreatePasskey, `${string}.action.create-passkey`, {
|
|
79
|
+
readonly _tag: Schema.tag<`${string}.action.create-passkey`>;
|
|
80
80
|
} & {
|
|
81
81
|
input: typeof Schema.Void;
|
|
82
82
|
output: typeof Schema.Void;
|
|
83
83
|
}>;
|
|
84
84
|
export class CreatePasskey extends CreatePasskey_base {
|
|
85
85
|
}
|
|
86
|
-
const RedeemPasskey_base: Schema.TaggedClass<RedeemPasskey, `${string}
|
|
87
|
-
readonly _tag: Schema.tag<`${string}
|
|
86
|
+
const RedeemPasskey_base: Schema.TaggedClass<RedeemPasskey, `${string}.action.redeem-passkey`, {
|
|
87
|
+
readonly _tag: Schema.tag<`${string}.action.redeem-passkey`>;
|
|
88
88
|
} & {
|
|
89
89
|
input: typeof Schema.Void;
|
|
90
90
|
output: typeof Schema.Void;
|
|
91
91
|
}>;
|
|
92
92
|
export class RedeemPasskey extends RedeemPasskey_base {
|
|
93
93
|
}
|
|
94
|
-
const RedeemToken_base: Schema.TaggedClass<RedeemToken, `${string}
|
|
95
|
-
readonly _tag: Schema.tag<`${string}
|
|
94
|
+
const RedeemToken_base: Schema.TaggedClass<RedeemToken, `${string}.action.redeem-token`, {
|
|
95
|
+
readonly _tag: Schema.tag<`${string}.action.redeem-token`>;
|
|
96
96
|
} & {
|
|
97
97
|
input: Schema.Struct<{
|
|
98
98
|
token: typeof Schema.String;
|
|
@@ -103,164 +103,15 @@ export declare namespace ClientAction {
|
|
|
103
103
|
}
|
|
104
104
|
export {};
|
|
105
105
|
}
|
|
106
|
-
/**
|
|
107
|
-
* Operations for the Client plugin.
|
|
108
|
-
*/
|
|
109
|
-
export declare namespace ClientOperation {
|
|
110
|
-
const CreateIdentity: Omit<{
|
|
111
|
-
readonly meta: {
|
|
112
|
-
readonly key: `${string}/create-identity`;
|
|
113
|
-
readonly name: "Create Identity";
|
|
114
|
-
};
|
|
115
|
-
readonly services: readonly [typeof Capability.Service];
|
|
116
|
-
readonly schema: {
|
|
117
|
-
readonly input: Schema.Struct<{
|
|
118
|
-
displayName: Schema.optional<typeof Schema.String>;
|
|
119
|
-
avatarCid: Schema.optional<typeof Schema.String>;
|
|
120
|
-
data: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
|
|
121
|
-
}>;
|
|
122
|
-
readonly output: Schema.Struct<{
|
|
123
|
-
identityKey: Schema.instanceOf<PublicKey>;
|
|
124
|
-
spaceKey: Schema.optional<Schema.instanceOf<PublicKey>>;
|
|
125
|
-
profile: Schema.optional<Schema.Struct<{
|
|
126
|
-
displayName: Schema.optional<typeof Schema.String>;
|
|
127
|
-
avatarCid: Schema.optional<typeof Schema.String>;
|
|
128
|
-
data: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
|
|
129
|
-
}>>;
|
|
130
|
-
}>;
|
|
131
|
-
};
|
|
132
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
133
|
-
readonly executionMode: "sync" | "async";
|
|
134
|
-
};
|
|
135
|
-
const JoinIdentity: Omit<{
|
|
136
|
-
readonly meta: {
|
|
137
|
-
readonly key: `${string}/join-identity`;
|
|
138
|
-
readonly name: "Join Identity";
|
|
139
|
-
};
|
|
140
|
-
readonly services: readonly [typeof Capability.Service];
|
|
141
|
-
readonly schema: {
|
|
142
|
-
readonly input: Schema.Struct<{
|
|
143
|
-
invitationCode: Schema.optional<typeof Schema.String>;
|
|
144
|
-
}>;
|
|
145
|
-
readonly output: typeof Schema.Void;
|
|
146
|
-
};
|
|
147
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
148
|
-
readonly executionMode: "sync" | "async";
|
|
149
|
-
};
|
|
150
|
-
const ShareIdentity: Omit<{
|
|
151
|
-
readonly meta: {
|
|
152
|
-
readonly key: `${string}/share-identity`;
|
|
153
|
-
readonly name: "Share Identity";
|
|
154
|
-
};
|
|
155
|
-
readonly services: readonly [typeof Capability.Service];
|
|
156
|
-
readonly schema: {
|
|
157
|
-
readonly input: typeof Schema.Void;
|
|
158
|
-
readonly output: typeof Schema.Void;
|
|
159
|
-
};
|
|
160
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
161
|
-
readonly executionMode: "sync" | "async";
|
|
162
|
-
};
|
|
163
|
-
const RecoverIdentity: Omit<{
|
|
164
|
-
readonly meta: {
|
|
165
|
-
readonly key: `${string}/recover-identity`;
|
|
166
|
-
readonly name: "Recover Identity";
|
|
167
|
-
};
|
|
168
|
-
readonly services: readonly [typeof Capability.Service];
|
|
169
|
-
readonly schema: {
|
|
170
|
-
readonly input: typeof Schema.Void;
|
|
171
|
-
readonly output: typeof Schema.Void;
|
|
172
|
-
};
|
|
173
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
174
|
-
readonly executionMode: "sync" | "async";
|
|
175
|
-
};
|
|
176
|
-
const ResetStorage: Omit<{
|
|
177
|
-
readonly meta: {
|
|
178
|
-
readonly key: `${string}/reset-storage`;
|
|
179
|
-
readonly name: "Reset Storage";
|
|
180
|
-
};
|
|
181
|
-
readonly services: readonly [typeof Capability.Service];
|
|
182
|
-
readonly schema: {
|
|
183
|
-
readonly input: Schema.Struct<{
|
|
184
|
-
mode: Schema.optional<typeof Schema.String>;
|
|
185
|
-
}>;
|
|
186
|
-
readonly output: typeof Schema.Void;
|
|
187
|
-
};
|
|
188
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
189
|
-
readonly executionMode: "sync" | "async";
|
|
190
|
-
};
|
|
191
|
-
const CreateAgent: Omit<{
|
|
192
|
-
readonly meta: {
|
|
193
|
-
readonly key: `${string}/create-agent`;
|
|
194
|
-
readonly name: "Create Agent";
|
|
195
|
-
};
|
|
196
|
-
readonly services: readonly [typeof Capability.Service];
|
|
197
|
-
readonly schema: {
|
|
198
|
-
readonly input: typeof Schema.Void;
|
|
199
|
-
readonly output: typeof Schema.Void;
|
|
200
|
-
};
|
|
201
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
202
|
-
readonly executionMode: "sync" | "async";
|
|
203
|
-
};
|
|
204
|
-
const CreateRecoveryCode: Omit<{
|
|
205
|
-
readonly meta: {
|
|
206
|
-
readonly key: `${string}/create-recovery-code`;
|
|
207
|
-
readonly name: "Create Recovery Code";
|
|
208
|
-
};
|
|
209
|
-
readonly services: readonly [typeof Capability.Service];
|
|
210
|
-
readonly schema: {
|
|
211
|
-
readonly input: typeof Schema.Void;
|
|
212
|
-
readonly output: typeof Schema.Void;
|
|
213
|
-
};
|
|
214
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
215
|
-
readonly executionMode: "sync" | "async";
|
|
216
|
-
};
|
|
217
|
-
const CreatePasskey: Omit<{
|
|
218
|
-
readonly meta: {
|
|
219
|
-
readonly key: `${string}/create-passkey`;
|
|
220
|
-
readonly name: "Create Passkey";
|
|
221
|
-
};
|
|
222
|
-
readonly services: readonly [typeof Capability.Service];
|
|
223
|
-
readonly schema: {
|
|
224
|
-
readonly input: typeof Schema.Void;
|
|
225
|
-
readonly output: typeof Schema.Void;
|
|
226
|
-
};
|
|
227
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
228
|
-
readonly executionMode: "sync" | "async";
|
|
229
|
-
};
|
|
230
|
-
const RedeemPasskey: Omit<{
|
|
231
|
-
readonly meta: {
|
|
232
|
-
readonly key: `${string}/redeem-passkey`;
|
|
233
|
-
readonly name: "Redeem Passkey";
|
|
234
|
-
};
|
|
235
|
-
readonly services: readonly [typeof Capability.Service];
|
|
236
|
-
readonly schema: {
|
|
237
|
-
readonly input: typeof Schema.Void;
|
|
238
|
-
readonly output: typeof Schema.Void;
|
|
239
|
-
};
|
|
240
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
241
|
-
readonly executionMode: "sync" | "async";
|
|
242
|
-
};
|
|
243
|
-
const RedeemToken: Omit<{
|
|
244
|
-
readonly meta: {
|
|
245
|
-
readonly key: `${string}/redeem-token`;
|
|
246
|
-
readonly name: "Redeem Token";
|
|
247
|
-
};
|
|
248
|
-
readonly services: readonly [typeof Capability.Service];
|
|
249
|
-
readonly schema: {
|
|
250
|
-
readonly input: Schema.Struct<{
|
|
251
|
-
token: typeof Schema.String;
|
|
252
|
-
}>;
|
|
253
|
-
readonly output: typeof Schema.Void;
|
|
254
|
-
};
|
|
255
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
256
|
-
readonly executionMode: "sync" | "async";
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
106
|
export type ClientPluginOptions = ClientOptions & {
|
|
260
107
|
/**
|
|
261
|
-
* Base
|
|
108
|
+
* Base origin for the invitation link.
|
|
109
|
+
*/
|
|
110
|
+
shareableLinkOrigin?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Path for the invitation link.
|
|
262
113
|
*/
|
|
263
|
-
|
|
114
|
+
invitationPath?: string;
|
|
264
115
|
/**
|
|
265
116
|
* Query parameter for the invitation code.
|
|
266
117
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAiB1E,yBAAiB,YAAY,CAAC,CAAC;;;;;;;;;;;;;;;;;;;IAO7B,MAAM,OAAO,cAAe,SAAQ,mBAGlC;KAAG;;;;;;;;;IAEL,MAAM,OAAO,YAAa,SAAQ,iBAKhC;KAAG;;;;;;;IAEL,MAAM,OAAO,aAAc,SAAQ,kBAGjC;KAAG;;;;;;;IAEL,MAAM,OAAO,eAAgB,SAAQ,oBAGnC;KAAG;;;;;;;;;IAEL,MAAM,OAAO,YAAa,SAAQ,iBAKhC;KAAG;;;;;;;IAEL,MAAM,OAAO,WAAY,SAAQ,gBAG/B;KAAG;;;;;;;IAEL,MAAM,OAAO,kBAAmB,SAAQ,uBAMvC;KAAG;;;;;;;IAEJ,MAAM,OAAO,aAAc,SAAQ,kBAGjC;KAAG;;;;;;;IAEL,MAAM,OAAO,aAAc,SAAQ,kBAGjC;KAAG;;;;;;;;;IAEL,MAAM,OAAO,WAAY,SAAQ,gBAK/B;KAAG;;CACN;AAED,MAAM,MAAM,mBAAmB,GAAG,aAAa,GAAG;IAChD;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,GAAG,KAAK,EAAE,UAAU,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC;IAErH;;;OAGG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,GAAG,KAAK,EAAE,UAAU,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC;IAE/G;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,GAAG,KAAK,EAAE,UAAU,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC;CAC3G,CAAC;AAEF,yBAAiB,OAAO,CAAC,CAAC;IAKjB,MAAM,EAAE,oCAAY,CAAC;IAErB,MAAM,OAAO,2CAAmB,CAAC;IACjC,MAAM,OAAO,2CAAmB,CAAC;IACjC,MAAM,QAAQ,4CAAoB,CAAC;CAC3C"}
|