You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a recommended Solid way to identify containers based on the class they contain. This could be used in Pod provider config to replace the VOID endpoint.
Implementation
Automatically create a TypeIndex in /solid/type-index
Public TypeIndex for containers with public read rights
Private TypeIndex for other containers
Link it to WebID with solid:publicTypeIndex and solid:privateTypeIndex
In the data provider, for pod provider config, read this file instead of the VOID endpoint to find about the available containers.
Hey, I was going through the spec compliance page for Solid, and I was happy to see that you already support most of the features my apps rely on :D. In particular, there's something I wanted to mention about type indexes. You may already be aware of it, but I thought I'd mention it here just in case.
Type indexes are supposed to be a "client-client" standard; which means servers (ActivityPods in this case) don't even need to know about it. You shouldn't have to do anything special for them to work, if everything else is conforming with the Solid spec. Though of course, there is nothing wrong with creating it for your users automatically. But keep in mind that some people don't want to list everything in their type index, so I'd be wary of automating too much on the server side.
In my experience working with Type Indexes in different PODs, the only pain point I've found is that profiles sometimes are read-only. My apps create the type index when it doesn't exist, but in order to declare the type index I need to update the profile document. So if that isn't possible, I can't mint the type indexes.
The whole topic of whether profiles should be read-only or not is also under discussion, but if the type indexes are minted by the server that shouldn't be a problem.
https://github.com/solid/type-indexes
This is a recommended Solid way to identify containers based on the class they contain. This could be used in Pod provider config to replace the VOID endpoint.
Implementation
solid:publicTypeIndex
andsolid:privateTypeIndex
Example
Issues
solid:TypeIndex
andsolid:TypeRegistration
solid/type-indexes#29The text was updated successfully, but these errors were encountered: