Skip to content

Commit fd681d7

Browse files
committed
chore: no longer define ResultType but import from @rocicorp/zero
1 parent 4a898a3 commit fd681d7

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

pnpm-lock.yaml

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/view.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
// based on https://github.com/rocicorp/mono/tree/main/packages/zero-solid
22

3-
import type { Schema } from '@rocicorp/zero'
3+
import type { ResultType, Schema } from '@rocicorp/zero'
44
import type { Change, Entry, Format, HumanReadable, Input, Output, Query, ViewFactory } from '@rocicorp/zero/advanced'
55
import { applyChange } from '@rocicorp/zero/advanced'
66
import { reactive } from 'vue'
77

8-
type ResultType = 'complete' | 'unknown'
9-
108
export interface QueryResultDetails {
119
readonly type: ResultType
1210
}

0 commit comments

Comments
 (0)