1import * as Effect from "effect/Effect";
2import type { BindingHook } from "../PluginContext.ts";
3
4export const local = (binding: string): BindingHook =>
5 Effect.succeed({
6 name: binding,
7 json: JSON.stringify({
8 id: crypto.randomUUID(),
9 tag: "",
10 timestamp: "0",
11 }),
12 });