| 2061 | }; |
| 2062 | |
| 2063 | const staticDeclToIntegration = (integration: StaticIntegrationDecl): Integration => ({ |
| 2064 | slug: IntegrationSlug.make(integration.id), |
| 2065 | name: integration.name, |
| 2066 | description: integration.name, |
| 2067 | kind: integration.kind, |
| 2068 | canRemove: integration.canRemove ?? false, |
| 2069 | canRefresh: integration.canRefresh ?? false, |
| 2070 | authMethods: [], |
| 2071 | }); |
| 2072 | |
| 2073 | const staticToolToTool = (entry: StaticTools): Tool => ({ |
| 2074 | address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`), |