1.0.5 • Published 4 years ago

gatsby-source-fauna v1.0.5

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

gatsby-source-fauna

Source plugin for pulling data into gatsby from faunadb. Will setup relationships between documents.

module.exports = {
  //...
  plugins: [
    //...
    {
      resolve: `gatsby-source-fauna`,
      options: {
        // The secret for the key you're using to connect to your Fauna database.
        // You can generate on of these in the "Security" tab of your Fauna Console.
        secret: "___YOUR_FAUNADB_SECRET___",
        // Array of the collections you want to injest
        collections: [{ name: "collection1", tsIndex: "collection1_by_ts" }, { name: "collection2", tsIndex: "collection2_by_ts" }],
      },
    },
    //...
  ],
}
1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago