ugcinc 2.12.0 → 2.13.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/dist/automations.js +15 -0
- package/dist/types.d.ts +2 -1
- package/package.json +1 -1
package/dist/automations.js
CHANGED
|
@@ -120,6 +120,21 @@ function getAllNodes() {
|
|
|
120
120
|
},
|
|
121
121
|
],
|
|
122
122
|
},
|
|
123
|
+
{
|
|
124
|
+
type: "text",
|
|
125
|
+
label: "Text",
|
|
126
|
+
description: "Create text with templated variables",
|
|
127
|
+
category: "Input",
|
|
128
|
+
inputs: [], // Dynamic inputs based on template variables
|
|
129
|
+
outputs: [
|
|
130
|
+
{
|
|
131
|
+
id: "text",
|
|
132
|
+
title: "text",
|
|
133
|
+
type: "text",
|
|
134
|
+
required: true,
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
},
|
|
123
138
|
{
|
|
124
139
|
type: "image-editor",
|
|
125
140
|
label: "Image Editor",
|
package/dist/types.d.ts
CHANGED
|
@@ -566,7 +566,7 @@ export interface NodeControlConfig {
|
|
|
566
566
|
inputs: NodePort[];
|
|
567
567
|
outputs: NodePort[];
|
|
568
568
|
}
|
|
569
|
-
export type NodeTypeEnum = 'image' | 'video' | 'audio' | 'image-editor' | 'video-editor' | 'llm' | 'output';
|
|
569
|
+
export type NodeTypeEnum = 'image' | 'video' | 'audio' | 'text' | 'image-editor' | 'video-editor' | 'llm' | 'output';
|
|
570
570
|
export interface OutputSchemaProperty {
|
|
571
571
|
type: 'string' | 'number' | 'boolean' | 'array' | 'object';
|
|
572
572
|
items?: 'string' | 'number' | 'boolean';
|
|
@@ -581,6 +581,7 @@ export interface WorkflowNodeDefinition {
|
|
|
581
581
|
}>;
|
|
582
582
|
config?: {
|
|
583
583
|
urls?: string[];
|
|
584
|
+
textOptions?: string[];
|
|
584
585
|
videoEditor?: VideoEditorConfig;
|
|
585
586
|
imageEditor?: ImageEditorConfig;
|
|
586
587
|
outputSchema?: Record<string, OutputSchemaProperty>;
|