@arcane-utils/ingestion
Version:
Ingestion utilities for Arcane
18 lines (15 loc) • 737 B
text/typescript
import { Ingestion } from '@arcane-utils/types';
/**
* Determines if the product evolution information should be called.
*
* This function evaluates whether the product evolution information needs to be updated
* based on the following criteria:
* - The last calculation date is not the same as today.
* - The identifier key exists.
* - The identifier key is not empty.
*
* @param {Ingestion} dataIngestion - The ingestion data object containing product evolution information.
* @returns {boolean} - Returns true if product evolution information should be called, false otherwise.
*/
declare const shouldCallProductEvolutionCalculator: (dataIngestion: Ingestion) => boolean;
export { shouldCallProductEvolutionCalculator };