GitHub

DaffInMemoryBackendContactService

import { DaffInMemoryBackendContactService } from '@daffodil/contact/driver/in-memory'
@Injectable()
class DaffInMemoryBackendContactService implements InMemoryDbService, DaffInMemorySingleRouteableBackend {
  readonly collectionName: DAFF_CONTACT_IN_MEMORY_COLLECTION_NAME
  forums: DaffContactUnion[]
  parseRequestUrl(
    url: string
    utils: RequestInfoUtilities
  ): ParsedRequestUrl
  createDb(): any
  post(reqInfo: any): any
}

Properties

Name Type Description
collectionName DAFF_CONTACT_IN_MEMORY_COLLECTION_NAME
forums DaffContactUnion[]
parseRequestUrl ParsedRequestUrl
createDb any
post any