...
Code Block | ||
---|---|---|
| ||
export interface AssetMessage {
assetId: number;
assetType: string;
selectedQualityId: number;
itemId: number;
title: string;
description: string;
downloadUrl: string;
thumb: string;
extension: string;
lastModifiedTimeInMs: number;
hashSha1: string;
isCustomFormat: boolean;
}
export class DigizuiteAssetPostMessage implements DigizuitePostMessage {
messageType = MessageType.AssetMessage;
assets: AssetMessage[];
constructor(assets: AssetMessage[]) {
this.assets = assets;
}
} |
When the insert button is clicked on the asset card, the event emitted contains the following information about the asset