@arpc-packages/schema-gen
Advanced tools
Comparing version 0.2.4 to 0.2.5
{ | ||
"name": "@arpc-packages/schema-gen", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "src/index.ts", |
@@ -52,6 +52,8 @@ import { readFile } from "fs/promises"; | ||
// Generates a schema using the TypeScript processor and the files on disk. Note that this is VERY | ||
// slow and partially blocking, so should only be ran during page build in production. | ||
// | ||
// NOTE: Default protocol/hostname are omitted. These should be added by the client. | ||
/** | ||
* Generates a schema using the TypeScript processor and the files on disk. Note that this is VERY | ||
* slow and partially blocking, so should only be ran during page build in production. | ||
* | ||
* NOTE: Default protocol/hostname are omitted. These should be added by the client. | ||
*/ | ||
export async function generateSchema(router: RPCRouter<any, any, any, any, any, any>): Promise<BuildData> { | ||
@@ -58,0 +60,0 @@ // Get the lockfile. |
Sorry, the diff of this file is not supported yet
63344
574