-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved the repo structure for the examples II
- Loading branch information
karurochari
committed
Aug 17, 2024
1 parent
39649d7
commit 08909b0
Showing
7 changed files
with
53,527 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
@interface.ts | ||
/interface.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { ComfyClient, ComfyJSONToTypescript } from '../../index' | ||
|
||
import { ComfyClient, ComfyJSONToTypescript } from 'comfyui-bun-client' | ||
import { join } from "node:path" | ||
|
||
{ | ||
//Variable with a scope-contrained lifetime | ||
using client = new ComfyClient(process.env.COMFY ?? 'localhost:8188', { debug: false }) | ||
|
||
await ComfyJSONToTypescript(client, './workflows/@interface.ts') | ||
await ComfyJSONToTypescript(client, join(import.meta.dir, "../interface.ts")) | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.