Files
klz-cables.com/.pnpm-store/v10/files/3f/bb248cdf88b3b5a7729c5312d9c55bccd73f3a89bcaa3136824cf176f803f9049542b25110318d8915a8918f0f113275befd6e021733aa0a90b29764649e50
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

73 lines
1.8 KiB
Plaintext

declare enum VALUE_RANGES {
NEGATIVE = 0,
NON_NEGATIVE = 1,
POSITIVE = 2,
NON_POSITIVE = 3
}
declare enum VALUE_TYPES {
INT = 0,
FLOAT = 1
}
declare const VALIDATIONS: {
NonPositiveInt: {
range: VALUE_RANGES;
type: VALUE_TYPES;
};
PositiveInt: {
range: VALUE_RANGES;
type: VALUE_TYPES;
};
NonNegativeInt: {
range: VALUE_RANGES;
type: VALUE_TYPES;
};
NegativeInt: {
range: VALUE_RANGES;
type: VALUE_TYPES;
};
NonPositiveFloat: {
range: VALUE_RANGES;
type: VALUE_TYPES;
};
PositiveFloat: {
range: VALUE_RANGES;
type: VALUE_TYPES;
};
NonNegativeFloat: {
range: VALUE_RANGES;
type: VALUE_TYPES;
};
NegativeFloat: {
range: VALUE_RANGES;
type: VALUE_TYPES;
};
};
export declare function processValue(value: any, scalarName: keyof typeof VALIDATIONS): number;
/**
* Check if the value is in decimal format.
*
* @param value - Value to check
* @returns True if is decimal, false otherwise
*/
export declare function isDecimal(value: any): boolean;
/**
* Check if the value is in sexagesimal format.
*
* @param value - Value to check
* @returns True if sexagesimal, false otherwise
*/
export declare function isSexagesimal(value: any): boolean;
/**
* Converts a sexagesimal coordinate to decimal format.
*
* @param value - Value to convert
* @returns Decimal coordinate
* @throws {TypeError} if the value is not in sexagesimal format
*/
export declare function sexagesimalToDecimal(value: any): number;
export declare function isObjectLike(value: unknown): value is {
[key: string]: unknown;
};
export declare function serializeObject(outputValue: unknown): unknown;
export {};