Build on the developer machine without Docker, commit dist/, and run on the server with Dockerfile.dist plus compose env_file. Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
392 B
TypeScript
14 lines
392 B
TypeScript
export type CheckRassInput = {
|
|
amount: number;
|
|
dueDate: Date | string;
|
|
};
|
|
export type CheckRassResult = {
|
|
checkCount: number;
|
|
totalAmount: number;
|
|
nearestDueDate: string | null;
|
|
farthestDueDate: string | null;
|
|
rassDays: number;
|
|
rassDate: string | null;
|
|
};
|
|
export declare function calculateCheckRass(checks: CheckRassInput[], baseDate?: Date): CheckRassResult;
|