Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions packages/orm/src/client/crud/operations/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,16 @@ export const AllReadOperations = [...CoreReadOperations, 'findUniqueOrThrow', 'f
*/
export type AllReadOperations = (typeof AllReadOperations)[number];

/**
* List of all write operations - simply an alias of CoreWriteOperations.
*/
export const AllWriteOperations = CoreWriteOperations;

/**
* List of all write operations - simply an alias of CoreWriteOperations.
*/
export type AllWriteOperations = CoreWriteOperations;

// context for nested relation operations
export type FromRelationContext = {
// the model where the relation field is defined
Expand Down
Loading