import { changeSharedModuleAdapter, runGraphqlTypes } from '../package-helpers.js';
export default async function install(ctx) {
    await ctx.install(['@azure/storage-blob']);
    const sharedModule = ctx.sourceFile('app', 'shared.module.ts');
    changeSharedModuleAdapter(sharedModule, 'providers', 'FileManagerService', 'AzureBlobFileManagerService', '@app/modules/storage-account-azure/file-manager/application/azure-blob-file-manager.service', ['AzureBlobFileManagerService']);
    changeSharedModuleAdapter(sharedModule, 'providers', 'SasService', 'AzureBlobSasService', '@app/modules/storage-account-azure/sas/application/azure-blob-sas.service', ['AzureBlobSasService']);
    sharedModule.saveSync();
    await runGraphqlTypes(ctx);
}
