t3-code-android-nightly/.repos/effect-smol/migration/annotations/effect__MetricHook.yaml
2026-09-07 21:54:44 -07:00

39 lines
2.2 KiB
YAML

effect/MetricHook#counter:
replacement: "Metric.counter"
note: "Hook construction was folded into the complete Metric.counter constructor; hooks are internal."
effect/MetricHook#frequency:
replacement: "Metric.frequency"
note: "Hook construction was folded into the complete Metric.frequency constructor; hooks are internal."
effect/MetricHook#gauge:
replacement: "Metric.gauge"
note: "Hook construction was folded into the complete Metric.gauge constructor; hooks are internal."
effect/MetricHook#histogram:
replacement: "Metric.histogram"
note: "Hook construction was folded into the complete Metric.histogram constructor; hooks are internal."
effect/MetricHook#summary:
replacement: "Metric.summary"
note: "Hook construction was folded into the complete Metric.summary constructor; hooks are internal."
effect/MetricHook#MetricHook:
replacement: "Metric.Metric.Hooks"
note: "The closest public structural interface is Metric.Metric.Hooks<Input, State>; get, update, and modify also receive a Context."
effect/MetricHook#MetricHook.Root:
replacement: "Metric.Metric.Hooks<any, any>"
note: "The named aliases were removed; specialize the public Hooks interface directly when low-level typing is unavoidable."
effect/MetricHook#MetricHook.Untyped:
replacement: "Metric.Metric.Hooks<any, any>"
note: "The named aliases were removed; specialize the public Hooks interface directly when low-level typing is unavoidable."
effect/MetricHook#make:
replacement: "none"
note: "There is no public hook constructor; metric classes create and attach hooks internally."
effect/MetricHook#onModify:
replacement: "none"
note: "The operation-specific hook decorators were removed. Metric.mapInput cannot distinguish update from modify."
effect/MetricHook#onUpdate:
replacement: "none"
note: "The operation-specific hook decorators were removed. Metric.mapInput cannot distinguish update from modify."
effect/MetricHook#MetricHook.Variance:
replacement: "none"
note: "Hooks are structural and unbranded; the variance helper and public symbol were removed."
effect/MetricHook#MetricHookTypeId:
replacement: "none"
note: "Hooks are structural and unbranded; the variance helper and public symbol were removed."