The typeorm implementation of the IAsset interface.

Hierarchy

  • Asset

Implements

Constructors

Properties

createdAt: Date

Automatically generated date when the given asset version was created.

environment: Environment[]

The environments the asset belongs do. It will be deployed only to the specified environments.

isTemplate: boolean

Whether the file contains a template that should be rendered before inserting to the bundle.

name: string

The unique name of the asset.

type: AssetType

The asset type.

uri: string

The path inside the bundle the asset will be in. use / for the root of the bundle.

value: string

Base64 encoded value of the asset file.

version: number

The version of Asset with the given name. Starts at 1 and automatically increments. When updated, the POST body should contain the latest version.

Generated using TypeDoc