Skip to main content

Files

This design is included in the Core module.

Description​

A system file.

Properties​

This design has the following properties.

PropertyValue
NameFiles
Codedesigns_files
TypeDesign
ContextCore
AI agent enabledtrue
AI agent descriptionSystem design representing file attachments stored within Alloy, recording original filename and file size.
Icon-
Colour-
Title-
SubtitleFile

Implements​

This design implements the following interfaces.

NameCode
File System ObjectsdesignInterfaces_fileSystemObjects

Attributes​

This design has the following attributes. It may also inherit attributes from any of the interfaces it implements.

Original Name​

The original filename of the uploaded file as provided by the user.

PropertyValue
NameOriginal Name
Codeattributes_filesOriginalName
TypeString
Requiredtrue
Uniquefalse
Read-onlytrue
AI agent enabledtrue

Size​

The size of the file in bytes.

PropertyValue
NameSize
Codeattributes_filesSize
TypeNumber
Requiredtrue
Uniquefalse
Read-onlytrue
AI agent enabledtrue
Options
{
"decimalPlaces": 0,
"min": 0
}

Auto Delete​

Whether the file is scheduled for automatic deletion. Set by Alloy for import and export files; users can only turn it off to keep the file.

PropertyValue
NameAuto Delete
Codeattributes_filesAutoDelete
TypeBoolean
Requiredfalse
Uniquefalse
Read-onlyfalse
AI agent enabledtrue

Auto Delete On​

The date on or after which the file is automatically deleted, while Auto Delete is on.

PropertyValue
NameAuto Delete On
Codeattributes_filesAutoDeleteOn
TypeDateTime
Requiredfalse
Uniquefalse
Read-onlyfalse
AI agent enabledtrue
Options
{
"precision": "Minutes"
}

Standard paths​

This design doesn't have any standard paths of its own. However, it may inherit standard paths from any of the interfaces it implements.

Permissions​

This design has no defined permissions.