src/entities/entity.ts
File entity.ts
has 339 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { keys, reduce, isNil, cloneDeep, difference, forEach, castArray, isUndefined, isNull, defaults, chain, isEqual, mapValues, isObject, isString, isInteger, slice, concat, uniq, reject, transform, isEmpty, without, values } from 'lodash';
import { SequentialEvent } from 'sequential-event';
import { Adapter } from '../adapters';
import AAdapterEntity = Adapter.Base.AAdapterEntity;
- Create a ticketCreate a ticket
Entity
has 29 functions (exceeds 20 allowed). Consider refactoring. Open
Open
export abstract class Entity<TEntity extends IEntityAttributes> extends SequentialEvent {
public get attributes() {
return this.getAttributes();
}
- Create a ticketCreate a ticket