@xeno-js/core 1.2.11 → 1.2.12

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
@@ -2019,8 +2019,8 @@ declare abstract class BaseHttpAdapter<TReq = ExtendedRequest, TRes = Response>
2019
2019
  * @link https://github.com/xeno-js/xeno-js
2020
2020
  */
2021
2021
  declare abstract class ReadDao<T, TDto> implements IReadDao<T> {
2022
- private readonly _dataSource;
2023
- private readonly _mapper;
2022
+ protected readonly _dataSource: IReadDataSource<TDto>;
2023
+ protected readonly _mapper: IMapper<T, TDto>;
2024
2024
  /**
2025
2025
  * Constructs a new ReadDao instance.
2026
2026
  * @param _dataSource An instance of IReadDataSource used to execute SQL queries and commands for data access.
@@ -2049,8 +2049,8 @@ declare abstract class ReadDao<T, TDto> implements IReadDao<T> {
2049
2049
  * @link https://github.com/xeno-js/xeno-js
2050
2050
  */
2051
2051
  declare abstract class Repository<T, TDto> implements IRepository<T> {
2052
- private readonly _dataSource;
2053
- private readonly _mapper;
2052
+ protected readonly _dataSource: IWriteDataSource<TDto>;
2053
+ protected readonly _mapper: IMapper<T, TDto>;
2054
2054
  /**
2055
2055
  * Constructs a new Repository instance.
2056
2056
  * @param _dataSource An instance of IWriteDataSource used to execute SQL queries and commands for data access.
package/dist/index.d.ts CHANGED
@@ -2019,8 +2019,8 @@ declare abstract class BaseHttpAdapter<TReq = ExtendedRequest, TRes = Response>
2019
2019
  * @link https://github.com/xeno-js/xeno-js
2020
2020
  */
2021
2021
  declare abstract class ReadDao<T, TDto> implements IReadDao<T> {
2022
- private readonly _dataSource;
2023
- private readonly _mapper;
2022
+ protected readonly _dataSource: IReadDataSource<TDto>;
2023
+ protected readonly _mapper: IMapper<T, TDto>;
2024
2024
  /**
2025
2025
  * Constructs a new ReadDao instance.
2026
2026
  * @param _dataSource An instance of IReadDataSource used to execute SQL queries and commands for data access.
@@ -2049,8 +2049,8 @@ declare abstract class ReadDao<T, TDto> implements IReadDao<T> {
2049
2049
  * @link https://github.com/xeno-js/xeno-js
2050
2050
  */
2051
2051
  declare abstract class Repository<T, TDto> implements IRepository<T> {
2052
- private readonly _dataSource;
2053
- private readonly _mapper;
2052
+ protected readonly _dataSource: IWriteDataSource<TDto>;
2053
+ protected readonly _mapper: IMapper<T, TDto>;
2054
2054
  /**
2055
2055
  * Constructs a new Repository instance.
2056
2056
  * @param _dataSource An instance of IWriteDataSource used to execute SQL queries and commands for data access.