Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EntitySerializer<EntityT, ComplexTypeNamespaceT>

Interface representing the return type of the builder function entitySerializer.

Type parameters

Hierarchy

  • EntitySerializer

Index

Properties

serializeComplexType

serializeComplexType: (fieldValue: any, complexTypeNameSpace: ComplexTypeNamespaceT) => any

Type declaration

    • (fieldValue: any, complexTypeNameSpace: ComplexTypeNamespaceT): any
    • Parameters

      • fieldValue: any
      • complexTypeNameSpace: ComplexTypeNamespaceT

      Returns any

serializeEntity

serializeEntity: (entity: EntityT, entityConstructor: Constructable<EntityT>) => Record<string, any>

Type declaration

    • (entity: EntityT, entityConstructor: Constructable<EntityT>): Record<string, any>
    • Parameters

      • entity: EntityT
      • entityConstructor: Constructable<EntityT>

      Returns Record<string, any>

serializeEntityNonCustomFields

serializeEntityNonCustomFields: (entity: EntityT, entityConstructor: Constructable<EntityT>) => Record<string, any>

Type declaration

    • (entity: EntityT, entityConstructor: Constructable<EntityT>): Record<string, any>
    • Parameters

      • entity: EntityT
      • entityConstructor: Constructable<EntityT>

      Returns Record<string, any>