ugcinc 4.1.96 → 4.1.97
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/graph-controller.js +1 -0
- package/dist/automations/nodes/manual-trigger.js +1 -0
- package/dist/automations/nodes/recurrence.js +1 -0
- package/dist/automations/nodes/types.d.ts +4 -0
- package/dist/automations/nodes/types.js +1 -0
- package/dist/automations/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -159,6 +159,8 @@ export interface NodeDefinition<TNodeId extends string, T extends NodeCategory,
|
|
|
159
159
|
isFlowControl: boolean;
|
|
160
160
|
/** If true, this node can be "captured" by a for-each context */
|
|
161
161
|
canBeCaptured: boolean;
|
|
162
|
+
/** If true, this node is hidden from the add node UI */
|
|
163
|
+
hidden: boolean;
|
|
162
164
|
outputModes: OutputModesForCategory<T>;
|
|
163
165
|
selectionModes: SelectionModesForCategory<T>;
|
|
164
166
|
defaults: DefaultsForCategory<T, TDefaults>;
|
|
@@ -255,6 +257,8 @@ export declare function defineNode<TNodeId extends string, T extends NodeCategor
|
|
|
255
257
|
isFlowControl?: boolean;
|
|
256
258
|
/** If true, this node can be "captured" by a for-each context */
|
|
257
259
|
canBeCaptured?: boolean;
|
|
260
|
+
/** If true, this node is hidden from the add node UI */
|
|
261
|
+
hidden?: boolean;
|
|
258
262
|
outputModes: OutputModesForCategory<T>;
|
|
259
263
|
selectionModes: SelectionModesForCategory<T>;
|
|
260
264
|
defaults: DefaultsForCategory<T, TCustomDefaults>;
|
|
@@ -35,6 +35,7 @@ function defineNode(def) {
|
|
|
35
35
|
isInternal: (def.isInternal ?? false),
|
|
36
36
|
isFlowControl: def.isFlowControl ?? false,
|
|
37
37
|
canBeCaptured: def.canBeCaptured ?? false,
|
|
38
|
+
hidden: def.hidden ?? false,
|
|
38
39
|
/**
|
|
39
40
|
* Wrapper that accepts a node (type + config) and calls the typed computePorts.
|
|
40
41
|
* Runtime validates node.type matches this definition.
|
|
@@ -267,6 +267,8 @@ export interface ComputedNode {
|
|
|
267
267
|
selectionModes: SelectionMode[] | null;
|
|
268
268
|
/** Default config values for this node */
|
|
269
269
|
defaults: Record<string, unknown>;
|
|
270
|
+
/** If true, this node is hidden from the add node UI */
|
|
271
|
+
hidden?: boolean;
|
|
270
272
|
}
|
|
271
273
|
export interface OutputSchemaProperty {
|
|
272
274
|
type: 'string' | 'number' | 'boolean' | 'array' | 'object';
|