diff --git a/docs/plans/ops-hibrido-rsc-local-spec.md b/docs/plans/ops-hibrido-rsc-local-spec.md index 98a11957..e052c28f 100644 --- a/docs/plans/ops-hibrido-rsc-local-spec.md +++ b/docs/plans/ops-hibrido-rsc-local-spec.md @@ -128,7 +128,7 @@ Sem migration, sem collection, sem server action **nesta** Issue (só spec). | ID | Issue | Depende de | Entrega curta | | ---- | ----- | ------------- | ------------------------------------------------- | -| OH2 | #163 | OH1 | `lib/campaignOps` contrato + merge | +| OH2 | #163 | OH1 | `lib/campaignOps` contrato + merge | | OH3 | #165 | OH2 | Benchmark snapshot + truncamento | | OH4 | #166 | OH3 | `GET /campanha/api/ops-sync` FULL + access | | OH5 | #168 | OH4 | SyncProvider + OPFS→IDB + poll + chrome | diff --git a/src/app/(campaign)/campanha/(app)/demandas/[slug]/formActions.ts b/src/app/(campaign)/campanha/(app)/demandas/[slug]/formActions.ts index 2d9840a7..72c1dc51 100644 --- a/src/app/(campaign)/campanha/(app)/demandas/[slug]/formActions.ts +++ b/src/app/(campaign)/campanha/(app)/demandas/[slug]/formActions.ts @@ -6,10 +6,7 @@ import { attachCampaignDemandReceiptRecord, setCampaignDemandCost, } from '@/app/(campaign)/campanha/actions/demand' -import { - FormDataBoundaryError, - requiredRelationshipFormValue, -} from '@/lib/formData' +import { FormDataBoundaryError, requiredRelationshipFormValue } from '@/lib/formData' import { CAMPAIGN_DEMAND_COST_STAFF_MESSAGE, CAMPAIGN_DEMAND_RECEIPT_SAFE_MESSAGES, diff --git a/src/app/(campaign)/campanha/(app)/demandas/[slug]/page.tsx b/src/app/(campaign)/campanha/(app)/demandas/[slug]/page.tsx index bb3db5ad..02c8956e 100644 --- a/src/app/(campaign)/campanha/(app)/demandas/[slug]/page.tsx +++ b/src/app/(campaign)/campanha/(app)/demandas/[slug]/page.tsx @@ -17,10 +17,7 @@ import { import { isCampaignUnrestricted } from '@/utilities/campaignAccess' import { loadDemandDetail } from '@/utilities/campaignDemandData' import { requireCampaignPageActor } from '@/utilities/campaignPageActor' -import { - attachDemandReceiptFormAction, - setDemandCostFormAction, -} from './formActions' +import { attachDemandReceiptFormAction, setDemandCostFormAction } from './formActions' type DemandDetailPageProps = { params: Promise<{ slug: string }> diff --git a/src/components/campaign/municipality/MunicipalityListAdvisorsControl.tsx b/src/components/campaign/municipality/MunicipalityListAdvisorsControl.tsx index 36fdb38c..bf0936d6 100644 --- a/src/components/campaign/municipality/MunicipalityListAdvisorsControl.tsx +++ b/src/components/campaign/municipality/MunicipalityListAdvisorsControl.tsx @@ -27,9 +27,9 @@ import { Alert, AlertDescription } from '@/components/ui/Alert' import { Badge } from '@/components/ui/Badge' import { Command, CommandInput, CommandItem, CommandList } from '@/components/ui/Command' import { Spinner } from '@/components/ui/Spinner' -import { cn } from '@/lib/utils' -import { OPS_UPDATED_AT_CONFLICT_MESSAGE } from '@/lib/schemas/opsCas' import { sameIdSet } from '@/lib/sameIdSet' +import { OPS_UPDATED_AT_CONFLICT_MESSAGE } from '@/lib/schemas/opsCas' +import { cn } from '@/lib/utils' import { matchesAtWordStart } from '@/lib/wordStartFilter' import type { EligibleAdvisorOption,