| 1397 | }; |
| 1398 | |
| 1399 | const staticDeclToIntegration = (integration: StaticIntegrationDecl): Integration => ({ |
| 1400 | slug: IntegrationSlug.make(integration.id), |
| 1401 | name: integration.name, |
| 1402 | description: integration.name, |
| 1403 | kind: integration.kind, |
| 1404 | canRemove: integration.canRemove ?? false, |
| 1405 | canRefresh: integration.canRefresh ?? false, |
| 1406 | authMethods: [], |
| 1407 | }); |
| 1408 | |
| 1409 | const staticToolToTool = (entry: StaticTools): Tool => ({ |
| 1410 | address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`), |