mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
Feature/more dynamic unions (#2972)
* with validators * more dynamic unions * fixes from v31 * better constructor for dynamic unions * version bump * fix build
This commit is contained in:
@@ -3,5 +3,5 @@ import { ISB } from '@start9labs/start-sdk'
|
||||
export async function configBuilderToSpec(
|
||||
builder: ISB.InputSpec<Record<string, unknown>>,
|
||||
) {
|
||||
return builder.build({} as any)
|
||||
return builder.build({} as any).then(a => a.spec)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user