|
|
@ -1,4 +1,5 @@ |
|
|
|
using System.Reflection; |
|
|
|
using System.ComponentModel; |
|
|
|
|
|
|
|
using System.Reflection; |
|
|
|
using System.Text.Json.Serialization; |
|
|
|
using System.Text.Json.Serialization; |
|
|
|
using StabilityMatrix.Core.Attributes; |
|
|
|
using StabilityMatrix.Core.Attributes; |
|
|
|
using StabilityMatrix.Core.Models.Api.Comfy.NodeTypes; |
|
|
|
using StabilityMatrix.Core.Models.Api.Comfy.NodeTypes; |
|
|
@ -8,6 +9,7 @@ namespace StabilityMatrix.Core.Models.Api.Comfy.Nodes; |
|
|
|
|
|
|
|
|
|
|
|
public abstract record ComfyTypedNodeBase |
|
|
|
public abstract record ComfyTypedNodeBase |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
[Localizable(false)] |
|
|
|
protected virtual string ClassType |
|
|
|
protected virtual string ClassType |
|
|
|
{ |
|
|
|
{ |
|
|
|
get |
|
|
|
get |
|
|
@ -28,6 +30,7 @@ public abstract record ComfyTypedNodeBase |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Localizable(false)] |
|
|
|
[JsonIgnore] |
|
|
|
[JsonIgnore] |
|
|
|
public required string Name { get; init; } |
|
|
|
public required string Name { get; init; } |
|
|
|
|
|
|
|
|
|
|
|