@web3-storage/access-api
data storage@web3-storage/access-api
stores data today.
not exhaustive. these are the recent ones that interact with data stores.
provider/add
access/delegate
hasStorageProvider({ consumer: space })
access/claim
audience
ProvisionsStorage#put({ invocation, space, account, provider })
DbProvisions#put
delegations_v3
provisions
- result of provider/add
Other tables, not used by access/*
or provider/*
accounts
- not needed (at all afaict)spaces
space/info
et al expectationsprovider/add
only return space/info
{ did }
spaces
tablevoucher/
would returns essentially this whole row.DbDelegationsStorageWithR2
stores the bytes of the delegations in r2 and CIDs-only in d1
/delegations/{ucan.cid.toString(base32)}.car
reduce access/delegate
invocations into an index that can serve access/claim
access/claim
calling DbDelegationsStorageWithR2#find
reduce provider/add
receipts into an index that can answer whether a given space has at least one storage provider of a certain provider did
access/delegate
calling DbProvisions#hasStorageProvider