@@ -137,7 +137,7 @@ describe('getGeneratedSchema', () => {
137137 // You should NOT make any changes in this file as it will be overwritten.
138138
139139 import type { Row } from "@rocicorp/zero";
140- import { createBuilder, createCRUDBuilder } from "@rocicorp/zero";
140+ import { createBuilder } from "@rocicorp/zero";
141141 import type { ZeroCustomType } from "drizzle-zero";
142142 import type { schema as zeroSchema } from "./tests/schemas/one-to-one.zero";
143143
@@ -1048,7 +1048,7 @@ describe('getGeneratedSchema', () => {
10481048
10491049 // Check for @rocicorp /zero imports
10501050 expect ( generatedSchema ) . toContain (
1051- 'import { createBuilder, createCRUDBuilder } from "@rocicorp/zero";' ,
1051+ 'import { createBuilder } from "@rocicorp/zero";' ,
10521052 ) ;
10531053 expect ( generatedSchema ) . toContain (
10541054 'import type { Row } from "@rocicorp/zero";' ,
@@ -1213,7 +1213,7 @@ describe('getGeneratedSchema', () => {
12131213
12141214 // Check for all the new imports
12151215 expect ( generatedSchema ) . toContain (
1216- 'import { createBuilder, createCRUDBuilder } from "@rocicorp/zero";' ,
1216+ 'import { createBuilder } from "@rocicorp/zero";' ,
12171217 ) ;
12181218 expect ( generatedSchema ) . toContain (
12191219 'import type { Row } from "@rocicorp/zero";' ,
@@ -1255,7 +1255,7 @@ describe('getGeneratedSchema', () => {
12551255
12561256 // Should still include builder export but not Row import when no tables
12571257 expect ( generatedSchema ) . toContain (
1258- 'import { createBuilder, createCRUDBuilder } from "@rocicorp/zero";' ,
1258+ 'import { createBuilder } from "@rocicorp/zero";' ,
12591259 ) ;
12601260 expect ( generatedSchema ) . not . toContain (
12611261 'import type { Row } from "@rocicorp/zero";' ,
@@ -1307,7 +1307,7 @@ describe('getGeneratedSchema', () => {
13071307
13081308 // Builder should still be present
13091309 expect ( generatedSchema ) . toContain (
1310- 'import { createBuilder, createCRUDBuilder } from "@rocicorp/zero";' ,
1310+ 'import { createBuilder } from "@rocicorp/zero";' ,
13111311 ) ;
13121312 expect ( generatedSchema ) . toContain (
13131313 'export const zql = createBuilder(schema);' ,
0 commit comments