refactor: remover funções, tipos e exports não utilizados

Remove createActionHandler, validateHashToken, decimalSchema,
optionalPeriodSchema, dateStringSchema, amountSchema, FeedbackDialog
standalone, CalendarEventType, parseDateKey, entre outros.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Felipe Coutinho
2026-02-27 15:40:59 +00:00
parent e644d67022
commit 3f3488c8a0
12 changed files with 1 additions and 261 deletions

View File

@@ -227,17 +227,3 @@ export function extractBearerToken(authHeader: string | null): string | null {
const match = authHeader.match(/^Bearer\s+(.+)$/i);
return match ? match[1] : null;
}
/**
* Validate a hash-based API token (os_xxx format)
* Returns the token hash for database lookup
*/
export function validateHashToken(token: string): {
valid: boolean;
tokenHash?: string;
} {
if (!token || !token.startsWith("os_")) {
return { valid: false };
}
return { valid: true, tokenHash: hashToken(token) };
}