UNPKG

@contextvm/ctxcn

Version:

A command-line utility inspired by shadcn that streamlines the integration of ContextVM (CVM) servers into your TypeScript projects

11 lines 658 B
import type { JSONSchema } from "json-schema-to-typescript"; export declare function sanitizeSchema(schema: unknown): object | boolean; export declare function extractInlineType(typeDefinition: string): string; export declare function extractSchemaProperties(schema: JSONSchema): Array<{ name: string; type: string; required: boolean; }>; export declare function generateTypeFromSchema(schema: JSONSchema | boolean, typeName: string): Promise<string>; export declare function generateClientCode(pubkey: string, toolListResult: any, serverName: string, privateKey?: string, relays?: string[]): Promise<string>; //# sourceMappingURL=schema.d.ts.map