File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 1+ import { v4 as uuidv4 } from 'uuid'
12import { Metadata } from '../decorator/metadata/metadata'
23import { metadataForClass , metadataForProperty } from '../decorator/metadata/metadata-helper'
34import { Key , PropertyMetadata } from '../decorator/metadata/property-metadata.model'
@@ -16,7 +17,7 @@ import { Binary } from './type/binary.type'
1617import { EnumType } from './type/enum.type'
1718import { NullType } from './type/null.type'
1819import { UndefinedType } from './type/undefined.type'
19- import { typeOf , typeOfFromDb , uuidv4 } from './util'
20+ import { typeOf , typeOfFromDb } from './util'
2021
2122const mapperForType : Map < AttributeValueType , MapperForType < any , any > > = new Map ( )
2223
Original file line number Diff line number Diff line change 11import { isNumber , isString } from 'lodash'
2- import { v4 } from 'uuid'
32import { AttributeCollectionType , AttributeType } from './type/attribute-type.type'
43import { AttributeValueType } from './type/attribute-value-type.type'
54import { Attribute } from './type/attribute.type'
@@ -252,7 +251,3 @@ export function typeName(type: any): 'Null' | 'Undefined' | string {
252251
253252 throw new Error ( `was not able to resolve type name for type ${ type } ` )
254253}
255-
256- export function uuidv4 ( ) {
257- return v4 ( )
258- }
You can’t perform that action at this time.
0 commit comments