Passed
Pull Request — master (#70)
by Mathieu
01:52
created

server/src/Domain/Billing/QuoteNumberGenerator.ts   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 15
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 12
mnd 0
bc 0
fnc 1
dl 0
loc 15
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
rs 10

1 Function

Rating   Name   Duplication   Size   Complexity  
A QuoteNumberGenerator.generate 0 3 1
1
import {Inject, Injectable} from '@nestjs/common';
2
import {IQuoteRepository} from './Repository/IQuoteRepository';
3
4
@Injectable()
5
export class QuoteNumberGenerator {
6
  constructor(
7
    @Inject('IQuoteRepository')
8
    private readonly quoteRepository: IQuoteRepository
9
  ) {}
10
11
  public async generate(): Promise<string> {
12
    return '';
13
  }
14
}
15