From d50f16cb573eceae58936fdd162358121f05eeeb Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 2 Aug 2026 23:06:35 +0000 Subject: [PATCH] chore: format B141 files --- docs/plans/apoiadores-omnibox-fonte-impl.md | 1 + src/lib/schemas/supporter.ts | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/plans/apoiadores-omnibox-fonte-impl.md b/docs/plans/apoiadores-omnibox-fonte-impl.md index 7005c70b..cc0fb3f1 100644 --- a/docs/plans/apoiadores-omnibox-fonte-impl.md +++ b/docs/plans/apoiadores-omnibox-fonte-impl.md @@ -24,6 +24,7 @@ flowchart LR ``` **Opções consideradas:** + - A) Estender `SupporterListState` + omnibox adapter (padrão B128) - B) Filtro só na UI sem URL (rejeitado — quebra compartilhamento/deep-link) - C) Multi-select OR de fontes (rejeitado — produto assume exclusivo) diff --git a/src/lib/schemas/supporter.ts b/src/lib/schemas/supporter.ts index 2b4700c6..aea5e673 100644 --- a/src/lib/schemas/supporter.ts +++ b/src/lib/schemas/supporter.ts @@ -42,13 +42,7 @@ export type SupporterVoteIntention = (typeof supporterVoteIntentions)[number] export const isSupporterVoteIntention = (value: unknown): value is SupporterVoteIntention => typeof value === 'string' && (supporterVoteIntentions as readonly string[]).includes(value) -const supporterSources = [ - 'import_csv', - 'manual', - 'lideranca', - 'convite', - 'evento', -] as const +const supporterSources = ['import_csv', 'manual', 'lideranca', 'convite', 'evento'] as const export type SupporterSource = (typeof supporterSources)[number]