import { DatabaseModel } from '..'; import { PortfoliosData } from '../portfolio'; import { Milliseconds } from '../types'; import { PodLog } from './PodLog'; export declare type PodPayload = Partial<{ [userId: string]: PortfoliosData; }>; export interface Pod extends DatabaseModel { id: PodId; payload: PodPayload; /** Used to limit amount of portfolios per pod based on estimated run time. Max run time is a config variable */ totalEstimatedRunTimeMs: Milliseconds; logs: PodLog[]; /** Was this state of the pod processed (live trading executed)? */ processed: boolean; } export declare type PodId = string;