@genfeedai/types 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,45 +1,29 @@
1
1
  # @genfeedai/types
2
2
 
3
- Type definitions for the Genfeed workflow engine.
3
+ Type definitions for the Genfeed workflow engine and node ecosystem.
4
4
 
5
- ## Installation
5
+ ## Install
6
6
 
7
7
  ```bash
8
- npm install @genfeedai/types
9
- # or
10
- bun add @genfeedai/types
8
+ npm i @genfeedai/types
11
9
  ```
12
10
 
13
11
  ## Usage
14
12
 
15
- ```typescript
13
+ ```ts
16
14
  import type { WorkflowFile, WorkflowNode, WorkflowEdge } from '@genfeedai/types';
17
- import type { NodeType, HandleType } from '@genfeedai/types';
15
+ import type { ImageNodeData } from '@genfeedai/types/nodes';
16
+ import replicateSchemas from '@genfeedai/types/replicate/schemas.json';
18
17
  ```
19
18
 
20
- ### Subpath Exports
19
+ ## Related Packages
21
20
 
22
- ```typescript
23
- // Node type definitions
24
- import type { ImageNodeData, VideoNodeData } from '@genfeedai/types/nodes';
21
+ - `@genfeedai/core`
22
+ - `@genfeedai/workflow-ui`
25
23
 
26
- // Workflow file schema
27
- import type { WorkflowFile } from '@genfeedai/types/workflow';
24
+ ## Build Faster with Genfeed
28
25
 
29
- // ComfyUI integration types
30
- import type { ComfyUIWorkflow } from '@genfeedai/types/comfyui';
31
-
32
- // Replicate model schemas
33
- import type { ReplicateModel } from '@genfeedai/types/replicate';
34
- ```
35
-
36
- ## Key Exports
37
-
38
- - **Workflow types**: `WorkflowFile`, `WorkflowNode`, `WorkflowEdge`, `NodeGroup`
39
- - **Node types**: Data interfaces for all 36 node types (image, video, audio, text)
40
- - **Enums**: `NodeCategory`, `HandleType`, `EdgeStyle`
41
- - **ComfyUI types**: ComfyUI workflow and prompt schemas
42
- - **Replicate types**: Replicate model input/output schemas
26
+ Use strongly typed workflow contracts in your own apps, or use Genfeed at [https://genfeed.ai](https://genfeed.ai).
43
27
 
44
28
  ## License
45
29
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Auto-generated Replicate model types
3
3
  * DO NOT EDIT - Run `bun run sync:replicate` to regenerate
4
- * Generated at: 2026-02-26T20:32:20.371Z
4
+ * Generated at: 2026-03-06T02:26:55.223Z
5
5
  */
6
6
  /**
7
7
  * Input parameters for google/nano-banana
@@ -58,7 +58,7 @@ interface NanoBanana2Input {
58
58
  */
59
59
  google_search?: boolean;
60
60
  /**
61
- * Use Google Image Search grounding to use web images as visual context for generation. When enabled, web search is also used automatically.
61
+ * Use Google Image Search grounding to find web images as visual context for generation. When enabled, web search is also used automatically.
62
62
  * @default false
63
63
  */
64
64
  image_search?: boolean;
@@ -148,7 +148,7 @@ interface ZImageTurboInput {
148
148
  */
149
149
  seed?: number;
150
150
  /**
151
- * Deprecated. Kept for API compatibility with original z-image-turbo.
151
+ * Apply additional optimizations for faster generation
152
152
  * @default false
153
153
  */
154
154
  go_fast?: boolean;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Auto-generated Replicate model types
3
3
  * DO NOT EDIT - Run `bun run sync:replicate` to regenerate
4
- * Generated at: 2026-02-26T20:32:20.371Z
4
+ * Generated at: 2026-03-06T02:26:55.223Z
5
5
  */
6
6
  /**
7
7
  * Input parameters for google/nano-banana
@@ -58,7 +58,7 @@ interface NanoBanana2Input {
58
58
  */
59
59
  google_search?: boolean;
60
60
  /**
61
- * Use Google Image Search grounding to use web images as visual context for generation. When enabled, web search is also used automatically.
61
+ * Use Google Image Search grounding to find web images as visual context for generation. When enabled, web search is also used automatically.
62
62
  * @default false
63
63
  */
64
64
  image_search?: boolean;
@@ -148,7 +148,7 @@ interface ZImageTurboInput {
148
148
  */
149
149
  seed?: number;
150
150
  /**
151
- * Deprecated. Kept for API compatibility with original z-image-turbo.
151
+ * Apply additional optimizations for faster generation
152
152
  * @default false
153
153
  */
154
154
  go_fast?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genfeedai/types",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "sideEffects": false,
5
5
  "license": "AGPL-3.0",
6
6
  "description": "Type definitions for Genfeed workflow engine",