mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-14 17:43:04 +00:00
Lean tile loader avoids org/deputy fetches; server sorts names; info button is no longer nested inside the tile button.
18 lines
612 B
TypeScript
18 lines
612 B
TypeScript
import type { CampaignWizardActionId } from '@/lib/campaignActionRoutes'
|
|
import type { SupportStatus } from '@/lib/schemas/leadership'
|
|
|
|
/** Client-safe tile payload for the B70 leadership wizard grid. */
|
|
export type WizardLeadershipTileViewModel = {
|
|
id: number
|
|
name: string
|
|
phone: string | null
|
|
email: string | null
|
|
supportStatus: SupportStatus | null
|
|
exclusive: boolean
|
|
notes: string | null
|
|
}
|
|
|
|
export const showLeadershipWizardSkip = (entryAction?: CampaignWizardActionId): boolean => {
|
|
const effectiveEntry = entryAction ?? 'update-leadership'
|
|
return effectiveEntry !== 'update-leadership'
|
|
}
|