Files
agentic-studio/network-poc/frontend/node_modules/unstorage/drivers/azure-cosmos.d.mts
Jaakko Vanhala a8c4af0975 Frontend uudelleenrakennettu: Astro-komponentit, Wasm pääsäikeessä, ei Workeria
Vanha frontend siirretty temp/. Uusi rakenne:
- StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro
- global.css erillinen
- Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava)
- Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md
- Ei tokenisointia eikä koodilaboratoriota

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 20:17:39 +03:00

38 lines
1.0 KiB
TypeScript

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;