@vizij/node-graph-authoring 0.0.5 → 0.1.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/README.md +0 -1
- package/dist/{chunk-XYPRZPXJ.js → chunk-6WQOBROM.js} +32 -412
- package/dist/cli/reportIr.cjs +24 -301
- package/dist/cli/reportIr.js +1 -1
- package/dist/index.cjs +33 -422
- package/dist/index.d.cts +2 -13
- package/dist/index.d.ts +2 -13
- package/dist/index.js +1 -11
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GraphSpec, NodeType } from '@vizij/node-graph-wasm';
|
|
2
|
-
import { RigBindingDefinition, RigBindingSlot, BindingValueType, AnimatableComponent, StandardRigInput,
|
|
2
|
+
import { RigBindingDefinition, RigBindingSlot, BindingValueType, AnimatableComponent, StandardRigInput, AnimatableValue, RigBindingMetadata } from '@vizij/utils';
|
|
3
3
|
export { BindingValueType } from '@vizij/utils';
|
|
4
4
|
|
|
5
5
|
type AnimatableBindingSlot = RigBindingSlot;
|
|
@@ -23,7 +23,6 @@ type InputBindingMap = Record<string, AnimatableBinding>;
|
|
|
23
23
|
type StandardInputValues = Record<string, number>;
|
|
24
24
|
declare const PRIMARY_SLOT_ID = "s1";
|
|
25
25
|
declare const PRIMARY_SLOT_ALIAS = "s1";
|
|
26
|
-
declare function createDefaultRemap(target: BindingTarget): RemapSettings;
|
|
27
26
|
declare function createDefaultBindings(components: BindingTarget[]): BindingMap;
|
|
28
27
|
declare function createDefaultBinding(component: BindingTarget): AnimatableBinding;
|
|
29
28
|
declare function createDefaultParentBinding(component: BindingTarget): AnimatableBinding;
|
|
@@ -35,14 +34,10 @@ declare function removeBindingSlot(binding: AnimatableBinding, target: BindingTa
|
|
|
35
34
|
declare function updateBindingSlotAlias(binding: AnimatableBinding, target: BindingTarget, slotId: string, nextAlias: string): AnimatableBinding;
|
|
36
35
|
declare function updateBindingSlotValueType(binding: AnimatableBinding, target: BindingTarget, slotId: string, nextValueType: BindingValueType): AnimatableBinding;
|
|
37
36
|
declare function updateBindingExpression(binding: AnimatableBinding, target: BindingTarget, expression: string): AnimatableBinding;
|
|
38
|
-
declare function updateBindingSlotRemap(binding: AnimatableBinding, target: BindingTarget, slotId: string, field: keyof RemapSettings, value: number): AnimatableBinding;
|
|
39
37
|
declare function updateBindingWithInput(binding: AnimatableBinding, target: BindingTarget, input: StandardRigInput | undefined, slotId?: string): AnimatableBinding;
|
|
40
|
-
declare function remapValue(value: number, remap: RemapSettings): number;
|
|
41
38
|
declare function reconcileBindings(previous: BindingMap, components: BindingTarget[]): BindingMap;
|
|
42
39
|
declare function bindingToDefinition(binding: AnimatableBinding): RigBindingDefinition;
|
|
43
40
|
declare function bindingFromDefinition(target: BindingTarget, definition: RigBindingDefinition | null | undefined): AnimatableBinding;
|
|
44
|
-
declare function buildPiecewiseRemapExpression(alias: string, remap: RemapSettings): string;
|
|
45
|
-
declare function buildDefaultSlotExpression(alias: string, inputId: string | null, remap: RemapSettings): string;
|
|
46
41
|
declare function buildCanonicalBindingExpression(binding: AnimatableBinding): string;
|
|
47
42
|
|
|
48
43
|
type IrValueType = "scalar" | "vector" | "boolean" | "color" | "quaternion" | "transform" | "unknown";
|
|
@@ -99,7 +94,6 @@ interface IrBindingSummary {
|
|
|
99
94
|
slotId: string;
|
|
100
95
|
slotAlias: string;
|
|
101
96
|
inputId: string | null;
|
|
102
|
-
remap: Record<string, unknown>;
|
|
103
97
|
expression: string;
|
|
104
98
|
valueType: "scalar" | "vector";
|
|
105
99
|
nodeId: string;
|
|
@@ -161,7 +155,6 @@ interface GraphBindingSummary {
|
|
|
161
155
|
slotId: string;
|
|
162
156
|
slotAlias: string;
|
|
163
157
|
inputId: string | null;
|
|
164
|
-
remap: RemapSettings;
|
|
165
158
|
expression: string;
|
|
166
159
|
valueType: BindingValueType;
|
|
167
160
|
nodeId: string;
|
|
@@ -234,8 +227,6 @@ interface SlotVariableMetadata {
|
|
|
234
227
|
animatableId: string;
|
|
235
228
|
component?: string;
|
|
236
229
|
valueType: BindingValueType;
|
|
237
|
-
remap?: RemapSettings;
|
|
238
|
-
autoRemap?: boolean;
|
|
239
230
|
}
|
|
240
231
|
interface ReservedVariableMetadata {
|
|
241
232
|
targetId?: string;
|
|
@@ -360,7 +351,6 @@ declare function toIrBindingSummary(summaries: {
|
|
|
360
351
|
slotId: string;
|
|
361
352
|
slotAlias: string;
|
|
362
353
|
inputId: string | null;
|
|
363
|
-
remap: Record<string, unknown>;
|
|
364
354
|
expression: string;
|
|
365
355
|
valueType: "scalar" | "vector";
|
|
366
356
|
issues?: string[];
|
|
@@ -397,7 +387,6 @@ interface MachineBindingSummary {
|
|
|
397
387
|
slotId: string;
|
|
398
388
|
slotAlias: string;
|
|
399
389
|
inputId: string | null;
|
|
400
|
-
remap: RemapSettings;
|
|
401
390
|
expression: string;
|
|
402
391
|
valueType: "scalar" | "vector";
|
|
403
392
|
nodeId: string;
|
|
@@ -494,4 +483,4 @@ interface MachineDiffOptions {
|
|
|
494
483
|
declare function buildMachineReport(result: BuildGraphResult): MachineReport;
|
|
495
484
|
declare function diffMachineReports(actual: MachineReport, expected: MachineReport, options?: MachineDiffOptions): MachineDiffResult;
|
|
496
485
|
|
|
497
|
-
export { type AnimatableBinding, type AnimatableBindingSlot, type BindingMap, type BindingTarget, type BuildGraphOptions, type BuildGraphResult, type ControlExpressionNode, type DiffKind, EXPRESSION_FUNCTION_VOCABULARY, type ExpressionFunctionCategory, type ExpressionParseError, type ExpressionParseResult, type ExpressionValueType, type ExpressionVariableEntry, type ExpressionVariableKind, type ExpressionVariableMissing, type ExpressionVariableTable, type GraphBindingSummary, type InputBindingMap, type IrBindingSummary, type IrCompileOptions, type IrCompileResult, type IrConstant, type IrEdge, type IrGraph, type IrGraphBuilder, type IrGraphBuilderOptions, type IrGraphMetadata, type IrGraphSummary, type IrIssue, type IrLegacyArtifacts, type IrNode, type IrNodeInput, type IrNodeOutput, type IrPortRef, type IrValueType, type LegacyIrGraphPayload, MACHINE_REPORT_VERSION, type MachineBindingSummary, type MachineDiffEntry, type MachineDiffOptions, type MachineDiffResult, type MachineIssues, type MachineReport, type MachineSummary, type NodeInspectionAnnotations, type NormalizedIrBindingSummary, type NormalizedIrConstant, type NormalizedIrEdge, type NormalizedIrGraph, type NormalizedIrGraphMetadata, type NormalizedIrGraphSummary, type NormalizedIrIssue, type NormalizedIrNode, type NormalizedRegistryParamSpec, type NormalizedRegistryPortSpec, type NormalizedRegistrySignature, type NormalizedRegistryVariadicSpec, PRIMARY_SLOT_ALIAS, PRIMARY_SLOT_ID, RESERVED_EXPRESSION_VARIABLES, type RegisterReservedVariableOptions, type RegisterSlotVariableOptions, type ReservedExpressionScope, type ReservedExpressionVariableDefinition, type ReservedVariableMetadata, SCALAR_FUNCTIONS, SCALAR_FUNCTION_VOCABULARY, type ScalarFunctionDefinition, type ScalarFunctionVocabularyEntry, type SlotVariableMetadata, type StandardInputValues, addBindingSlot, bindingFromDefinition, bindingTargetFromComponent, bindingTargetFromInput, bindingToDefinition, buildCanonicalBindingExpression,
|
|
486
|
+
export { type AnimatableBinding, type AnimatableBindingSlot, type BindingMap, type BindingTarget, type BuildGraphOptions, type BuildGraphResult, type ControlExpressionNode, type DiffKind, EXPRESSION_FUNCTION_VOCABULARY, type ExpressionFunctionCategory, type ExpressionParseError, type ExpressionParseResult, type ExpressionValueType, type ExpressionVariableEntry, type ExpressionVariableKind, type ExpressionVariableMissing, type ExpressionVariableTable, type GraphBindingSummary, type InputBindingMap, type IrBindingSummary, type IrCompileOptions, type IrCompileResult, type IrConstant, type IrEdge, type IrGraph, type IrGraphBuilder, type IrGraphBuilderOptions, type IrGraphMetadata, type IrGraphSummary, type IrIssue, type IrLegacyArtifacts, type IrNode, type IrNodeInput, type IrNodeOutput, type IrPortRef, type IrValueType, type LegacyIrGraphPayload, MACHINE_REPORT_VERSION, type MachineBindingSummary, type MachineDiffEntry, type MachineDiffOptions, type MachineDiffResult, type MachineIssues, type MachineReport, type MachineSummary, type NodeInspectionAnnotations, type NormalizedIrBindingSummary, type NormalizedIrConstant, type NormalizedIrEdge, type NormalizedIrGraph, type NormalizedIrGraphMetadata, type NormalizedIrGraphSummary, type NormalizedIrIssue, type NormalizedIrNode, type NormalizedRegistryParamSpec, type NormalizedRegistryPortSpec, type NormalizedRegistrySignature, type NormalizedRegistryVariadicSpec, PRIMARY_SLOT_ALIAS, PRIMARY_SLOT_ID, RESERVED_EXPRESSION_VARIABLES, type RegisterReservedVariableOptions, type RegisterSlotVariableOptions, type ReservedExpressionScope, type ReservedExpressionVariableDefinition, type ReservedVariableMetadata, SCALAR_FUNCTIONS, SCALAR_FUNCTION_VOCABULARY, type ScalarFunctionDefinition, type ScalarFunctionVocabularyEntry, type SlotVariableMetadata, type StandardInputValues, addBindingSlot, bindingFromDefinition, bindingTargetFromComponent, bindingTargetFromInput, bindingToDefinition, buildCanonicalBindingExpression, buildMachineReport, buildRigGraphSpec, collectExpressionReferences, compileIrGraph, createDefaultBinding, createDefaultBindings, createDefaultInputValues, createDefaultParentBinding, createExpressionVariableTable, createIrGraphBuilder, createLegacyIrGraph, diffMachineReports, ensureBindingStructure, getPrimaryBindingSlot, mapExpression, parseControlExpression, reconcileBindings, removeBindingSlot, toIrBindingSummary, updateBindingExpression, updateBindingSlotAlias, updateBindingSlotValueType, updateBindingWithInput };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GraphSpec, NodeType } from '@vizij/node-graph-wasm';
|
|
2
|
-
import { RigBindingDefinition, RigBindingSlot, BindingValueType, AnimatableComponent, StandardRigInput,
|
|
2
|
+
import { RigBindingDefinition, RigBindingSlot, BindingValueType, AnimatableComponent, StandardRigInput, AnimatableValue, RigBindingMetadata } from '@vizij/utils';
|
|
3
3
|
export { BindingValueType } from '@vizij/utils';
|
|
4
4
|
|
|
5
5
|
type AnimatableBindingSlot = RigBindingSlot;
|
|
@@ -23,7 +23,6 @@ type InputBindingMap = Record<string, AnimatableBinding>;
|
|
|
23
23
|
type StandardInputValues = Record<string, number>;
|
|
24
24
|
declare const PRIMARY_SLOT_ID = "s1";
|
|
25
25
|
declare const PRIMARY_SLOT_ALIAS = "s1";
|
|
26
|
-
declare function createDefaultRemap(target: BindingTarget): RemapSettings;
|
|
27
26
|
declare function createDefaultBindings(components: BindingTarget[]): BindingMap;
|
|
28
27
|
declare function createDefaultBinding(component: BindingTarget): AnimatableBinding;
|
|
29
28
|
declare function createDefaultParentBinding(component: BindingTarget): AnimatableBinding;
|
|
@@ -35,14 +34,10 @@ declare function removeBindingSlot(binding: AnimatableBinding, target: BindingTa
|
|
|
35
34
|
declare function updateBindingSlotAlias(binding: AnimatableBinding, target: BindingTarget, slotId: string, nextAlias: string): AnimatableBinding;
|
|
36
35
|
declare function updateBindingSlotValueType(binding: AnimatableBinding, target: BindingTarget, slotId: string, nextValueType: BindingValueType): AnimatableBinding;
|
|
37
36
|
declare function updateBindingExpression(binding: AnimatableBinding, target: BindingTarget, expression: string): AnimatableBinding;
|
|
38
|
-
declare function updateBindingSlotRemap(binding: AnimatableBinding, target: BindingTarget, slotId: string, field: keyof RemapSettings, value: number): AnimatableBinding;
|
|
39
37
|
declare function updateBindingWithInput(binding: AnimatableBinding, target: BindingTarget, input: StandardRigInput | undefined, slotId?: string): AnimatableBinding;
|
|
40
|
-
declare function remapValue(value: number, remap: RemapSettings): number;
|
|
41
38
|
declare function reconcileBindings(previous: BindingMap, components: BindingTarget[]): BindingMap;
|
|
42
39
|
declare function bindingToDefinition(binding: AnimatableBinding): RigBindingDefinition;
|
|
43
40
|
declare function bindingFromDefinition(target: BindingTarget, definition: RigBindingDefinition | null | undefined): AnimatableBinding;
|
|
44
|
-
declare function buildPiecewiseRemapExpression(alias: string, remap: RemapSettings): string;
|
|
45
|
-
declare function buildDefaultSlotExpression(alias: string, inputId: string | null, remap: RemapSettings): string;
|
|
46
41
|
declare function buildCanonicalBindingExpression(binding: AnimatableBinding): string;
|
|
47
42
|
|
|
48
43
|
type IrValueType = "scalar" | "vector" | "boolean" | "color" | "quaternion" | "transform" | "unknown";
|
|
@@ -99,7 +94,6 @@ interface IrBindingSummary {
|
|
|
99
94
|
slotId: string;
|
|
100
95
|
slotAlias: string;
|
|
101
96
|
inputId: string | null;
|
|
102
|
-
remap: Record<string, unknown>;
|
|
103
97
|
expression: string;
|
|
104
98
|
valueType: "scalar" | "vector";
|
|
105
99
|
nodeId: string;
|
|
@@ -161,7 +155,6 @@ interface GraphBindingSummary {
|
|
|
161
155
|
slotId: string;
|
|
162
156
|
slotAlias: string;
|
|
163
157
|
inputId: string | null;
|
|
164
|
-
remap: RemapSettings;
|
|
165
158
|
expression: string;
|
|
166
159
|
valueType: BindingValueType;
|
|
167
160
|
nodeId: string;
|
|
@@ -234,8 +227,6 @@ interface SlotVariableMetadata {
|
|
|
234
227
|
animatableId: string;
|
|
235
228
|
component?: string;
|
|
236
229
|
valueType: BindingValueType;
|
|
237
|
-
remap?: RemapSettings;
|
|
238
|
-
autoRemap?: boolean;
|
|
239
230
|
}
|
|
240
231
|
interface ReservedVariableMetadata {
|
|
241
232
|
targetId?: string;
|
|
@@ -360,7 +351,6 @@ declare function toIrBindingSummary(summaries: {
|
|
|
360
351
|
slotId: string;
|
|
361
352
|
slotAlias: string;
|
|
362
353
|
inputId: string | null;
|
|
363
|
-
remap: Record<string, unknown>;
|
|
364
354
|
expression: string;
|
|
365
355
|
valueType: "scalar" | "vector";
|
|
366
356
|
issues?: string[];
|
|
@@ -397,7 +387,6 @@ interface MachineBindingSummary {
|
|
|
397
387
|
slotId: string;
|
|
398
388
|
slotAlias: string;
|
|
399
389
|
inputId: string | null;
|
|
400
|
-
remap: RemapSettings;
|
|
401
390
|
expression: string;
|
|
402
391
|
valueType: "scalar" | "vector";
|
|
403
392
|
nodeId: string;
|
|
@@ -494,4 +483,4 @@ interface MachineDiffOptions {
|
|
|
494
483
|
declare function buildMachineReport(result: BuildGraphResult): MachineReport;
|
|
495
484
|
declare function diffMachineReports(actual: MachineReport, expected: MachineReport, options?: MachineDiffOptions): MachineDiffResult;
|
|
496
485
|
|
|
497
|
-
export { type AnimatableBinding, type AnimatableBindingSlot, type BindingMap, type BindingTarget, type BuildGraphOptions, type BuildGraphResult, type ControlExpressionNode, type DiffKind, EXPRESSION_FUNCTION_VOCABULARY, type ExpressionFunctionCategory, type ExpressionParseError, type ExpressionParseResult, type ExpressionValueType, type ExpressionVariableEntry, type ExpressionVariableKind, type ExpressionVariableMissing, type ExpressionVariableTable, type GraphBindingSummary, type InputBindingMap, type IrBindingSummary, type IrCompileOptions, type IrCompileResult, type IrConstant, type IrEdge, type IrGraph, type IrGraphBuilder, type IrGraphBuilderOptions, type IrGraphMetadata, type IrGraphSummary, type IrIssue, type IrLegacyArtifacts, type IrNode, type IrNodeInput, type IrNodeOutput, type IrPortRef, type IrValueType, type LegacyIrGraphPayload, MACHINE_REPORT_VERSION, type MachineBindingSummary, type MachineDiffEntry, type MachineDiffOptions, type MachineDiffResult, type MachineIssues, type MachineReport, type MachineSummary, type NodeInspectionAnnotations, type NormalizedIrBindingSummary, type NormalizedIrConstant, type NormalizedIrEdge, type NormalizedIrGraph, type NormalizedIrGraphMetadata, type NormalizedIrGraphSummary, type NormalizedIrIssue, type NormalizedIrNode, type NormalizedRegistryParamSpec, type NormalizedRegistryPortSpec, type NormalizedRegistrySignature, type NormalizedRegistryVariadicSpec, PRIMARY_SLOT_ALIAS, PRIMARY_SLOT_ID, RESERVED_EXPRESSION_VARIABLES, type RegisterReservedVariableOptions, type RegisterSlotVariableOptions, type ReservedExpressionScope, type ReservedExpressionVariableDefinition, type ReservedVariableMetadata, SCALAR_FUNCTIONS, SCALAR_FUNCTION_VOCABULARY, type ScalarFunctionDefinition, type ScalarFunctionVocabularyEntry, type SlotVariableMetadata, type StandardInputValues, addBindingSlot, bindingFromDefinition, bindingTargetFromComponent, bindingTargetFromInput, bindingToDefinition, buildCanonicalBindingExpression,
|
|
486
|
+
export { type AnimatableBinding, type AnimatableBindingSlot, type BindingMap, type BindingTarget, type BuildGraphOptions, type BuildGraphResult, type ControlExpressionNode, type DiffKind, EXPRESSION_FUNCTION_VOCABULARY, type ExpressionFunctionCategory, type ExpressionParseError, type ExpressionParseResult, type ExpressionValueType, type ExpressionVariableEntry, type ExpressionVariableKind, type ExpressionVariableMissing, type ExpressionVariableTable, type GraphBindingSummary, type InputBindingMap, type IrBindingSummary, type IrCompileOptions, type IrCompileResult, type IrConstant, type IrEdge, type IrGraph, type IrGraphBuilder, type IrGraphBuilderOptions, type IrGraphMetadata, type IrGraphSummary, type IrIssue, type IrLegacyArtifacts, type IrNode, type IrNodeInput, type IrNodeOutput, type IrPortRef, type IrValueType, type LegacyIrGraphPayload, MACHINE_REPORT_VERSION, type MachineBindingSummary, type MachineDiffEntry, type MachineDiffOptions, type MachineDiffResult, type MachineIssues, type MachineReport, type MachineSummary, type NodeInspectionAnnotations, type NormalizedIrBindingSummary, type NormalizedIrConstant, type NormalizedIrEdge, type NormalizedIrGraph, type NormalizedIrGraphMetadata, type NormalizedIrGraphSummary, type NormalizedIrIssue, type NormalizedIrNode, type NormalizedRegistryParamSpec, type NormalizedRegistryPortSpec, type NormalizedRegistrySignature, type NormalizedRegistryVariadicSpec, PRIMARY_SLOT_ALIAS, PRIMARY_SLOT_ID, RESERVED_EXPRESSION_VARIABLES, type RegisterReservedVariableOptions, type RegisterSlotVariableOptions, type ReservedExpressionScope, type ReservedExpressionVariableDefinition, type ReservedVariableMetadata, SCALAR_FUNCTIONS, SCALAR_FUNCTION_VOCABULARY, type ScalarFunctionDefinition, type ScalarFunctionVocabularyEntry, type SlotVariableMetadata, type StandardInputValues, addBindingSlot, bindingFromDefinition, bindingTargetFromComponent, bindingTargetFromInput, bindingToDefinition, buildCanonicalBindingExpression, buildMachineReport, buildRigGraphSpec, collectExpressionReferences, compileIrGraph, createDefaultBinding, createDefaultBindings, createDefaultInputValues, createDefaultParentBinding, createExpressionVariableTable, createIrGraphBuilder, createLegacyIrGraph, diffMachineReports, ensureBindingStructure, getPrimaryBindingSlot, mapExpression, parseControlExpression, reconcileBindings, removeBindingSlot, toIrBindingSummary, updateBindingExpression, updateBindingSlotAlias, updateBindingSlotValueType, updateBindingWithInput };
|
package/dist/index.js
CHANGED
|
@@ -12,9 +12,7 @@ import {
|
|
|
12
12
|
bindingTargetFromInput,
|
|
13
13
|
bindingToDefinition,
|
|
14
14
|
buildCanonicalBindingExpression,
|
|
15
|
-
buildDefaultSlotExpression,
|
|
16
15
|
buildMachineReport,
|
|
17
|
-
buildPiecewiseRemapExpression,
|
|
18
16
|
buildRigGraphSpec,
|
|
19
17
|
collectExpressionReferences,
|
|
20
18
|
compileIrGraph,
|
|
@@ -22,7 +20,6 @@ import {
|
|
|
22
20
|
createDefaultBindings,
|
|
23
21
|
createDefaultInputValues,
|
|
24
22
|
createDefaultParentBinding,
|
|
25
|
-
createDefaultRemap,
|
|
26
23
|
createExpressionVariableTable,
|
|
27
24
|
createIrGraphBuilder,
|
|
28
25
|
createLegacyIrGraph,
|
|
@@ -32,15 +29,13 @@ import {
|
|
|
32
29
|
mapExpression,
|
|
33
30
|
parseControlExpression,
|
|
34
31
|
reconcileBindings,
|
|
35
|
-
remapValue,
|
|
36
32
|
removeBindingSlot,
|
|
37
33
|
toIrBindingSummary,
|
|
38
34
|
updateBindingExpression,
|
|
39
35
|
updateBindingSlotAlias,
|
|
40
|
-
updateBindingSlotRemap,
|
|
41
36
|
updateBindingSlotValueType,
|
|
42
37
|
updateBindingWithInput
|
|
43
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-6WQOBROM.js";
|
|
44
39
|
export {
|
|
45
40
|
EXPRESSION_FUNCTION_VOCABULARY,
|
|
46
41
|
MACHINE_REPORT_VERSION,
|
|
@@ -55,9 +50,7 @@ export {
|
|
|
55
50
|
bindingTargetFromInput,
|
|
56
51
|
bindingToDefinition,
|
|
57
52
|
buildCanonicalBindingExpression,
|
|
58
|
-
buildDefaultSlotExpression,
|
|
59
53
|
buildMachineReport,
|
|
60
|
-
buildPiecewiseRemapExpression,
|
|
61
54
|
buildRigGraphSpec,
|
|
62
55
|
collectExpressionReferences,
|
|
63
56
|
compileIrGraph,
|
|
@@ -65,7 +58,6 @@ export {
|
|
|
65
58
|
createDefaultBindings,
|
|
66
59
|
createDefaultInputValues,
|
|
67
60
|
createDefaultParentBinding,
|
|
68
|
-
createDefaultRemap,
|
|
69
61
|
createExpressionVariableTable,
|
|
70
62
|
createIrGraphBuilder,
|
|
71
63
|
createLegacyIrGraph,
|
|
@@ -75,12 +67,10 @@ export {
|
|
|
75
67
|
mapExpression,
|
|
76
68
|
parseControlExpression,
|
|
77
69
|
reconcileBindings,
|
|
78
|
-
remapValue,
|
|
79
70
|
removeBindingSlot,
|
|
80
71
|
toIrBindingSummary,
|
|
81
72
|
updateBindingExpression,
|
|
82
73
|
updateBindingSlotAlias,
|
|
83
|
-
updateBindingSlotRemap,
|
|
84
74
|
updateBindingSlotValueType,
|
|
85
75
|
updateBindingWithInput
|
|
86
76
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizij/node-graph-authoring",
|
|
3
3
|
"description": "Authoring-time graph builder utilities for Vizij node graphs.",
|
|
4
|
-
"version": "0.0
|
|
4
|
+
"version": "0.1.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"README.md"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@vizij/node-graph-wasm": "^0.
|
|
36
|
-
"@vizij/utils": "0.0
|
|
35
|
+
"@vizij/node-graph-wasm": "^0.5.0",
|
|
36
|
+
"@vizij/utils": "0.1.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^22.10.1",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"build": "tsup src/index.ts src/cli/reportIr.ts --format esm,cjs --dts src/index.ts",
|
|
50
50
|
"dev": "tsup src/index.ts src/cli/reportIr.ts --format esm,cjs --watch --dts src/index.ts",
|
|
51
51
|
"typecheck": "tsc --noEmit",
|
|
52
|
-
"test": "
|
|
52
|
+
"test": "node ./scripts/run-vitest.mjs",
|
|
53
53
|
"report:ir": "node dist/cli/reportIr.js",
|
|
54
54
|
"lint": "pnpm --filter \"$npm_package_name\" exec eslint --ext .js,.jsx,.ts,.tsx -- .",
|
|
55
55
|
"lint:fix": "pnpm --filter \"$npm_package_name\" exec eslint --ext .js,.jsx,.ts,.tsx --fix -- .",
|