Skip to content

Commit 080fce4

Browse files
committed
chore(integrations): trim the credential-display barrel to what consumers use
1 parent e1a8d86 commit 080fce4

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

apps/sim/lib/integrations/credential-display.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
* catalog integrations it powers, which mark and brand tile represent it, and
44
* the sentence describing it.
55
*
6-
* Before this module, three surfaces (the integrations list, the Cmd-K search
7-
* items, and the credential detail page) each re-derived this by looking the
8-
* catalog up by the OAuth service's *display name*. That silently failed for
9-
* family service accounts: `atlassian-service-account` resolves to a
10-
* pseudo-service named "Atlassian Service Account", which matches no catalog
11-
* integration, so the credential lost its brand tile and its category.
6+
* Replaces a display-name-keyed catalog lookup that three surfaces each
7+
* re-derived. That keying silently failed for family service accounts:
8+
* `atlassian-service-account` resolves to a pseudo-service named "Atlassian
9+
* Service Account", which matches no catalog entry, so the credential lost its
10+
* brand tile and its category filter.
1211
*/
1312

1413
import type { ComponentType } from 'react'

apps/sim/lib/integrations/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,6 @@ export function toIntegrationSummary(integration: Integration): IntegrationSumma
100100

101101
export {
102102
type CredentialDisplay,
103-
getIntegrationsForCredentialProvider,
104-
getServiceAccountCoverageSentence,
105-
getServiceAccountFamilyIcon,
106-
getServiceAccountFamilyName,
107-
isFamilyServiceAccount,
108103
resolveCredentialDisplay,
109104
} from '@/lib/integrations/credential-display'
110105
export { blockTypeToIconMap } from '@/lib/integrations/icon-mapping'

0 commit comments

Comments
 (0)