Skip to content

Commit bbd00ac

Browse files
ci: apply automated fixes
1 parent 64ba501 commit bbd00ac

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

packages/db/src/types.ts

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -626,12 +626,10 @@ export interface BaseCollectionConfig<
626626
*/
627627
onInsert?:
628628
| InsertMutationFn<T, TKey, TUtils, void>
629-
| (
630-
/**
631-
* @deprecated Returning values from mutation handlers is deprecated. Use collection utilities (refetch, awaitTxId, etc.) for sync coordination. This signature will be removed in v1.0.
632-
*/
633-
InsertMutationFn<T, TKey, TUtils, TReturn>
634-
)
629+
/**
630+
* @deprecated Returning values from mutation handlers is deprecated. Use collection utilities (refetch, awaitTxId, etc.) for sync coordination. This signature will be removed in v1.0.
631+
*/
632+
| InsertMutationFn<T, TKey, TUtils, TReturn>
635633

636634
/**
637635
* Optional asynchronous handler function called before an update operation
@@ -688,12 +686,10 @@ export interface BaseCollectionConfig<
688686
*/
689687
onUpdate?:
690688
| UpdateMutationFn<T, TKey, TUtils, void>
691-
| (
692-
/**
693-
* @deprecated Returning values from mutation handlers is deprecated. Use collection utilities (refetch, awaitTxId, etc.) for sync coordination. This signature will be removed in v1.0.
694-
*/
695-
UpdateMutationFn<T, TKey, TUtils, TReturn>
696-
)
689+
/**
690+
* @deprecated Returning values from mutation handlers is deprecated. Use collection utilities (refetch, awaitTxId, etc.) for sync coordination. This signature will be removed in v1.0.
691+
*/
692+
| UpdateMutationFn<T, TKey, TUtils, TReturn>
697693
/**
698694
* Optional asynchronous handler function called before a delete operation
699695
*
@@ -748,12 +744,10 @@ export interface BaseCollectionConfig<
748744
*/
749745
onDelete?:
750746
| DeleteMutationFn<T, TKey, TUtils, void>
751-
| (
752-
/**
753-
* @deprecated Returning values from mutation handlers is deprecated. Use collection utilities (refetch, awaitTxId, etc.) for sync coordination. This signature will be removed in v1.0.
754-
*/
755-
DeleteMutationFn<T, TKey, TUtils, TReturn>
756-
)
747+
/**
748+
* @deprecated Returning values from mutation handlers is deprecated. Use collection utilities (refetch, awaitTxId, etc.) for sync coordination. This signature will be removed in v1.0.
749+
*/
750+
| DeleteMutationFn<T, TKey, TUtils, TReturn>
757751

758752
/**
759753
* Specifies how to compare data in the collection.

0 commit comments

Comments
 (0)