Describes the metadata and content of assets - files that will be part of the bundle.

Hierarchy

  • IAsset

Implemented by

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