blank project
This commit is contained in:
19
node_modules/unstorage/drivers/netlify-blobs.d.ts
generated
vendored
Normal file
19
node_modules/unstorage/drivers/netlify-blobs.d.ts
generated
vendored
Normal file
@@ -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