()
| 39 | } |
| 40 | |
| 41 | function createDataSource(): DataSource { |
| 42 | return { |
| 43 | id: 'ds_test', |
| 44 | name: 'Test Source', |
| 45 | baseUrl: 'http://example.test/api/v1', |
| 46 | token: '', |
| 47 | intervalMinutes: 10, |
| 48 | pullLimit: 1000, |
| 49 | enabled: true, |
| 50 | createdAt: 1, |
| 51 | sessions: [], |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | function createSession(): ImportSession { |
| 56 | return { |