flitter-upload/deploy/File

module:flitter-upload/deploy/File :Object

Source:
Properties:
Name Type Attributes Default Description
original_name StringConstructor <optional>
String

The original name of the file.

new_name StringConstructor <optional>
String

The new name of the file. Usually a UUID.

mime StringConstructor <optional>
String

The file's MIME type.

type StringConstructor <optional>
String

The file's type categorization.

Schema for the File model. This is used to track uploaded files. Deployed to "upload/File.model.js" w/in the models folder. Has canonical name: 'upload:File'.