Home > @infiniteobjects/shopify-data-manager > AdminTypes > GenericFile
Represents any file other than HTML.
Signature:
export interface GenericFile extends File, Node
Extends: File, Node
Property | Modifiers | Type | Description |
---|---|---|---|
alt? | Maybe<Scalars[‘String’][‘output’]> | (Optional) A word or phrase to describe the contents or the function of a file. | |
createdAt | Scalars[‘DateTime’][‘output’] | The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created. | |
fileErrors | Array<FileError> | Any errors that have occurred on the file. | |
fileStatus | FileStatus | `${FileStatus}` | The status of the file. | |
id | Scalars[‘ID’][‘output’] | A globally-unique ID. | |
mimeType? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The generic file’s MIME type. | |
originalFileSize? | Maybe<Scalars[‘Int’][‘output’]> | (Optional) The generic file’s size in bytes. | |
preview? | Maybe<MediaPreviewImage> | (Optional) The preview image for the media. | |
updatedAt | Scalars[‘DateTime’][‘output’] | The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated. | |
url? | Maybe<Scalars[‘URL’][‘output’]> | (Optional) The generic file’s URL. |