feat: consolidar desenvolvimentos do portal InvestMoz

This commit is contained in:
2026-11-03 23:32:32 +02:00
parent 1da273f1f3
commit 36c8cadb49
345 changed files with 110714 additions and 2799 deletions
+17
View File
@@ -0,0 +1,17 @@
export type CompanyAnswers = Record<string, string>;
export function companyComparisonUrl(
base: string,
answers: CompanyAnswers,
field = 'answers',
): string {
return (
base +
'?' +
new URLSearchParams(
Object.entries(answers).map(([key, value]) => [
`${field}[${key}]`,
value,
]),
)
);
}