Open Cap Table Protocol Canton SDK - v0.2.224
    Preparing search index...

    Function normalizeEntityType

    • Normalize a PlanSecurity entity type to its EquityCompensation equivalent.

      If the type is not a PlanSecurity alias, it is returned unchanged.

      Type Parameters

      • T extends string

      Parameters

      • type: T

        The entity type to normalize

      Returns string

      The normalized entity type

      normalizeEntityType('planSecurityIssuance') // => 'equityCompensationIssuance'
      normalizeEntityType('stockIssuance') // => 'stockIssuance'