@cfxlabsinc/b2b-services
    Preparing search index...

    Type Alias EntityReferenceResolver

    EntityReferenceResolver: (entityId: string) => Promise<string>

    Resolves an entity's external id to its customer-facing reference id.

    Injected rather than implemented here: the lookup needs the database, and this package is imported by Lambdas that have no reason to load drizzle. @cfxlabsinc/entity-services provides the implementation.

    Type Declaration

      • (entityId: string): Promise<string>
      • Parameters

        • entityId: string

        Returns Promise<string>