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

Method addDataSource

src/stores/apiServer.ts:85–85  ·  view source on GitHub ↗
(partial: {
    name?: string
    baseUrl: string
    token: string
    intervalMinutes: number
    pullLimit?: number
  })

Source from the content-addressed store, hash-verified

83 onStartupError(cb: (data: { error: string }) => void): () => void
84 getDataSources(): Promise<DataSource[]>
85 addDataSource(partial: {
86 name?: string
87 baseUrl: string
88 token: string

Callers 2

createElectronTransportFunction · 0.80
addDataSourceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected