MCPcopy Index your code
hub / github.com/dataease/SQLBot / constructor

Method constructor

frontend/src/api/chat.ts:170–186  ·  view source on GitHub ↗
(
    id?: number,
    create_time?: Date | string,
    create_by?: number,
    brief?: string,
    chat_type?: string,
    datasource?: number,
    engine_type?: string
  )

Source from the content-addressed store, hash-verified

168 engine_type: string
169 )
170 constructor(
171 id?: number,
172 create_time?: Date | string,
173 create_by?: number,
174 brief?: string,
175 chat_type?: string,
176 datasource?: number,
177 engine_type?: string
178 ) {
179 this.id = id
180 this.create_time = getDate(create_time)
181 this.create_by = create_by
182 this.brief = brief
183 this.chat_type = chat_type
184 this.datasource = datasource
185 this.engine_type = engine_type
186 }
187}
188
189export class ChatInfo extends Chat {

Callers

nothing calls this directly

Calls 1

getDateFunction · 0.90

Tested by

no test coverage detected