@xo-cash/engine
    Preparing search index...

    Function findRootCommitIdentifierInInvitation

    • Finds the root commit identifier for a given entity in an invitation. The root commit is the first commit the entity added to the invitation.

      Parameters

      • invitation: XOInvitation

        The invitation whose commits are searched.

      • entityIdentifier: string

        The entity identifier to search for among the invitation commits.

      Returns string

      The root commit identifier if the entity has a commit in the invitation, otherwise undefined.