routie dev init since i didn't adhere to any proper guidance up until now

This commit is contained in:
2026-04-29 22:27:29 -06:00
commit e1dabb71e2
15301 changed files with 3562618 additions and 0 deletions
@@ -0,0 +1,15 @@
import { CommonOptions } from '../../types/common-options.js'
/**
* Adjusts a comparison result value based on the specified sort order.
*
* For ascending order, returns the value unchanged. For descending order,
* negates the value to reverse the sort direction.
*
* @param value - The comparison result value to adjust.
* @param order - The order direction ('asc' or 'desc').
* @returns The adjusted comparison value.
*/
export declare function computeOrderedValue(
value: number,
order: CommonOptions['order'],
): number