@bazilio-san/af-stream
Version:
Data stream from database table
54 lines (53 loc) • 1.84 kB
text/typescript
export { IStreamConstructorOptions, Stream } from './Stream';
export { LastTimeRecords } from './LastTimeRecords';
export { RecordsBuffer } from './RecordsBuffer';
export { IStartTimeRedisOptions, StartTimeRedis } from './StartTimeRedis';
export { getVirtualTimeObj, IVirtualTimeObjOptions, VirtualTimeObj } from './VirtualTimeObj';
export {
TDbRecord, TEventRecord, IDbConfig, TSlot,
IEmPortionOfDataCount, IEmPortionOfDataSql,
IEmVirtualHourChanged, IEmVirtualDateChanged,
IEmSubtractedLastTimeRecords, IEmCurrentLastTimeRecords,
IEmBeforeLoadNextPortion, IEmAfterLoadNextPortion, IEmSaveLastTs,
} from './interfaces';
export {
getTimeParamMillis,
getTimeParamFromMillis,
timeParamRE,
padL,
padR,
sleep,
} from './utils/utils';
export {
findIndexOfNearestSmallerLEFT,
findIndexOfNearestSmallerRIGHT,
findIndexOfNearestSmallerBINARY,
findIndexOfNearestSmaller,
// Deprecated
findIndexOfNearestSmallerLEFT as findSmallestIndexLinear, // compatibility
// Deprecated
findIndexOfNearestSmallerRIGHT as findIndexOfNearestSmallFromRight, // compatibility
// Deprecated
findIndexOfNearestSmallerBINARY as findSmallestIndexBinary, // compatibility
// Deprecated
findIndexOfNearestSmaller as findSmallestIndex, // compatibility
} from './utils/find-index-of-nearest-smaller';
export {
findIndexOfNearestSmallerInNumArrayLEFT,
findIndexOfNearestSmallerInNumArrayRIGHT,
findIndexOfNearestSmallerInNumArrayBINARY,
findIndexOfNearestSmallerInNumArray,
} from './utils/find-index-of-nearest-smaller-in-num-array';
export {
findSlotIntLEFT,
findSlotIntRIGHT,
findSlotIntBINARY,
findSlotInt,
} from './utils/find-slot-int';
export {
findSlotFloatLEFT,
findSlotFloatRIGHT,
findSlotFloatBINARY,
findSlotFloat,
} from './utils/find-slot-float';
export { TS_FIELD } from './constants';