All files / src/repositories audit.repository.ts

80% Statements 8/10
100% Branches 0/0
0% Functions 0/1
75% Lines 6/8

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 181x 1x   1x 1x 1x   1x                    
import {Getter, inject} from '@loopback/core';
import {repository} from '@loopback/repository';
import {FeatureRepository} from '.';
import {LogChainDataSource} from '../datasources';
import {Audit, AuditRelations} from '../models';
import {BaseCrudRepository} from './base-crud.repository.base';
 
export class AuditRepository extends BaseCrudRepository<Audit, typeof Audit.prototype.id, AuditRelations> {
 
  constructor(
    @inject('datasources.logchain') dataSource: LogChainDataSource,
    @repository.getter('FeatureRepository')
    protected feature_repo_getter: Getter<FeatureRepository>,
  ) {
    super(Audit, dataSource);
  }
}