beakerbrowser / unwalled.garden

Schemas for a p2p social-media network built on the Dat Web.
MIT License
131 stars 10 forks source link

Move from using file/folder metadata to inlining types #22

Closed pfrazee closed 5 years ago

pfrazee commented 5 years ago

After some internal and external discussion, we decided that using the file & folder metadata to encode record types was too complex. This PR changes the protocol to use an inline "type" field for JSON records, and uses the existing dat.json for site types. Folders, for now, will not have types.

pfrazee commented 5 years ago

I've discussed this with a lot of folks and believe it's the right call, so I'm merging