From c848826517f1743f58116714d89e0ba4fecf6252 Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Wed, 18 Dec 2024 12:03:12 +0000 Subject: [PATCH] docs(netlify): add consistency option --- docs/2.drivers/netlify.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/2.drivers/netlify.md b/docs/2.drivers/netlify.md index f365230e..94bf25d5 100644 --- a/docs/2.drivers/netlify.md +++ b/docs/2.drivers/netlify.md @@ -51,6 +51,7 @@ To use, you will need to install `@netlify/blobs` as dependency or devDependency - `name` - The name of the store to use. It is created if needed. This is required except for deploy-scoped stores. - `deployScoped` - If set to `true`, the store is scoped to the deploy. This means that it is only available from that deploy, and will be deleted or rolled-back alongside it. +- `consistency` - The [consistency model](https://docs.netlify.com/blobs/overview/#consistency) to use for the store. This can be `eventual` or `strong`. Default is `eventual`. - `siteID` - Required during builds, where it is available as `constants.SITE_ID`. At runtime this is set automatically. - `token` - Required during builds, where it is available as `constants.NETLIFY_API_TOKEN`. At runtime this is set automatically. @@ -60,8 +61,9 @@ These are not normally needed, but are available for advanced use cases or for u - `apiURL` - `edgeURL` +- `uncachedEdgeURL` -## Using in netlify edge +## Using in Netlify edge functions When using Unstorage in a Netlify edge function you should use a URL import. This does not apply if you are compiling your code in a framework - just if you are creating your own edge functions.