MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / createDataSource

Function createDataSource

packages/sync/src/pull-engine.test.ts:41–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41function 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
55function createSession(): ImportSession {
56 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected