// GENERATED CODE - DO NOT MODIFY BY HAND import { http } from '@google-cloud/functions-framework' import { httpFunction, Schema } from '@naki-power/terminator' import { businessLogic, BusinessLogicError } from './imports' import { errorHandler } from './errorHandler' import { Form } from './form' import schema from './schema.json' import { GetGeneratorsErrors } from './externalErrors' import { Generator } from './termsteelversionapiTypes' http( 'getGenerators', httpFunction< Form, readonly Generator[], BusinessLogicError, GetGeneratorsErrors >(schema as Schema, async (req: Form) => businessLogic(req), errorHandler) )