Skip to content

Commit 1307265

Browse files
committed
Update type name
1 parent 472e913 commit 1307265

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/electric-db-collection/src/sql-compiler.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
import { serialize } from "./pg-serializer"
2-
import type { ExternalSubsetParamsRecord } from "@electric-sql/client"
2+
import type { SubsetParams } from "@electric-sql/client"
33
import type { IR, OnLoadMoreOptions } from "@tanstack/db"
44

5-
export type CompiledSqlRecord = Omit<ExternalSubsetParamsRecord, `params`> & {
5+
export type CompiledSqlRecord = Omit<SubsetParams, `params`> & {
66
params?: Array<unknown>
77
}
88

9-
export function compileSQL<T>(
10-
options: OnLoadMoreOptions
11-
): ExternalSubsetParamsRecord {
9+
export function compileSQL<T>(options: OnLoadMoreOptions): SubsetParams {
1210
const { where, orderBy, limit } = options
1311

1412
const params: Array<T> = []

0 commit comments

Comments
 (0)