We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7f127e commit adfbe0eCopy full SHA for adfbe0e
1 file changed
packages/rxdb-db-collection/src/rxdb.ts
@@ -15,6 +15,7 @@ import type {
15
} from "rxdb/plugins/core"
16
17
import type {
18
+ BaseCollectionConfig,
19
CollectionConfig,
20
InferSchemaOutput,
21
SyncConfig,
@@ -45,8 +46,8 @@ export type RxDBCollectionConfig<
45
46
T extends object = Record<string, unknown>,
47
TSchema extends StandardSchemaV1 = never,
48
> = Omit<
- CollectionConfig<T, string, TSchema>,
49
- `insert` | `update` | `delete` | `getKey` | `sync`
+ BaseCollectionConfig<T, string, TSchema>,
50
+ `onInsert` | `onUpdate` | `onDelete` | `getKey`
51
> & {
52
/**
53
* The RxCollection from a RxDB Database instance.
0 commit comments