@cranberry-money/shared-types
Version:
Shared TypeScript type definitions for Blueberry platform
29 lines • 813 B
TypeScript
import type { Asset } from './asset';
export interface AssetAllocation {
uuid: string;
portfolio: string;
asset: string;
assetName: string;
assetSymbol: string;
assetDisplayName: string;
assetCurrency?: string;
percentage: string;
currentQuantity?: number;
currentAllocationPercentage?: string;
currentMarketValue?: string;
}
export type CreateAssetAllocation = {
portfolio: string;
asset: string;
percentage: string;
currentQuantity?: number;
currentAllocationPercentage?: string;
currentMarketValue?: string;
};
export type UpdateAssetAllocation = Partial<Pick<AssetAllocation, 'percentage'>>;
export interface TargetAssetAllocation {
uuid: string;
asset: Asset;
percentage: string;
}
//# sourceMappingURL=asset-allocation.d.ts.map