@@ -282,10 +282,8 @@ export interface CommonDaoReadOptions extends CommonDaoOptions {
282282 readAt ?: UnixTimestamp
283283}
284284
285- export interface CommonDaoSaveOptions <
286- BM extends BaseDBEntity ,
287- DBM extends BaseDBEntity ,
288- > extends CommonDaoSaveBatchOptions < DBM > {
285+ export interface CommonDaoSaveOptions < BM extends BaseDBEntity , DBM extends BaseDBEntity >
286+ extends CommonDaoSaveBatchOptions < DBM > {
289287 /**
290288 * If provided - a check will be made.
291289 * If the object for saving equals to the object passed to `skipIfEquals` - save operation will be skipped.
@@ -297,9 +295,8 @@ export interface CommonDaoSaveOptions<
297295 skipIfEquals ?: BM
298296}
299297
300- export interface CommonDaoPatchByIdOptions <
301- DBM extends BaseDBEntity ,
302- > extends CommonDaoSaveBatchOptions < DBM > {
298+ export interface CommonDaoPatchByIdOptions < DBM extends BaseDBEntity >
299+ extends CommonDaoSaveBatchOptions < DBM > {
303300 /**
304301 * Defaults to false.
305302 * With false, if the row doesn't exist - it will throw an error.
@@ -310,9 +307,8 @@ export interface CommonDaoPatchByIdOptions<
310307 createIfMissing ?: boolean
311308}
312309
313- export interface CommonDaoPatchOptions <
314- DBM extends BaseDBEntity ,
315- > extends CommonDaoSaveBatchOptions < DBM > {
310+ export interface CommonDaoPatchOptions < DBM extends BaseDBEntity >
311+ extends CommonDaoSaveBatchOptions < DBM > {
316312 /**
317313 * If true - patch will skip loading from DB, and will just optimistically patch passed object.
318314 *
@@ -325,7 +321,8 @@ export interface CommonDaoPatchOptions<
325321 * All properties default to undefined.
326322 */
327323export interface CommonDaoSaveBatchOptions < DBM extends BaseDBEntity >
328- extends CommonDaoOptions , CommonDBSaveOptions < DBM > {
324+ extends CommonDaoOptions ,
325+ CommonDBSaveOptions < DBM > {
329326 /**
330327 * @default false
331328 *
@@ -338,15 +335,16 @@ export interface CommonDaoSaveBatchOptions<DBM extends BaseDBEntity>
338335 // ensureUniqueId?: boolean // feature is currently disabled
339336}
340337
341- export interface CommonDaoStreamDeleteOptions <
342- DBM extends BaseDBEntity ,
343- > extends CommonDaoStreamOptions < DBM > { }
338+ export interface CommonDaoStreamDeleteOptions < DBM extends BaseDBEntity >
339+ extends CommonDaoStreamOptions < DBM > { }
344340
345341export interface CommonDaoStreamSaveOptions < DBM extends BaseDBEntity >
346- extends CommonDaoSaveBatchOptions < DBM > , CommonDaoStreamOptions < DBM > { }
342+ extends CommonDaoSaveBatchOptions < DBM > ,
343+ CommonDaoStreamOptions < DBM > { }
347344
348345export interface CommonDaoStreamOptions < IN >
349- extends CommonDaoReadOptions , TransformLogProgressOptions < IN > {
346+ extends CommonDaoReadOptions ,
347+ TransformLogProgressOptions < IN > {
350348 /**
351349 * @default true (for streams)
352350 */
0 commit comments