@@ -282,8 +282,10 @@ export interface CommonDaoReadOptions extends CommonDaoOptions {
282282 readAt ?: UnixTimestamp
283283}
284284
285- export interface CommonDaoSaveOptions < BM extends BaseDBEntity , DBM extends BaseDBEntity >
286- extends CommonDaoSaveBatchOptions < DBM > {
285+ export interface CommonDaoSaveOptions <
286+ BM extends BaseDBEntity ,
287+ DBM extends BaseDBEntity ,
288+ > extends CommonDaoSaveBatchOptions < DBM > {
287289 /**
288290 * If provided - a check will be made.
289291 * If the object for saving equals to the object passed to `skipIfEquals` - save operation will be skipped.
@@ -295,8 +297,9 @@ export interface CommonDaoSaveOptions<BM extends BaseDBEntity, DBM extends BaseD
295297 skipIfEquals ?: BM
296298}
297299
298- export interface CommonDaoPatchByIdOptions < DBM extends BaseDBEntity >
299- extends CommonDaoSaveBatchOptions < DBM > {
300+ export interface CommonDaoPatchByIdOptions <
301+ DBM extends BaseDBEntity ,
302+ > extends CommonDaoSaveBatchOptions < DBM > {
300303 /**
301304 * Defaults to false.
302305 * With false, if the row doesn't exist - it will throw an error.
@@ -307,8 +310,9 @@ export interface CommonDaoPatchByIdOptions<DBM extends BaseDBEntity>
307310 createIfMissing ?: boolean
308311}
309312
310- export interface CommonDaoPatchOptions < DBM extends BaseDBEntity >
311- extends CommonDaoSaveBatchOptions < DBM > {
313+ export interface CommonDaoPatchOptions <
314+ DBM extends BaseDBEntity ,
315+ > extends CommonDaoSaveBatchOptions < DBM > {
312316 /**
313317 * If true - patch will skip loading from DB, and will just optimistically patch passed object.
314318 *
@@ -321,8 +325,7 @@ export interface CommonDaoPatchOptions<DBM extends BaseDBEntity>
321325 * All properties default to undefined.
322326 */
323327export interface CommonDaoSaveBatchOptions < DBM extends BaseDBEntity >
324- extends CommonDaoOptions ,
325- CommonDBSaveOptions < DBM > {
328+ extends CommonDaoOptions , CommonDBSaveOptions < DBM > {
326329 /**
327330 * @default false
328331 *
@@ -335,16 +338,15 @@ export interface CommonDaoSaveBatchOptions<DBM extends BaseDBEntity>
335338 // ensureUniqueId?: boolean // feature is currently disabled
336339}
337340
338- export interface CommonDaoStreamDeleteOptions < DBM extends BaseDBEntity >
339- extends CommonDaoStreamOptions < DBM > { }
341+ export interface CommonDaoStreamDeleteOptions <
342+ DBM extends BaseDBEntity ,
343+ > extends CommonDaoStreamOptions < DBM > { }
340344
341345export interface CommonDaoStreamSaveOptions < DBM extends BaseDBEntity >
342- extends CommonDaoSaveBatchOptions < DBM > ,
343- CommonDaoStreamOptions < DBM > { }
346+ extends CommonDaoSaveBatchOptions < DBM > , CommonDaoStreamOptions < DBM > { }
344347
345348export interface CommonDaoStreamOptions < IN >
346- extends CommonDaoReadOptions ,
347- TransformLogProgressOptions < IN > {
349+ extends CommonDaoReadOptions , TransformLogProgressOptions < IN > {
348350 /**
349351 * @default true (for streams)
350352 */
0 commit comments