pawcoding / astro-loader-pocketbase

A content loader for Astro that uses the PocketBase API
https://www.npmjs.com/package/astro-loader-pocketbase
MIT License
16 stars 2 forks source link

Generate types from local file #1

Closed pawcoding closed 1 month ago

pawcoding commented 1 month ago

Requirements

PocketBase also allows you to export the schema for your collections to a pb_schema.json file. We could also use this as the "source of truth" for the collections instead of loading it directly from the database. While this file could be outdated it doesn't require you to set the admin credentials at all for public collections. This makes it easier to collaborate with other people, publishing only this schema file in your repository.

pawcoding commented 1 month ago

Closed via 4c65f58cf4eaac2e75e1f08dd68fddf0df367ef1