@genfeedai/types 0.1.1 → 0.2.0
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 +46 -0
- package/dist/{chunk-P7K5LM6V.js → chunk-P4XY3T5T.js} +9 -8
- package/dist/{chunk-OGJX4J7H.mjs → chunk-QNWQE2LJ.mjs} +9 -8
- package/dist/index.d.mts +29 -3
- package/dist/index.d.ts +29 -3
- package/dist/index.js +19 -19
- package/dist/index.mjs +1 -1
- package/dist/nodes.d.mts +2 -2
- package/dist/nodes.d.ts +2 -2
- package/dist/nodes.js +13 -13
- package/dist/nodes.mjs +1 -1
- package/dist/{union-CtYAY8Mv.d.mts → union-BVaWc1Cx.d.mts} +4 -3
- package/dist/{union-CtYAY8Mv.d.ts → union-BVaWc1Cx.d.ts} +4 -3
- package/dist/{workflow-Di5vTrXa.d.ts → workflow-B_Q38s-U.d.ts} +9 -14
- package/dist/{workflow-CGpVuRPg.d.mts → workflow-BbAp7VSK.d.mts} +9 -14
- package/dist/workflow.d.mts +2 -2
- package/dist/workflow.d.ts +2 -2
- package/package.json +15 -14
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# @genfeedai/types
|
|
2
|
+
|
|
3
|
+
Type definitions for the Genfeed workflow engine.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @genfeedai/types
|
|
9
|
+
# or
|
|
10
|
+
bun add @genfeedai/types
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { WorkflowFile, WorkflowNode, WorkflowEdge } from '@genfeedai/types';
|
|
17
|
+
import type { NodeType, HandleType } from '@genfeedai/types';
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
### Subpath Exports
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
// Node type definitions
|
|
24
|
+
import type { ImageNodeData, VideoNodeData } from '@genfeedai/types/nodes';
|
|
25
|
+
|
|
26
|
+
// Workflow file schema
|
|
27
|
+
import type { WorkflowFile } from '@genfeedai/types/workflow';
|
|
28
|
+
|
|
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
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
|
|
46
|
+
AGPL-3.0
|
|
@@ -94,13 +94,13 @@ var NodeStatusEnum = /* @__PURE__ */ ((NodeStatusEnum2) => {
|
|
|
94
94
|
})(NodeStatusEnum || {});
|
|
95
95
|
|
|
96
96
|
// src/enums.ts
|
|
97
|
-
var
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
return
|
|
103
|
-
})(
|
|
97
|
+
var WorkflowTemplateCategory = /* @__PURE__ */ ((WorkflowTemplateCategory2) => {
|
|
98
|
+
WorkflowTemplateCategory2["IMAGE"] = "image";
|
|
99
|
+
WorkflowTemplateCategory2["VIDEO"] = "video";
|
|
100
|
+
WorkflowTemplateCategory2["AUDIO"] = "audio";
|
|
101
|
+
WorkflowTemplateCategory2["FULL_PIPELINE"] = "full-pipeline";
|
|
102
|
+
return WorkflowTemplateCategory2;
|
|
103
|
+
})(WorkflowTemplateCategory || {});
|
|
104
104
|
var ReframeNodeType = /* @__PURE__ */ ((ReframeNodeType2) => {
|
|
105
105
|
ReframeNodeType2["REFRAME"] = "reframe";
|
|
106
106
|
ReframeNodeType2["LUMA_REFRAME_IMAGE"] = "lumaReframeImage";
|
|
@@ -129,6 +129,7 @@ var ProcessingNodeType = /* @__PURE__ */ ((ProcessingNodeType2) => {
|
|
|
129
129
|
ProcessingNodeType2["LIP_SYNC"] = "lipSync";
|
|
130
130
|
ProcessingNodeType2["TEXT_TO_SPEECH"] = "textToSpeech";
|
|
131
131
|
ProcessingNodeType2["VOICE_CHANGE"] = "voiceChange";
|
|
132
|
+
ProcessingNodeType2["TRANSCRIBE"] = "transcribe";
|
|
132
133
|
ProcessingNodeType2["SUBTITLE"] = "subtitle";
|
|
133
134
|
ProcessingNodeType2["VIDEO_STITCH"] = "videoStitch";
|
|
134
135
|
ProcessingNodeType2["WORKFLOW_REF"] = "workflowRef";
|
|
@@ -820,6 +821,6 @@ exports.NodeTypeEnum = NodeTypeEnum;
|
|
|
820
821
|
exports.ProcessingNodeType = ProcessingNodeType;
|
|
821
822
|
exports.ProviderTypeEnum = ProviderTypeEnum;
|
|
822
823
|
exports.ReframeNodeType = ReframeNodeType;
|
|
823
|
-
exports.TemplateCategory = TemplateCategory;
|
|
824
824
|
exports.UpscaleNodeType = UpscaleNodeType;
|
|
825
|
+
exports.WorkflowTemplateCategory = WorkflowTemplateCategory;
|
|
825
826
|
exports.getNodesByCategory = getNodesByCategory;
|
|
@@ -92,13 +92,13 @@ var NodeStatusEnum = /* @__PURE__ */ ((NodeStatusEnum2) => {
|
|
|
92
92
|
})(NodeStatusEnum || {});
|
|
93
93
|
|
|
94
94
|
// src/enums.ts
|
|
95
|
-
var
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
return
|
|
101
|
-
})(
|
|
95
|
+
var WorkflowTemplateCategory = /* @__PURE__ */ ((WorkflowTemplateCategory2) => {
|
|
96
|
+
WorkflowTemplateCategory2["IMAGE"] = "image";
|
|
97
|
+
WorkflowTemplateCategory2["VIDEO"] = "video";
|
|
98
|
+
WorkflowTemplateCategory2["AUDIO"] = "audio";
|
|
99
|
+
WorkflowTemplateCategory2["FULL_PIPELINE"] = "full-pipeline";
|
|
100
|
+
return WorkflowTemplateCategory2;
|
|
101
|
+
})(WorkflowTemplateCategory || {});
|
|
102
102
|
var ReframeNodeType = /* @__PURE__ */ ((ReframeNodeType2) => {
|
|
103
103
|
ReframeNodeType2["REFRAME"] = "reframe";
|
|
104
104
|
ReframeNodeType2["LUMA_REFRAME_IMAGE"] = "lumaReframeImage";
|
|
@@ -127,6 +127,7 @@ var ProcessingNodeType = /* @__PURE__ */ ((ProcessingNodeType2) => {
|
|
|
127
127
|
ProcessingNodeType2["LIP_SYNC"] = "lipSync";
|
|
128
128
|
ProcessingNodeType2["TEXT_TO_SPEECH"] = "textToSpeech";
|
|
129
129
|
ProcessingNodeType2["VOICE_CHANGE"] = "voiceChange";
|
|
130
|
+
ProcessingNodeType2["TRANSCRIBE"] = "transcribe";
|
|
130
131
|
ProcessingNodeType2["SUBTITLE"] = "subtitle";
|
|
131
132
|
ProcessingNodeType2["VIDEO_STITCH"] = "videoStitch";
|
|
132
133
|
ProcessingNodeType2["WORKFLOW_REF"] = "workflowRef";
|
|
@@ -805,4 +806,4 @@ function getNodesByCategory() {
|
|
|
805
806
|
return categories;
|
|
806
807
|
}
|
|
807
808
|
|
|
808
|
-
export { CONNECTION_RULES, HandleTypeEnum, KlingQuality, ModelCapabilityEnum, ModelUseCaseEnum, NODE_DEFINITIONS, NODE_ORDER, NodeCategoryEnum, NodeStatusEnum, NodeTypeEnum, ProcessingNodeType, ProviderTypeEnum, ReframeNodeType,
|
|
809
|
+
export { CONNECTION_RULES, HandleTypeEnum, KlingQuality, ModelCapabilityEnum, ModelUseCaseEnum, NODE_DEFINITIONS, NODE_ORDER, NodeCategoryEnum, NodeStatusEnum, NodeTypeEnum, ProcessingNodeType, ProviderTypeEnum, ReframeNodeType, UpscaleNodeType, WorkflowTemplateCategory, getNodesByCategory };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
export { ComfyUIHistoryEntry, ComfyUIHistoryResponse, ComfyUINode, ComfyUINodeOutput, ComfyUIOutputFile, ComfyUIPrompt, ComfyUIPromptStatus, ComfyUIQueuePromptResponse, ComfyUITemplateInput, ComfyUIWorkflowTemplate } from './comfyui.mjs';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
2
|
+
export { A as AnimationNodeData, b as AnnotationNodeData, c as AnnotationShapeData, d as AspectRatio, e as AudioCodec, f as AudioInputNodeData, g as AvailableVariable, B as BaseNodeData, C as CONNECTION_RULES, h as CameraMovement, i as CharacterOrientation, j as CubicBezier, D as DownloadNodeData, E as EasingPreset, F as FrameSelectionMode, G as GridOutputFormat, k as GridPosition, H as HandleDefinition, l as HandleType, m as HandleTypeEnum, I as ImageCompareNodeData, n as ImageGenNodeData, o as ImageGridSplitNodeData, p as ImageInputNodeData, q as ImageModel, K as KlingQuality, r as KlingQualityMode, L as LLMNodeData, s as LipSyncMode, t as LipSyncModel, u as LipSyncNodeData, v as LumaAspectRatio, w as LumaReframeModel, M as ModelCapability, x as ModelCapabilityEnum, y as ModelUseCase, z as ModelUseCaseEnum, J as MotionControlMode, O as MotionControlNodeData, P as NodeCategory, Q as NodeCategoryEnum, R as NodeStatus, S as NodeStatusEnum, N as NodeType, T as NodeTypeEnum, U as OutputFormat, V as OutputGalleryNodeData, X as OutputInputType, Y as OutputNodeData, Z as OutputQuality, _ as ProcessingNodeType, $ as PromptConstructorNodeData, a0 as PromptNodeData, a1 as ProviderModel, a2 as ProviderType, a3 as ProviderTypeEnum, a4 as ReframeInputType, a5 as ReframeNodeData, a6 as ReframeNodeType, a7 as ResizeNodeData, a8 as Resolution, a9 as SelectedModel, aa as SubtitleNodeData, ab as SubtitlePosition, ac as SubtitleStyle, ad as TTSProvider, ae as TTSVoice, af as TextModel, ag as TextToSpeechNodeData, ah as TopazEnhanceModel, ai as TopazUpscaleFactor, aj as TopazVideoFPS, ak as TopazVideoResolution, al as TrajectoryPoint, am as TranscribeLanguage, an as TranscribeNodeData, ao as TransitionType, ap as UpscaleInputType, aq as UpscaleModel, ar as UpscaleNodeData, as as UpscaleNodeType, at as VideoDuration, au as VideoFrameExtractNodeData, av as VideoGenNodeData, aw as VideoInputNodeData, ax as VideoModel, ay as VideoResolution, az as VideoStitchNodeData, aA as VideoTrimNodeData, aB as VoiceChangeNodeData, a as WorkflowEdge, aC as WorkflowEdgeData, aD as WorkflowInputNodeData, aE as WorkflowInterface, aF as WorkflowInterfaceInput, aG as WorkflowInterfaceOutput, W as WorkflowNode, aH as WorkflowNodeData, aI as WorkflowOutputNodeData, aJ as WorkflowRefNodeData, aK as WorkflowTemplateCategory } from './union-BVaWc1Cx.mjs';
|
|
3
|
+
export { E as EdgeStyle, a as EdgeStyleEnum, b as ExecutionResult, G as GroupColor, N as NodeGroup, T as TemplateEdge, c as TemplateNode, V as ValidationError, d as ValidationResult, W as WorkflowFile, e as WorkflowTemplate } from './workflow-BbAp7VSK.mjs';
|
|
4
4
|
export { NODE_DEFINITIONS, NODE_ORDER, NodeDefinition, getNodesByCategory } from './nodes.mjs';
|
|
5
5
|
import '@xyflow/react';
|
|
6
6
|
|
|
7
|
+
/** Per-node cost estimate (used in UI cost calculators and API cost services) */
|
|
8
|
+
interface NodeCostEstimate {
|
|
9
|
+
nodeId: string;
|
|
10
|
+
nodeType: string;
|
|
11
|
+
nodeLabel: string;
|
|
12
|
+
model: string;
|
|
13
|
+
unitPrice: number;
|
|
14
|
+
quantity: number;
|
|
15
|
+
subtotal: number;
|
|
16
|
+
unit?: string;
|
|
17
|
+
details?: string;
|
|
18
|
+
duration?: number;
|
|
19
|
+
withAudio?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/** Aggregated cost breakdown for a workflow */
|
|
22
|
+
interface CostBreakdown {
|
|
23
|
+
total: number;
|
|
24
|
+
items: NodeCostEstimate[];
|
|
25
|
+
}
|
|
26
|
+
/** Post-execution cost summary (estimated vs actual) */
|
|
27
|
+
interface CostSummary {
|
|
28
|
+
estimated: number;
|
|
29
|
+
actual: number;
|
|
30
|
+
variance: number;
|
|
31
|
+
}
|
|
32
|
+
|
|
7
33
|
type ActionCategory = 'crud' | 'ai' | 'data' | 'validation';
|
|
8
34
|
type CrudAction = 'add' | 'duplicate' | 'delete' | 'reorder';
|
|
9
35
|
type AIAction = 'enhance' | 'generate' | 'suggest';
|
|
@@ -265,4 +291,4 @@ type LightingPreset = (typeof LIGHTING_PRESETS)[number];
|
|
|
265
291
|
type ScenePreset = (typeof SCENE_PRESETS)[number];
|
|
266
292
|
declare const CATEGORY_LABELS: Record<PromptCategory, string>;
|
|
267
293
|
|
|
268
|
-
export { type AIAction, type ActionCategory, type ActionConfig, type ActionMenuProps, type ActionToolbarProps, type ActionUIPattern, CAMERA_PRESETS, CATEGORY_LABELS, type CameraPreset, type CrudAction, type DataAction, type DimensionsGroupProps, type DimensionsValue, type DynamicListProps, type FieldWidth, type ICreatePrompt, type IPrompt, type IQueryPrompts, type IStyleSettings, type InputGroupActionType, type InputGroupFieldProps, type InputGroupHeaderProps, type InputGroupProps, type InputGroupRowProps, type InputGroupVariant, type KeyValueListProps, type KeyValuePair, LIGHTING_PRESETS, type LightingPreset, MOOD_PRESETS, type MenuAlign, type MenuSide, type MoodPreset, PROMPT_CATEGORIES, type PromptCategory, type RowHelpers, SCENE_PRESETS, STYLE_PRESETS, type ScenePreset, type StylePreset, type ToolbarOrientation, type ToolbarSize, type ToolbarVisibility, type ValidationAction };
|
|
294
|
+
export { type AIAction, type ActionCategory, type ActionConfig, type ActionMenuProps, type ActionToolbarProps, type ActionUIPattern, CAMERA_PRESETS, CATEGORY_LABELS, type CameraPreset, type CostBreakdown, type CostSummary, type CrudAction, type DataAction, type DimensionsGroupProps, type DimensionsValue, type DynamicListProps, type FieldWidth, type ICreatePrompt, type IPrompt, type IQueryPrompts, type IStyleSettings, type InputGroupActionType, type InputGroupFieldProps, type InputGroupHeaderProps, type InputGroupProps, type InputGroupRowProps, type InputGroupVariant, type KeyValueListProps, type KeyValuePair, LIGHTING_PRESETS, type LightingPreset, MOOD_PRESETS, type MenuAlign, type MenuSide, type MoodPreset, type NodeCostEstimate, PROMPT_CATEGORIES, type PromptCategory, type RowHelpers, SCENE_PRESETS, STYLE_PRESETS, type ScenePreset, type StylePreset, type ToolbarOrientation, type ToolbarSize, type ToolbarVisibility, type ValidationAction };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
export { ComfyUIHistoryEntry, ComfyUIHistoryResponse, ComfyUINode, ComfyUINodeOutput, ComfyUIOutputFile, ComfyUIPrompt, ComfyUIPromptStatus, ComfyUIQueuePromptResponse, ComfyUITemplateInput, ComfyUIWorkflowTemplate } from './comfyui.js';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
2
|
+
export { A as AnimationNodeData, b as AnnotationNodeData, c as AnnotationShapeData, d as AspectRatio, e as AudioCodec, f as AudioInputNodeData, g as AvailableVariable, B as BaseNodeData, C as CONNECTION_RULES, h as CameraMovement, i as CharacterOrientation, j as CubicBezier, D as DownloadNodeData, E as EasingPreset, F as FrameSelectionMode, G as GridOutputFormat, k as GridPosition, H as HandleDefinition, l as HandleType, m as HandleTypeEnum, I as ImageCompareNodeData, n as ImageGenNodeData, o as ImageGridSplitNodeData, p as ImageInputNodeData, q as ImageModel, K as KlingQuality, r as KlingQualityMode, L as LLMNodeData, s as LipSyncMode, t as LipSyncModel, u as LipSyncNodeData, v as LumaAspectRatio, w as LumaReframeModel, M as ModelCapability, x as ModelCapabilityEnum, y as ModelUseCase, z as ModelUseCaseEnum, J as MotionControlMode, O as MotionControlNodeData, P as NodeCategory, Q as NodeCategoryEnum, R as NodeStatus, S as NodeStatusEnum, N as NodeType, T as NodeTypeEnum, U as OutputFormat, V as OutputGalleryNodeData, X as OutputInputType, Y as OutputNodeData, Z as OutputQuality, _ as ProcessingNodeType, $ as PromptConstructorNodeData, a0 as PromptNodeData, a1 as ProviderModel, a2 as ProviderType, a3 as ProviderTypeEnum, a4 as ReframeInputType, a5 as ReframeNodeData, a6 as ReframeNodeType, a7 as ResizeNodeData, a8 as Resolution, a9 as SelectedModel, aa as SubtitleNodeData, ab as SubtitlePosition, ac as SubtitleStyle, ad as TTSProvider, ae as TTSVoice, af as TextModel, ag as TextToSpeechNodeData, ah as TopazEnhanceModel, ai as TopazUpscaleFactor, aj as TopazVideoFPS, ak as TopazVideoResolution, al as TrajectoryPoint, am as TranscribeLanguage, an as TranscribeNodeData, ao as TransitionType, ap as UpscaleInputType, aq as UpscaleModel, ar as UpscaleNodeData, as as UpscaleNodeType, at as VideoDuration, au as VideoFrameExtractNodeData, av as VideoGenNodeData, aw as VideoInputNodeData, ax as VideoModel, ay as VideoResolution, az as VideoStitchNodeData, aA as VideoTrimNodeData, aB as VoiceChangeNodeData, a as WorkflowEdge, aC as WorkflowEdgeData, aD as WorkflowInputNodeData, aE as WorkflowInterface, aF as WorkflowInterfaceInput, aG as WorkflowInterfaceOutput, W as WorkflowNode, aH as WorkflowNodeData, aI as WorkflowOutputNodeData, aJ as WorkflowRefNodeData, aK as WorkflowTemplateCategory } from './union-BVaWc1Cx.js';
|
|
3
|
+
export { E as EdgeStyle, a as EdgeStyleEnum, b as ExecutionResult, G as GroupColor, N as NodeGroup, T as TemplateEdge, c as TemplateNode, V as ValidationError, d as ValidationResult, W as WorkflowFile, e as WorkflowTemplate } from './workflow-B_Q38s-U.js';
|
|
4
4
|
export { NODE_DEFINITIONS, NODE_ORDER, NodeDefinition, getNodesByCategory } from './nodes.js';
|
|
5
5
|
import '@xyflow/react';
|
|
6
6
|
|
|
7
|
+
/** Per-node cost estimate (used in UI cost calculators and API cost services) */
|
|
8
|
+
interface NodeCostEstimate {
|
|
9
|
+
nodeId: string;
|
|
10
|
+
nodeType: string;
|
|
11
|
+
nodeLabel: string;
|
|
12
|
+
model: string;
|
|
13
|
+
unitPrice: number;
|
|
14
|
+
quantity: number;
|
|
15
|
+
subtotal: number;
|
|
16
|
+
unit?: string;
|
|
17
|
+
details?: string;
|
|
18
|
+
duration?: number;
|
|
19
|
+
withAudio?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/** Aggregated cost breakdown for a workflow */
|
|
22
|
+
interface CostBreakdown {
|
|
23
|
+
total: number;
|
|
24
|
+
items: NodeCostEstimate[];
|
|
25
|
+
}
|
|
26
|
+
/** Post-execution cost summary (estimated vs actual) */
|
|
27
|
+
interface CostSummary {
|
|
28
|
+
estimated: number;
|
|
29
|
+
actual: number;
|
|
30
|
+
variance: number;
|
|
31
|
+
}
|
|
32
|
+
|
|
7
33
|
type ActionCategory = 'crud' | 'ai' | 'data' | 'validation';
|
|
8
34
|
type CrudAction = 'add' | 'duplicate' | 'delete' | 'reorder';
|
|
9
35
|
type AIAction = 'enhance' | 'generate' | 'suggest';
|
|
@@ -265,4 +291,4 @@ type LightingPreset = (typeof LIGHTING_PRESETS)[number];
|
|
|
265
291
|
type ScenePreset = (typeof SCENE_PRESETS)[number];
|
|
266
292
|
declare const CATEGORY_LABELS: Record<PromptCategory, string>;
|
|
267
293
|
|
|
268
|
-
export { type AIAction, type ActionCategory, type ActionConfig, type ActionMenuProps, type ActionToolbarProps, type ActionUIPattern, CAMERA_PRESETS, CATEGORY_LABELS, type CameraPreset, type CrudAction, type DataAction, type DimensionsGroupProps, type DimensionsValue, type DynamicListProps, type FieldWidth, type ICreatePrompt, type IPrompt, type IQueryPrompts, type IStyleSettings, type InputGroupActionType, type InputGroupFieldProps, type InputGroupHeaderProps, type InputGroupProps, type InputGroupRowProps, type InputGroupVariant, type KeyValueListProps, type KeyValuePair, LIGHTING_PRESETS, type LightingPreset, MOOD_PRESETS, type MenuAlign, type MenuSide, type MoodPreset, PROMPT_CATEGORIES, type PromptCategory, type RowHelpers, SCENE_PRESETS, STYLE_PRESETS, type ScenePreset, type StylePreset, type ToolbarOrientation, type ToolbarSize, type ToolbarVisibility, type ValidationAction };
|
|
294
|
+
export { type AIAction, type ActionCategory, type ActionConfig, type ActionMenuProps, type ActionToolbarProps, type ActionUIPattern, CAMERA_PRESETS, CATEGORY_LABELS, type CameraPreset, type CostBreakdown, type CostSummary, type CrudAction, type DataAction, type DimensionsGroupProps, type DimensionsValue, type DynamicListProps, type FieldWidth, type ICreatePrompt, type IPrompt, type IQueryPrompts, type IStyleSettings, type InputGroupActionType, type InputGroupFieldProps, type InputGroupHeaderProps, type InputGroupProps, type InputGroupRowProps, type InputGroupVariant, type KeyValueListProps, type KeyValuePair, LIGHTING_PRESETS, type LightingPreset, MOOD_PRESETS, type MenuAlign, type MenuSide, type MoodPreset, type NodeCostEstimate, PROMPT_CATEGORIES, type PromptCategory, type RowHelpers, SCENE_PRESETS, STYLE_PRESETS, type ScenePreset, type StylePreset, type ToolbarOrientation, type ToolbarSize, type ToolbarVisibility, type ValidationAction };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkP4XY3T5T_js = require('./chunk-P4XY3T5T.js');
|
|
4
4
|
var chunkKXAKQO3U_js = require('./chunk-KXAKQO3U.js');
|
|
5
5
|
require('./chunk-RNGYPX4W.js');
|
|
6
6
|
|
|
@@ -110,67 +110,67 @@ var CATEGORY_LABELS = {
|
|
|
110
110
|
|
|
111
111
|
Object.defineProperty(exports, "CONNECTION_RULES", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkP4XY3T5T_js.CONNECTION_RULES; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "HandleTypeEnum", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkP4XY3T5T_js.HandleTypeEnum; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "KlingQuality", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkP4XY3T5T_js.KlingQuality; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "ModelCapabilityEnum", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkP4XY3T5T_js.ModelCapabilityEnum; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "ModelUseCaseEnum", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkP4XY3T5T_js.ModelUseCaseEnum; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "NODE_DEFINITIONS", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkP4XY3T5T_js.NODE_DEFINITIONS; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "NODE_ORDER", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkP4XY3T5T_js.NODE_ORDER; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "NodeCategoryEnum", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkP4XY3T5T_js.NodeCategoryEnum; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "NodeStatusEnum", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkP4XY3T5T_js.NodeStatusEnum; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "NodeTypeEnum", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkP4XY3T5T_js.NodeTypeEnum; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "ProcessingNodeType", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkP4XY3T5T_js.ProcessingNodeType; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "ProviderTypeEnum", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkP4XY3T5T_js.ProviderTypeEnum; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "ReframeNodeType", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkP4XY3T5T_js.ReframeNodeType; }
|
|
162
162
|
});
|
|
163
|
-
Object.defineProperty(exports, "
|
|
163
|
+
Object.defineProperty(exports, "UpscaleNodeType", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkP4XY3T5T_js.UpscaleNodeType; }
|
|
166
166
|
});
|
|
167
|
-
Object.defineProperty(exports, "
|
|
167
|
+
Object.defineProperty(exports, "WorkflowTemplateCategory", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkP4XY3T5T_js.WorkflowTemplateCategory; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "getNodesByCategory", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkP4XY3T5T_js.getNodesByCategory; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "EdgeStyleEnum", {
|
|
176
176
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CONNECTION_RULES, HandleTypeEnum, KlingQuality, ModelCapabilityEnum, ModelUseCaseEnum, NODE_DEFINITIONS, NODE_ORDER, NodeCategoryEnum, NodeStatusEnum, NodeTypeEnum, ProcessingNodeType, ProviderTypeEnum, ReframeNodeType,
|
|
1
|
+
export { CONNECTION_RULES, HandleTypeEnum, KlingQuality, ModelCapabilityEnum, ModelUseCaseEnum, NODE_DEFINITIONS, NODE_ORDER, NodeCategoryEnum, NodeStatusEnum, NodeTypeEnum, ProcessingNodeType, ProviderTypeEnum, ReframeNodeType, UpscaleNodeType, WorkflowTemplateCategory, getNodesByCategory } from './chunk-QNWQE2LJ.mjs';
|
|
2
2
|
export { EdgeStyleEnum } from './chunk-WT2F5CAF.mjs';
|
|
3
3
|
import './chunk-7NJUD2WZ.mjs';
|
|
4
4
|
|
package/dist/nodes.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { N as NodeType, P as NodeCategory, H as HandleDefinition, aH as WorkflowNodeData } from './union-BVaWc1Cx.mjs';
|
|
2
|
+
export { A as AnimationNodeData, b as AnnotationNodeData, c as AnnotationShapeData, d as AspectRatio, e as AudioCodec, f as AudioInputNodeData, g as AvailableVariable, B as BaseNodeData, C as CONNECTION_RULES, h as CameraMovement, i as CharacterOrientation, j as CubicBezier, D as DownloadNodeData, E as EasingPreset, F as FrameSelectionMode, G as GridOutputFormat, k as GridPosition, l as HandleType, m as HandleTypeEnum, I as ImageCompareNodeData, n as ImageGenNodeData, o as ImageGridSplitNodeData, p as ImageInputNodeData, q as ImageModel, K as KlingQuality, r as KlingQualityMode, L as LLMNodeData, s as LipSyncMode, t as LipSyncModel, u as LipSyncNodeData, v as LumaAspectRatio, w as LumaReframeModel, M as ModelCapability, x as ModelCapabilityEnum, y as ModelUseCase, z as ModelUseCaseEnum, J as MotionControlMode, O as MotionControlNodeData, Q as NodeCategoryEnum, R as NodeStatus, S as NodeStatusEnum, T as NodeTypeEnum, U as OutputFormat, V as OutputGalleryNodeData, X as OutputInputType, Y as OutputNodeData, Z as OutputQuality, $ as PromptConstructorNodeData, a0 as PromptNodeData, a1 as ProviderModel, a2 as ProviderType, a3 as ProviderTypeEnum, a4 as ReframeInputType, a5 as ReframeNodeData, a7 as ResizeNodeData, a8 as Resolution, a9 as SelectedModel, aa as SubtitleNodeData, ab as SubtitlePosition, ac as SubtitleStyle, ad as TTSProvider, ae as TTSVoice, af as TextModel, ag as TextToSpeechNodeData, ah as TopazEnhanceModel, ai as TopazUpscaleFactor, aj as TopazVideoFPS, ak as TopazVideoResolution, al as TrajectoryPoint, am as TranscribeLanguage, an as TranscribeNodeData, ao as TransitionType, ap as UpscaleInputType, aq as UpscaleModel, ar as UpscaleNodeData, at as VideoDuration, au as VideoFrameExtractNodeData, av as VideoGenNodeData, aw as VideoInputNodeData, ax as VideoModel, ay as VideoResolution, az as VideoStitchNodeData, aA as VideoTrimNodeData, aB as VoiceChangeNodeData, a as WorkflowEdge, aC as WorkflowEdgeData, aD as WorkflowInputNodeData, aE as WorkflowInterface, aF as WorkflowInterfaceInput, aG as WorkflowInterfaceOutput, W as WorkflowNode, aI as WorkflowOutputNodeData, aJ as WorkflowRefNodeData } from './union-BVaWc1Cx.mjs';
|
|
3
3
|
import '@xyflow/react';
|
|
4
4
|
|
|
5
5
|
interface NodeDefinition {
|
package/dist/nodes.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { N as NodeType, P as NodeCategory, H as HandleDefinition, aH as WorkflowNodeData } from './union-BVaWc1Cx.js';
|
|
2
|
+
export { A as AnimationNodeData, b as AnnotationNodeData, c as AnnotationShapeData, d as AspectRatio, e as AudioCodec, f as AudioInputNodeData, g as AvailableVariable, B as BaseNodeData, C as CONNECTION_RULES, h as CameraMovement, i as CharacterOrientation, j as CubicBezier, D as DownloadNodeData, E as EasingPreset, F as FrameSelectionMode, G as GridOutputFormat, k as GridPosition, l as HandleType, m as HandleTypeEnum, I as ImageCompareNodeData, n as ImageGenNodeData, o as ImageGridSplitNodeData, p as ImageInputNodeData, q as ImageModel, K as KlingQuality, r as KlingQualityMode, L as LLMNodeData, s as LipSyncMode, t as LipSyncModel, u as LipSyncNodeData, v as LumaAspectRatio, w as LumaReframeModel, M as ModelCapability, x as ModelCapabilityEnum, y as ModelUseCase, z as ModelUseCaseEnum, J as MotionControlMode, O as MotionControlNodeData, Q as NodeCategoryEnum, R as NodeStatus, S as NodeStatusEnum, T as NodeTypeEnum, U as OutputFormat, V as OutputGalleryNodeData, X as OutputInputType, Y as OutputNodeData, Z as OutputQuality, $ as PromptConstructorNodeData, a0 as PromptNodeData, a1 as ProviderModel, a2 as ProviderType, a3 as ProviderTypeEnum, a4 as ReframeInputType, a5 as ReframeNodeData, a7 as ResizeNodeData, a8 as Resolution, a9 as SelectedModel, aa as SubtitleNodeData, ab as SubtitlePosition, ac as SubtitleStyle, ad as TTSProvider, ae as TTSVoice, af as TextModel, ag as TextToSpeechNodeData, ah as TopazEnhanceModel, ai as TopazUpscaleFactor, aj as TopazVideoFPS, ak as TopazVideoResolution, al as TrajectoryPoint, am as TranscribeLanguage, an as TranscribeNodeData, ao as TransitionType, ap as UpscaleInputType, aq as UpscaleModel, ar as UpscaleNodeData, at as VideoDuration, au as VideoFrameExtractNodeData, av as VideoGenNodeData, aw as VideoInputNodeData, ax as VideoModel, ay as VideoResolution, az as VideoStitchNodeData, aA as VideoTrimNodeData, aB as VoiceChangeNodeData, a as WorkflowEdge, aC as WorkflowEdgeData, aD as WorkflowInputNodeData, aE as WorkflowInterface, aF as WorkflowInterfaceInput, aG as WorkflowInterfaceOutput, W as WorkflowNode, aI as WorkflowOutputNodeData, aJ as WorkflowRefNodeData } from './union-BVaWc1Cx.js';
|
|
3
3
|
import '@xyflow/react';
|
|
4
4
|
|
|
5
5
|
interface NodeDefinition {
|
package/dist/nodes.js
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkP4XY3T5T_js = require('./chunk-P4XY3T5T.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "CONNECTION_RULES", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkP4XY3T5T_js.CONNECTION_RULES; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "HandleTypeEnum", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkP4XY3T5T_js.HandleTypeEnum; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "KlingQuality", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkP4XY3T5T_js.KlingQuality; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ModelCapabilityEnum", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkP4XY3T5T_js.ModelCapabilityEnum; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ModelUseCaseEnum", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkP4XY3T5T_js.ModelUseCaseEnum; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "NODE_DEFINITIONS", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkP4XY3T5T_js.NODE_DEFINITIONS; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "NODE_ORDER", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkP4XY3T5T_js.NODE_ORDER; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "NodeCategoryEnum", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkP4XY3T5T_js.NodeCategoryEnum; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "NodeStatusEnum", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkP4XY3T5T_js.NodeStatusEnum; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "NodeTypeEnum", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkP4XY3T5T_js.NodeTypeEnum; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "ProviderTypeEnum", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkP4XY3T5T_js.ProviderTypeEnum; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "getNodesByCategory", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkP4XY3T5T_js.getNodesByCategory; }
|
|
54
54
|
});
|
package/dist/nodes.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { CONNECTION_RULES, HandleTypeEnum, KlingQuality, ModelCapabilityEnum, ModelUseCaseEnum, NODE_DEFINITIONS, NODE_ORDER, NodeCategoryEnum, NodeStatusEnum, NodeTypeEnum, ProviderTypeEnum, getNodesByCategory } from './chunk-
|
|
1
|
+
export { CONNECTION_RULES, HandleTypeEnum, KlingQuality, ModelCapabilityEnum, ModelUseCaseEnum, NODE_DEFINITIONS, NODE_ORDER, NodeCategoryEnum, NodeStatusEnum, NodeTypeEnum, ProviderTypeEnum, getNodesByCategory } from './chunk-QNWQE2LJ.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Edge, Node } from '@xyflow/react';
|
|
2
2
|
|
|
3
|
-
declare enum
|
|
3
|
+
declare enum WorkflowTemplateCategory {
|
|
4
4
|
IMAGE = "image",
|
|
5
5
|
VIDEO = "video",
|
|
6
6
|
AUDIO = "audio",
|
|
@@ -40,6 +40,7 @@ declare enum ProcessingNodeType {
|
|
|
40
40
|
LIP_SYNC = "lipSync",
|
|
41
41
|
TEXT_TO_SPEECH = "textToSpeech",
|
|
42
42
|
VOICE_CHANGE = "voiceChange",
|
|
43
|
+
TRANSCRIBE = "transcribe",
|
|
43
44
|
SUBTITLE = "subtitle",
|
|
44
45
|
VIDEO_STITCH = "videoStitch",
|
|
45
46
|
WORKFLOW_REF = "workflowRef"
|
|
@@ -538,4 +539,4 @@ interface WorkflowEdgeData {
|
|
|
538
539
|
}
|
|
539
540
|
type WorkflowEdge = Edge<WorkflowEdgeData>;
|
|
540
541
|
|
|
541
|
-
export { type
|
|
542
|
+
export { type PromptConstructorNodeData as $, type AnimationNodeData as A, type BaseNodeData as B, CONNECTION_RULES as C, type DownloadNodeData as D, type EasingPreset as E, type FrameSelectionMode as F, type GridOutputFormat as G, type HandleDefinition as H, type ImageCompareNodeData as I, type MotionControlMode as J, KlingQuality as K, type LLMNodeData as L, type ModelCapability as M, type NodeType as N, type MotionControlNodeData as O, type NodeCategory as P, NodeCategoryEnum as Q, type NodeStatus as R, NodeStatusEnum as S, NodeTypeEnum as T, type OutputFormat as U, type OutputGalleryNodeData as V, type WorkflowNode as W, type OutputInputType as X, type OutputNodeData as Y, type OutputQuality as Z, ProcessingNodeType as _, type WorkflowEdge as a, type PromptNodeData as a0, type ProviderModel as a1, type ProviderType as a2, ProviderTypeEnum as a3, type ReframeInputType as a4, type ReframeNodeData as a5, ReframeNodeType as a6, type ResizeNodeData as a7, type Resolution as a8, type SelectedModel as a9, type VideoTrimNodeData as aA, type VoiceChangeNodeData as aB, type WorkflowEdgeData as aC, type WorkflowInputNodeData as aD, type WorkflowInterface as aE, type WorkflowInterfaceInput as aF, type WorkflowInterfaceOutput as aG, type WorkflowNodeData as aH, type WorkflowOutputNodeData as aI, type WorkflowRefNodeData as aJ, WorkflowTemplateCategory as aK, type SubtitleNodeData as aa, type SubtitlePosition as ab, type SubtitleStyle as ac, type TTSProvider as ad, type TTSVoice as ae, type TextModel as af, type TextToSpeechNodeData as ag, type TopazEnhanceModel as ah, type TopazUpscaleFactor as ai, type TopazVideoFPS as aj, type TopazVideoResolution as ak, type TrajectoryPoint as al, type TranscribeLanguage as am, type TranscribeNodeData as an, type TransitionType as ao, type UpscaleInputType as ap, type UpscaleModel as aq, type UpscaleNodeData as ar, UpscaleNodeType as as, type VideoDuration as at, type VideoFrameExtractNodeData as au, type VideoGenNodeData as av, type VideoInputNodeData as aw, type VideoModel as ax, type VideoResolution as ay, type VideoStitchNodeData as az, type AnnotationNodeData as b, type AnnotationShapeData as c, type AspectRatio as d, type AudioCodec as e, type AudioInputNodeData as f, type AvailableVariable as g, type CameraMovement as h, type CharacterOrientation as i, type CubicBezier as j, type GridPosition as k, type HandleType as l, HandleTypeEnum as m, type ImageGenNodeData as n, type ImageGridSplitNodeData as o, type ImageInputNodeData as p, type ImageModel as q, type KlingQualityMode as r, type LipSyncMode as s, type LipSyncModel as t, type LipSyncNodeData as u, type LumaAspectRatio as v, type LumaReframeModel as w, ModelCapabilityEnum as x, type ModelUseCase as y, ModelUseCaseEnum as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Edge, Node } from '@xyflow/react';
|
|
2
2
|
|
|
3
|
-
declare enum
|
|
3
|
+
declare enum WorkflowTemplateCategory {
|
|
4
4
|
IMAGE = "image",
|
|
5
5
|
VIDEO = "video",
|
|
6
6
|
AUDIO = "audio",
|
|
@@ -40,6 +40,7 @@ declare enum ProcessingNodeType {
|
|
|
40
40
|
LIP_SYNC = "lipSync",
|
|
41
41
|
TEXT_TO_SPEECH = "textToSpeech",
|
|
42
42
|
VOICE_CHANGE = "voiceChange",
|
|
43
|
+
TRANSCRIBE = "transcribe",
|
|
43
44
|
SUBTITLE = "subtitle",
|
|
44
45
|
VIDEO_STITCH = "videoStitch",
|
|
45
46
|
WORKFLOW_REF = "workflowRef"
|
|
@@ -538,4 +539,4 @@ interface WorkflowEdgeData {
|
|
|
538
539
|
}
|
|
539
540
|
type WorkflowEdge = Edge<WorkflowEdgeData>;
|
|
540
541
|
|
|
541
|
-
export { type
|
|
542
|
+
export { type PromptConstructorNodeData as $, type AnimationNodeData as A, type BaseNodeData as B, CONNECTION_RULES as C, type DownloadNodeData as D, type EasingPreset as E, type FrameSelectionMode as F, type GridOutputFormat as G, type HandleDefinition as H, type ImageCompareNodeData as I, type MotionControlMode as J, KlingQuality as K, type LLMNodeData as L, type ModelCapability as M, type NodeType as N, type MotionControlNodeData as O, type NodeCategory as P, NodeCategoryEnum as Q, type NodeStatus as R, NodeStatusEnum as S, NodeTypeEnum as T, type OutputFormat as U, type OutputGalleryNodeData as V, type WorkflowNode as W, type OutputInputType as X, type OutputNodeData as Y, type OutputQuality as Z, ProcessingNodeType as _, type WorkflowEdge as a, type PromptNodeData as a0, type ProviderModel as a1, type ProviderType as a2, ProviderTypeEnum as a3, type ReframeInputType as a4, type ReframeNodeData as a5, ReframeNodeType as a6, type ResizeNodeData as a7, type Resolution as a8, type SelectedModel as a9, type VideoTrimNodeData as aA, type VoiceChangeNodeData as aB, type WorkflowEdgeData as aC, type WorkflowInputNodeData as aD, type WorkflowInterface as aE, type WorkflowInterfaceInput as aF, type WorkflowInterfaceOutput as aG, type WorkflowNodeData as aH, type WorkflowOutputNodeData as aI, type WorkflowRefNodeData as aJ, WorkflowTemplateCategory as aK, type SubtitleNodeData as aa, type SubtitlePosition as ab, type SubtitleStyle as ac, type TTSProvider as ad, type TTSVoice as ae, type TextModel as af, type TextToSpeechNodeData as ag, type TopazEnhanceModel as ah, type TopazUpscaleFactor as ai, type TopazVideoFPS as aj, type TopazVideoResolution as ak, type TrajectoryPoint as al, type TranscribeLanguage as am, type TranscribeNodeData as an, type TransitionType as ao, type UpscaleInputType as ap, type UpscaleModel as aq, type UpscaleNodeData as ar, UpscaleNodeType as as, type VideoDuration as at, type VideoFrameExtractNodeData as au, type VideoGenNodeData as av, type VideoInputNodeData as aw, type VideoModel as ax, type VideoResolution as ay, type VideoStitchNodeData as az, type AnnotationNodeData as b, type AnnotationShapeData as c, type AspectRatio as d, type AudioCodec as e, type AudioInputNodeData as f, type AvailableVariable as g, type CameraMovement as h, type CharacterOrientation as i, type CubicBezier as j, type GridPosition as k, type HandleType as l, HandleTypeEnum as m, type ImageGenNodeData as n, type ImageGridSplitNodeData as o, type ImageInputNodeData as p, type ImageModel as q, type KlingQualityMode as r, type LipSyncMode as s, type LipSyncModel as t, type LipSyncNodeData as u, type LumaAspectRatio as v, type LumaReframeModel as w, ModelCapabilityEnum as x, type ModelUseCase as y, ModelUseCaseEnum as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as NodeType, W as WorkflowNode, a as WorkflowEdge } from './union-BVaWc1Cx.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Node Group Types
|
|
@@ -28,8 +28,13 @@ interface WorkflowFile {
|
|
|
28
28
|
edges: WorkflowEdge[];
|
|
29
29
|
edgeStyle: EdgeStyle;
|
|
30
30
|
groups?: NodeGroup[];
|
|
31
|
-
createdAt
|
|
32
|
-
updatedAt
|
|
31
|
+
createdAt?: string;
|
|
32
|
+
updatedAt?: string;
|
|
33
|
+
metadata?: {
|
|
34
|
+
exportedAt?: string;
|
|
35
|
+
exportedFrom?: string;
|
|
36
|
+
originalId?: string;
|
|
37
|
+
};
|
|
33
38
|
}
|
|
34
39
|
/**
|
|
35
40
|
* Template node with loose typing for data - used in template definitions
|
|
@@ -85,15 +90,5 @@ interface ExecutionResult {
|
|
|
85
90
|
errors: Map<string, string>;
|
|
86
91
|
duration: number;
|
|
87
92
|
}
|
|
88
|
-
interface CostEstimate {
|
|
89
|
-
model: string;
|
|
90
|
-
count: number;
|
|
91
|
-
unitCost: number;
|
|
92
|
-
totalCost: number;
|
|
93
|
-
}
|
|
94
|
-
interface WorkflowCostEstimate {
|
|
95
|
-
items: CostEstimate[];
|
|
96
|
-
totalCost: number;
|
|
97
|
-
}
|
|
98
93
|
|
|
99
|
-
export { type
|
|
94
|
+
export { type EdgeStyle as E, type GroupColor as G, type NodeGroup as N, type TemplateEdge as T, type ValidationError as V, type WorkflowFile as W, EdgeStyleEnum as a, type ExecutionResult as b, type TemplateNode as c, type ValidationResult as d, type WorkflowTemplate as e };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as NodeType, W as WorkflowNode, a as WorkflowEdge } from './union-BVaWc1Cx.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Node Group Types
|
|
@@ -28,8 +28,13 @@ interface WorkflowFile {
|
|
|
28
28
|
edges: WorkflowEdge[];
|
|
29
29
|
edgeStyle: EdgeStyle;
|
|
30
30
|
groups?: NodeGroup[];
|
|
31
|
-
createdAt
|
|
32
|
-
updatedAt
|
|
31
|
+
createdAt?: string;
|
|
32
|
+
updatedAt?: string;
|
|
33
|
+
metadata?: {
|
|
34
|
+
exportedAt?: string;
|
|
35
|
+
exportedFrom?: string;
|
|
36
|
+
originalId?: string;
|
|
37
|
+
};
|
|
33
38
|
}
|
|
34
39
|
/**
|
|
35
40
|
* Template node with loose typing for data - used in template definitions
|
|
@@ -85,15 +90,5 @@ interface ExecutionResult {
|
|
|
85
90
|
errors: Map<string, string>;
|
|
86
91
|
duration: number;
|
|
87
92
|
}
|
|
88
|
-
interface CostEstimate {
|
|
89
|
-
model: string;
|
|
90
|
-
count: number;
|
|
91
|
-
unitCost: number;
|
|
92
|
-
totalCost: number;
|
|
93
|
-
}
|
|
94
|
-
interface WorkflowCostEstimate {
|
|
95
|
-
items: CostEstimate[];
|
|
96
|
-
totalCost: number;
|
|
97
|
-
}
|
|
98
93
|
|
|
99
|
-
export { type
|
|
94
|
+
export { type EdgeStyle as E, type GroupColor as G, type NodeGroup as N, type TemplateEdge as T, type ValidationError as V, type WorkflowFile as W, EdgeStyleEnum as a, type ExecutionResult as b, type TemplateNode as c, type ValidationResult as d, type WorkflowTemplate as e };
|
package/dist/workflow.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import './union-
|
|
1
|
+
export { E as EdgeStyle, a as EdgeStyleEnum, b as ExecutionResult, T as TemplateEdge, c as TemplateNode, V as ValidationError, d as ValidationResult, W as WorkflowFile, e as WorkflowTemplate } from './workflow-BbAp7VSK.mjs';
|
|
2
|
+
import './union-BVaWc1Cx.mjs';
|
|
3
3
|
import '@xyflow/react';
|
package/dist/workflow.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import './union-
|
|
1
|
+
export { E as EdgeStyle, a as EdgeStyleEnum, b as ExecutionResult, T as TemplateEdge, c as TemplateNode, V as ValidationError, d as ValidationResult, W as WorkflowFile, e as WorkflowTemplate } from './workflow-B_Q38s-U.js';
|
|
2
|
+
import './union-BVaWc1Cx.js';
|
|
3
3
|
import '@xyflow/react';
|
package/package.json
CHANGED
|
@@ -1,45 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genfeedai/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"sideEffects": false,
|
|
4
5
|
"license": "AGPL-3.0",
|
|
5
6
|
"description": "Type definitions for Genfeed workflow engine",
|
|
6
7
|
"repository": {
|
|
7
8
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/genfeedai/
|
|
9
|
-
"directory": "
|
|
9
|
+
"url": "git+https://github.com/genfeedai/packages.git",
|
|
10
|
+
"directory": "types"
|
|
10
11
|
},
|
|
11
12
|
"publishConfig": {
|
|
12
13
|
"access": "public",
|
|
13
14
|
"registry": "https://registry.npmjs.org/"
|
|
14
15
|
},
|
|
15
16
|
"main": "./dist/index.js",
|
|
16
|
-
"module": "./dist/index.
|
|
17
|
+
"module": "./dist/index.mjs",
|
|
17
18
|
"types": "./dist/index.d.ts",
|
|
18
19
|
"exports": {
|
|
19
20
|
".": {
|
|
20
21
|
"types": "./dist/index.d.ts",
|
|
21
|
-
"import": "./dist/index.
|
|
22
|
-
"require": "./dist/index.
|
|
22
|
+
"import": "./dist/index.mjs",
|
|
23
|
+
"require": "./dist/index.js"
|
|
23
24
|
},
|
|
24
25
|
"./nodes": {
|
|
25
26
|
"types": "./dist/nodes.d.ts",
|
|
26
|
-
"import": "./dist/nodes.
|
|
27
|
-
"require": "./dist/nodes.
|
|
27
|
+
"import": "./dist/nodes.mjs",
|
|
28
|
+
"require": "./dist/nodes.js"
|
|
28
29
|
},
|
|
29
30
|
"./workflow": {
|
|
30
31
|
"types": "./dist/workflow.d.ts",
|
|
31
|
-
"import": "./dist/workflow.
|
|
32
|
-
"require": "./dist/workflow.
|
|
32
|
+
"import": "./dist/workflow.mjs",
|
|
33
|
+
"require": "./dist/workflow.js"
|
|
33
34
|
},
|
|
34
35
|
"./comfyui": {
|
|
35
36
|
"types": "./dist/comfyui.d.ts",
|
|
36
|
-
"import": "./dist/comfyui.
|
|
37
|
-
"require": "./dist/comfyui.
|
|
37
|
+
"import": "./dist/comfyui.mjs",
|
|
38
|
+
"require": "./dist/comfyui.js"
|
|
38
39
|
},
|
|
39
40
|
"./replicate": {
|
|
40
41
|
"types": "./dist/replicate.d.ts",
|
|
41
|
-
"import": "./dist/replicate.
|
|
42
|
-
"require": "./dist/replicate.
|
|
42
|
+
"import": "./dist/replicate.mjs",
|
|
43
|
+
"require": "./dist/replicate.js"
|
|
43
44
|
},
|
|
44
45
|
"./replicate/schemas.json": "./src/replicate/schemas.json"
|
|
45
46
|
},
|