@tensorify.io/sdk
Version:
TypeScript SDK for developing Tensorify plugins with V2-Alpha definition/execution pattern and legacy compatibility
26 lines • 980 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NextNodeAsOutput = exports.PrevNodeAsInput = void 0;
const visual_1 = require("../types/visual");
// V2-Alpha: These handles are now optional - only needed for backward compatibility with V2-Beta
// The new architecture uses typed ports instead of prev/next navigation
exports.PrevNodeAsInput = {
id: "prev",
position: visual_1.HandlePosition.LEFT,
viewType: visual_1.HandleViewType.DEFAULT,
required: false, // Changed to false for V2-Alpha
label: "Prev",
edgeType: visual_1.EdgeType.DEFAULT,
dataType: "any",
description: "Previous node output (legacy)",
};
exports.NextNodeAsOutput = {
id: "next",
position: visual_1.HandlePosition.RIGHT,
viewType: visual_1.HandleViewType.DEFAULT,
label: "Next",
edgeType: visual_1.EdgeType.DEFAULT,
dataType: "any",
description: "Flow to next node (legacy)",
};
//# sourceMappingURL=handles.js.map