Skip to content

Commit 82deebc

Browse files
committed
Use functions instead of classes
1 parent 9c23cdb commit 82deebc

File tree

7 files changed

+848
-929
lines changed

7 files changed

+848
-929
lines changed

packages/framework/tree-agent/src/methodBinding.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
import type { TreeNodeSchema, TreeNodeSchemaClass } from "@fluidframework/tree";
88
import { NodeKind } from "@fluidframework/tree";
99
import type { z } from "zod";
10-
11-
import { instanceOf } from "./utils.js";
10+
import { instanceOf } from "./renderZodTypeScript.js";
1211

1312
/**
1413
* A utility type that extracts the method keys from a given type.

packages/framework/tree-agent/src/propertyBinding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import type { TreeNodeSchema, TreeNodeSchemaClass } from "@fluidframework/tree";
88
import type { ZodType, ZodTypeAny, ZodTypeDef, infer as ZodInfer } from "zod";
99

1010
import type { BindableSchema, Ctor } from "./methodBinding.js";
11-
import { instanceOf } from "./utils.js";
11+
import { instanceOf } from "./renderZodTypeScript.js";
1212

1313
/**
1414
* A symbol used to expose properties to the LLM.

0 commit comments

Comments
 (0)