- Singleton CosmosClient with env var config (COSMOS_ENDPOINT, COSMOS_KEY, COSMOS_DATABASE) - Simple getContainer() for services - Container registry with registerContainers(), getRegisteredContainer(), initializeAllContainers() for dashboards - ContainerConfig type with partitionKeyPath and optional defaultTtl - _resetClient() and _resetRegistry() for test isolation - Peer dep: @azure/cosmos >=4.0.0
10 lines
172 B
JSON
10 lines
172 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"outDir": "dist",
|
|
"rootDir": "src"
|
|
},
|
|
"include": ["src"],
|
|
"exclude": ["src/**/*.test.ts"]
|
|
}
|