import * as faker from "faker" ; import { Id64 } from "@itwin/core-bentley" ; import { EntityProps } from "@itwin/core-common" ; import { createRandomId } from "./Misc" ; interface RandomEntityProps extends EntityProps { type : string ; } internal export const createRandomEntityProps = ( ) : EntityProps => { const props = { classFullName : faker . random . word ( ) , id : createRandomId ( ) , type : faker . random . word ( ) } ; return props ; } ; internal export const createRandomTransientId = ( ) => Id64 . fromLocalAndBriefcaseIds ( 123 , 0xffffff ) ;