connectfy-shared 0.0.118 → 0.0.119

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.
package/dist/index.d.cts CHANGED
@@ -826,7 +826,7 @@ interface IBooleanFieldOptions extends IBaseFieldOptions {
826
826
  }
827
827
  type FieldValidatorOptions = IStringFieldOptions | INumberFieldOptions | IEnumFieldOptions | IDateFieldOptions | IArrayFieldOptions | IObjectFieldOptions | IBooleanFieldOptions;
828
828
 
829
- declare abstract class BaseRepository<TDocument extends Document, TInterface extends IBaseRepositoryInterface, CreateDto = Partial<TDocument>, UpdateDto = any> {
829
+ declare abstract class BaseRepository<TDocument extends Document<any, any, any>, TInterface extends IBaseRepositoryInterface, CreateDto = Partial<TDocument>, UpdateDto = any> {
830
830
  protected readonly model: Model<TDocument>;
831
831
  protected constructor(model: Model<TDocument>);
832
832
  create(data: CreateDto, opts?: IBaseRepositoryOptions): Promise<TInterface>;
package/dist/index.d.ts CHANGED
@@ -826,7 +826,7 @@ interface IBooleanFieldOptions extends IBaseFieldOptions {
826
826
  }
827
827
  type FieldValidatorOptions = IStringFieldOptions | INumberFieldOptions | IEnumFieldOptions | IDateFieldOptions | IArrayFieldOptions | IObjectFieldOptions | IBooleanFieldOptions;
828
828
 
829
- declare abstract class BaseRepository<TDocument extends Document, TInterface extends IBaseRepositoryInterface, CreateDto = Partial<TDocument>, UpdateDto = any> {
829
+ declare abstract class BaseRepository<TDocument extends Document<any, any, any>, TInterface extends IBaseRepositoryInterface, CreateDto = Partial<TDocument>, UpdateDto = any> {
830
830
  protected readonly model: Model<TDocument>;
831
831
  protected constructor(model: Model<TDocument>);
832
832
  create(data: CreateDto, opts?: IBaseRepositoryOptions): Promise<TInterface>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connectfy-shared",
3
- "version": "0.0.118",
3
+ "version": "0.0.119",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {