mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-23 16:13:04 +00:00
chore: format B141 files
This commit is contained in:
parent
b509c7d7b3
commit
d50f16cb57
2 changed files with 2 additions and 7 deletions
|
|
@ -24,6 +24,7 @@ flowchart LR
|
||||||
```
|
```
|
||||||
|
|
||||||
**Opções consideradas:**
|
**Opções consideradas:**
|
||||||
|
|
||||||
- A) Estender `SupporterListState` + omnibox adapter (padrão B128)
|
- A) Estender `SupporterListState` + omnibox adapter (padrão B128)
|
||||||
- B) Filtro só na UI sem URL (rejeitado — quebra compartilhamento/deep-link)
|
- B) Filtro só na UI sem URL (rejeitado — quebra compartilhamento/deep-link)
|
||||||
- C) Multi-select OR de fontes (rejeitado — produto assume exclusivo)
|
- C) Multi-select OR de fontes (rejeitado — produto assume exclusivo)
|
||||||
|
|
|
||||||
|
|
@ -42,13 +42,7 @@ export type SupporterVoteIntention = (typeof supporterVoteIntentions)[number]
|
||||||
export const isSupporterVoteIntention = (value: unknown): value is SupporterVoteIntention =>
|
export const isSupporterVoteIntention = (value: unknown): value is SupporterVoteIntention =>
|
||||||
typeof value === 'string' && (supporterVoteIntentions as readonly string[]).includes(value)
|
typeof value === 'string' && (supporterVoteIntentions as readonly string[]).includes(value)
|
||||||
|
|
||||||
const supporterSources = [
|
const supporterSources = ['import_csv', 'manual', 'lideranca', 'convite', 'evento'] as const
|
||||||
'import_csv',
|
|
||||||
'manual',
|
|
||||||
'lideranca',
|
|
||||||
'convite',
|
|
||||||
'evento',
|
|
||||||
] as const
|
|
||||||
|
|
||||||
export type SupporterSource = (typeof supporterSources)[number]
|
export type SupporterSource = (typeof supporterSources)[number]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue