{"size": 316, "ext": "js", "max_stars_repo_path": "src/lib/connectors/repos/financial-agreement-types.js", "max_stars_repo_name": "uk-gov-mirror/defra.water-abstraction-service", "max_stars_repo_stars_event_min_datetime": "2018-01-29T19:28:25.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-23T17:32:53.000Z", "max_issues_repo_path": "src/lib/connectors/repos/financial-agreement-types.js", "max_issues_repo_name": "uk-gov-mirror/defra.water-abstraction-service", "max_issues_repo_issues_event_min_datetime": "2018-02-09T16:33:44.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T20:20:56.000Z", "max_forks_repo_path": "src/lib/connectors/repos/financial-agreement-types.js", "max_forks_repo_name": "uk-gov-mirror/defra.water-abstraction-service", "max_forks_repo_forks_event_min_datetime": "2020-07-06T16:28:24.000Z", "max_forks_repo_forks_event_max_datetime": "2021-04-10T21:31:10.000Z"}
{"max_stars_count": 4, "max_issues_count": 1384, "max_forks_count": 3, "avg_line_length": 35.1111111111, "max_line_length": 74, "alphanum_fraction": 0.7974683544}
'use strict';
const { FinancialAgreementType } = require('../bookshelf');
const helpers = require('./lib/helpers');

const findOneByFinancialAgreementCode = code =>
  helpers.findOne(FinancialAgreementType, 'financialAgreementCode', code);

exports.findOneByFinancialAgreementCode = findOneByFinancialAgreementCode;
