Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
37
Frontend-Learner/node_modules/unstorage/drivers/azure-cosmos.d.mts
generated
vendored
Normal file
37
Frontend-Learner/node_modules/unstorage/drivers/azure-cosmos.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
import { Container } from "@azure/cosmos";
|
||||
export interface AzureCosmosOptions {
|
||||
/**
|
||||
* CosmosDB endpoint in the format of https://<account>.documents.azure.com:443/.
|
||||
*/
|
||||
endpoint: string;
|
||||
/**
|
||||
* CosmosDB account key. If not provided, the driver will use the DefaultAzureCredential (recommended).
|
||||
*/
|
||||
accountKey?: string;
|
||||
/**
|
||||
* The name of the database to use. Defaults to `unstorage`.
|
||||
* @default "unstorage"
|
||||
*/
|
||||
databaseName?: string;
|
||||
/**
|
||||
* The name of the container to use. Defaults to `unstorage`.
|
||||
* @default "unstorage"
|
||||
*/
|
||||
containerName?: string;
|
||||
}
|
||||
export interface AzureCosmosItem {
|
||||
/**
|
||||
* The unstorage key as id of the item.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* The unstorage value of the item.
|
||||
*/
|
||||
value: string;
|
||||
/**
|
||||
* The unstorage mtime metadata of the item.
|
||||
*/
|
||||
modified: string | Date;
|
||||
}
|
||||
declare const _default: (opts: AzureCosmosOptions) => import("..").Driver<AzureCosmosOptions, Promise<Container>>;
|
||||
export default _default;
|
||||
Loading…
Add table
Add a link
Reference in a new issue