Deploy to production - ensure all endpoints operational
This commit is contained in:
19
api/deploy-package/DIContainer.d.ts
vendored
Normal file
19
api/deploy-package/DIContainer.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { CosmosClient, Database, Container } from '@azure/cosmos';
|
||||
import { SecretClient } from '@azure/keyvault-secrets';
|
||||
export interface ServiceContainer {
|
||||
cosmosClient: CosmosClient;
|
||||
database: Database;
|
||||
donationsContainer: Container;
|
||||
volunteersContainer: Container;
|
||||
programsContainer: Container;
|
||||
secretClient: SecretClient;
|
||||
}
|
||||
declare class DIContainer {
|
||||
private static instance;
|
||||
private services;
|
||||
private constructor();
|
||||
static getInstance(): DIContainer;
|
||||
initializeServices(): Promise<ServiceContainer>;
|
||||
getServices(): ServiceContainer;
|
||||
}
|
||||
export default DIContainer;
|
||||
Reference in New Issue
Block a user