feat: support binding context var (#1227)
Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
parent
59236b789f
commit
18c710c906
44 changed files with 711 additions and 77 deletions
|
|
@ -37,6 +37,7 @@ type IDebugConfiguration = {
|
|||
setModelConfig: (modelConfig: ModelConfig) => void
|
||||
dataSets: DataSet[]
|
||||
setDataSets: (dataSet: DataSet[]) => void
|
||||
hasSetContextVar: boolean
|
||||
}
|
||||
|
||||
const DebugConfigurationContext = createContext<IDebugConfiguration>({
|
||||
|
|
@ -102,6 +103,7 @@ const DebugConfigurationContext = createContext<IDebugConfiguration>({
|
|||
setModelConfig: () => { },
|
||||
dataSets: [],
|
||||
setDataSets: () => { },
|
||||
hasSetContextVar: false,
|
||||
})
|
||||
|
||||
export default DebugConfigurationContext
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue