import 'reflect-metadata' ; import { Context } from '@azure/functions' ; import { OnDemandPageScanBatchRequest } from 'storage-documents' ; import { ScanBatchRequestFeedController } from '../src/controllers/scan-batch-request-feed-controller' ; import { processWebRequest } from '../src/process-web-request' ; export async function run ( context , documents ) { await processWebRequest ( context , ScanBatchRequestFeedController , documents ) ; }