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

    Function normalizeObjectType

    • Normalize a PlanSecurity object_type to its EquityCompensation equivalent.

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

      Type Parameters

      • T extends string

      Parameters

      • objectType: T

        The object_type to normalize

      Returns string

      The normalized object_type

      normalizeObjectType('TX_PLAN_SECURITY_ISSUANCE') // => 'TX_EQUITY_COMPENSATION_ISSUANCE'
      normalizeObjectType('TX_STOCK_ISSUANCE') // => 'TX_STOCK_ISSUANCE'