(connections: IntegrationConnection[])
| 30 | } |
| 31 | |
| 32 | function sortConnections(connections: IntegrationConnection[]) { |
| 33 | return [...connections].sort((a, b) => a.providerName.localeCompare(b.providerName)); |
| 34 | } |
| 35 | |
| 36 | export const useIntegrationStore = create<IntegrationStore>((set, get) => ({ |
| 37 | providers: [], |