(source: StaticSourceDecl)
| 1374 | }; |
| 1375 | |
| 1376 | const staticSourceToIntegration = (source: StaticSourceDecl): Integration => ({ |
| 1377 | slug: IntegrationSlug.make(source.id), |
| 1378 | name: source.name, |
| 1379 | description: source.name, |
| 1380 | kind: source.kind, |
| 1381 | canRemove: source.canRemove ?? false, |
| 1382 | canRefresh: source.canRefresh ?? false, |
| 1383 | authMethods: [], |
| 1384 | }); |
| 1385 | |
| 1386 | const staticToolToTool = (entry: StaticTools): Tool => ({ |
| 1387 | address: ToolAddress.make(`${entry.source.id}.${entry.tool.name}`), |