framework-do-dede 6.0.4 → 6.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,8 +15,8 @@ export interface RepositoryRestore<T extends Entity, TResult = T, TOptional exte
15
15
  export type RepositoryRemoveBy<T> = {
16
16
  [K in keyof T & string as `removeBy${Capitalize<K>}`]: (value: T[K]) => Promise<void>;
17
17
  };
18
- export type RepositoryRestoreBy<TKeys, TResult = TKeys extends Entity ? TKeys : Entity, TOptional extends boolean = false> = {
19
- [K in keyof TKeys & string as `restoreBy${Capitalize<K>}`]: (value: TKeys[K]) => Promise<MaybeOptional<TResult, TOptional>>;
18
+ export type RepositoryRestoreBy<TKeys> = {
19
+ [K in keyof TKeys & string as `restoreBy${Capitalize<K>}`]: (value: TKeys[K]) => Promise<any>;
20
20
  };
21
21
  export type RepositoryExistsBy<T> = {
22
22
  [K in keyof T & string as `existsBy${Capitalize<K>}`]: (value: T[K]) => Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "framework-do-dede",
3
- "version": "6.0.4",
3
+ "version": "6.0.5",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",