The build
function expects either:
- a UserConfig object, or
- a path to an
sde.config.js
file that exports aconfig
function returning a UserConfig object
Example sde.config.js
file:
export async function config() {
return {
modelFiles: ['example.mdl'],
modelSpec: async () => {
return {
inputs: [{ varName: 'Y', defaultValue: 0, minValue: -10, maxValue: 10 }],
outputs: [{ varName: 'Z' }],
datFiles: []
}
}
}
}