@minca/core 0.1.15 → 0.1.17
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/README.md +10 -10
- package/dist/elements/auth-styles.d.ts +1 -1
- package/dist/elements/auth-styles.d.ts.map +1 -1
- package/dist/elements/auth-styles.js +35 -9
- package/dist/elements/auth-styles.js.map +1 -1
- package/dist/elements/minca-auth.d.ts.map +1 -1
- package/dist/elements/minca-auth.js +169 -72
- package/dist/elements/minca-auth.js.map +1 -1
- package/dist/identity/abilities.d.ts +2 -0
- package/dist/identity/abilities.d.ts.map +1 -1
- package/dist/identity/abilities.js +2 -0
- package/dist/identity/abilities.js.map +1 -1
- package/dist/identity/account-vault.d.ts +15 -71
- package/dist/identity/account-vault.d.ts.map +1 -1
- package/dist/identity/account-vault.js +45 -104
- package/dist/identity/account-vault.js.map +1 -1
- package/dist/identity/channel.d.ts +3 -9
- package/dist/identity/channel.d.ts.map +1 -1
- package/dist/identity/channel.js +42 -42
- package/dist/identity/channel.js.map +1 -1
- package/dist/identity/contact-key.d.ts +14 -29
- package/dist/identity/contact-key.d.ts.map +1 -1
- package/dist/identity/contact-key.js +31 -51
- package/dist/identity/contact-key.js.map +1 -1
- package/dist/identity/crypto-p256.d.ts.map +1 -1
- package/dist/identity/crypto-p256.js +39 -53
- package/dist/identity/crypto-p256.js.map +1 -1
- package/dist/identity/hpke.d.ts.map +1 -1
- package/dist/identity/hpke.js +19 -19
- package/dist/identity/hpke.js.map +1 -1
- package/dist/identity/identity-manager.d.ts.map +1 -1
- package/dist/identity/identity-manager.js +1 -2
- package/dist/identity/identity-manager.js.map +1 -1
- package/dist/identity/policy.d.ts.map +1 -1
- package/dist/identity/policy.js +35 -61
- package/dist/identity/policy.js.map +1 -1
- package/dist/identity/recovery-code.d.ts +2 -8
- package/dist/identity/recovery-code.d.ts.map +1 -1
- package/dist/identity/recovery-code.js +4 -11
- package/dist/identity/recovery-code.js.map +1 -1
- package/dist/identity/root-signer.d.ts +1 -6
- package/dist/identity/root-signer.d.ts.map +1 -1
- package/dist/identity/root-signer.js +12 -15
- package/dist/identity/root-signer.js.map +1 -1
- package/dist/identity/ucan.d.ts.map +1 -1
- package/dist/identity/ucan.js +48 -39
- package/dist/identity/ucan.js.map +1 -1
- package/dist/identity/webauthn.d.ts +6 -11
- package/dist/identity/webauthn.d.ts.map +1 -1
- package/dist/identity/webauthn.js +18 -30
- package/dist/identity/webauthn.js.map +1 -1
- package/dist/inbox/inbox.d.ts.map +1 -1
- package/dist/inbox/inbox.js +40 -30
- package/dist/inbox/inbox.js.map +1 -1
- package/dist/inbox/index.d.ts +2 -0
- package/dist/inbox/index.d.ts.map +1 -1
- package/dist/inbox/index.js +1 -0
- package/dist/inbox/index.js.map +1 -1
- package/dist/inbox/names.d.ts +54 -0
- package/dist/inbox/names.d.ts.map +1 -0
- package/dist/inbox/names.js +299 -0
- package/dist/inbox/names.js.map +1 -0
- package/dist/index.d.ts +3 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -12
- package/dist/index.js.map +1 -1
- package/dist/network/mesh.d.ts +7 -20
- package/dist/network/mesh.d.ts.map +1 -1
- package/dist/network/mesh.js +267 -245
- package/dist/network/mesh.js.map +1 -1
- package/dist/network/relay-link.d.ts +31 -0
- package/dist/network/relay-link.d.ts.map +1 -0
- package/dist/network/relay-link.js +62 -0
- package/dist/network/relay-link.js.map +1 -0
- package/dist/network/relay-minca.d.ts.map +1 -1
- package/dist/network/relay-minca.js +11 -49
- package/dist/network/relay-minca.js.map +1 -1
- package/dist/network/relay-nostr.d.ts.map +1 -1
- package/dist/network/relay-nostr.js +23 -63
- package/dist/network/relay-nostr.js.map +1 -1
- package/dist/network/relay-socket.d.ts +1 -1
- package/dist/network/relay-socket.d.ts.map +1 -1
- package/dist/network/relay-socket.js +3 -1
- package/dist/network/relay-socket.js.map +1 -1
- package/dist/network/ws-transport.d.ts.map +1 -1
- package/dist/network/ws-transport.js +3 -0
- package/dist/network/ws-transport.js.map +1 -1
- package/dist/node/actions.d.ts +2 -0
- package/dist/node/actions.d.ts.map +1 -1
- package/dist/node/actions.js +89 -58
- package/dist/node/actions.js.map +1 -1
- package/dist/node/api.d.ts +7 -0
- package/dist/node/api.d.ts.map +1 -1
- package/dist/node/api.js +7 -0
- package/dist/node/api.js.map +1 -1
- package/dist/node/carrier.d.ts +5 -0
- package/dist/node/carrier.d.ts.map +1 -1
- package/dist/node/carrier.js +94 -73
- package/dist/node/carrier.js.map +1 -1
- package/dist/node/copy.d.ts +8 -7
- package/dist/node/copy.d.ts.map +1 -1
- package/dist/node/copy.js +54 -56
- package/dist/node/copy.js.map +1 -1
- package/dist/node/host.d.ts +39 -65
- package/dist/node/host.d.ts.map +1 -1
- package/dist/node/host.js +362 -379
- package/dist/node/host.js.map +1 -1
- package/dist/node/index.d.ts +2 -2
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/index.js.map +1 -1
- package/dist/node/node-carriers.d.ts +35 -0
- package/dist/node/node-carriers.d.ts.map +1 -0
- package/dist/node/node-carriers.js +567 -0
- package/dist/node/node-carriers.js.map +1 -0
- package/dist/node/node-contacts.d.ts +11 -0
- package/dist/node/node-contacts.d.ts.map +1 -0
- package/dist/node/node-contacts.js +808 -0
- package/dist/node/node-contacts.js.map +1 -0
- package/dist/node/node-context.d.ts +76 -0
- package/dist/node/node-context.d.ts.map +1 -0
- package/dist/node/node-context.js +54 -0
- package/dist/node/node-context.js.map +1 -0
- package/dist/node/node-hosting.d.ts +20 -0
- package/dist/node/node-hosting.d.ts.map +1 -0
- package/dist/node/node-hosting.js +456 -0
- package/dist/node/node-hosting.js.map +1 -0
- package/dist/node/node-records.d.ts +18 -0
- package/dist/node/node-records.d.ts.map +1 -0
- package/dist/node/node-records.js +262 -0
- package/dist/node/node-records.js.map +1 -0
- package/dist/node/node.d.ts.map +1 -1
- package/dist/node/node.js +199 -1990
- package/dist/node/node.js.map +1 -1
- package/dist/node/remote.d.ts +5 -6
- package/dist/node/remote.d.ts.map +1 -1
- package/dist/node/remote.js +272 -260
- package/dist/node/remote.js.map +1 -1
- package/dist/node/space-catalog.d.ts +40 -0
- package/dist/node/space-catalog.d.ts.map +1 -0
- package/dist/node/space-catalog.js +158 -0
- package/dist/node/space-catalog.js.map +1 -0
- package/dist/node/space-checks.d.ts +25 -0
- package/dist/node/space-checks.d.ts.map +1 -0
- package/dist/node/space-checks.js +343 -0
- package/dist/node/space-checks.js.map +1 -0
- package/dist/node/space-history.d.ts +37 -0
- package/dist/node/space-history.d.ts.map +1 -0
- package/dist/node/space-history.js +350 -0
- package/dist/node/space-history.js.map +1 -0
- package/dist/node/space-holding.d.ts +53 -0
- package/dist/node/space-holding.d.ts.map +1 -0
- package/dist/node/space-holding.js +339 -0
- package/dist/node/space-holding.js.map +1 -0
- package/dist/node/space-index.d.ts +41 -0
- package/dist/node/space-index.d.ts.map +1 -0
- package/dist/node/space-index.js +217 -0
- package/dist/node/space-index.js.map +1 -0
- package/dist/node/space-keys.d.ts +34 -0
- package/dist/node/space-keys.d.ts.map +1 -0
- package/dist/node/space-keys.js +309 -0
- package/dist/node/space-keys.js.map +1 -0
- package/dist/node/space-lines.d.ts +33 -0
- package/dist/node/space-lines.d.ts.map +1 -0
- package/dist/node/space-lines.js +145 -0
- package/dist/node/space-lines.js.map +1 -0
- package/dist/node/space-membership.d.ts +69 -0
- package/dist/node/space-membership.d.ts.map +1 -0
- package/dist/node/space-membership.js +242 -0
- package/dist/node/space-membership.js.map +1 -0
- package/dist/node/space-mirrors.d.ts +43 -0
- package/dist/node/space-mirrors.d.ts.map +1 -0
- package/dist/node/space-mirrors.js +125 -0
- package/dist/node/space-mirrors.js.map +1 -0
- package/dist/node/space-peers.d.ts +104 -0
- package/dist/node/space-peers.d.ts.map +1 -0
- package/dist/node/space-peers.js +629 -0
- package/dist/node/space-peers.js.map +1 -0
- package/dist/node/space-profiles.d.ts +18 -0
- package/dist/node/space-profiles.d.ts.map +1 -0
- package/dist/node/space-profiles.js +105 -0
- package/dist/node/space-profiles.js.map +1 -0
- package/dist/node/space-rules.d.ts +29 -0
- package/dist/node/space-rules.d.ts.map +1 -0
- package/dist/node/space-rules.js +144 -0
- package/dist/node/space-rules.js.map +1 -0
- package/dist/node/space-runtime.d.ts +107 -140
- package/dist/node/space-runtime.d.ts.map +1 -1
- package/dist/node/space-runtime.js +331 -3985
- package/dist/node/space-runtime.js.map +1 -1
- package/dist/node/space-standing.d.ts +20 -0
- package/dist/node/space-standing.d.ts.map +1 -0
- package/dist/node/space-standing.js +317 -0
- package/dist/node/space-standing.js.map +1 -0
- package/dist/node/space-versions.d.ts +104 -0
- package/dist/node/space-versions.d.ts.map +1 -0
- package/dist/node/space-versions.js +153 -0
- package/dist/node/space-versions.js.map +1 -0
- package/dist/node/space-warrants.d.ts +25 -0
- package/dist/node/space-warrants.d.ts.map +1 -0
- package/dist/node/space-warrants.js +214 -0
- package/dist/node/space-warrants.js.map +1 -0
- package/dist/node/space-writing.d.ts +74 -0
- package/dist/node/space-writing.d.ts.map +1 -0
- package/dist/node/space-writing.js +442 -0
- package/dist/node/space-writing.js.map +1 -0
- package/dist/node/stores.d.ts +19 -50
- package/dist/node/stores.d.ts.map +1 -1
- package/dist/node/stores.js +14 -33
- package/dist/node/stores.js.map +1 -1
- package/dist/node/types.d.ts +243 -306
- package/dist/node/types.d.ts.map +1 -1
- package/dist/node/usage.d.ts +2 -24
- package/dist/node/usage.d.ts.map +1 -1
- package/dist/node/usage.js +118 -102
- package/dist/node/usage.js.map +1 -1
- package/dist/node/watch-notifications.d.ts.map +1 -1
- package/dist/node/watch-notifications.js +32 -29
- package/dist/node/watch-notifications.js.map +1 -1
- package/dist/node/worker.d.ts +5 -6
- package/dist/node/worker.d.ts.map +1 -1
- package/dist/node/worker.js +80 -72
- package/dist/node/worker.js.map +1 -1
- package/dist/node/writer-keys.d.ts +5 -6
- package/dist/node/writer-keys.d.ts.map +1 -1
- package/dist/node/writer-keys.js +66 -57
- package/dist/node/writer-keys.js.map +1 -1
- package/dist/node/writers.d.ts +12 -19
- package/dist/node/writers.d.ts.map +1 -1
- package/dist/node/writers.js +7 -15
- package/dist/node/writers.js.map +1 -1
- package/dist/privacy/direct.d.ts.map +1 -1
- package/dist/privacy/direct.js +31 -27
- package/dist/privacy/direct.js.map +1 -1
- package/dist/privacy/space-encryption.d.ts.map +1 -1
- package/dist/privacy/space-encryption.js +5 -9
- package/dist/privacy/space-encryption.js.map +1 -1
- package/dist/query/computed.d.ts.map +1 -1
- package/dist/query/computed.js +78 -77
- package/dist/query/computed.js.map +1 -1
- package/dist/query/engine.d.ts +3 -4
- package/dist/query/engine.d.ts.map +1 -1
- package/dist/query/engine.js +93 -86
- package/dist/query/engine.js.map +1 -1
- package/dist/query/filter.d.ts +8 -10
- package/dist/query/filter.d.ts.map +1 -1
- package/dist/query/filter.js +144 -161
- package/dist/query/filter.js.map +1 -1
- package/dist/records/cel-types.d.ts.map +1 -1
- package/dist/records/cel-types.js +13 -27
- package/dist/records/cel-types.js.map +1 -1
- package/dist/records/cel.d.ts.map +1 -1
- package/dist/records/cel.js +177 -242
- package/dist/records/cel.js.map +1 -1
- package/dist/records/rules.d.ts.map +1 -1
- package/dist/records/rules.js +46 -50
- package/dist/records/rules.js.map +1 -1
- package/dist/records/topics.d.ts.map +1 -1
- package/dist/records/topics.js +18 -22
- package/dist/records/topics.js.map +1 -1
- package/dist/schemas/automations.d.ts +8 -15
- package/dist/schemas/automations.d.ts.map +1 -1
- package/dist/schemas/automations.js +203 -165
- package/dist/schemas/automations.js.map +1 -1
- package/dist/schemas/blueprints.d.ts.map +1 -1
- package/dist/schemas/blueprints.js +14 -13
- package/dist/schemas/blueprints.js.map +1 -1
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/connectors.js +16 -11
- package/dist/schemas/connectors.js.map +1 -1
- package/dist/schemas/contacts.d.ts +57 -0
- package/dist/schemas/contacts.d.ts.map +1 -1
- package/dist/schemas/contacts.js +32 -0
- package/dist/schemas/contacts.js.map +1 -1
- package/dist/schemas/cron.d.ts.map +1 -1
- package/dist/schemas/cron.js +27 -28
- package/dist/schemas/cron.js.map +1 -1
- package/dist/schemas/defined.d.ts +6 -0
- package/dist/schemas/defined.d.ts.map +1 -0
- package/dist/schemas/defined.js +7 -0
- package/dist/schemas/defined.js.map +1 -0
- package/dist/schemas/guides.d.ts +3 -1
- package/dist/schemas/guides.d.ts.map +1 -1
- package/dist/schemas/guides.js +13 -12
- package/dist/schemas/guides.js.map +1 -1
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +18 -14
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/library/social.d.ts +258 -0
- package/dist/schemas/library/social.d.ts.map +1 -1
- package/dist/schemas/library/social.js +28 -1
- package/dist/schemas/library/social.js.map +1 -1
- package/dist/session/account-hint.d.ts.map +1 -1
- package/dist/session/account-hint.js +8 -5
- package/dist/session/account-hint.js.map +1 -1
- package/dist/session/auth.d.ts +36 -2
- package/dist/session/auth.d.ts.map +1 -1
- package/dist/session/auth.js +95 -2
- package/dist/session/auth.js.map +1 -1
- package/dist/session/connect.d.ts +1 -0
- package/dist/session/connect.d.ts.map +1 -1
- package/dist/session/connect.js +3 -1
- package/dist/session/connect.js.map +1 -1
- package/dist/session/credentials.d.ts +8 -26
- package/dist/session/credentials.d.ts.map +1 -1
- package/dist/session/credentials.js +14 -32
- package/dist/session/credentials.js.map +1 -1
- package/dist/session/hosting.d.ts.map +1 -1
- package/dist/session/hosting.js +8 -2
- package/dist/session/hosting.js.map +1 -1
- package/dist/session/index.d.ts +1 -0
- package/dist/session/index.d.ts.map +1 -1
- package/dist/session/index.js +1 -0
- package/dist/session/index.js.map +1 -1
- package/dist/session/pairing.d.ts.map +1 -1
- package/dist/session/pairing.js +92 -88
- package/dist/session/pairing.js.map +1 -1
- package/dist/session/password-strength.d.ts.map +1 -1
- package/dist/session/password-strength.js +37 -37
- package/dist/session/password-strength.js.map +1 -1
- package/dist/session/places.d.ts.map +1 -1
- package/dist/session/places.js +18 -13
- package/dist/session/places.js.map +1 -1
- package/dist/session/popup.d.ts +13 -0
- package/dist/session/popup.d.ts.map +1 -0
- package/dist/session/popup.js +23 -0
- package/dist/session/popup.js.map +1 -0
- package/dist/space/constitution.d.ts.map +1 -1
- package/dist/space/constitution.js +22 -29
- package/dist/space/constitution.js.map +1 -1
- package/dist/space/grants.d.ts.map +1 -1
- package/dist/space/grants.js +37 -39
- package/dist/space/grants.js.map +1 -1
- package/dist/space/invite-link.d.ts.map +1 -1
- package/dist/space/invite-link.js +33 -33
- package/dist/space/invite-link.js.map +1 -1
- package/dist/space/own-automations.d.ts +13 -24
- package/dist/space/own-automations.d.ts.map +1 -1
- package/dist/space/own-automations.js +47 -37
- package/dist/space/own-automations.js.map +1 -1
- package/dist/space/presets.d.ts +2 -2
- package/dist/space/presets.d.ts.map +1 -1
- package/dist/space/presets.js +3 -2
- package/dist/space/presets.js.map +1 -1
- package/dist/space/roles.d.ts +56 -80
- package/dist/space/roles.d.ts.map +1 -1
- package/dist/space/roles.js +448 -441
- package/dist/space/roles.js.map +1 -1
- package/dist/space/space-access.d.ts +3 -4
- package/dist/space/space-access.d.ts.map +1 -1
- package/dist/space/space-access.js +3 -8
- package/dist/space/space-access.js.map +1 -1
- package/dist/storage/blob/directory.d.ts.map +1 -1
- package/dist/storage/blob/directory.js +39 -32
- package/dist/storage/blob/directory.js.map +1 -1
- package/dist/storage/blob/s3.d.ts.map +1 -1
- package/dist/storage/blob/s3.js +21 -19
- package/dist/storage/blob/s3.js.map +1 -1
- package/dist/storage/blob-store.d.ts +0 -9
- package/dist/storage/blob-store.d.ts.map +1 -1
- package/dist/storage/directory-access.d.ts +8 -32
- package/dist/storage/directory-access.d.ts.map +1 -1
- package/dist/storage/directory-access.js +11 -36
- package/dist/storage/directory-access.js.map +1 -1
- package/dist/storage/encrypted-adapter.d.ts +12 -32
- package/dist/storage/encrypted-adapter.d.ts.map +1 -1
- package/dist/storage/encrypted-adapter.js +31 -54
- package/dist/storage/encrypted-adapter.js.map +1 -1
- package/dist/storage/folder-adapter.d.ts +12 -26
- package/dist/storage/folder-adapter.d.ts.map +1 -1
- package/dist/storage/folder-adapter.js +37 -54
- package/dist/storage/folder-adapter.js.map +1 -1
- package/dist/storage/folder-reconcile.d.ts +12 -26
- package/dist/storage/folder-reconcile.d.ts.map +1 -1
- package/dist/storage/folder-reconcile.js +39 -48
- package/dist/storage/folder-reconcile.js.map +1 -1
- package/dist/storage/indexeddb-adapter.d.ts +2 -6
- package/dist/storage/indexeddb-adapter.d.ts.map +1 -1
- package/dist/storage/indexeddb-adapter.js +60 -114
- package/dist/storage/indexeddb-adapter.js.map +1 -1
- package/dist/storage/mirror.d.ts +0 -29
- package/dist/storage/mirror.d.ts.map +1 -1
- package/dist/storage/mirror.js +153 -110
- package/dist/storage/mirror.js.map +1 -1
- package/dist/storage/segment.d.ts.map +1 -1
- package/dist/storage/segment.js +3 -7
- package/dist/storage/segment.js.map +1 -1
- package/dist/storage/storage-provider.d.ts +6 -11
- package/dist/storage/storage-provider.d.ts.map +1 -1
- package/dist/storage/storage-provider.js +112 -116
- package/dist/storage/storage-provider.js.map +1 -1
- package/dist/sync/sync-engine.d.ts +10 -44
- package/dist/sync/sync-engine.d.ts.map +1 -1
- package/dist/sync/sync-engine.js +245 -247
- package/dist/sync/sync-engine.js.map +1 -1
- package/dist/sync/sync-messages.d.ts +1 -1
- package/dist/sync/sync-messages.d.ts.map +1 -1
- package/dist/sync/sync-messages.js +1 -1
- package/dist/sync/sync-messages.js.map +1 -1
- package/dist/utils/guards.d.ts +1 -0
- package/dist/utils/guards.d.ts.map +1 -1
- package/dist/utils/guards.js +1 -0
- package/dist/utils/guards.js.map +1 -1
- package/dist/utils/hmac.d.ts +5 -0
- package/dist/utils/hmac.d.ts.map +1 -0
- package/dist/utils/hmac.js +20 -0
- package/dist/utils/hmac.js.map +1 -0
- package/dist/utils/map.d.ts +10 -0
- package/dist/utils/map.d.ts.map +1 -0
- package/dist/utils/map.js +30 -0
- package/dist/utils/map.js.map +1 -0
- package/dist/utils/serial.d.ts +2 -0
- package/dist/utils/serial.d.ts.map +1 -1
- package/dist/utils/serial.js +9 -0
- package/dist/utils/serial.js.map +1 -1
- package/dist/validation/capability-gate.d.ts +7 -15
- package/dist/validation/capability-gate.d.ts.map +1 -1
- package/dist/validation/capability-gate.js +32 -36
- package/dist/validation/capability-gate.js.map +1 -1
- package/dist/validation/crypto-gate.d.ts.map +1 -1
- package/dist/validation/crypto-gate.js +12 -21
- package/dist/validation/crypto-gate.js.map +1 -1
- package/docs/README.md +1 -0
- package/docs/actions.md +32 -25
- package/docs/agents.md +28 -16
- package/docs/automations.md +1 -1
- package/docs/blueprints-and-guides.md +37 -5
- package/docs/building-an-app.md +7 -4
- package/docs/collections.md +3 -3
- package/docs/contacts.md +34 -1
- package/docs/contracts.md +1 -1
- package/docs/direct-messages.md +6 -2
- package/docs/inbox.md +5 -11
- package/docs/node.md +54 -22
- package/docs/records-and-queries.md +1 -1
- package/docs/sign-in.md +54 -26
- package/docs/spaces.md +9 -8
- package/docs/standard-library.md +37 -14
- package/docs/storage.md +5 -6
- package/docs/usernames.md +161 -0
- package/docs/warrants.md +1 -1
- package/package.json +1 -2
|
@@ -1,47 +1,50 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @module node/space-runtime
|
|
3
|
+
* One open space: its store, its gatekeeper, its peers, its sync.
|
|
4
|
+
*
|
|
5
|
+
* A space is the unit of storage and of sync — its own store, its own
|
|
6
|
+
* rooms and sockets — so two spaces never mix, and a peer you share one space
|
|
7
|
+
* with learns nothing about the others.
|
|
8
|
+
*
|
|
9
|
+
* **A record keeps its key; changes are versions.** Editing a record writes its
|
|
10
|
+
* next version — same key, `seq` one higher, `prev` naming the one replaced —
|
|
11
|
+
* and deleting it writes a version marked deleted. Which version is current is
|
|
12
|
+
* decided by `seq` and id alone (`records/version.ts`), never by a clock, so
|
|
13
|
+
* every node agrees and nothing replayed can roll a record back.
|
|
14
|
+
*
|
|
15
|
+
* **Who may write is the space's access history** (`space/roles.ts`): roles,
|
|
16
|
+
* members, invites, revoked notes and collection definitions, as records every
|
|
17
|
+
* version points into with `seen`. A version stands when its author held what
|
|
18
|
+
* its collection's rules ask, as of what it saw, and nothing it had not seen
|
|
19
|
+
* took that away. A version that stops standing — its author was removed, and
|
|
20
|
+
* the remover never saw it — is passed over when reading, and the version
|
|
21
|
+
* before it counts again, where the store still has one.
|
|
22
|
+
*
|
|
23
|
+
* Each part has a module of its own, opened here in the order they lean on
|
|
24
|
+
* each other: what a version is (`space-versions.ts`), the access history
|
|
25
|
+
* (`space-history.ts`), the rules (`space-rules.ts`), whether a version
|
|
26
|
+
* stands (`space-standing.ts`) and passes its checks (`space-checks.ts`),
|
|
27
|
+
* the catalogue (`space-catalog.ts`), what counts now (`space-index.ts`),
|
|
28
|
+
* profiles (`space-profiles.ts`), the space's keys (`space-keys.ts`),
|
|
29
|
+
* writing (`space-writing.ts`), writers' lines (`space-lines.ts`), warrants
|
|
30
|
+
* (`space-warrants.ts`), mirrors (`space-mirrors.ts`), peers
|
|
31
|
+
* (`space-peers.ts`) and membership (`space-membership.ts`).
|
|
32
|
+
*/
|
|
33
|
+
import type { CryptoProvider, Version } from '../types.js';
|
|
2
34
|
import type { Signer } from '../schema/signer.js';
|
|
3
35
|
import type { SchemaEngine } from '../schema/schema-engine.js';
|
|
4
36
|
import type { SpaceRecord } from '../space/space-manager.js';
|
|
5
|
-
import {
|
|
6
|
-
import type
|
|
37
|
+
import type { Delegation } from '../identity/ucan.js';
|
|
38
|
+
import { type ComputedFields } from '../query/computed.js';
|
|
7
39
|
import type { BlobStore } from '../storage/blob-store.js';
|
|
8
|
-
import type {
|
|
9
|
-
import {
|
|
10
|
-
import { type
|
|
11
|
-
import { type ReadAccess } from '../network/peer-auth.js';
|
|
12
|
-
import { type Keeper } from '../space/roles.js';
|
|
13
|
-
import { type FoundingRole } from '../space/grants.js';
|
|
40
|
+
import type { SpaceKey } from '../privacy/space-encryption.js';
|
|
41
|
+
import type { Mesh } from '../network/mesh.js';
|
|
42
|
+
import { type AvatarRef } from '../space/account-registry.js';
|
|
14
43
|
import { type SealedFile } from '../files/space-files.js';
|
|
15
44
|
import type { StoreFactory } from './stores.js';
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
* The key of a person's profile record in a space: one per identity, named by
|
|
20
|
-
* a hash of it (record keys are lower case; a did:key is not).
|
|
21
|
-
*/
|
|
22
|
-
export declare function profileKey(did: string): Promise<string>;
|
|
23
|
-
/**
|
|
24
|
-
* The room a space's peers meet in on a relay. A hash of the space's id, so a
|
|
25
|
-
* relay learns which connections belong together but not which space they are
|
|
26
|
-
* — it cannot match the room to an invite, or to the same space elsewhere.
|
|
27
|
-
*/
|
|
28
|
-
export declare function relayRoom(spaceId: string): Promise<string>;
|
|
29
|
-
/** The one mesh a node's spaces share, when it has relays to meet on */
|
|
30
|
-
export declare function meshFor(network: NodeNetworkConfig | undefined, session: {
|
|
31
|
-
readonly did: string;
|
|
32
|
-
readonly key: CryptoKey;
|
|
33
|
-
}): Mesh | undefined;
|
|
34
|
-
/** The relays a node was configured with that a space may name */
|
|
35
|
-
export declare const usableRelays: (network: NodeNetworkConfig | undefined) => string[];
|
|
36
|
-
/** Said when a key's note doesn't let it define collections — it can propose them instead */
|
|
37
|
-
export declare const CANNOT_DEFINE = "This key's note doesn't let it add or change collections. Propose them instead (collections_propose), and someone who may adds them.";
|
|
38
|
-
/** The key that signs, and the delegation that lets it */
|
|
39
|
-
export interface ActiveSession {
|
|
40
|
-
readonly did: string;
|
|
41
|
-
readonly key: CryptoKey;
|
|
42
|
-
/** The current note from the account — it is renewed, so always read it fresh. None for a key that signs for itself. */
|
|
43
|
-
readonly proof: () => Delegation | undefined;
|
|
44
|
-
}
|
|
45
|
+
import type { Writers } from './writers.js';
|
|
46
|
+
import { type ActiveSession } from './space-versions.js';
|
|
47
|
+
import type { CacheConfig, DefineCollection, NodeCollection, NodeEvent, NodeNetworkConfig } from './types.js';
|
|
45
48
|
export interface SpaceRuntimeDeps {
|
|
46
49
|
readonly record: SpaceRecord;
|
|
47
50
|
/** The logs of the keys this node signs with: one line per key, space and collection (`node/writers.ts`) */
|
|
@@ -72,16 +75,12 @@ export interface SpaceRuntimeDeps {
|
|
|
72
75
|
readonly onKeys?: (keys: ReadonlyArray<SpaceKey>, current: string) => Promise<void>;
|
|
73
76
|
/** Told the relays the space names, when they differ from the ones the record came with */
|
|
74
77
|
readonly onRelays?: (relays: ReadonlyArray<string>) => Promise<void>;
|
|
75
|
-
/**
|
|
76
|
-
* File stores the space is also kept in (`storage/mirror.ts`): a bucket, an
|
|
77
|
-
* app folder. Read when the space opens, written soon after every change.
|
|
78
|
-
*/
|
|
78
|
+
/** File stores the space is also kept in (`storage/mirror.ts`): read when it opens, written soon after every change */
|
|
79
79
|
readonly mirrors?: ReadonlyArray<BlobStore>;
|
|
80
80
|
/**
|
|
81
81
|
* Only notes that grant `account/write` count here — for the account's own
|
|
82
|
-
* spaces
|
|
83
|
-
*
|
|
84
|
-
* space or leave one.
|
|
82
|
+
* spaces, where a note for "every space" would otherwise let a key it
|
|
83
|
+
* trusts less join the account to a space or leave one.
|
|
85
84
|
*/
|
|
86
85
|
readonly accountOnly?: boolean;
|
|
87
86
|
/** Hold only the collections used, once the space names a keeper (`NodeConfig.cache`). Absent: hold it whole. */
|
|
@@ -93,41 +92,70 @@ export interface SpaceRuntimeDeps {
|
|
|
93
92
|
}
|
|
94
93
|
/** One open space, as `openSpaceRuntime` gives it */
|
|
95
94
|
export type SpaceRuntime = Awaited<ReturnType<typeof openSpaceRuntime>>;
|
|
96
|
-
/** Whether a version goes in the store: it stands, or stood until a later change withdrew it */
|
|
97
|
-
/** How a version fares under its collection's contract, as this node reads them */
|
|
98
|
-
import type { RecordContracts } from './types.js';
|
|
99
|
-
import { type ComputedFields } from '../query/computed.js';
|
|
100
95
|
export declare function openSpaceRuntime(deps: SpaceRuntimeDeps): Promise<Readonly<{
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
96
|
+
setRelays(named: ReadonlyArray<string>): Promise<void>;
|
|
97
|
+
setKeepers(keepers: ReadonlyArray<import("./index.js").Keeper>, copies?: number | null): Promise<void>;
|
|
98
|
+
access(): Promise<import("./types.js").SpaceAccess>;
|
|
99
|
+
may(cmd: string, args?: Readonly<Record<string, unknown>>, account?: string): Promise<boolean>;
|
|
100
|
+
holdsRole(role: string, account?: string): Promise<boolean>;
|
|
101
|
+
assign(did: string, role: string): Promise<void>;
|
|
102
|
+
unassign(did: string, role: string): Promise<void>;
|
|
103
|
+
removeMember(did: string): Promise<void>;
|
|
104
|
+
stepDown(keep?: string): Promise<void>;
|
|
105
|
+
succeed(successor: string): Promise<void>;
|
|
106
|
+
giveUpPlace(waitMs: number): Promise<boolean>;
|
|
107
|
+
defineRole(role: import("../index.js").FoundingRole): Promise<void>;
|
|
108
|
+
openInvite(role: string, secret?: Uint8Array): Promise<{
|
|
109
|
+
secret: Uint8Array<ArrayBufferLike>;
|
|
110
|
+
key: string;
|
|
111
|
+
}>;
|
|
112
|
+
closeInvite(inviteDid: string): Promise<void>;
|
|
113
|
+
revoke(key: string, options?: {
|
|
114
|
+
readonly waitMs?: number;
|
|
115
|
+
}): Promise<boolean>;
|
|
116
|
+
isRevoked(key: string): Promise<boolean>;
|
|
117
|
+
join(secret: Uint8Array): Promise<boolean>;
|
|
118
|
+
list: <T>(options?: import("./types.js").ListOptions) => Promise<ReadonlyArray<import("./types.js").NodeRecord<T>>>;
|
|
119
|
+
get: <T>(recordKey: string) => Promise<import("./types.js").NodeRecord<T> | null>;
|
|
120
|
+
linked: <T>(recordKey: string, options?: {
|
|
121
|
+
rel?: string;
|
|
122
|
+
collection?: string;
|
|
123
|
+
}) => Promise<ReadonlyArray<import("./types.js").NodeRecord<T>>>;
|
|
124
|
+
history: <T>(recordKey: string) => Promise<ReadonlyArray<import("./types.js").NodeRecord<T>>>;
|
|
125
|
+
contracts: (recordKey: string, versionId?: string) => Promise<import("./types.js").RecordContracts | null>;
|
|
126
|
+
put: <T>(collection: string, body: T, options?: {
|
|
107
127
|
key?: string;
|
|
108
|
-
links?: ReadonlyArray<Link>;
|
|
128
|
+
links?: ReadonlyArray<import("../types.js").Link>;
|
|
109
129
|
as?: ActiveSession;
|
|
110
|
-
})
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
onePerKey(collection: string, body: unknown, options?: {
|
|
119
|
-
links?: ReadonlyArray<Link>;
|
|
130
|
+
}) => Promise<import("./types.js").NodeRecord<T>>;
|
|
131
|
+
update: <T>(recordKey: string, body: T, options?: {
|
|
132
|
+
links?: ReadonlyArray<import("../types.js").Link>;
|
|
133
|
+
as?: ActiveSession;
|
|
134
|
+
}) => Promise<import("./types.js").NodeRecord<T>>;
|
|
135
|
+
remove: (recordKey: string, options?: {
|
|
136
|
+
as?: ActiveSession;
|
|
137
|
+
}) => Promise<void>;
|
|
138
|
+
onePerKey: (collection: string, body: unknown, options?: {
|
|
139
|
+
links?: ReadonlyArray<import("../types.js").Link>;
|
|
120
140
|
account?: string;
|
|
121
141
|
onePer?: ReadonlyArray<string>;
|
|
122
|
-
})
|
|
123
|
-
can(action: 'create' | 'edit' | 'delete', target: string)
|
|
142
|
+
}) => Promise<string | null>;
|
|
143
|
+
can: (action: 'create' | 'edit' | 'delete', target: string) => Promise<boolean>;
|
|
144
|
+
/** The note a record's current version was signed under; null when its account signed it itself */
|
|
145
|
+
noteOf: (recordKey: string) => Promise<Delegation | null>;
|
|
146
|
+
/** The key `name` has in an account's namespace: this account's, unless another is named */
|
|
147
|
+
keyFor: (name: string, account?: string) => Promise<string>;
|
|
124
148
|
/** Seals a file, keeps it, and gives back the reference a body names it by (spec 05 §16.6) */
|
|
125
149
|
addFile: (bytes: Uint8Array) => Promise<SealedFile>;
|
|
126
150
|
/** The bytes of a file a body refers to: held here, or fetched from peers or mirrors */
|
|
127
151
|
readFile: (ref: SealedFile) => Promise<Uint8Array>;
|
|
128
152
|
/** For the node itself: writes the next version of a record in a collection `put` refuses, like the profile */
|
|
129
|
-
upsertSystem: <T>(collection: string, recordKey: string, body: T
|
|
130
|
-
|
|
153
|
+
upsertSystem: <T>(collection: string, recordKey: string, body: T, options?: {
|
|
154
|
+
joining?: boolean;
|
|
155
|
+
}) => Promise<import("./types.js").NodeRecord<T>>;
|
|
156
|
+
/** For the node itself: deletes a record in a managed collection */
|
|
157
|
+
removeSystem: (recordKey: string, as?: ActiveSession) => Promise<void>;
|
|
158
|
+
profiles(): Promise<import("./types.js").SpaceProfile[]>;
|
|
131
159
|
/** For the node itself: says who this account is here, when that changed and the space takes its writes */
|
|
132
160
|
publishProfile(profile: {
|
|
133
161
|
name: string;
|
|
@@ -137,82 +165,26 @@ export declare function openSpaceRuntime(deps: SpaceRuntimeDeps): Promise<Readon
|
|
|
137
165
|
rotateKey: () => Promise<void>;
|
|
138
166
|
memberKeys: () => Promise<Map<string, string>>;
|
|
139
167
|
ownMemberKey: () => import("../index.js").ContactKeyPair | null;
|
|
140
|
-
readAccess: () => ReadAccess | null;
|
|
141
|
-
setRelays(named: ReadonlyArray<string>): Promise<void>;
|
|
168
|
+
readAccess: () => import("../network/peer-auth.js").ReadAccess | null;
|
|
142
169
|
topicTag(collection: string, field: string, value: string | number | boolean): Promise<string>;
|
|
143
|
-
setKeepers(keepers: ReadonlyArray<Keeper>, copies?: number | null): Promise<void>;
|
|
144
|
-
update<T>(recordKey: string, body: T, options?: {
|
|
145
|
-
links?: ReadonlyArray<Link>;
|
|
146
|
-
as?: ActiveSession;
|
|
147
|
-
}): Promise<NodeRecord<T>>;
|
|
148
|
-
linked<T>(recordKey: string, options?: {
|
|
149
|
-
rel?: string;
|
|
150
|
-
collection?: string;
|
|
151
|
-
}): Promise<ReadonlyArray<NodeRecord<T>>>;
|
|
152
|
-
remove(recordKey: string, options?: {
|
|
153
|
-
as?: ActiveSession;
|
|
154
|
-
}): Promise<void>;
|
|
155
|
-
/** For the node itself: deletes a record in a managed collection */
|
|
156
|
-
removeSystem: (recordKey: string, as?: ActiveSession) => Promise<void>;
|
|
157
|
-
history<T>(recordKey: string): Promise<ReadonlyArray<NodeRecord<T>>>;
|
|
158
170
|
/** A collection's computed fields, as its definition says now; a malformed member reads as none */
|
|
159
171
|
computed(collection: string): Promise<ComputedFields | undefined>;
|
|
160
172
|
collections(): Promise<ReadonlyArray<NodeCollection>>;
|
|
161
173
|
define(input: DefineCollection): Promise<NodeCollection>;
|
|
162
174
|
undefine(name: string): Promise<void>;
|
|
163
|
-
|
|
164
|
-
/** Whether this account, or another, may invoke a command with these arguments, now */
|
|
165
|
-
may(cmd: string, args?: Readonly<Record<string, unknown>>, account?: string): Promise<boolean>;
|
|
166
|
-
/** Whether this account, or another, holds every grant a role gives, as wide or wider, now */
|
|
167
|
-
holdsRole(role: string, account?: string): Promise<boolean>;
|
|
168
|
-
assign(did: string, role: string): Promise<void>;
|
|
169
|
-
unassign(did: string, role: string): Promise<void>;
|
|
170
|
-
removeMember(did: string): Promise<void>;
|
|
171
|
-
/** Stops being a founder, keeping the roles held, and `keep` first when given */
|
|
172
|
-
stepDown(keep?: string): Promise<void>;
|
|
173
|
-
/** Names a space that succeeds this one. It changes nothing here */
|
|
174
|
-
succeed(successor: string): Promise<void>;
|
|
175
|
-
/**
|
|
176
|
-
* Gives up this account's place before it forgets the space: its own
|
|
177
|
-
* member record with no role, so the others stop counting it a reader and
|
|
178
|
-
* a key change becomes due. Nothing sends the removal once the space is
|
|
179
|
-
* closed, so this waits up to `waitMs` for a peer of another account to
|
|
180
|
-
* say it has it. False when it couldn't be written, or nobody took it in
|
|
181
|
-
* time.
|
|
182
|
-
*/
|
|
183
|
-
giveUpPlace(waitMs: number): Promise<boolean>;
|
|
184
|
-
/**
|
|
185
|
-
* Waits up to `waitMs` for this node to be level with `peer` here: nothing
|
|
186
|
-
* left in flight either way, so the peer holds everything this node does.
|
|
187
|
-
* False when that long passed first.
|
|
188
|
-
*/
|
|
189
|
-
syncedWith(peer: string, waitMs: number): Promise<boolean>;
|
|
190
|
-
/** Writes a role's definition: its grants, issued by this account, and the roles it nests */
|
|
191
|
-
defineRole(role: FoundingRole): Promise<void>;
|
|
192
|
-
/** Opens an invite to a role, with its own fresh secret unless a short link's gives it one */
|
|
193
|
-
openInvite(role: string, secret?: Uint8Array): Promise<{
|
|
194
|
-
secret: Uint8Array<ArrayBufferLike>;
|
|
195
|
-
key: string;
|
|
196
|
-
}>;
|
|
197
|
-
closeInvite(inviteDid: string): Promise<void>;
|
|
175
|
+
syncedWith: (peer: string, waitMs: number) => Promise<boolean>;
|
|
198
176
|
/**
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
* can't send it anywhere, so false at once. Without, true once written.
|
|
177
|
+
* Who has this node's writes from `since` on: the space's keepers, or, in a
|
|
178
|
+
* space that names none, where every member's node is a copy, a peer
|
|
179
|
+
* connected now that holds all this node does. Null when nobody, in time.
|
|
203
180
|
*/
|
|
204
|
-
|
|
205
|
-
readonly waitMs?: number;
|
|
206
|
-
}): Promise<boolean>;
|
|
207
|
-
isRevoked(key: string): Promise<boolean>;
|
|
181
|
+
kept(waitMs: number, since?: number): Promise<'keepers' | 'peer' | null>;
|
|
208
182
|
versionsOf(keys: ReadonlyArray<string>): Promise<Version<unknown>[]>;
|
|
209
183
|
/** Takes in versions handed over outside sync, through the same checks as a peer's. How many were new. */
|
|
210
184
|
take(versions: ReadonlyArray<Version>): Promise<number>;
|
|
211
|
-
/** Uses an invite's secret, once its record has arrived. True when this account is a member. */
|
|
212
|
-
join(secret: Uint8Array): Promise<boolean>;
|
|
213
185
|
status(): Promise<{
|
|
214
186
|
space: string;
|
|
215
|
-
connection: ConnectionState;
|
|
187
|
+
connection: import("./types.js").ConnectionState;
|
|
216
188
|
peers: string[];
|
|
217
189
|
accounts: {
|
|
218
190
|
[k: string]: string;
|
|
@@ -223,13 +195,8 @@ export declare function openSpaceRuntime(deps: SpaceRuntimeDeps): Promise<Readon
|
|
|
223
195
|
pending: number;
|
|
224
196
|
}>;
|
|
225
197
|
use: (collections: ReadonlyArray<string>) => boolean;
|
|
226
|
-
send(message: unknown, to?: string)
|
|
227
|
-
|
|
228
|
-
* Always-on nodes to hold a socket to besides those configured: the hosts
|
|
229
|
-
* the account or the space uses. Sockets to any given before and not now
|
|
230
|
-
* are closed.
|
|
231
|
-
*/
|
|
232
|
-
useNodes(nodes: ReadonlyArray<string>): void;
|
|
198
|
+
send: (message: unknown, to?: string) => Promise<void>;
|
|
199
|
+
useNodes: (nodes: ReadonlyArray<string>) => void;
|
|
233
200
|
close(): Promise<void>;
|
|
234
201
|
}>>;
|
|
235
202
|
//# sourceMappingURL=space-runtime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"space-runtime.d.ts","sourceRoot":"","sources":["../../src/node/space-runtime.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"space-runtime.d.ts","sourceRoot":"","sources":["../../src/node/space-runtime.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAMtD,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0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