Skip to content

Commit 1f37103

Browse files
bchapuisclaude
andcommitted
Apply linter formatting fixes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c150d55 commit 1f37103

8 files changed

Lines changed: 10 additions & 10 deletions

File tree

apps/api/src/durable-objects/agent-utils.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ import * as agents from "agents";
1515
* with the x-partykit-room header to initialize the DO name before returning
1616
* the stub. This ensures `this.name` is available for subsequent RPC calls.
1717
*/
18-
export const getAgentByName = (
19-
agents as unknown as Record<string, unknown>
20-
).getAgentByName as <T extends Rpc.DurableObjectBranded | undefined>(
18+
export const getAgentByName = (agents as unknown as Record<string, unknown>)
19+
.getAgentByName as <T extends Rpc.DurableObjectBranded | undefined>(
2120
namespace: DurableObjectNamespace<T>,
2221
name: string
2322
) => Promise<DurableObjectStub<T>>;

apps/api/src/queue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import type { QueueMessage, Workflow } from "@dafthunk/types";
22
import type { Bindings } from "./context";
3-
import { getAgentByName } from "./durable-objects/agent-utils";
43
import { createDatabase } from "./db";
54
import {
65
getOrganizationComputeCredits,
76
getQueueTriggersByQueue,
87
} from "./db/queries";
8+
import { getAgentByName } from "./durable-objects/agent-utils";
99
import { createWorkerRuntime } from "./runtime/cloudflare-worker-runtime";
1010
import { WorkflowStore } from "./stores/workflow-store";
1111

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
export function getSandbox() {
2-
throw new Error("@cloudflare/sandbox is not available outside Workers runtime");
2+
throw new Error(
3+
"@cloudflare/sandbox is not available outside Workers runtime"
4+
);
35
}

packages/runtime/src/base-runtime.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ export abstract class Runtime<Env = unknown> {
347347
discordInteraction,
348348
telegramMessage,
349349
whatsappMessage,
350-
351350
};
352351

353352
// Mutable state

packages/runtime/src/nodes/geo/angle-node.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { NodeContext } from "@dafthunk/runtime";
21
import { angle } from "@dafthunk/geo";
2+
import type { NodeContext } from "@dafthunk/runtime";
33
import { describe, expect, it } from "vitest";
44
import { AngleNode } from "./angle-node";
55

packages/runtime/src/nodes/geo/boolean-crosses-node.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { NodeContext } from "@dafthunk/runtime";
21
import { booleanCrosses } from "@dafthunk/geo";
2+
import type { NodeContext } from "@dafthunk/runtime";
33
import { describe, expect, it } from "vitest";
44
import { BooleanCrossesNode } from "./boolean-crosses-node";
55

packages/runtime/src/nodes/geo/combine-node.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { NodeContext } from "@dafthunk/runtime";
21
import { combine } from "@dafthunk/geo";
2+
import type { NodeContext } from "@dafthunk/runtime";
33
import { describe, expect, it } from "vitest";
44
import { CombineNode } from "./combine-node";
55

packages/runtime/src/nodes/geo/line-offset-node.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ describe("LineOffsetNode", () => {
191191
expect(result.status).toBe("completed");
192192
expect(result.outputs?.offset).toBeDefined();
193193
// @dafthunk/geo lineOffset returns Feature<LineString>
194-
expect(result.outputs?.offset.type).toBe("Feature");
194+
expect(result.outputs?.offset.type).toBe("Feature");
195195
}
196196
});
197197

0 commit comments

Comments
 (0)