@genfeedai/types 0.1.1 → 0.2.1
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/replicate.d.mts +52 -201
- package/dist/replicate.d.ts +52 -201
- 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/src/replicate/schemas.json +408 -1227
|
@@ -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.1",
|
|
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
|
},
|