MCPcopy Create free account
hub / github.com/ShipSecAI/studio / sortProviders

Function sortProviders

frontend/src/store/integrationStore.ts:28–30  ·  view source on GitHub ↗
(providers: IntegrationProvider[])

Source from the content-addressed store, hash-verified

26type IntegrationStore = IntegrationStoreState & IntegrationStoreActions;
27
28function sortProviders(providers: IntegrationProvider[]) {
29 return [...providers].sort((a, b) => a.name.localeCompare(b.name));
30}
31
32function sortConnections(connections: IntegrationConnection[]) {
33 return [...connections].sort((a, b) => a.providerName.localeCompare(b.providerName));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected