UNPKG

@bit-ui-libs/common

Version:
59 lines (53 loc) 1.48 kB
import { AttachmentData } from '../../common'; import { ChainBaseEventData, ChainBaseEventMetadata } from './chain-base'; import { BaseTypePropertyData } from './customer-base'; import { LocationAccuracy } from '../../asset/interfaces'; export interface ChainAssetEventData extends ChainBaseEventData { assetType?: string; assetCategory?: string[]; assetName?: string; isFavorite?: boolean; assetProperties?: AssetTypePropertyData[]; metadata?: ChainAssetEventMetadata; locationAccuracy?: LocationAccuracy; } export interface ChainAssetEventMetadata extends ChainBaseEventMetadata { assetTypeId?: string; custFileReqId?: string; custFileId?: string; } export interface AssetTypePropertyData extends BaseTypePropertyData { isAssetName?: boolean; } export interface WhenDetails { blockNumber?: string; ownerWalletId?: string; value?: string; valueUsd?: string; transactionFee?: string; transactionFeeUsd?: string; gasPrice?: string; gasPriceUsd?: string; etherPrice?: string; timestamp?: string; coinName?: string; coinPrice?: number; } export interface PublicToken { id: string; typeName: string; orgId?: string; appName: string; name: string; status: string; level: string; eventIdRef?: string; qrCodeId?: string; serializedProps?: AssetTypePropertyData[]; serializedImages?: AttachmentData[]; serializedCategories?: string[]; assetType?: string; city: string; state: string; country: string; }