PersistentAI API Documentation / @persistentai/fireflow-nodes / FileReferencePortSchema
Class: FileReferencePortSchema
Defined in: packages/fireflow-nodes/src/nodes/basic-values/file-reference.ts:25
FileReference schema for port objects. Exported for reuse in frontend (useFileDrop) and other nodes.
NOTE: Direction is NOT set here - schema is direction-agnostic. Direction is determined by @Input/@Output decorator on the node property or by portsConfig when dynamically adding nodes.
Constructors
Constructor
new FileReferencePortSchema():
FileReferencePortSchema
Returns
FileReferencePortSchema
Properties
filename
filename:
string=''
Defined in: packages/fireflow-nodes/src/nodes/basic-values/file-reference.ts:36
id
id:
string=''
Defined in: packages/fireflow-nodes/src/nodes/basic-values/file-reference.ts:30
mimeType
mimeType:
string=''
Defined in: packages/fireflow-nodes/src/nodes/basic-values/file-reference.ts:42
size
size:
number=0
Defined in: packages/fireflow-nodes/src/nodes/basic-values/file-reference.ts:48