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.
@@ -485,6 +485,7 @@ function getAllNodes() {
485
485
  outputModes: def.outputModes,
486
486
  selectionModes: def.selectionModes,
487
487
  defaults: def.defaults,
488
+ hidden: def.hidden,
488
489
  });
489
490
  }
490
491
  return results;
@@ -10,6 +10,7 @@ const definition = (0, types_1.defineNode)({
10
10
  description: 'Trigger manually',
11
11
  type: 'trigger',
12
12
  category: 'Triggers',
13
+ hidden: true,
13
14
  outputModes: null,
14
15
  selectionModes: null,
15
16
  defaults: {
@@ -11,6 +11,7 @@ const definition = (0, types_1.defineNode)({
11
11
  description: 'Run continuously',
12
12
  type: 'trigger',
13
13
  category: 'Triggers',
14
+ hidden: true,
14
15
  outputModes: null,
15
16
  selectionModes: null,
16
17
  defaults: {
@@ -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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "4.1.96",
3
+ "version": "4.1.97",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",