Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "util/internal/data"

Index

Functions

Functions

prepareForCommit

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

    • T

    • U: T & 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