mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-26 21:53:06 +00:00
OH14 — knip: remove unused estimateVotes wrapper and safeMessages
This commit is contained in:
parent
516ecaa745
commit
ce8bf67828
2 changed files with 0 additions and 10 deletions
|
|
@ -222,11 +222,6 @@ export const estimateVotesRecord = async (
|
|||
)
|
||||
}
|
||||
|
||||
export const estimateVotes = async (input: EstimateVotesInput) => {
|
||||
const { payload, actor } = await getCampaignActionContext()
|
||||
return estimateVotesRecord(payload, actor, input)
|
||||
}
|
||||
|
||||
/**
|
||||
* OH6 — estimate with optional CAS on `estimatedAt`. Without `baseEstimatedAt`
|
||||
* this matches `estimateVotes` (last-write-wins). With a base, a stale token
|
||||
|
|
|
|||
|
|
@ -100,10 +100,5 @@ export const VOTE_PLEDGE_DECLARE_SAFE_MESSAGES = [
|
|||
OPS_UPDATED_AT_CONFLICT_MESSAGE,
|
||||
] as const
|
||||
|
||||
export const VOTE_PLEDGE_ESTIMATE_SAFE_MESSAGES = [
|
||||
VOTE_PLEDGE_ESTIMATE_STAFF_MESSAGE,
|
||||
OPS_ESTIMATE_CONFLICT_MESSAGE,
|
||||
] as const
|
||||
|
||||
export type DeclareVotesInput = z.input<typeof declareVotesSchema>
|
||||
export type EstimateVotesInput = z.input<typeof estimateVotesSchema>
|
||||
|
|
|
|||
Loading…
Reference in a new issue