Options
All
  • Public
  • Public/Protected
  • All
Menu

Module util/internal/data

Index

Functions

Functions

prepareForCommit

  • prepareForCommit<T, U>(entityInstance: U, entityName: string, metadata: MetaClassInfo[]): U
  • Type parameters

    • T

    • U: Partial<SerializedEntityProps> & WithId

    Parameters

    • entityInstance: U
    • entityName: string
    • metadata: MetaClassInfo[]

    Returns U

    a shallow copy of a provided entity instance with temporary ids and read-only properties removed (applied recursively to nested entities)

Generated using TypeDoc