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
Astro's content layer provides an abstraction for loading data from social media, alternative data formats, headless CMS. It is not limited to disk anymore.
Do you think something similar is within scope of this project? If so, would you consider community contribution/collaboration towards the feature?
The text was updated successfully, but these errors were encountered:
Yes, I've already thought about it. My plan is to create a "source" abstraction that returns the documents of a collection along with a watcher. The implementation of the source could be file system-based or something different.
I would like to export another function from core that allows the creation of such a source, called defineSource. The result could then be passed to the collection. This could be used to create packages for specific sources, such as headless CMS or remote Git repositories (#372).
I would love to see community contributions for this, but it is a non-trivial change. Getting the types correct could be quite challenging and likely involves a breaking change for the configuration.
I don't have much time to implement it myself right now, but I'm here to support you in any way I can if you're willing.
Astro's content layer provides an abstraction for loading data from social media, alternative data formats, headless CMS. It is not limited to disk anymore.
Do you think something similar is within scope of this project? If so, would you consider community contribution/collaboration towards the feature?
The text was updated successfully, but these errors were encountered: