UNPKG

@accounter/server

Version:

The test suite is split into three Vitest projects for efficiency and isolation:

6 lines (5 loc) 419 B
import type { Injector } from 'graphql-modules'; import type { TimelessDateString } from '../../../shared/types/index.js'; import type { IGetChargesByIdsResult } from '../../charges/types.js'; export declare function getMinDate(dates: (Date | null | undefined)[]): Date | null; export declare function isChargeLocked(charge: IGetChargesByIdsResult, injector: Injector, lockDate?: TimelessDateString): Promise<boolean>;