···11import { z } from "zod";
22import { makeRoute } from "../lib";
33-import { Env } from "./route";
33+import type { Env } from "./route";
4455export const get_domain_status = makeRoute({
66 route: "get_domain_status",
+1-1
app/api/rpc/[command]/getFactsFromHomeLeaflets.ts
···22import type { Fact } from "src/replicache";
33import type { Attribute } from "src/replicache/attributes";
44import { makeRoute } from "../lib";
55-import { Env } from "./route";
55+import type { Env } from "./route";
6677export const getFactsFromHomeLeaflets = makeRoute({
88 route: "getFactsFromHomeLeaflets",
+1-1
app/api/rpc/[command]/get_leaflet_data.ts
···11import { z } from "zod";
22import { makeRoute } from "../lib";
33-import { Env } from "./route";
33+import type { Env } from "./route";
4455export type GetLeafletDataReturnType = Awaited<
66 ReturnType<(typeof get_leaflet_data)["handler"]>
+1-1
app/api/rpc/[command]/pull.ts
···88import { FactWithIndexes } from "src/replicache/utils";
99import type { Attribute } from "src/replicache/attributes";
1010import { makeRoute } from "../lib";
1111-import { Env } from "./route";
1111+import type { Env } from "./route";
12121313// First define the sub-types for V0 and V1 requests
1414const pullRequestV0 = z.object({
+1-1
app/api/rpc/[command]/push.ts
···66import { getClientGroup } from "src/replicache/utils";
77import { makeRoute } from "../lib";
88import { z } from "zod";
99-import { Env } from "./route";
99+import type { Env } from "./route";
1010import postgres from "postgres";
1111import { drizzle } from "drizzle-orm/postgres-js";
1212