ugcinc 3.45.0 → 3.46.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/types.d.ts +4 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1258,6 +1258,10 @@ export interface RandomInputPort {
|
|
|
1258
1258
|
id: string;
|
|
1259
1259
|
/** Probability weight as integer (0-100, all must sum to 100) */
|
|
1260
1260
|
probability: number;
|
|
1261
|
+
/** Whether this input comes from a variable (input port) vs static default value. Defaults to false. */
|
|
1262
|
+
isVariable?: boolean;
|
|
1263
|
+
/** Default value when isVariable is false (type depends on valueType) */
|
|
1264
|
+
defaultValue?: unknown;
|
|
1261
1265
|
}
|
|
1262
1266
|
/**
|
|
1263
1267
|
* Random node mode
|