ceramicnetwork / ceramic-sdk

Other
3 stars 0 forks source link

Start importing model stream logic #1

Closed PaulLeCam closed 4 months ago

PaulLeCam commented 6 months ago

Hey @ukstv @stbrody can you let me know what you think of the approach to implement stream types here?

I made the separation between 3 packages:

I'm refactoring a bunch of the logic when importing the code from js-ceramic, mainly to remove any dependency on @ceramicnetwork/common. Only @ceramicnetwork/codecs and @ceramicnetwork/streamid are used so far, which I think is good considering they're unlikely to need changes.

If the direction looks OK to you, I'll start importing the tests to cover these packages.

stbrody commented 6 months ago

actually thinking about this more, I don't think the specific streamtype handler implementations belong in the ceramic-sdk monorepo or npm namespace. The Ceramic SDK should focus on reading and writing raw events. The aggregation library is something different than the ceramic-one sdk and should have its own monorepo and namespace I think