fix cli build script, add commander, fix types

This commit is contained in:
dswbx
2025-11-05 08:27:47 +01:00
parent e9f1241ec3
commit 07a57ebf67
6 changed files with 10 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
import type { JSONSchema7 } from "json-schema";
import type { JSONSchema } from "json-schema-to-ts";
import { omitKeys, type s } from "bknd/utils";
export function extractSchema<
@@ -10,7 +10,7 @@ export function extractSchema<
config: Config,
keys: Keys[],
): [
JSONSchema7,
Exclude<JSONSchema, boolean | null | undefined>,
Partial<Config>,
{
[K in Keys]: {