UNPKG

@sidekick-coder/db

Version:

Cli Tool to manipulate data from diferent sources

19 lines (16 loc) 844 B
import * as valibot from 'valibot'; import { InferOutput } from 'valibot'; import { FilesystemOptionsPath } from '../../core/filesystem/types.js'; interface Config extends InferOutput<ReturnType<typeof schema>> { } declare const schema: (dirname: string, path?: FilesystemOptionsPath) => valibot.ObjectSchema<{ readonly format: valibot.OptionalSchema<valibot.StringSchema<undefined>, "markdown">; readonly path: valibot.SchemaWithPipe<[valibot.StringSchema<undefined>, valibot.TransformAction<string, string>]>; readonly id_strategy: valibot.OptionalSchema<valibot.ObjectSchema<{ readonly name: valibot.StringSchema<undefined>; readonly options: valibot.OptionalSchema<valibot.AnySchema, undefined>; }, undefined>, { readonly name: "incremental"; }>; }, undefined>; export { type Config, schema };