the editable site (validation-lab)
This commit is contained in:
commit
3ac81d5a52
13454 files changed
+2227005
No files matched your search
+19
@@ -0,0 +1,19 @@
|
||||
import type { Store, GetStoreOptions, GetDeployStoreOptions } from "@netlify/blobs";
|
||||
export type NetlifyStoreOptions = NetlifyDeployStoreLegacyOptions | NetlifyDeployStoreOptions | NetlifyNamedStoreOptions;
|
||||
export interface ExtraOptions {
|
||||
/** 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. */
|
||||
deployScoped?: boolean;
|
||||
}
|
||||
export interface NetlifyDeployStoreOptions extends GetDeployStoreOptions, ExtraOptions {
|
||||
name?: never;
|
||||
deployScoped: true;
|
||||
}
|
||||
export interface NetlifyDeployStoreLegacyOptions extends NetlifyDeployStoreOptions {
|
||||
region?: never;
|
||||
}
|
||||
export interface NetlifyNamedStoreOptions extends GetStoreOptions, ExtraOptions {
|
||||
name: string;
|
||||
deployScoped?: false;
|
||||
}
|
||||
declare const _default: (opts: NetlifyStoreOptions) => import("..").Driver<NetlifyStoreOptions, Store>;
|
||||
export default _default;
|
||||
Reference in new issue
Block a user