-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow auto refresh after upsert
- Loading branch information
1 parent
515f9c4
commit 5269392
Showing
5 changed files
with
60 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
export * from './orm.controller.options'; | ||
export * from './orm.create.options'; | ||
export * from './orm.module.options'; | ||
export * from './orm.paginated.response'; | ||
export * from './orm.read.options'; | ||
export * from './orm.read.params'; | ||
export * from './orm.request.validation'; | ||
export * from './orm.service.options'; | ||
export * from './orm.update.options'; | ||
export * from './orm.upsert.options'; | ||
export * from './orm.validation.data'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export interface OrmCreateOptions { | ||
disableRefresh?: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export interface OrmUpdateOptions { | ||
disableRefresh?: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
export interface OrmUpsertOptions { | ||
import { OrmUpdateOptions } from './orm.update.options'; | ||
|
||
export interface OrmUpsertOptions extends OrmUpdateOptions{ | ||
uniqueKey?: string[]; | ||
allowUpdate?: boolean; | ||
disallowRetry?: boolean; | ||
disableRetry?: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters