UNPKG

@copilotkit/runtime

Version:

<img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />

14 lines (9 loc) 369 B
import "reflect-metadata"; import { buildSchema } from "../src/lib/integrations/shared"; import path from "node:path"; console.log("Generating schema..."); const outputPath = path.resolve(__dirname, "../__snapshots__/schema/schema.graphql"); buildSchema({ emitSchemaFile: path.resolve(__dirname, outputPath), }); console.log(`Schema generated to ${outputPath}`);