@minca/core 0.2.0 → 0.4.0
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 +2 -2
- package/dist/{session → hosting}/hosting.d.ts +2 -8
- package/dist/hosting/hosting.d.ts.map +1 -0
- package/dist/{session → hosting}/hosting.js +3 -3
- package/dist/hosting/hosting.js.map +1 -0
- package/dist/identity/abilities.d.ts +0 -2
- package/dist/identity/abilities.d.ts.map +1 -1
- package/dist/identity/abilities.js +2 -2
- package/dist/identity/abilities.js.map +1 -1
- package/dist/identity/account-vault.d.ts +0 -2
- package/dist/identity/account-vault.d.ts.map +1 -1
- package/dist/identity/account-vault.js +1 -1
- package/dist/identity/account-vault.js.map +1 -1
- package/dist/identity/crypto-p256.d.ts +1 -1
- package/dist/identity/crypto-p256.d.ts.map +1 -1
- package/dist/identity/ucan.d.ts +2 -1
- package/dist/identity/ucan.d.ts.map +1 -1
- package/dist/identity/ucan.js +1 -1
- package/dist/identity/ucan.js.map +1 -1
- package/dist/inbox/inbox.d.ts +0 -21
- package/dist/inbox/inbox.d.ts.map +1 -1
- package/dist/inbox/inbox.js +4 -4
- package/dist/inbox/inbox.js.map +1 -1
- package/dist/inbox/index.d.ts +4 -5
- package/dist/inbox/index.d.ts.map +1 -1
- package/dist/inbox/index.js +2 -3
- package/dist/inbox/index.js.map +1 -1
- package/dist/inbox/names.d.ts +0 -4
- package/dist/inbox/names.d.ts.map +1 -1
- package/dist/inbox/names.js +2 -2
- package/dist/inbox/names.js.map +1 -1
- package/dist/index.d.ts +50 -84
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +38 -60
- package/dist/index.js.map +1 -1
- package/dist/network/mesh.d.ts.map +1 -1
- package/dist/network/mesh.js +23 -3
- package/dist/network/mesh.js.map +1 -1
- package/dist/network/network-manager.d.ts +5 -0
- package/dist/network/network-manager.d.ts.map +1 -1
- package/dist/network/network-manager.js +3 -0
- package/dist/network/network-manager.js.map +1 -1
- package/dist/network/peer-auth.d.ts +17 -5
- package/dist/network/peer-auth.d.ts.map +1 -1
- package/dist/network/peer-auth.js +19 -9
- package/dist/network/peer-auth.js.map +1 -1
- package/dist/network/rendezvous.d.ts +2 -0
- package/dist/network/rendezvous.d.ts.map +1 -1
- package/dist/network/rendezvous.js +5 -0
- package/dist/network/rendezvous.js.map +1 -1
- package/dist/network/rtc-transport.d.ts.map +1 -1
- package/dist/network/rtc-transport.js +9 -3
- package/dist/network/rtc-transport.js.map +1 -1
- package/dist/network/transport.d.ts +12 -0
- package/dist/network/transport.d.ts.map +1 -1
- package/dist/network/ws-transport.d.ts +1 -1
- package/dist/network/ws-transport.d.ts.map +1 -1
- package/dist/network/ws-transport.js +14 -4
- package/dist/network/ws-transport.js.map +1 -1
- package/dist/node/carrier.d.ts +1 -33
- package/dist/node/carrier.d.ts.map +1 -1
- package/dist/node/carrier.js +38 -68
- package/dist/node/carrier.js.map +1 -1
- package/dist/node/index.d.ts +5 -16
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/index.js +2 -9
- package/dist/node/index.js.map +1 -1
- package/dist/node/node-carriers.d.ts.map +1 -1
- package/dist/node/node-carriers.js +21 -52
- package/dist/node/node-carriers.js.map +1 -1
- package/dist/node/node-context.d.ts +0 -2
- package/dist/node/node-context.d.ts.map +1 -1
- package/dist/node/node-context.js.map +1 -1
- package/dist/node/node-hosting.d.ts.map +1 -1
- package/dist/node/node-hosting.js +14 -5
- package/dist/node/node-hosting.js.map +1 -1
- package/dist/node/node-records.js +2 -2
- package/dist/node/node-records.js.map +1 -1
- package/dist/node/node.d.ts.map +1 -1
- package/dist/node/node.js +152 -36
- package/dist/node/node.js.map +1 -1
- package/dist/node/space-checks.d.ts +3 -1
- package/dist/node/space-checks.d.ts.map +1 -1
- package/dist/node/space-checks.js +7 -3
- package/dist/node/space-checks.js.map +1 -1
- package/dist/node/space-holding.d.ts +5 -0
- package/dist/node/space-holding.d.ts.map +1 -1
- package/dist/node/space-holding.js +90 -5
- package/dist/node/space-holding.js.map +1 -1
- package/dist/node/space-lines.d.ts +3 -0
- package/dist/node/space-lines.d.ts.map +1 -1
- package/dist/node/space-lines.js +13 -1
- package/dist/node/space-lines.js.map +1 -1
- package/dist/node/space-membership.js +4 -4
- package/dist/node/space-membership.js.map +1 -1
- package/dist/node/space-mirrors.d.ts +1 -1
- package/dist/node/space-mirrors.d.ts.map +1 -1
- package/dist/node/space-mirrors.js +17 -5
- package/dist/node/space-mirrors.js.map +1 -1
- package/dist/node/space-peers.d.ts +7 -2
- package/dist/node/space-peers.d.ts.map +1 -1
- package/dist/node/space-peers.js +44 -10
- package/dist/node/space-peers.js.map +1 -1
- package/dist/node/space-runtime.d.ts +7 -3
- package/dist/node/space-runtime.d.ts.map +1 -1
- package/dist/node/space-runtime.js +32 -10
- package/dist/node/space-runtime.js.map +1 -1
- package/dist/node/space-standing.d.ts +1 -1
- package/dist/node/space-standing.d.ts.map +1 -1
- package/dist/node/space-standing.js +23 -42
- package/dist/node/space-standing.js.map +1 -1
- package/dist/node/space-warrants.js +1 -1
- package/dist/node/space-warrants.js.map +1 -1
- package/dist/node/space-writing.d.ts.map +1 -1
- package/dist/node/space-writing.js +21 -32
- package/dist/node/space-writing.js.map +1 -1
- package/dist/node/stores.d.ts +9 -57
- package/dist/node/stores.d.ts.map +1 -1
- package/dist/node/stores.js +1 -72
- package/dist/node/stores.js.map +1 -1
- package/dist/node/types.d.ts +19 -8
- package/dist/node/types.d.ts.map +1 -1
- package/dist/node/writer-keys.d.ts +15 -14
- package/dist/node/writer-keys.d.ts.map +1 -1
- package/dist/node/writer-keys.js +3 -115
- package/dist/node/writer-keys.js.map +1 -1
- package/dist/privacy/direct.d.ts +0 -7
- package/dist/privacy/direct.d.ts.map +1 -1
- package/dist/privacy/direct.js +2 -2
- package/dist/privacy/direct.js.map +1 -1
- package/dist/query/filter.d.ts +0 -2
- package/dist/query/filter.d.ts.map +1 -1
- package/dist/query/filter.js +1 -1
- package/dist/query/filter.js.map +1 -1
- package/dist/query/types.d.ts +2 -6
- package/dist/query/types.d.ts.map +1 -1
- package/dist/query/types.js.map +1 -1
- package/dist/records/key.d.ts +18 -19
- package/dist/records/key.d.ts.map +1 -1
- package/dist/records/key.js +55 -43
- package/dist/records/key.js.map +1 -1
- package/dist/records/links.js +1 -1
- package/dist/records/rules.d.ts +1 -1
- package/dist/records/rules.d.ts.map +1 -1
- package/dist/records/rules.js +6 -4
- package/dist/records/rules.js.map +1 -1
- package/dist/schemas/direct.d.ts +70 -0
- package/dist/schemas/direct.d.ts.map +1 -0
- package/dist/schemas/direct.js +39 -0
- package/dist/schemas/direct.js.map +1 -0
- package/dist/schemas/index.d.ts +10 -73
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +8 -66
- package/dist/schemas/index.js.map +1 -1
- package/dist/space/account-registry.d.ts +0 -3
- package/dist/space/account-registry.d.ts.map +1 -1
- package/dist/space/account-registry.js.map +1 -1
- package/dist/space/own-automations.d.ts +51 -95
- package/dist/space/own-automations.d.ts.map +1 -1
- package/dist/space/own-automations.js +100 -295
- package/dist/space/own-automations.js.map +1 -1
- package/dist/space/pass.d.ts +8 -3
- package/dist/space/pass.d.ts.map +1 -1
- package/dist/space/pass.js +4 -3
- package/dist/space/pass.js.map +1 -1
- package/dist/space/space-manager.d.ts +1 -3
- package/dist/space/space-manager.d.ts.map +1 -1
- package/dist/space/space-manager.js +5 -7
- package/dist/space/space-manager.js.map +1 -1
- package/dist/storage/body-cache.d.ts +29 -0
- package/dist/storage/body-cache.d.ts.map +1 -0
- package/dist/storage/body-cache.js +64 -0
- package/dist/storage/body-cache.js.map +1 -0
- package/dist/storage/encrypted-adapter.d.ts +0 -5
- package/dist/storage/encrypted-adapter.d.ts.map +1 -1
- package/dist/storage/encrypted-adapter.js +1 -1
- package/dist/storage/encrypted-adapter.js.map +1 -1
- package/dist/storage/mirror.d.ts.map +1 -1
- package/dist/storage/mirror.js +35 -16
- package/dist/storage/mirror.js.map +1 -1
- package/dist/storage/segment.d.ts +6 -2
- package/dist/storage/segment.d.ts.map +1 -1
- package/dist/storage/segment.js +8 -4
- package/dist/storage/segment.js.map +1 -1
- package/dist/storage/shared-store.d.ts +32 -0
- package/dist/storage/shared-store.d.ts.map +1 -0
- package/dist/storage/{folder-reconcile.js → shared-store.js} +15 -15
- package/dist/storage/shared-store.js.map +1 -0
- package/dist/storage/storage-provider.d.ts +19 -9
- package/dist/storage/storage-provider.d.ts.map +1 -1
- package/dist/storage/storage-provider.js +155 -62
- package/dist/storage/storage-provider.js.map +1 -1
- package/dist/sync/sync-engine.d.ts +17 -4
- package/dist/sync/sync-engine.d.ts.map +1 -1
- package/dist/sync/sync-engine.js +298 -84
- package/dist/sync/sync-engine.js.map +1 -1
- package/dist/sync/sync-messages.d.ts +5 -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/types.d.ts +19 -7
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +4 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/index.d.ts +5 -5
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +5 -5
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/step.d.ts +8 -0
- package/dist/utils/step.d.ts.map +1 -0
- package/dist/utils/step.js +15 -0
- package/dist/utils/step.js.map +1 -0
- package/docs/README.md +4 -3
- package/docs/actions.md +41 -2
- package/docs/agents.md +13 -10
- package/docs/automations.md +16 -48
- package/docs/blueprints-and-guides.md +2 -2
- package/docs/bots.md +3 -3
- package/docs/building-an-app.md +2 -2
- package/docs/collections.md +2 -4
- package/docs/computed.md +1 -2
- package/docs/node.md +108 -40
- package/docs/proposing-collections.md +3 -3
- package/docs/query-format.md +6 -5
- package/docs/records-and-queries.md +12 -13
- package/docs/sign-in.md +16 -16
- package/docs/spaces.md +0 -5
- package/docs/standard-library.md +6 -8
- package/docs/storage.md +114 -22
- package/docs/usernames.md +1 -1
- package/package.json +15 -25
- package/dist/identity/account-store.d.ts +0 -83
- package/dist/identity/account-store.d.ts.map +0 -1
- package/dist/identity/account-store.js +0 -234
- package/dist/identity/account-store.js.map +0 -1
- package/dist/identity/device-key.d.ts +0 -26
- package/dist/identity/device-key.d.ts.map +0 -1
- package/dist/identity/device-key.js +0 -48
- package/dist/identity/device-key.js.map +0 -1
- package/dist/identity/idb.d.ts +0 -19
- package/dist/identity/idb.d.ts.map +0 -1
- package/dist/identity/idb.js +0 -56
- package/dist/identity/idb.js.map +0 -1
- package/dist/node/actions.d.ts +0 -85
- package/dist/node/actions.d.ts.map +0 -1
- package/dist/node/actions.js +0 -921
- package/dist/node/actions.js.map +0 -1
- package/dist/node/host.d.ts +0 -187
- package/dist/node/host.d.ts.map +0 -1
- package/dist/node/host.js +0 -818
- package/dist/node/host.js.map +0 -1
- package/dist/node/usage.d.ts +0 -32
- package/dist/node/usage.d.ts.map +0 -1
- package/dist/node/usage.js +0 -217
- package/dist/node/usage.js.map +0 -1
- package/dist/node/watch-notifications.d.ts +0 -25
- package/dist/node/watch-notifications.d.ts.map +0 -1
- package/dist/node/watch-notifications.js +0 -166
- package/dist/node/watch-notifications.js.map +0 -1
- package/dist/node/worker.d.ts +0 -83
- package/dist/node/worker.d.ts.map +0 -1
- package/dist/node/worker.js +0 -305
- package/dist/node/worker.js.map +0 -1
- package/dist/node-worker.d.ts +0 -2
- package/dist/node-worker.d.ts.map +0 -1
- package/dist/node-worker.js +0 -16
- package/dist/node-worker.js.map +0 -1
- package/dist/schemas/automations.d.ts +0 -390
- package/dist/schemas/automations.d.ts.map +0 -1
- package/dist/schemas/automations.js +0 -619
- package/dist/schemas/automations.js.map +0 -1
- package/dist/schemas/blueprints.d.ts +0 -122
- package/dist/schemas/blueprints.d.ts.map +0 -1
- package/dist/schemas/blueprints.js +0 -337
- package/dist/schemas/blueprints.js.map +0 -1
- package/dist/schemas/choosing.d.ts +0 -19
- package/dist/schemas/choosing.d.ts.map +0 -1
- package/dist/schemas/choosing.js +0 -69
- package/dist/schemas/choosing.js.map +0 -1
- package/dist/schemas/connectors.d.ts +0 -202
- package/dist/schemas/connectors.d.ts.map +0 -1
- package/dist/schemas/connectors.js +0 -140
- package/dist/schemas/connectors.js.map +0 -1
- package/dist/schemas/cron.d.ts +0 -14
- package/dist/schemas/cron.d.ts.map +0 -1
- package/dist/schemas/cron.js +0 -75
- package/dist/schemas/cron.js.map +0 -1
- package/dist/schemas/geo.d.ts +0 -63
- package/dist/schemas/geo.d.ts.map +0 -1
- package/dist/schemas/geo.js +0 -131
- package/dist/schemas/geo.js.map +0 -1
- package/dist/schemas/guides.d.ts +0 -26
- package/dist/schemas/guides.d.ts.map +0 -1
- package/dist/schemas/guides.js +0 -33
- package/dist/schemas/guides.js.map +0 -1
- package/dist/schemas/library/annotations.d.ts +0 -616
- package/dist/schemas/library/annotations.d.ts.map +0 -1
- package/dist/schemas/library/annotations.js +0 -156
- package/dist/schemas/library/annotations.js.map +0 -1
- package/dist/schemas/library/collections.d.ts +0 -211
- package/dist/schemas/library/collections.d.ts.map +0 -1
- package/dist/schemas/library/collections.js +0 -57
- package/dist/schemas/library/collections.js.map +0 -1
- package/dist/schemas/library/community.d.ts +0 -1136
- package/dist/schemas/library/community.d.ts.map +0 -1
- package/dist/schemas/library/community.js +0 -315
- package/dist/schemas/library/community.js.map +0 -1
- package/dist/schemas/library/life.d.ts +0 -1440
- package/dist/schemas/library/life.d.ts.map +0 -1
- package/dist/schemas/library/life.js +0 -202
- package/dist/schemas/library/life.js.map +0 -1
- package/dist/schemas/library/media.d.ts +0 -1002
- package/dist/schemas/library/media.d.ts.map +0 -1
- package/dist/schemas/library/media.js +0 -110
- package/dist/schemas/library/media.js.map +0 -1
- package/dist/schemas/library/money.d.ts +0 -1221
- package/dist/schemas/library/money.d.ts.map +0 -1
- package/dist/schemas/library/money.js +0 -168
- package/dist/schemas/library/money.js.map +0 -1
- package/dist/schemas/library/planning.d.ts +0 -1107
- package/dist/schemas/library/planning.d.ts.map +0 -1
- package/dist/schemas/library/planning.js +0 -214
- package/dist/schemas/library/planning.js.map +0 -1
- package/dist/schemas/library/publishing.d.ts +0 -1499
- package/dist/schemas/library/publishing.d.ts.map +0 -1
- package/dist/schemas/library/publishing.js +0 -285
- package/dist/schemas/library/publishing.js.map +0 -1
- package/dist/schemas/library/social.d.ts +0 -1257
- package/dist/schemas/library/social.d.ts.map +0 -1
- package/dist/schemas/library/social.js +0 -147
- package/dist/schemas/library/social.js.map +0 -1
- package/dist/schemas/standard.d.ts +0 -21
- package/dist/schemas/standard.d.ts.map +0 -1
- package/dist/schemas/standard.js +0 -39
- package/dist/schemas/standard.js.map +0 -1
- package/dist/session/account-hint.d.ts +0 -13
- package/dist/session/account-hint.d.ts.map +0 -1
- package/dist/session/account-hint.js +0 -54
- package/dist/session/account-hint.js.map +0 -1
- package/dist/session/auth.d.ts +0 -411
- package/dist/session/auth.d.ts.map +0 -1
- package/dist/session/auth.js +0 -1529
- package/dist/session/auth.js.map +0 -1
- package/dist/session/channel-room.d.ts +0 -26
- package/dist/session/channel-room.d.ts.map +0 -1
- package/dist/session/channel-room.js +0 -56
- package/dist/session/channel-room.js.map +0 -1
- package/dist/session/connect-code.d.ts +0 -127
- package/dist/session/connect-code.d.ts.map +0 -1
- package/dist/session/connect-code.js +0 -408
- package/dist/session/connect-code.js.map +0 -1
- package/dist/session/connect.d.ts +0 -386
- package/dist/session/connect.d.ts.map +0 -1
- package/dist/session/connect.js +0 -583
- package/dist/session/connect.js.map +0 -1
- package/dist/session/connection.d.ts +0 -135
- package/dist/session/connection.d.ts.map +0 -1
- package/dist/session/connection.js +0 -215
- package/dist/session/connection.js.map +0 -1
- package/dist/session/credentials.d.ts +0 -30
- package/dist/session/credentials.d.ts.map +0 -1
- package/dist/session/credentials.js +0 -63
- package/dist/session/credentials.js.map +0 -1
- package/dist/session/hosting.d.ts.map +0 -1
- package/dist/session/hosting.js.map +0 -1
- package/dist/session/index.d.ts +0 -29
- package/dist/session/index.d.ts.map +0 -1
- package/dist/session/index.js +0 -21
- package/dist/session/index.js.map +0 -1
- package/dist/session/pairing.d.ts +0 -97
- package/dist/session/pairing.d.ts.map +0 -1
- package/dist/session/pairing.js +0 -251
- package/dist/session/pairing.js.map +0 -1
- package/dist/session/password-strength.d.ts +0 -22
- package/dist/session/password-strength.d.ts.map +0 -1
- package/dist/session/password-strength.js +0 -130
- package/dist/session/password-strength.js.map +0 -1
- package/dist/session/places.d.ts +0 -71
- package/dist/session/places.d.ts.map +0 -1
- package/dist/session/places.js +0 -130
- package/dist/session/places.js.map +0 -1
- package/dist/session/popup.d.ts +0 -13
- package/dist/session/popup.d.ts.map +0 -1
- package/dist/session/popup.js +0 -23
- package/dist/session/popup.js.map +0 -1
- package/dist/session/stay-signed-in.d.ts +0 -49
- package/dist/session/stay-signed-in.d.ts.map +0 -1
- package/dist/session/stay-signed-in.js +0 -141
- package/dist/session/stay-signed-in.js.map +0 -1
- package/dist/storage/blob/directory.d.ts +0 -14
- package/dist/storage/blob/directory.d.ts.map +0 -1
- package/dist/storage/blob/directory.js +0 -87
- package/dist/storage/blob/directory.js.map +0 -1
- package/dist/storage/blob/memory.d.ts +0 -6
- package/dist/storage/blob/memory.d.ts.map +0 -1
- package/dist/storage/blob/memory.js +0 -20
- package/dist/storage/blob/memory.js.map +0 -1
- package/dist/storage/blob/s3.d.ts +0 -16
- package/dist/storage/blob/s3.d.ts.map +0 -1
- package/dist/storage/blob/s3.js +0 -91
- package/dist/storage/blob/s3.js.map +0 -1
- package/dist/storage/directory-access.d.ts +0 -36
- package/dist/storage/directory-access.d.ts.map +0 -1
- package/dist/storage/directory-access.js +0 -89
- package/dist/storage/directory-access.js.map +0 -1
- package/dist/storage/folder-adapter.d.ts +0 -94
- package/dist/storage/folder-adapter.d.ts.map +0 -1
- package/dist/storage/folder-adapter.js +0 -215
- package/dist/storage/folder-adapter.js.map +0 -1
- package/dist/storage/folder-reconcile.d.ts +0 -33
- package/dist/storage/folder-reconcile.d.ts.map +0 -1
- package/dist/storage/folder-reconcile.js.map +0 -1
- package/dist/storage/index.d.ts +0 -6
- package/dist/storage/index.d.ts.map +0 -1
- package/dist/storage/index.js +0 -5
- package/dist/storage/index.js.map +0 -1
- package/dist/storage/indexeddb-adapter.d.ts +0 -8
- package/dist/storage/indexeddb-adapter.d.ts.map +0 -1
- package/dist/storage/indexeddb-adapter.js +0 -103
- package/dist/storage/indexeddb-adapter.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"community.d.ts","sourceRoot":"","sources":["../../../src/schemas/library/community.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;;GAGG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcf,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAoBb,KAAK;;;;;;;;;;EAIP,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,0FAA0F;AAC1F,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBnB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,QAAQ,CAAC,CAAC;AAgB/C;;;;GAIG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;QAaR,KAAK;;;;;;;;;;EAGd,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC;AAiB3C;;;;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;;gBAAc,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAahD,GAAG;;;;;;;gBAA+B,IAAI;;;;;;;;;YAG7C,KAAK;;;;;;;;;;IA+Dd,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAzBJ,GAAG;;;;;gBACH,GAAG;;;;;gBACH,IAAI;;;;;;;;;;;;;;;;CAwBT,CAAC"}
|
|
@@ -1,315 +0,0 @@
|
|
|
1
|
-
import { blob, choice, count, markdown, one, person, text, define, when, words } from '../fragments.js';
|
|
2
|
-
/**
|
|
3
|
-
* A question with fixed options. The options cannot change once it is asked —
|
|
4
|
-
* votes point at them by position — but whoever asked can close it.
|
|
5
|
-
*/
|
|
6
|
-
export const poll = define({
|
|
7
|
-
name: 'std.poll',
|
|
8
|
-
title: 'Poll',
|
|
9
|
-
description: 'A question with options to vote on.',
|
|
10
|
-
schema: {
|
|
11
|
-
type: 'object',
|
|
12
|
-
properties: {
|
|
13
|
-
question: { type: 'string', minLength: 1, maxLength: 500 },
|
|
14
|
-
options: { type: 'array', items: { type: 'string', minLength: 1, maxLength: 200 } },
|
|
15
|
-
closed: { type: 'boolean', description: 'No more votes, as the asker sees it' },
|
|
16
|
-
},
|
|
17
|
-
required: ['question', 'options'],
|
|
18
|
-
},
|
|
19
|
-
rules: { fixed: ['options'] },
|
|
20
|
-
});
|
|
21
|
-
/**
|
|
22
|
-
* One person's vote on a poll or proposal: the position of their choice in
|
|
23
|
-
* its options. For more than one choice, or a ranking, `choices` lists them
|
|
24
|
-
* in order and `choice` is the first. One per person per poll — voting again
|
|
25
|
-
* changes it; deleting takes it back.
|
|
26
|
-
*/
|
|
27
|
-
export const vote = define({
|
|
28
|
-
name: 'std.vote',
|
|
29
|
-
title: 'Vote',
|
|
30
|
-
description: 'One person’s vote on a std.poll, changed by voting again. To vote on a std.proposal, use std.ballot: it is final and counts toward a decision.',
|
|
31
|
-
schema: {
|
|
32
|
-
type: 'object',
|
|
33
|
-
properties: {
|
|
34
|
-
respondingTo: person('Whose record it responds to, so they can be told'),
|
|
35
|
-
choice: { type: 'integer', minimum: 0, 'x-choicesFrom': { rel: 'about', field: 'options' } },
|
|
36
|
-
choices: {
|
|
37
|
-
type: 'array',
|
|
38
|
-
maxItems: 100,
|
|
39
|
-
description: 'Every choice, most preferred first, when there are several',
|
|
40
|
-
items: { type: 'integer', minimum: 0, 'x-choicesFrom': { rel: 'about', field: 'options' } },
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
required: ['choice'],
|
|
44
|
-
},
|
|
45
|
-
links: {
|
|
46
|
-
about: one(['std.poll'], 'The poll voted on'),
|
|
47
|
-
},
|
|
48
|
-
rules: { onePer: ['@author', 'link:about'] },
|
|
49
|
-
topics: ['respondingTo'],
|
|
50
|
-
});
|
|
51
|
-
/** Something put to the group to decide, by a `std.ballot` on one of its options each. */
|
|
52
|
-
export const proposal = define({
|
|
53
|
-
name: 'std.proposal',
|
|
54
|
-
title: 'Proposal',
|
|
55
|
-
description: 'Something put to the group to decide: people cast a std.ballot on its options, and a std.decision proves the outcome. For a quick question, use std.poll.',
|
|
56
|
-
schema: {
|
|
57
|
-
type: 'object',
|
|
58
|
-
properties: {
|
|
59
|
-
title: words(300),
|
|
60
|
-
body: markdown(20000),
|
|
61
|
-
options: { type: 'array', minItems: 1, maxItems: 20, items: words(200) },
|
|
62
|
-
closesAt: when(),
|
|
63
|
-
status: choice(['open', 'passed', 'rejected', 'withdrawn']),
|
|
64
|
-
quorum: count(1, 10000, 'Ballots for one option that decide it (std.decision)'),
|
|
65
|
-
},
|
|
66
|
-
required: ['title', 'options'],
|
|
67
|
-
},
|
|
68
|
-
rules: { fixed: ['options'] },
|
|
69
|
-
});
|
|
70
|
-
// ─── Proven outcomes ───────────────────────────────────────────────
|
|
71
|
-
//
|
|
72
|
-
// Conditions for the checks below, in CEL, built here so they read as what
|
|
73
|
-
// they say. What they build is text, stored with the definition.
|
|
74
|
-
/** The one version cited by the id at `path`, or a field of it */
|
|
75
|
-
const citedOne = (path, field) => `versions([${path}])[0].${field}`;
|
|
76
|
-
/** The versions cited at `path` that are records of `collection` about the same thing as this one */
|
|
77
|
-
const citedAbout = (path, collection, also = '') => `versions(${path}).filter(it, it.collection == "${collection}" && it.link("about") == link("about")${also ? ` && ${also}` : ''})`;
|
|
78
|
-
/** The version cited at `path` is the first version of the record this one is about, in `collection` */
|
|
79
|
-
const citesWhatItIsAbout = (path, collection) => `${citedOne(path, 'collection')} == "${collection}" && ${citedOne(path, 'key')} == link("about") && ${citedOne(path, 'seq')} == 0`;
|
|
80
|
-
/**
|
|
81
|
-
* One person's final say on a proposal: the position of their choice in its
|
|
82
|
-
* options. Unlike a `std.vote`, it can't be changed once cast, so a
|
|
83
|
-
* `std.decision` can cite it and mean it.
|
|
84
|
-
*/
|
|
85
|
-
export const ballot = define({
|
|
86
|
-
name: 'std.ballot',
|
|
87
|
-
title: 'Ballot',
|
|
88
|
-
description: 'One person’s final vote on a std.proposal: it can’t be changed, so a std.decision can count it. For a poll, use std.vote.',
|
|
89
|
-
schema: {
|
|
90
|
-
type: 'object',
|
|
91
|
-
properties: {
|
|
92
|
-
respondingTo: person('Whose record it responds to, so they can be told'),
|
|
93
|
-
choice: { type: 'integer', minimum: 0, 'x-choicesFrom': { rel: 'about', field: 'options' } },
|
|
94
|
-
},
|
|
95
|
-
required: ['choice'],
|
|
96
|
-
},
|
|
97
|
-
links: { about: one(['std.proposal'], 'The proposal') },
|
|
98
|
-
rules: { onePer: ['@author', 'link:about'], fixed: ['choice'] },
|
|
99
|
-
topics: ['respondingTo'],
|
|
100
|
-
});
|
|
101
|
-
const DECIDES = [
|
|
102
|
-
{
|
|
103
|
-
that: citesWhatItIsAbout('body.proposal', 'std.proposal'),
|
|
104
|
-
else: 'A decision cites the proposal it decides, as it was first put',
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
that: `body.outcome < size(${citedOne('body.proposal', 'body.options')})`,
|
|
108
|
-
else: 'A decision picks one of the proposal’s options',
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
that: `${citedAbout('body.ballots', 'std.ballot', 'it.body.choice == body.outcome')}.map(it, it.author).distinct().size() >= ${citedOne('body.proposal', 'body.quorum')}`,
|
|
112
|
-
else: 'A decision cites ballots for its outcome from as many people as the proposal’s quorum',
|
|
113
|
-
},
|
|
114
|
-
];
|
|
115
|
-
/**
|
|
116
|
-
* What a proposal came to, proven: it cites the proposal as first put and
|
|
117
|
-
* enough ballots for one option, from different people, to reach its
|
|
118
|
-
* quorum. Anyone may write it once the ballots are in; every device checks.
|
|
119
|
-
*/
|
|
120
|
-
export const decision = define({
|
|
121
|
-
name: 'std.decision',
|
|
122
|
-
title: 'Decision',
|
|
123
|
-
description: 'What a proposal came to, proven by the ballots it cites.',
|
|
124
|
-
schema: {
|
|
125
|
-
type: 'object',
|
|
126
|
-
properties: {
|
|
127
|
-
outcome: {
|
|
128
|
-
type: 'integer',
|
|
129
|
-
minimum: 0,
|
|
130
|
-
'x-choicesFrom': { rel: 'about', field: 'options' },
|
|
131
|
-
description: 'The option decided on',
|
|
132
|
-
},
|
|
133
|
-
proposal: words(128, 'The id of the proposal’s first version'),
|
|
134
|
-
ballots: {
|
|
135
|
-
type: 'array',
|
|
136
|
-
maxItems: 256,
|
|
137
|
-
items: words(128),
|
|
138
|
-
description: 'Ids of the ballots it counts',
|
|
139
|
-
},
|
|
140
|
-
},
|
|
141
|
-
required: ['outcome', 'proposal', 'ballots'],
|
|
142
|
-
},
|
|
143
|
-
links: { about: one(['std.proposal'], 'The proposal decided') },
|
|
144
|
-
rules: { onePer: ['link:about'] },
|
|
145
|
-
contract: { check: DECIDES },
|
|
146
|
-
});
|
|
147
|
-
/**
|
|
148
|
-
* Something the group reaches together, a unit at a time: "40 people", "5000
|
|
149
|
-
* NOK", "100 hours". People pledge toward it; `std.goal-reached` proves it.
|
|
150
|
-
*/
|
|
151
|
-
export const goal = define({
|
|
152
|
-
name: 'std.goal',
|
|
153
|
-
title: 'Goal',
|
|
154
|
-
description: 'A target the group reaches together, pledge by pledge.',
|
|
155
|
-
schema: {
|
|
156
|
-
type: 'object',
|
|
157
|
-
properties: {
|
|
158
|
-
title: words(300),
|
|
159
|
-
body: markdown(20000),
|
|
160
|
-
target: count(1, 1_000_000_000, 'How many units reach it'),
|
|
161
|
-
unit: words(50, 'What is counted: people, NOK, hours'),
|
|
162
|
-
closesAt: when(),
|
|
163
|
-
},
|
|
164
|
-
required: ['title', 'target', 'unit'],
|
|
165
|
-
},
|
|
166
|
-
rules: { fixed: ['target', 'unit'] },
|
|
167
|
-
});
|
|
168
|
-
/** One person's pledge toward a goal, in its units: once each, not changed once made. */
|
|
169
|
-
export const pledge = define({
|
|
170
|
-
name: 'std.pledge',
|
|
171
|
-
title: 'Pledge',
|
|
172
|
-
description: 'A promise toward a goal: once per person, not changed once made.',
|
|
173
|
-
schema: {
|
|
174
|
-
type: 'object',
|
|
175
|
-
properties: {
|
|
176
|
-
respondingTo: person('Whose record it responds to, so they can be told'),
|
|
177
|
-
amount: count(1, 1_000_000_000, 'In the goal’s units'),
|
|
178
|
-
note: text(1000),
|
|
179
|
-
},
|
|
180
|
-
required: ['amount'],
|
|
181
|
-
},
|
|
182
|
-
links: { about: one(['std.goal'], 'The goal') },
|
|
183
|
-
rules: { onePer: ['@author', 'link:about'], fixed: ['amount'] },
|
|
184
|
-
topics: ['respondingTo'],
|
|
185
|
-
});
|
|
186
|
-
const PLEDGES = citedAbout('body.pledges', 'std.pledge');
|
|
187
|
-
const REACHES = [
|
|
188
|
-
{
|
|
189
|
-
that: citesWhatItIsAbout('body.goal', 'std.goal'),
|
|
190
|
-
else: 'It cites the goal it reaches, as it was first set',
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
// One pledge per person: two first versions under one key would count twice.
|
|
194
|
-
that: `${PLEDGES}.map(it, it.author).distinct().size() == ${PLEDGES}.distinct().size()`,
|
|
195
|
-
else: 'Each person’s pledge counts once',
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
that: `sum(${PLEDGES}.distinct().map(it, it.body.amount)) >= ${citedOne('body.goal', 'body.target')}`,
|
|
199
|
-
else: 'The pledges it cites add up to the goal’s target',
|
|
200
|
-
},
|
|
201
|
-
];
|
|
202
|
-
/** A goal reached, proven: it cites the goal as first set and pledges that add up to its target. */
|
|
203
|
-
export const goalReached = define({
|
|
204
|
-
name: 'std.goal-reached',
|
|
205
|
-
title: 'Goal reached',
|
|
206
|
-
description: 'A goal reached, proven by the pledges it cites.',
|
|
207
|
-
schema: {
|
|
208
|
-
type: 'object',
|
|
209
|
-
properties: {
|
|
210
|
-
goal: words(128, 'The id of the goal’s first version'),
|
|
211
|
-
pledges: {
|
|
212
|
-
type: 'array',
|
|
213
|
-
maxItems: 256,
|
|
214
|
-
items: words(128),
|
|
215
|
-
description: 'Ids of the pledges it counts',
|
|
216
|
-
},
|
|
217
|
-
},
|
|
218
|
-
required: ['goal', 'pledges'],
|
|
219
|
-
},
|
|
220
|
-
links: { about: one(['std.goal'], 'The goal reached') },
|
|
221
|
-
rules: { onePer: ['link:about'] },
|
|
222
|
-
contract: { check: REACHES },
|
|
223
|
-
});
|
|
224
|
-
/** News for everyone in the space, from whoever may announce. */
|
|
225
|
-
export const announcement = define({
|
|
226
|
-
name: 'std.announcement',
|
|
227
|
-
title: 'Announcement',
|
|
228
|
-
description: 'News for everyone in the space.',
|
|
229
|
-
schema: {
|
|
230
|
-
type: 'object',
|
|
231
|
-
properties: { title: words(300), text: markdown(20000) },
|
|
232
|
-
required: ['title'],
|
|
233
|
-
},
|
|
234
|
-
});
|
|
235
|
-
/** A badge that can be awarded. */
|
|
236
|
-
export const badge = define({
|
|
237
|
-
name: 'std.badge',
|
|
238
|
-
title: 'Badge',
|
|
239
|
-
description: 'A badge that people can be awarded.',
|
|
240
|
-
schema: {
|
|
241
|
-
type: 'object',
|
|
242
|
-
properties: { name: words(100), description: text(1000), image: blob() },
|
|
243
|
-
required: ['name'],
|
|
244
|
-
},
|
|
245
|
-
});
|
|
246
|
-
/** A badge given to someone: once per person per badge. */
|
|
247
|
-
export const award = define({
|
|
248
|
-
name: 'std.award',
|
|
249
|
-
title: 'Award',
|
|
250
|
-
description: 'A badge given to someone, once.',
|
|
251
|
-
schema: {
|
|
252
|
-
type: 'object',
|
|
253
|
-
properties: { did: person('Who is awarded it'), note: text(1000) },
|
|
254
|
-
required: ['did'],
|
|
255
|
-
},
|
|
256
|
-
links: { about: one(['std.badge'], 'The badge') },
|
|
257
|
-
rules: { onePer: ['link:about', 'did'] },
|
|
258
|
-
topics: ['did'],
|
|
259
|
-
});
|
|
260
|
-
/** One of a person's settings for an app: one per person per app per key. */
|
|
261
|
-
export const setting = define({
|
|
262
|
-
name: 'std.setting',
|
|
263
|
-
title: 'Setting',
|
|
264
|
-
description: 'A person’s setting for an app: one per app and key.',
|
|
265
|
-
schema: {
|
|
266
|
-
type: 'object',
|
|
267
|
-
properties: {
|
|
268
|
-
app: words(200, 'Which app, by the name it goes by'),
|
|
269
|
-
key: words(200),
|
|
270
|
-
value: { description: 'Any JSON' },
|
|
271
|
-
},
|
|
272
|
-
required: ['app', 'key'],
|
|
273
|
-
},
|
|
274
|
-
rules: { onePer: ['@author', 'app', 'key'] },
|
|
275
|
-
});
|
|
276
|
-
/**
|
|
277
|
-
* A host the space pays to keep it online: its own subscription there
|
|
278
|
-
* (`space:<id>`, spec 08 §2), which anyone in the space may chip in for.
|
|
279
|
-
* Members' devices hand that host the space's pass once someone has paid, so
|
|
280
|
-
* it carries the space without being able to read it. Only those who may
|
|
281
|
-
* manage it choose the host: naming one sends it every member's pass.
|
|
282
|
-
*/
|
|
283
|
-
export const host = define({
|
|
284
|
-
name: 'std.host',
|
|
285
|
-
title: 'Host',
|
|
286
|
-
description: 'A host the space pays to keep it online, and anyone in it may chip in for.',
|
|
287
|
-
schema: {
|
|
288
|
-
type: 'object',
|
|
289
|
-
properties: {
|
|
290
|
-
url: text(2048, 'The host’s address: https://, or http:// on localhost', 1),
|
|
291
|
-
did: text(256, 'The host’s key, as it described itself when it was chosen', 1),
|
|
292
|
-
name: text(100),
|
|
293
|
-
},
|
|
294
|
-
required: ['url'],
|
|
295
|
-
},
|
|
296
|
-
rules: { onePer: ['url'] },
|
|
297
|
-
});
|
|
298
|
-
/** This file's part of `standardGroups` */
|
|
299
|
-
export const communityGroups = {
|
|
300
|
-
'Community and governance': [
|
|
301
|
-
poll,
|
|
302
|
-
vote,
|
|
303
|
-
proposal,
|
|
304
|
-
ballot,
|
|
305
|
-
decision,
|
|
306
|
-
goal,
|
|
307
|
-
pledge,
|
|
308
|
-
goalReached,
|
|
309
|
-
announcement,
|
|
310
|
-
badge,
|
|
311
|
-
award,
|
|
312
|
-
],
|
|
313
|
-
Settings: [setting, host],
|
|
314
|
-
};
|
|
315
|
-
//# sourceMappingURL=community.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"community.js","sourceRoot":"","sources":["../../../src/schemas/library/community.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAGxG;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC;IACzB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,MAAM;IACb,WAAW,EAAE,qCAAqC;IAClD,MAAM,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE;YAC1D,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE,S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