export interface IStockBase { id: string; symbol: string; stockExchange: string; } export interface IStock extends IStockBase { assetId: string; } export interface IStockInput { id: string; assetId: string; symbol: string; stockExchange: string; } export interface IStockOutput extends IStockBase { assetId: string; } export interface IStockDeleteInput { id: string; } // export interface IStockProperties { // id?: boolean; // assetId?: boolean; // symbol?: boolean; // stockExchange?: boolean; // } // interface IStockRelationProperties { // asset?: IAssetPropertiesConfig; // } // export interface IStockPropertiesConfig { // properties: IStockProperties; // relationProperties?: IStockRelationProperties; // } // export function defaultGetStockProperties(): IStockProperties { // return { // id: true, // assetId: true, // symbol: true, // stockExchange: true, // }; // } // export function defaultGetStockRelationProperties(): IStockRelationProperties { // return { // asset: defaultGetAssetPropertiesConfig(), // }; // } // export function defaultGetStockPropertiesConfig(): IStockPropertiesConfig { // return { // properties: defaultGetStockProperties(), // relationProperties: defaultGetStockRelationProperties(), // }; // }