@seplan/diti-ds
Version:
Reusable UI component library developed by DITI (Technology and Innovation Directorate of SEPLAN PI) based on Mantine and Tailwind CSS
9 lines • 399 B
TypeScript
export type ParamsRecord = Record<string, string | number | boolean | null | undefined>;
/**
* Build parameters with automatic event scoping
* Handles the common pattern of adding evento_id when not null or 'global'
*/
export declare function buildEventScopedParams({ evento_id, ...params }: ParamsRecord & {
evento_id: string | null;
}): URLSearchParams;
//# sourceMappingURL=params.d.ts.map