mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-27 02:41:53 +00:00
feat: add zod-deep-partial, partialValidator on InputSpec, and z.deepPartial re-export
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import { ISB } from '@start9labs/start-sdk'
|
||||
|
||||
export async function configBuilderToSpec(
|
||||
builder: ISB.InputSpec<Record<string, unknown>>,
|
||||
) {
|
||||
export async function configBuilderToSpec(builder: ISB.InputSpec<any>) {
|
||||
return builder.build({} as any).then(a => a.spec)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user