@copilotkit/runtime
Version:
<div align="center"> <a href="https://copilotkit.ai" target="_blank"> <img src="https://github.com/copilotkit/copilotkit/raw/main/assets/banner.png" alt="CopilotKit Logo"> </a>
14 lines (9 loc) • 369 B
text/typescript
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}`);