@hichchi/nest-crud 0.0.4 → 0.0.6
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/CHANGELOG.md +24 -8
- package/README.md +319 -273
- package/base/base-entity.js +1 -0
- package/base/base-entity.js.map +1 -1
- package/base/base-user.entity.d.ts +11 -1
- package/base/base-user.entity.js +24 -9
- package/base/base-user.entity.js.map +1 -1
- package/package.json +4 -4
- package/services/crud.service.d.ts +2 -1
- package/services/crud.service.js +3 -2
- package/services/crud.service.js.map +1 -1
package/README.md
CHANGED
|
@@ -1503,7 +1503,7 @@ Complete technical reference for all classes, interfaces, methods, and types in
|
|
|
1503
1503
|
|
|
1504
1504
|
### BaseEntity
|
|
1505
1505
|
|
|
1506
|
-
Defined in: [libs/nest-crud/src/base/base-entity.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
1506
|
+
Defined in: [libs/nest-crud/src/base/base-entity.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity.ts#L51)
|
|
1507
1507
|
|
|
1508
1508
|
Base entity class that provides common fields and functionality for all entities
|
|
1509
1509
|
|
|
@@ -1565,7 +1565,7 @@ new BaseEntity(): BaseEntity;
|
|
|
1565
1565
|
protected optional afterLoad(): void;
|
|
1566
1566
|
```
|
|
1567
1567
|
|
|
1568
|
-
Defined in: [libs/nest-crud/src/base/base-entity.ts:156](https://github.com/hichchidev/hichchi/blob/
|
|
1568
|
+
Defined in: [libs/nest-crud/src/base/base-entity.ts:156](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity.ts#L156)
|
|
1569
1569
|
|
|
1570
1570
|
Lifecycle hook that runs after an entity is loaded from the database
|
|
1571
1571
|
|
|
@@ -1615,7 +1615,7 @@ It is not nullable and cannot be changed after creation.
|
|
|
1615
1615
|
</td>
|
|
1616
1616
|
<td>
|
|
1617
1617
|
|
|
1618
|
-
[libs/nest-crud/src/base/base-entity.ts:68](https://github.com/hichchidev/hichchi/blob/
|
|
1618
|
+
[libs/nest-crud/src/base/base-entity.ts:68](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity.ts#L68)
|
|
1619
1619
|
|
|
1620
1620
|
</td>
|
|
1621
1621
|
</tr>
|
|
@@ -1640,7 +1640,7 @@ It is automatically loaded when the entity is retrieved with relations.
|
|
|
1640
1640
|
</td>
|
|
1641
1641
|
<td>
|
|
1642
1642
|
|
|
1643
|
-
[libs/nest-crud/src/base/base-entity.ts:105](https://github.com/hichchidev/hichchi/blob/
|
|
1643
|
+
[libs/nest-crud/src/base/base-entity.ts:105](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity.ts#L105)
|
|
1644
1644
|
|
|
1645
1645
|
</td>
|
|
1646
1646
|
</tr>
|
|
@@ -1665,7 +1665,7 @@ It is used for the foreign key relationship with the createdBy field.
|
|
|
1665
1665
|
</td>
|
|
1666
1666
|
<td>
|
|
1667
1667
|
|
|
1668
|
-
[libs/nest-crud/src/base/base-entity.ts:95](https://github.com/hichchidev/hichchi/blob/
|
|
1668
|
+
[libs/nest-crud/src/base/base-entity.ts:95](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity.ts#L95)
|
|
1669
1669
|
|
|
1670
1670
|
</td>
|
|
1671
1671
|
</tr>
|
|
@@ -1690,7 +1690,7 @@ soft delete functionality. When this field has a value, the entity is considered
|
|
|
1690
1690
|
</td>
|
|
1691
1691
|
<td>
|
|
1692
1692
|
|
|
1693
|
-
[libs/nest-crud/src/base/base-entity.ts:86](https://github.com/hichchidev/hichchi/blob/
|
|
1693
|
+
[libs/nest-crud/src/base/base-entity.ts:86](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity.ts#L86)
|
|
1694
1694
|
|
|
1695
1695
|
</td>
|
|
1696
1696
|
</tr>
|
|
@@ -1715,7 +1715,7 @@ It is automatically loaded when the entity is retrieved with relations.
|
|
|
1715
1715
|
</td>
|
|
1716
1716
|
<td>
|
|
1717
1717
|
|
|
1718
|
-
[libs/nest-crud/src/base/base-entity.ts:143](https://github.com/hichchidev/hichchi/blob/
|
|
1718
|
+
[libs/nest-crud/src/base/base-entity.ts:143](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity.ts#L143)
|
|
1719
1719
|
|
|
1720
1720
|
</td>
|
|
1721
1721
|
</tr>
|
|
@@ -1740,7 +1740,7 @@ It is used for the foreign key relationship with the deletedBy field.
|
|
|
1740
1740
|
</td>
|
|
1741
1741
|
<td>
|
|
1742
1742
|
|
|
1743
|
-
[libs/nest-crud/src/base/base-entity.ts:133](https://github.com/hichchidev/hichchi/blob/
|
|
1743
|
+
[libs/nest-crud/src/base/base-entity.ts:133](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity.ts#L133)
|
|
1744
1744
|
|
|
1745
1745
|
</td>
|
|
1746
1746
|
</tr>
|
|
@@ -1765,7 +1765,7 @@ It serves as the primary key for the entity in the database.
|
|
|
1765
1765
|
</td>
|
|
1766
1766
|
<td>
|
|
1767
1767
|
|
|
1768
|
-
[libs/nest-crud/src/base/base-entity.ts:59](https://github.com/hichchidev/hichchi/blob/
|
|
1768
|
+
[libs/nest-crud/src/base/base-entity.ts:59](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity.ts#L59)
|
|
1769
1769
|
|
|
1770
1770
|
</td>
|
|
1771
1771
|
</tr>
|
|
@@ -1790,7 +1790,7 @@ and updated whenever the entity is modified.
|
|
|
1790
1790
|
</td>
|
|
1791
1791
|
<td>
|
|
1792
1792
|
|
|
1793
|
-
[libs/nest-crud/src/base/base-entity.ts:77](https://github.com/hichchidev/hichchi/blob/
|
|
1793
|
+
[libs/nest-crud/src/base/base-entity.ts:77](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity.ts#L77)
|
|
1794
1794
|
|
|
1795
1795
|
</td>
|
|
1796
1796
|
</tr>
|
|
@@ -1815,7 +1815,7 @@ It is automatically loaded when the entity is retrieved with relations.
|
|
|
1815
1815
|
</td>
|
|
1816
1816
|
<td>
|
|
1817
1817
|
|
|
1818
|
-
[libs/nest-crud/src/base/base-entity.ts:124](https://github.com/hichchidev/hichchi/blob/
|
|
1818
|
+
[libs/nest-crud/src/base/base-entity.ts:124](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity.ts#L124)
|
|
1819
1819
|
|
|
1820
1820
|
</td>
|
|
1821
1821
|
</tr>
|
|
@@ -1840,7 +1840,7 @@ It is used for the foreign key relationship with the updatedBy field.
|
|
|
1840
1840
|
</td>
|
|
1841
1841
|
<td>
|
|
1842
1842
|
|
|
1843
|
-
[libs/nest-crud/src/base/base-entity.ts:114](https://github.com/hichchidev/hichchi/blob/
|
|
1843
|
+
[libs/nest-crud/src/base/base-entity.ts:114](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity.ts#L114)
|
|
1844
1844
|
|
|
1845
1845
|
</td>
|
|
1846
1846
|
</tr>
|
|
@@ -1851,7 +1851,7 @@ It is used for the foreign key relationship with the updatedBy field.
|
|
|
1851
1851
|
|
|
1852
1852
|
### BaseEntityExtension
|
|
1853
1853
|
|
|
1854
|
-
Defined in: [libs/nest-crud/src/base/base-entity-extension.ts:43](https://github.com/hichchidev/hichchi/blob/
|
|
1854
|
+
Defined in: [libs/nest-crud/src/base/base-entity-extension.ts:43](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity-extension.ts#L43)
|
|
1855
1855
|
|
|
1856
1856
|
Base entity extension class that provides a minimal entity structure
|
|
1857
1857
|
|
|
@@ -1945,7 +1945,7 @@ It serves as the primary key for the entity in the database.
|
|
|
1945
1945
|
</td>
|
|
1946
1946
|
<td>
|
|
1947
1947
|
|
|
1948
|
-
[libs/nest-crud/src/base/base-entity-extension.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
1948
|
+
[libs/nest-crud/src/base/base-entity-extension.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity-extension.ts#L51)
|
|
1949
1949
|
|
|
1950
1950
|
</td>
|
|
1951
1951
|
</tr>
|
|
@@ -1956,7 +1956,7 @@ It serves as the primary key for the entity in the database.
|
|
|
1956
1956
|
|
|
1957
1957
|
### BaseRepository
|
|
1958
1958
|
|
|
1959
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:97](https://github.com/hichchidev/hichchi/blob/
|
|
1959
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:97](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L97)
|
|
1960
1960
|
|
|
1961
1961
|
Base Repository Class that extends TypeORM's Repository with enhanced functionality
|
|
1962
1962
|
|
|
@@ -2065,7 +2065,7 @@ ModelExtension interface (for lightweight entity extensions).
|
|
|
2065
2065
|
get entityRepository(): Repository<Entity>;
|
|
2066
2066
|
```
|
|
2067
2067
|
|
|
2068
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:126](https://github.com/hichchidev/hichchi/blob/
|
|
2068
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:126](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L126)
|
|
2069
2069
|
|
|
2070
2070
|
Get the appropriate repository instance for the current context
|
|
2071
2071
|
|
|
@@ -2112,7 +2112,7 @@ Entity metadata of the entity current repository manages.
|
|
|
2112
2112
|
new BaseRepository<Entity>(repository): BaseRepository<Entity>;
|
|
2113
2113
|
```
|
|
2114
2114
|
|
|
2115
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:110](https://github.com/hichchidev/hichchi/blob/
|
|
2115
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:110](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L110)
|
|
2116
2116
|
|
|
2117
2117
|
Constructor for the BaseRepository
|
|
2118
2118
|
|
|
@@ -2330,7 +2330,7 @@ Useful for pagination.
|
|
|
2330
2330
|
countMany(options?): Promise<number>;
|
|
2331
2331
|
```
|
|
2332
2332
|
|
|
2333
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:759](https://github.com/hichchidev/hichchi/blob/
|
|
2333
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:759](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L759)
|
|
2334
2334
|
|
|
2335
2335
|
Count entities matching the specified criteria
|
|
2336
2336
|
|
|
@@ -2412,7 +2412,7 @@ The data to create entities with
|
|
|
2412
2412
|
create(): Entity;
|
|
2413
2413
|
```
|
|
2414
2414
|
|
|
2415
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:147](https://github.com/hichchidev/hichchi/blob/
|
|
2415
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:147](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L147)
|
|
2416
2416
|
|
|
2417
2417
|
Create a new entity instance
|
|
2418
2418
|
|
|
@@ -2447,7 +2447,7 @@ user.lastName = "Doe";
|
|
|
2447
2447
|
create<T>(entityLike): Entity;
|
|
2448
2448
|
```
|
|
2449
2449
|
|
|
2450
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:171](https://github.com/hichchidev/hichchi/blob/
|
|
2450
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:171](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L171)
|
|
2451
2451
|
|
|
2452
2452
|
Create a new entity instance with the provided data
|
|
2453
2453
|
|
|
@@ -2555,7 +2555,7 @@ const user = userRepository.create({
|
|
|
2555
2555
|
create<T>(entityLikeArray): Entity[];
|
|
2556
2556
|
```
|
|
2557
2557
|
|
|
2558
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:194](https://github.com/hichchidev/hichchi/blob/
|
|
2558
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:194](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L194)
|
|
2559
2559
|
|
|
2560
2560
|
Create multiple entity instances
|
|
2561
2561
|
|
|
@@ -2855,7 +2855,7 @@ WARNING! This method deletes ALL rows in the target table.
|
|
|
2855
2855
|
deleteById(id): Promise<DeleteResult>;
|
|
2856
2856
|
```
|
|
2857
2857
|
|
|
2858
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:660](https://github.com/hichchidev/hichchi/blob/
|
|
2858
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:660](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L660)
|
|
2859
2859
|
|
|
2860
2860
|
Soft delete an entity by ID
|
|
2861
2861
|
|
|
@@ -2918,7 +2918,7 @@ const result = await userRepository.delete("user-id");
|
|
|
2918
2918
|
deleteByIds(ids): Promise<DeleteResult>;
|
|
2919
2919
|
```
|
|
2920
2920
|
|
|
2921
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:684](https://github.com/hichchidev/hichchi/blob/
|
|
2921
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:684](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L684)
|
|
2922
2922
|
|
|
2923
2923
|
Soft delete multiple entities by their IDs
|
|
2924
2924
|
|
|
@@ -3634,7 +3634,7 @@ If entity was not found in the database - rejects with error.
|
|
|
3634
3634
|
generateOptions(getOptions): FindOneOptions<Entity>;
|
|
3635
3635
|
```
|
|
3636
3636
|
|
|
3637
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:837](https://github.com/hichchidev/hichchi/blob/
|
|
3637
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:837](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L837)
|
|
3638
3638
|
|
|
3639
3639
|
Generate TypeORM query options from Hichchi query options
|
|
3640
3640
|
|
|
@@ -3704,7 +3704,7 @@ TypeORM query options
|
|
|
3704
3704
|
getById(id, options?): Promise<Entity | null>;
|
|
3705
3705
|
```
|
|
3706
3706
|
|
|
3707
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:538](https://github.com/hichchidev/hichchi/blob/
|
|
3707
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:538](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L538)
|
|
3708
3708
|
|
|
3709
3709
|
Get an entity by ID
|
|
3710
3710
|
|
|
@@ -3787,7 +3787,7 @@ const user = await userRepository.get("user-id", {
|
|
|
3787
3787
|
getByIds(getByIds): Promise<Entity[]>;
|
|
3788
3788
|
```
|
|
3789
3789
|
|
|
3790
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:569](https://github.com/hichchidev/hichchi/blob/
|
|
3790
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:569](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L569)
|
|
3791
3791
|
|
|
3792
3792
|
Get multiple entities by their IDs
|
|
3793
3793
|
|
|
@@ -3897,7 +3897,7 @@ Gets entity mixed id.
|
|
|
3897
3897
|
getMany(getMany): Promise<[Entity[], number]>;
|
|
3898
3898
|
```
|
|
3899
3899
|
|
|
3900
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:636](https://github.com/hichchidev/hichchi/blob/
|
|
3900
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:636](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L636)
|
|
3901
3901
|
|
|
3902
3902
|
Get multiple entities matching the specified criteria
|
|
3903
3903
|
|
|
@@ -3967,7 +3967,7 @@ const [users, count] = await userRepository.getMany({
|
|
|
3967
3967
|
getOne(getOne): Promise<Entity | null>;
|
|
3968
3968
|
```
|
|
3969
3969
|
|
|
3970
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:605](https://github.com/hichchidev/hichchi/blob/
|
|
3970
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:605](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L605)
|
|
3971
3971
|
|
|
3972
3972
|
Get a single entity matching the specified criteria
|
|
3973
3973
|
|
|
@@ -4033,7 +4033,7 @@ const user = await userRepository.getOne({
|
|
|
4033
4033
|
hardDeleteById(id): Promise<DeleteResult>;
|
|
4034
4034
|
```
|
|
4035
4035
|
|
|
4036
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:709](https://github.com/hichchidev/hichchi/blob/
|
|
4036
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:709](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L709)
|
|
4037
4037
|
|
|
4038
4038
|
Permanently delete an entity by ID
|
|
4039
4039
|
|
|
@@ -4097,7 +4097,7 @@ const result = await userRepository.hardDelete("user-id");
|
|
|
4097
4097
|
hardDeleteByIds(ids): Promise<DeleteResult>;
|
|
4098
4098
|
```
|
|
4099
4099
|
|
|
4100
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:734](https://github.com/hichchidev/hichchi/blob/
|
|
4100
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:734](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L734)
|
|
4101
4101
|
|
|
4102
4102
|
Permanently delete multiple entities by their IDs
|
|
4103
4103
|
|
|
@@ -4321,7 +4321,7 @@ Does not check if entity exist in the database, so query will fail if duplicate
|
|
|
4321
4321
|
isFindOperator<T>(value): value is FindOperator<T>;
|
|
4322
4322
|
```
|
|
4323
4323
|
|
|
4324
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:929](https://github.com/hichchidev/hichchi/blob/
|
|
4324
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:929](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L929)
|
|
4325
4325
|
|
|
4326
4326
|
Type guard to check if a value is a TypeORM FindOperator
|
|
4327
4327
|
|
|
@@ -4407,7 +4407,7 @@ mapAndWhere<T>(
|
|
|
4407
4407
|
wrap?): FindOptionsWhere<T>;
|
|
4408
4408
|
```
|
|
4409
4409
|
|
|
4410
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:963](https://github.com/hichchidev/hichchi/blob/
|
|
4410
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:963](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L963)
|
|
4411
4411
|
|
|
4412
4412
|
Map and transform where conditions with operators
|
|
4413
4413
|
|
|
@@ -4727,7 +4727,7 @@ orWhere(
|
|
|
4727
4727
|
operator): FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[];
|
|
4728
4728
|
```
|
|
4729
4729
|
|
|
4730
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:898](https://github.com/hichchidev/hichchi/blob/
|
|
4730
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:898](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L898)
|
|
4731
4731
|
|
|
4732
4732
|
Create OR conditions for search or negation queries
|
|
4733
4733
|
|
|
@@ -5852,7 +5852,7 @@ If entity does not exist in the database then inserts, otherwise updates.
|
|
|
5852
5852
|
saveAndGet<T>(entityLike, options?): Promise<Entity | null>;
|
|
5853
5853
|
```
|
|
5854
5854
|
|
|
5855
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:301](https://github.com/hichchidev/hichchi/blob/
|
|
5855
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:301](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L301)
|
|
5856
5856
|
|
|
5857
5857
|
Save an entity and retrieve it with relations
|
|
5858
5858
|
|
|
@@ -5989,7 +5989,7 @@ const savedUser = await userRepository.saveAndGet(existingUser, {
|
|
|
5989
5989
|
saveMany<T>(entities, options?): Promise<Entity[]>;
|
|
5990
5990
|
```
|
|
5991
5991
|
|
|
5992
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:347](https://github.com/hichchidev/hichchi/blob/
|
|
5992
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:347](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L347)
|
|
5993
5993
|
|
|
5994
5994
|
Save multiple entities to the database
|
|
5995
5995
|
|
|
@@ -6125,7 +6125,7 @@ const savedUsers = await userRepository.saveMany(existingUsers, {
|
|
|
6125
6125
|
saveOne<T>(entityLike, options?): Promise<Entity>;
|
|
6126
6126
|
```
|
|
6127
6127
|
|
|
6128
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:252](https://github.com/hichchidev/hichchi/blob/
|
|
6128
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:252](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L252)
|
|
6129
6129
|
|
|
6130
6130
|
Save an entity to the database
|
|
6131
6131
|
|
|
@@ -6812,7 +6812,7 @@ Return the SUM of a column
|
|
|
6812
6812
|
transaction<T>(operation): Promise<T>;
|
|
6813
6813
|
```
|
|
6814
6814
|
|
|
6815
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:796](https://github.com/hichchidev/hichchi/blob/
|
|
6815
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:796](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L796)
|
|
6816
6816
|
|
|
6817
6817
|
Execute operations within a transaction
|
|
6818
6818
|
|
|
@@ -7021,7 +7021,7 @@ updateAndGet(
|
|
|
7021
7021
|
options?): Promise<Entity | null>;
|
|
7022
7022
|
```
|
|
7023
7023
|
|
|
7024
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:411](https://github.com/hichchidev/hichchi/blob/
|
|
7024
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:411](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L411)
|
|
7025
7025
|
|
|
7026
7026
|
Update an entity and retrieve it with relations
|
|
7027
7027
|
|
|
@@ -7123,7 +7123,7 @@ const user = await userRepository.updateAndGet(
|
|
|
7123
7123
|
updateById(id, partialEntity): Promise<UpdateResult>;
|
|
7124
7124
|
```
|
|
7125
7125
|
|
|
7126
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:380](https://github.com/hichchidev/hichchi/blob/
|
|
7126
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:380](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L380)
|
|
7127
7127
|
|
|
7128
7128
|
Update an entity by ID
|
|
7129
7129
|
|
|
@@ -7208,7 +7208,7 @@ const result = await userRepository.update("user-id", {
|
|
|
7208
7208
|
updateByIds(ids, partialEntity): Promise<UpdateResult>;
|
|
7209
7209
|
```
|
|
7210
7210
|
|
|
7211
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:510](https://github.com/hichchidev/hichchi/blob/
|
|
7211
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:510](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L510)
|
|
7212
7212
|
|
|
7213
7213
|
Update multiple entities by their IDs
|
|
7214
7214
|
|
|
@@ -7291,7 +7291,7 @@ const result = await userRepository.updateByIds(
|
|
|
7291
7291
|
updateMany(where, partialEntity): Promise<UpdateResult>;
|
|
7292
7292
|
```
|
|
7293
7293
|
|
|
7294
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:475](https://github.com/hichchidev/hichchi/blob/
|
|
7294
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:475](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L475)
|
|
7295
7295
|
|
|
7296
7296
|
Update multiple entities matching the specified criteria
|
|
7297
7297
|
|
|
@@ -7376,7 +7376,7 @@ const result = await userRepository.updateMany(
|
|
|
7376
7376
|
updateOne(where, partialEntity): Promise<UpdateResult>;
|
|
7377
7377
|
```
|
|
7378
7378
|
|
|
7379
|
-
Defined in: [libs/nest-crud/src/base/base-repository.ts:445](https://github.com/hichchidev/hichchi/blob/
|
|
7379
|
+
Defined in: [libs/nest-crud/src/base/base-repository.ts:445](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-repository.ts#L445)
|
|
7380
7380
|
|
|
7381
7381
|
Update a single entity matching the specified criteria
|
|
7382
7382
|
|
|
@@ -7630,7 +7630,7 @@ node_modules/typeorm/repository/Repository.d.ts:28
|
|
|
7630
7630
|
|
|
7631
7631
|
### BulkDeleteDto
|
|
7632
7632
|
|
|
7633
|
-
Defined in: [libs/nest-crud/src/dtos/bulk-delete.dto.ts:45](https://github.com/hichchidev/hichchi/blob/
|
|
7633
|
+
Defined in: [libs/nest-crud/src/dtos/bulk-delete.dto.ts:45](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/dtos/bulk-delete.dto.ts#L45)
|
|
7634
7634
|
|
|
7635
7635
|
Data Transfer Object for bulk deletion operations
|
|
7636
7636
|
|
|
@@ -7724,7 +7724,7 @@ to perform the actual deletion operation.
|
|
|
7724
7724
|
</td>
|
|
7725
7725
|
<td>
|
|
7726
7726
|
|
|
7727
|
-
[libs/nest-crud/src/dtos/bulk-delete.dto.ts:62](https://github.com/hichchidev/hichchi/blob/
|
|
7727
|
+
[libs/nest-crud/src/dtos/bulk-delete.dto.ts:62](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/dtos/bulk-delete.dto.ts#L62)
|
|
7728
7728
|
|
|
7729
7729
|
</td>
|
|
7730
7730
|
</tr>
|
|
@@ -7735,7 +7735,7 @@ to perform the actual deletion operation.
|
|
|
7735
7735
|
|
|
7736
7736
|
### `abstract` CrudService
|
|
7737
7737
|
|
|
7738
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:98](https://github.com/hichchidev/hichchi/blob/
|
|
7738
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:98](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L98)
|
|
7739
7739
|
|
|
7740
7740
|
Abstract base service providing CRUD operations for entities
|
|
7741
7741
|
|
|
@@ -7834,7 +7834,7 @@ export class UserController {
|
|
|
7834
7834
|
new CrudService<Entity>(repository): CrudService<Entity>;
|
|
7835
7835
|
```
|
|
7836
7836
|
|
|
7837
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:139](https://github.com/hichchidev/hichchi/blob/
|
|
7837
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:139](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L139)
|
|
7838
7838
|
|
|
7839
7839
|
Creates a new instance of CrudService
|
|
7840
7840
|
|
|
@@ -7909,7 +7909,7 @@ export class UserService extends CrudService<UserEntity> {
|
|
|
7909
7909
|
count(getMany?, eh?): Promise<number>;
|
|
7910
7910
|
```
|
|
7911
7911
|
|
|
7912
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
7912
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:1253](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L1253)
|
|
7913
7913
|
|
|
7914
7914
|
Counts entities that match the specified conditions
|
|
7915
7915
|
|
|
@@ -8005,7 +8005,7 @@ const premiumUsers = await userService.count({
|
|
|
8005
8005
|
create<T>(createDto?, eh?): Entity;
|
|
8006
8006
|
```
|
|
8007
8007
|
|
|
8008
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:206](https://github.com/hichchidev/hichchi/blob/
|
|
8008
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:206](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L206)
|
|
8009
8009
|
|
|
8010
8010
|
Creates a new entity instance without saving it to the database
|
|
8011
8011
|
|
|
@@ -8184,7 +8184,7 @@ delete(
|
|
|
8184
8184
|
eh?): Promise<Entity>;
|
|
8185
8185
|
```
|
|
8186
8186
|
|
|
8187
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
8187
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:851](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L851)
|
|
8188
8188
|
|
|
8189
8189
|
Deletes an entity by its ID
|
|
8190
8190
|
|
|
@@ -8279,7 +8279,7 @@ delete(
|
|
|
8279
8279
|
eh?): Promise<Entity>;
|
|
8280
8280
|
```
|
|
8281
8281
|
|
|
8282
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
8282
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:865](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L865)
|
|
8283
8283
|
|
|
8284
8284
|
Deletes an entity by its ID with audit tracking
|
|
8285
8285
|
|
|
@@ -8427,7 +8427,7 @@ deleteByIds(
|
|
|
8427
8427
|
eh?): Promise<SuccessResponse>;
|
|
8428
8428
|
```
|
|
8429
8429
|
|
|
8430
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
8430
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:1141](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L1141)
|
|
8431
8431
|
|
|
8432
8432
|
Deletes multiple entities by their IDs
|
|
8433
8433
|
|
|
@@ -8523,7 +8523,7 @@ deleteByIds(
|
|
|
8523
8523
|
eh?): Promise<SuccessResponse>;
|
|
8524
8524
|
```
|
|
8525
8525
|
|
|
8526
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
8526
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:1155](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L1155)
|
|
8527
8527
|
|
|
8528
8528
|
Deletes multiple entities by their IDs with audit tracking
|
|
8529
8529
|
|
|
@@ -8674,7 +8674,7 @@ deleteMany(
|
|
|
8674
8674
|
eh?): Promise<Entity[]>;
|
|
8675
8675
|
```
|
|
8676
8676
|
|
|
8677
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
8677
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:1042](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L1042)
|
|
8678
8678
|
|
|
8679
8679
|
Deletes multiple entities that match the specified conditions
|
|
8680
8680
|
|
|
@@ -8768,7 +8768,7 @@ deleteMany(
|
|
|
8768
8768
|
eh?): Promise<Entity[]>;
|
|
8769
8769
|
```
|
|
8770
8770
|
|
|
8771
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
8771
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:1056](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L1056)
|
|
8772
8772
|
|
|
8773
8773
|
Deletes multiple entities that match the specified conditions with audit tracking
|
|
8774
8774
|
|
|
@@ -8918,7 +8918,7 @@ deleteOne(
|
|
|
8918
8918
|
eh?): Promise<Entity>;
|
|
8919
8919
|
```
|
|
8920
8920
|
|
|
8921
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
8921
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:939](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L939)
|
|
8922
8922
|
|
|
8923
8923
|
Deletes a single entity that matches the specified conditions
|
|
8924
8924
|
|
|
@@ -9012,7 +9012,7 @@ deleteOne(
|
|
|
9012
9012
|
eh?): Promise<Entity>;
|
|
9013
9013
|
```
|
|
9014
9014
|
|
|
9015
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
9015
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:953](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L953)
|
|
9016
9016
|
|
|
9017
9017
|
Deletes a single entity that matches the specified conditions with audit tracking
|
|
9018
9018
|
|
|
@@ -9106,7 +9106,7 @@ get(
|
|
|
9106
9106
|
eh?): Promise<Entity>;
|
|
9107
9107
|
```
|
|
9108
9108
|
|
|
9109
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
9109
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:622](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L622)
|
|
9110
9110
|
|
|
9111
9111
|
Retrieves an entity by its ID
|
|
9112
9112
|
|
|
@@ -9217,7 +9217,7 @@ const userWithProfile = await userService.get(userId, {
|
|
|
9217
9217
|
getAll<Options>(getAll?, eh?): Options extends object ? Promise<PaginatedResponse<Entity>> : Promise<Entity[]>;
|
|
9218
9218
|
```
|
|
9219
9219
|
|
|
9220
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
9220
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:820](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L820)
|
|
9221
9221
|
|
|
9222
9222
|
Retrieves all entities, optionally with filtering, sorting, and pagination
|
|
9223
9223
|
|
|
@@ -9340,7 +9340,7 @@ const sortedUsers = await userService.getAll({
|
|
|
9340
9340
|
getByIds(getByIds, eh?): Promise<Entity[]>;
|
|
9341
9341
|
```
|
|
9342
9342
|
|
|
9343
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
9343
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:671](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L671)
|
|
9344
9344
|
|
|
9345
9345
|
Retrieves multiple entities by their IDs
|
|
9346
9346
|
|
|
@@ -9438,7 +9438,7 @@ const usersWithProfiles = await userService.getByIds({
|
|
|
9438
9438
|
getMany<Options>(getMany, eh?): Options extends object ? Promise<PaginatedResponse<Entity>> : Promise<Entity[]>;
|
|
9439
9439
|
```
|
|
9440
9440
|
|
|
9441
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
9441
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:766](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L766)
|
|
9442
9442
|
|
|
9443
9443
|
Retrieves multiple entities that match the specified conditions
|
|
9444
9444
|
|
|
@@ -9565,7 +9565,7 @@ const sortedUsers = await userService.getMany({
|
|
|
9565
9565
|
getOne(getOne, eh?): Promise<Entity>;
|
|
9566
9566
|
```
|
|
9567
9567
|
|
|
9568
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
9568
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:713](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L713)
|
|
9569
9569
|
|
|
9570
9570
|
Retrieves a single entity that matches the specified conditions
|
|
9571
9571
|
|
|
@@ -9661,7 +9661,7 @@ const userWithProfile = await userService.getOne({
|
|
|
9661
9661
|
getRepository(): BaseRepository<Entity>;
|
|
9662
9662
|
```
|
|
9663
9663
|
|
|
9664
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:178](https://github.com/hichchidev/hichchi/blob/
|
|
9664
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:178](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L178)
|
|
9665
9665
|
|
|
9666
9666
|
Gets the repository instance used by this service
|
|
9667
9667
|
|
|
@@ -9702,7 +9702,7 @@ const entityMetadata = repository.metadata;
|
|
|
9702
9702
|
handleError(error, eh?): never;
|
|
9703
9703
|
```
|
|
9704
9704
|
|
|
9705
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
9705
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:1368](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L1368)
|
|
9706
9706
|
|
|
9707
9707
|
Handles errors in a standardized way
|
|
9708
9708
|
|
|
@@ -9804,7 +9804,7 @@ save<T>(
|
|
|
9804
9804
|
eh?): Promise<Entity | null>;
|
|
9805
9805
|
```
|
|
9806
9806
|
|
|
9807
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:253](https://github.com/hichchidev/hichchi/blob/
|
|
9807
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:253](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L253)
|
|
9808
9808
|
|
|
9809
9809
|
Creates and saves a new entity to the database
|
|
9810
9810
|
|
|
@@ -9976,7 +9976,7 @@ saveMany<T>(
|
|
|
9976
9976
|
eh?): Promise<Entity[]>;
|
|
9977
9977
|
```
|
|
9978
9978
|
|
|
9979
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:302](https://github.com/hichchidev/hichchi/blob/
|
|
9979
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:302](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L302)
|
|
9980
9980
|
|
|
9981
9981
|
Creates and saves multiple entities to the database
|
|
9982
9982
|
|
|
@@ -10145,7 +10145,7 @@ const usersWithAudit = await userService.saveMany(
|
|
|
10145
10145
|
transaction<T>(operation): Promise<T>;
|
|
10146
10146
|
```
|
|
10147
10147
|
|
|
10148
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
10148
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:1294](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L1294)
|
|
10149
10149
|
|
|
10150
10150
|
Executes operations within a transaction
|
|
10151
10151
|
|
|
@@ -10244,7 +10244,7 @@ const result = await userService.transaction(async (manager) => {
|
|
|
10244
10244
|
try<T>(fn): Promise<T>;
|
|
10245
10245
|
```
|
|
10246
10246
|
|
|
10247
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
10247
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:1325](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L1325)
|
|
10248
10248
|
|
|
10249
10249
|
Executes a function with error handling
|
|
10250
10250
|
|
|
@@ -10347,7 +10347,7 @@ update<T>(
|
|
|
10347
10347
|
eh?): Promise<Entity>;
|
|
10348
10348
|
```
|
|
10349
10349
|
|
|
10350
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:370](https://github.com/hichchidev/hichchi/blob/
|
|
10350
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:370](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L370)
|
|
10351
10351
|
|
|
10352
10352
|
Updates an entity by its ID
|
|
10353
10353
|
|
|
@@ -10551,7 +10551,7 @@ updateByIds<T>(
|
|
|
10551
10551
|
eh?): Promise<SuccessResponse>;
|
|
10552
10552
|
```
|
|
10553
10553
|
|
|
10554
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
10554
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:565](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L565)
|
|
10555
10555
|
|
|
10556
10556
|
Updates multiple entities by their IDs
|
|
10557
10557
|
|
|
@@ -10735,7 +10735,7 @@ updateMany<T>(
|
|
|
10735
10735
|
eh?): Promise<SuccessResponse>;
|
|
10736
10736
|
```
|
|
10737
10737
|
|
|
10738
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
10738
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:501](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L501)
|
|
10739
10739
|
|
|
10740
10740
|
Updates multiple entities that match the specified conditions
|
|
10741
10741
|
|
|
@@ -10908,11 +10908,12 @@ const resultWithAudit = await userService.updateMany(
|
|
|
10908
10908
|
updateOne<T>(
|
|
10909
10909
|
where,
|
|
10910
10910
|
updateDto,
|
|
10911
|
+
options?,
|
|
10911
10912
|
updatedBy?,
|
|
10912
10913
|
eh?): Promise<Entity>;
|
|
10913
10914
|
```
|
|
10914
10915
|
|
|
10915
|
-
Defined in: [libs/nest-crud/src/services/crud.service.ts:
|
|
10916
|
+
Defined in: [libs/nest-crud/src/services/crud.service.ts:437](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L437)
|
|
10916
10917
|
|
|
10917
10918
|
Updates a single entity that matches the specified conditions
|
|
10918
10919
|
|
|
@@ -11008,6 +11009,23 @@ The data transfer object containing properties to update
|
|
|
11008
11009
|
<tr>
|
|
11009
11010
|
<td>
|
|
11010
11011
|
|
|
11012
|
+
`options?`
|
|
11013
|
+
|
|
11014
|
+
</td>
|
|
11015
|
+
<td>
|
|
11016
|
+
|
|
11017
|
+
`Omit`<[`GetOneOptions`](#getoneoptions)<`Entity`>, `"where"`>
|
|
11018
|
+
|
|
11019
|
+
</td>
|
|
11020
|
+
<td>
|
|
11021
|
+
|
|
11022
|
+
Options for retrieving the updated entity, excluding the where condition
|
|
11023
|
+
|
|
11024
|
+
</td>
|
|
11025
|
+
</tr>
|
|
11026
|
+
<tr>
|
|
11027
|
+
<td>
|
|
11028
|
+
|
|
11011
11029
|
`updatedBy?`
|
|
11012
11030
|
|
|
11013
11031
|
</td>
|
|
@@ -11116,7 +11134,7 @@ The repository for the entity
|
|
|
11116
11134
|
</td>
|
|
11117
11135
|
<td>
|
|
11118
11136
|
|
|
11119
|
-
[libs/nest-crud/src/services/crud.service.ts:139](https://github.com/hichchidev/hichchi/blob/
|
|
11137
|
+
[libs/nest-crud/src/services/crud.service.ts:139](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/services/crud.service.ts#L139)
|
|
11120
11138
|
|
|
11121
11139
|
</td>
|
|
11122
11140
|
</tr>
|
|
@@ -11127,7 +11145,7 @@ The repository for the entity
|
|
|
11127
11145
|
|
|
11128
11146
|
### HichchiCrudModule
|
|
11129
11147
|
|
|
11130
|
-
Defined in: [libs/nest-crud/src/crud.module.ts:35](https://github.com/hichchidev/hichchi/blob/
|
|
11148
|
+
Defined in: [libs/nest-crud/src/crud.module.ts:35](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/crud.module.ts#L35)
|
|
11131
11149
|
|
|
11132
11150
|
Module for integrating TypeORM with NestJS and providing CRUD functionality
|
|
11133
11151
|
|
|
@@ -11173,7 +11191,7 @@ new HichchiCrudModule(): HichchiCrudModule;
|
|
|
11173
11191
|
static forFeature(entities): DynamicModule;
|
|
11174
11192
|
```
|
|
11175
11193
|
|
|
11176
|
-
Defined in: [libs/nest-crud/src/crud.module.ts:131](https://github.com/hichchidev/hichchi/blob/
|
|
11194
|
+
Defined in: [libs/nest-crud/src/crud.module.ts:131](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/crud.module.ts#L131)
|
|
11177
11195
|
|
|
11178
11196
|
Register entities for the HichchiCrudModule
|
|
11179
11197
|
|
|
@@ -11239,7 +11257,7 @@ export class UserModule {}
|
|
|
11239
11257
|
static forRoot(options): DynamicModule;
|
|
11240
11258
|
```
|
|
11241
11259
|
|
|
11242
|
-
Defined in: [libs/nest-crud/src/crud.module.ts:73](https://github.com/hichchidev/hichchi/blob/
|
|
11260
|
+
Defined in: [libs/nest-crud/src/crud.module.ts:73](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/crud.module.ts#L73)
|
|
11243
11261
|
|
|
11244
11262
|
Register the HichchiCrudModule
|
|
11245
11263
|
|
|
@@ -11318,7 +11336,7 @@ export class AppModule {}
|
|
|
11318
11336
|
static validateEntities(entities): void;
|
|
11319
11337
|
```
|
|
11320
11338
|
|
|
11321
|
-
Defined in: [libs/nest-crud/src/crud.module.ts:206](https://github.com/hichchidev/hichchi/blob/
|
|
11339
|
+
Defined in: [libs/nest-crud/src/crud.module.ts:206](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/crud.module.ts#L206)
|
|
11322
11340
|
|
|
11323
11341
|
Validates entities for registration with the HichchiCrudModule
|
|
11324
11342
|
|
|
@@ -11383,7 +11401,7 @@ Array of entity classes to validate
|
|
|
11383
11401
|
|
|
11384
11402
|
### HichchiUserEntity
|
|
11385
11403
|
|
|
11386
|
-
Defined in: [libs/nest-crud/src/base/base-user.entity.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
11404
|
+
Defined in: [libs/nest-crud/src/base/base-user.entity.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L51)
|
|
11387
11405
|
|
|
11388
11406
|
Base user entity class that provides common user fields and functionality
|
|
11389
11407
|
|
|
@@ -11450,7 +11468,7 @@ new HichchiUserEntity(): HichchiUserEntity;
|
|
|
11450
11468
|
protected optional afterLoad(): void;
|
|
11451
11469
|
```
|
|
11452
11470
|
|
|
11453
|
-
Defined in: [libs/nest-crud/src/base/base-user.entity.ts:
|
|
11471
|
+
Defined in: [libs/nest-crud/src/base/base-user.entity.ts:246](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L246)
|
|
11454
11472
|
|
|
11455
11473
|
Lifecycle hook that runs after an entity is loaded from the database
|
|
11456
11474
|
|
|
@@ -11473,7 +11491,7 @@ UserInfo The interface that defines the user information structure
|
|
|
11473
11491
|
protected optional beforeInsert(): void;
|
|
11474
11492
|
```
|
|
11475
11493
|
|
|
11476
|
-
Defined in: [libs/nest-crud/src/base/base-user.entity.ts:
|
|
11494
|
+
Defined in: [libs/nest-crud/src/base/base-user.entity.ts:231](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L231)
|
|
11477
11495
|
|
|
11478
11496
|
Lifecycle hooks that run before an entity is inserted or updated
|
|
11479
11497
|
|
|
@@ -11515,7 +11533,7 @@ concatenating the firstName and lastName properties.
|
|
|
11515
11533
|
</td>
|
|
11516
11534
|
<td>
|
|
11517
11535
|
|
|
11518
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11536
|
+
[libs/nest-crud/src/base/base-user.entity.ts:214](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L214)
|
|
11519
11537
|
|
|
11520
11538
|
</td>
|
|
11521
11539
|
</tr>
|
|
@@ -11540,7 +11558,7 @@ It is not nullable and cannot be changed after creation.
|
|
|
11540
11558
|
</td>
|
|
11541
11559
|
<td>
|
|
11542
11560
|
|
|
11543
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11561
|
+
[libs/nest-crud/src/base/base-user.entity.ts:80](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L80)
|
|
11544
11562
|
|
|
11545
11563
|
</td>
|
|
11546
11564
|
</tr>
|
|
@@ -11565,7 +11583,7 @@ It is automatically loaded when the entity is retrieved with relations.
|
|
|
11565
11583
|
</td>
|
|
11566
11584
|
<td>
|
|
11567
11585
|
|
|
11568
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11586
|
+
[libs/nest-crud/src/base/base-user.entity.ts:117](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L117)
|
|
11569
11587
|
|
|
11570
11588
|
</td>
|
|
11571
11589
|
</tr>
|
|
@@ -11590,7 +11608,7 @@ It is used for the foreign key relationship with the createdBy field.
|
|
|
11590
11608
|
</td>
|
|
11591
11609
|
<td>
|
|
11592
11610
|
|
|
11593
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11611
|
+
[libs/nest-crud/src/base/base-user.entity.ts:107](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L107)
|
|
11594
11612
|
|
|
11595
11613
|
</td>
|
|
11596
11614
|
</tr>
|
|
@@ -11615,7 +11633,7 @@ soft delete functionality. When this field has a value, the entity is considered
|
|
|
11615
11633
|
</td>
|
|
11616
11634
|
<td>
|
|
11617
11635
|
|
|
11618
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11636
|
+
[libs/nest-crud/src/base/base-user.entity.ts:98](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L98)
|
|
11619
11637
|
|
|
11620
11638
|
</td>
|
|
11621
11639
|
</tr>
|
|
@@ -11640,7 +11658,7 @@ It is automatically loaded when the entity is retrieved with relations.
|
|
|
11640
11658
|
</td>
|
|
11641
11659
|
<td>
|
|
11642
11660
|
|
|
11643
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11661
|
+
[libs/nest-crud/src/base/base-user.entity.ts:155](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L155)
|
|
11644
11662
|
|
|
11645
11663
|
</td>
|
|
11646
11664
|
</tr>
|
|
@@ -11665,7 +11683,7 @@ It is used for the foreign key relationship with the deletedBy field.
|
|
|
11665
11683
|
</td>
|
|
11666
11684
|
<td>
|
|
11667
11685
|
|
|
11668
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11686
|
+
[libs/nest-crud/src/base/base-user.entity.ts:145](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L145)
|
|
11669
11687
|
|
|
11670
11688
|
</td>
|
|
11671
11689
|
</tr>
|
|
@@ -11691,7 +11709,7 @@ or uses alternative authentication methods.
|
|
|
11691
11709
|
</td>
|
|
11692
11710
|
<td>
|
|
11693
11711
|
|
|
11694
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11712
|
+
[libs/nest-crud/src/base/base-user.entity.ts:194](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L194)
|
|
11695
11713
|
|
|
11696
11714
|
</td>
|
|
11697
11715
|
</tr>
|
|
@@ -11713,7 +11731,7 @@ or uses alternative authentication methods.
|
|
|
11713
11731
|
</td>
|
|
11714
11732
|
<td>
|
|
11715
11733
|
|
|
11716
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11734
|
+
[libs/nest-crud/src/base/base-user.entity.ts:211](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L211)
|
|
11717
11735
|
|
|
11718
11736
|
</td>
|
|
11719
11737
|
</tr>
|
|
@@ -11739,7 +11757,7 @@ be null.
|
|
|
11739
11757
|
</td>
|
|
11740
11758
|
<td>
|
|
11741
11759
|
|
|
11742
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11760
|
+
[libs/nest-crud/src/base/base-user.entity.ts:165](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L165)
|
|
11743
11761
|
|
|
11744
11762
|
</td>
|
|
11745
11763
|
</tr>
|
|
@@ -11765,7 +11783,7 @@ automatically maintained by the beforeInsert and beforeUpdate hooks.
|
|
|
11765
11783
|
</td>
|
|
11766
11784
|
<td>
|
|
11767
11785
|
|
|
11768
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11786
|
+
[libs/nest-crud/src/base/base-user.entity.ts:184](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L184)
|
|
11769
11787
|
|
|
11770
11788
|
</td>
|
|
11771
11789
|
</tr>
|
|
@@ -11790,7 +11808,7 @@ It serves as the primary key for the entity in the database.
|
|
|
11790
11808
|
</td>
|
|
11791
11809
|
<td>
|
|
11792
11810
|
|
|
11793
|
-
[libs/nest-crud/src/base/base-user.entity.ts:59](https://github.com/hichchidev/hichchi/blob/
|
|
11811
|
+
[libs/nest-crud/src/base/base-user.entity.ts:59](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L59)
|
|
11794
11812
|
|
|
11795
11813
|
</td>
|
|
11796
11814
|
</tr>
|
|
@@ -11815,7 +11833,7 @@ for formal addressing and identification. It is required and cannot be null.
|
|
|
11815
11833
|
</td>
|
|
11816
11834
|
<td>
|
|
11817
11835
|
|
|
11818
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11836
|
+
[libs/nest-crud/src/base/base-user.entity.ts:174](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L174)
|
|
11819
11837
|
|
|
11820
11838
|
</td>
|
|
11821
11839
|
</tr>
|
|
@@ -11837,7 +11855,7 @@ for formal addressing and identification. It is required and cannot be null.
|
|
|
11837
11855
|
</td>
|
|
11838
11856
|
<td>
|
|
11839
11857
|
|
|
11840
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11858
|
+
[libs/nest-crud/src/base/base-user.entity.ts:208](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L208)
|
|
11841
11859
|
|
|
11842
11860
|
</td>
|
|
11843
11861
|
</tr>
|
|
@@ -11859,7 +11877,7 @@ for formal addressing and identification. It is required and cannot be null.
|
|
|
11859
11877
|
</td>
|
|
11860
11878
|
<td>
|
|
11861
11879
|
|
|
11862
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11880
|
+
[libs/nest-crud/src/base/base-user.entity.ts:217](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L217)
|
|
11863
11881
|
|
|
11864
11882
|
</td>
|
|
11865
11883
|
</tr>
|
|
@@ -11881,7 +11899,35 @@ for formal addressing and identification. It is required and cannot be null.
|
|
|
11881
11899
|
</td>
|
|
11882
11900
|
<td>
|
|
11883
11901
|
|
|
11884
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11902
|
+
[libs/nest-crud/src/base/base-user.entity.ts:220](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L220)
|
|
11903
|
+
|
|
11904
|
+
</td>
|
|
11905
|
+
</tr>
|
|
11906
|
+
<tr>
|
|
11907
|
+
<td>
|
|
11908
|
+
|
|
11909
|
+
<a id="property-tenant"></a> `tenant`
|
|
11910
|
+
|
|
11911
|
+
</td>
|
|
11912
|
+
<td>
|
|
11913
|
+
|
|
11914
|
+
`TenantSlug` | `null`
|
|
11915
|
+
|
|
11916
|
+
</td>
|
|
11917
|
+
<td>
|
|
11918
|
+
|
|
11919
|
+
Represents the tenant associated with the current context.
|
|
11920
|
+
The value can either be a tenant-specific identifier (TenantSlug) or null if no tenant is assigned.
|
|
11921
|
+
|
|
11922
|
+
A TenantSlug is typically a unique string or slug representing a tenant in multi-tenant applications.
|
|
11923
|
+
Null indicates the absence of a tenant in the current context.
|
|
11924
|
+
|
|
11925
|
+
This variable is often used to scope application logic and data to a specific tenant.
|
|
11926
|
+
|
|
11927
|
+
</td>
|
|
11928
|
+
<td>
|
|
11929
|
+
|
|
11930
|
+
[libs/nest-crud/src/base/base-user.entity.ts:71](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L71)
|
|
11885
11931
|
|
|
11886
11932
|
</td>
|
|
11887
11933
|
</tr>
|
|
@@ -11906,7 +11952,7 @@ and updated whenever the entity is modified.
|
|
|
11906
11952
|
</td>
|
|
11907
11953
|
<td>
|
|
11908
11954
|
|
|
11909
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11955
|
+
[libs/nest-crud/src/base/base-user.entity.ts:89](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L89)
|
|
11910
11956
|
|
|
11911
11957
|
</td>
|
|
11912
11958
|
</tr>
|
|
@@ -11931,7 +11977,7 @@ It is automatically loaded when the entity is retrieved with relations.
|
|
|
11931
11977
|
</td>
|
|
11932
11978
|
<td>
|
|
11933
11979
|
|
|
11934
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
11980
|
+
[libs/nest-crud/src/base/base-user.entity.ts:136](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L136)
|
|
11935
11981
|
|
|
11936
11982
|
</td>
|
|
11937
11983
|
</tr>
|
|
@@ -11956,7 +12002,7 @@ It is used for the foreign key relationship with the updatedBy field.
|
|
|
11956
12002
|
</td>
|
|
11957
12003
|
<td>
|
|
11958
12004
|
|
|
11959
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
12005
|
+
[libs/nest-crud/src/base/base-user.entity.ts:126](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L126)
|
|
11960
12006
|
|
|
11961
12007
|
</td>
|
|
11962
12008
|
</tr>
|
|
@@ -11982,7 +12028,7 @@ alternative authentication methods like email-only authentication.
|
|
|
11982
12028
|
</td>
|
|
11983
12029
|
<td>
|
|
11984
12030
|
|
|
11985
|
-
[libs/nest-crud/src/base/base-user.entity.ts:
|
|
12031
|
+
[libs/nest-crud/src/base/base-user.entity.ts:204](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-user.entity.ts#L204)
|
|
11986
12032
|
|
|
11987
12033
|
</td>
|
|
11988
12034
|
</tr>
|
|
@@ -11993,7 +12039,7 @@ alternative authentication methods like email-only authentication.
|
|
|
11993
12039
|
|
|
11994
12040
|
### IdsDto
|
|
11995
12041
|
|
|
11996
|
-
Defined in: [libs/nest-crud/src/dtos/ids.dto.ts:10](https://github.com/hichchidev/hichchi/blob/
|
|
12042
|
+
Defined in: [libs/nest-crud/src/dtos/ids.dto.ts:10](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/dtos/ids.dto.ts#L10)
|
|
11997
12043
|
|
|
11998
12044
|
#### Implements
|
|
11999
12045
|
|
|
@@ -12035,7 +12081,7 @@ new IdsDto(): IdsDto;
|
|
|
12035
12081
|
</td>
|
|
12036
12082
|
<td>
|
|
12037
12083
|
|
|
12038
|
-
[libs/nest-crud/src/dtos/ids.dto.ts:14](https://github.com/hichchidev/hichchi/blob/
|
|
12084
|
+
[libs/nest-crud/src/dtos/ids.dto.ts:14](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/dtos/ids.dto.ts#L14)
|
|
12039
12085
|
|
|
12040
12086
|
</td>
|
|
12041
12087
|
</tr>
|
|
@@ -15152,7 +15198,7 @@ node_modules/typeorm/repository/Repository.d.ts:28
|
|
|
15152
15198
|
|
|
15153
15199
|
### Operation
|
|
15154
15200
|
|
|
15155
|
-
Defined in: [libs/nest-crud/src/enums/crud.enums.ts:50](https://github.com/hichchidev/hichchi/blob/
|
|
15201
|
+
Defined in: [libs/nest-crud/src/enums/crud.enums.ts:50](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/enums/crud.enums.ts#L50)
|
|
15156
15202
|
|
|
15157
15203
|
CRUD Operations Enum
|
|
15158
15204
|
|
|
@@ -15198,7 +15244,7 @@ and performs any initialization logic required for new entities.
|
|
|
15198
15244
|
</td>
|
|
15199
15245
|
<td>
|
|
15200
15246
|
|
|
15201
|
-
[libs/nest-crud/src/enums/crud.enums.ts:58](https://github.com/hichchidev/hichchi/blob/
|
|
15247
|
+
[libs/nest-crud/src/enums/crud.enums.ts:58](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/enums/crud.enums.ts#L58)
|
|
15202
15248
|
|
|
15203
15249
|
</td>
|
|
15204
15250
|
</tr>
|
|
@@ -15224,7 +15270,7 @@ enforce referential integrity constraints, depending on the configuration.
|
|
|
15224
15270
|
</td>
|
|
15225
15271
|
<td>
|
|
15226
15272
|
|
|
15227
|
-
[libs/nest-crud/src/enums/crud.enums.ts:85](https://github.com/hichchidev/hichchi/blob/
|
|
15273
|
+
[libs/nest-crud/src/enums/crud.enums.ts:85](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/enums/crud.enums.ts#L85)
|
|
15228
15274
|
|
|
15229
15275
|
</td>
|
|
15230
15276
|
</tr>
|
|
@@ -15250,7 +15296,7 @@ entity already exists in the database.
|
|
|
15250
15296
|
</td>
|
|
15251
15297
|
<td>
|
|
15252
15298
|
|
|
15253
|
-
[libs/nest-crud/src/enums/crud.enums.ts:76](https://github.com/hichchidev/hichchi/blob/
|
|
15299
|
+
[libs/nest-crud/src/enums/crud.enums.ts:76](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/enums/crud.enums.ts#L76)
|
|
15254
15300
|
|
|
15255
15301
|
</td>
|
|
15256
15302
|
</tr>
|
|
@@ -15276,7 +15322,7 @@ and may enforce different validation rules than creation.
|
|
|
15276
15322
|
</td>
|
|
15277
15323
|
<td>
|
|
15278
15324
|
|
|
15279
|
-
[libs/nest-crud/src/enums/crud.enums.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
15325
|
+
[libs/nest-crud/src/enums/crud.enums.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/enums/crud.enums.ts#L67)
|
|
15280
15326
|
|
|
15281
15327
|
</td>
|
|
15282
15328
|
</tr>
|
|
@@ -15287,7 +15333,7 @@ and may enforce different validation rules than creation.
|
|
|
15287
15333
|
|
|
15288
15334
|
### TypeORMErrorType
|
|
15289
15335
|
|
|
15290
|
-
Defined in: [libs/nest-crud/src/enums/crud.enums.ts:13](https://github.com/hichchidev/hichchi/blob/
|
|
15336
|
+
Defined in: [libs/nest-crud/src/enums/crud.enums.ts:13](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/enums/crud.enums.ts#L13)
|
|
15291
15337
|
|
|
15292
15338
|
TypeORM Database Error Types
|
|
15293
15339
|
|
|
@@ -15331,7 +15377,7 @@ often caused by typos in column names or outdated queries after schema changes.
|
|
|
15331
15377
|
</td>
|
|
15332
15378
|
<td>
|
|
15333
15379
|
|
|
15334
|
-
[libs/nest-crud/src/enums/crud.enums.ts:36](https://github.com/hichchidev/hichchi/blob/
|
|
15380
|
+
[libs/nest-crud/src/enums/crud.enums.ts:36](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/enums/crud.enums.ts#L36)
|
|
15335
15381
|
|
|
15336
15382
|
</td>
|
|
15337
15383
|
</tr>
|
|
@@ -15354,7 +15400,7 @@ constraint, such as primary keys or columns with unique indexes.
|
|
|
15354
15400
|
</td>
|
|
15355
15401
|
<td>
|
|
15356
15402
|
|
|
15357
|
-
[libs/nest-crud/src/enums/crud.enums.ts:24](https://github.com/hichchidev/hichchi/blob/
|
|
15403
|
+
[libs/nest-crud/src/enums/crud.enums.ts:24](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/enums/crud.enums.ts#L24)
|
|
15358
15404
|
|
|
15359
15405
|
</td>
|
|
15360
15406
|
</tr>
|
|
@@ -15377,7 +15423,7 @@ has no default value defined in the database schema.
|
|
|
15377
15423
|
</td>
|
|
15378
15424
|
<td>
|
|
15379
15425
|
|
|
15380
|
-
[libs/nest-crud/src/enums/crud.enums.ts:18](https://github.com/hichchidev/hichchi/blob/
|
|
15426
|
+
[libs/nest-crud/src/enums/crud.enums.ts:18](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/enums/crud.enums.ts#L18)
|
|
15381
15427
|
|
|
15382
15428
|
</td>
|
|
15383
15429
|
</tr>
|
|
@@ -15400,7 +15446,7 @@ typically occurring during insert or update operations with invalid foreign key
|
|
|
15400
15446
|
</td>
|
|
15401
15447
|
<td>
|
|
15402
15448
|
|
|
15403
|
-
[libs/nest-crud/src/enums/crud.enums.ts:30](https://github.com/hichchidev/hichchi/blob/
|
|
15449
|
+
[libs/nest-crud/src/enums/crud.enums.ts:30](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/enums/crud.enums.ts#L30)
|
|
15404
15450
|
|
|
15405
15451
|
</td>
|
|
15406
15452
|
</tr>
|
|
@@ -15415,7 +15461,7 @@ typically occurring during insert or update operations with invalid foreign key
|
|
|
15415
15461
|
function Filters(): ParameterDecorator;
|
|
15416
15462
|
```
|
|
15417
15463
|
|
|
15418
|
-
Defined in: [libs/nest-crud/src/decorators/filter.decorator.ts:85](https://github.com/hichchidev/hichchi/blob/
|
|
15464
|
+
Defined in: [libs/nest-crud/src/decorators/filter.decorator.ts:85](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/decorators/filter.decorator.ts#L85)
|
|
15419
15465
|
|
|
15420
15466
|
Filter parameter decorator
|
|
15421
15467
|
|
|
@@ -15507,7 +15553,7 @@ export class ProductController {
|
|
|
15507
15553
|
function HichchiEntity(tableName, unique?, skipFkValidation?): EntityDecorator;
|
|
15508
15554
|
```
|
|
15509
15555
|
|
|
15510
|
-
Defined in: [libs/nest-crud/src/decorators/entity.decorator.ts:109](https://github.com/hichchidev/hichchi/blob/
|
|
15556
|
+
Defined in: [libs/nest-crud/src/decorators/entity.decorator.ts:109](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/decorators/entity.decorator.ts#L109)
|
|
15511
15557
|
|
|
15512
15558
|
Decorator for creating a new entity with enhanced validation and metadata registration
|
|
15513
15559
|
|
|
@@ -15688,7 +15734,7 @@ If entity naming conventions or relationship definitions are invalid
|
|
|
15688
15734
|
function HichchiEntityExtension(tableName): EntityExtensionDecorator;
|
|
15689
15735
|
```
|
|
15690
15736
|
|
|
15691
|
-
Defined in: [libs/nest-crud/src/decorators/entity-extension.decorator.ts:54](https://github.com/hichchidev/hichchi/blob/
|
|
15737
|
+
Defined in: [libs/nest-crud/src/decorators/entity-extension.decorator.ts:54](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/decorators/entity-extension.decorator.ts#L54)
|
|
15692
15738
|
|
|
15693
15739
|
Decorator for creating entity extensions with enhanced validation
|
|
15694
15740
|
|
|
@@ -15794,7 +15840,7 @@ If extension class doesn't extend BaseEntityExtension or has invalid relationshi
|
|
|
15794
15840
|
function HichchiJoinColumn(options?): PropertyDecorator;
|
|
15795
15841
|
```
|
|
15796
15842
|
|
|
15797
|
-
Defined in: [libs/nest-crud/src/decorators/join-column.decorator.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
15843
|
+
Defined in: [libs/nest-crud/src/decorators/join-column.decorator.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/decorators/join-column.decorator.ts#L51)
|
|
15798
15844
|
|
|
15799
15845
|
Decorator for creating a join column with automatic foreign key constraint naming
|
|
15800
15846
|
|
|
@@ -15883,7 +15929,7 @@ JoinColumn TypeORM's JoinColumn decorator that this extends
|
|
|
15883
15929
|
function HichchiRepository<Entity>(entity): RepositoryDecorator;
|
|
15884
15930
|
```
|
|
15885
15931
|
|
|
15886
|
-
Defined in: [libs/nest-crud/src/decorators/repository.decorator.ts:63](https://github.com/hichchidev/hichchi/blob/
|
|
15932
|
+
Defined in: [libs/nest-crud/src/decorators/repository.decorator.ts:63](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/decorators/repository.decorator.ts#L63)
|
|
15887
15933
|
|
|
15888
15934
|
Decorator for creating a repository with automatic dependency injection
|
|
15889
15935
|
|
|
@@ -16011,7 +16057,7 @@ Implementation overload for extracting pagination from request query params.
|
|
|
16011
16057
|
function Pager(): ParameterDecorator;
|
|
16012
16058
|
```
|
|
16013
16059
|
|
|
16014
|
-
Defined in: [libs/nest-crud/src/decorators/page.decorator.ts:10](https://github.com/hichchidev/hichchi/blob/
|
|
16060
|
+
Defined in: [libs/nest-crud/src/decorators/page.decorator.ts:10](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/decorators/page.decorator.ts#L10)
|
|
16015
16061
|
|
|
16016
16062
|
Extracts pagination from `req.query.page` and `req.query.limit`.
|
|
16017
16063
|
|
|
@@ -16025,7 +16071,7 @@ Extracts pagination from `req.query.page` and `req.query.limit`.
|
|
|
16025
16071
|
function Pager(page, limit): ParameterDecorator;
|
|
16026
16072
|
```
|
|
16027
16073
|
|
|
16028
|
-
Defined in: [libs/nest-crud/src/decorators/page.decorator.ts:15](https://github.com/hichchidev/hichchi/blob/
|
|
16074
|
+
Defined in: [libs/nest-crud/src/decorators/page.decorator.ts:15](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/decorators/page.decorator.ts#L15)
|
|
16029
16075
|
|
|
16030
16076
|
Extracts pagination and falls back to provided defaults when parsed values are invalid.
|
|
16031
16077
|
|
|
@@ -16076,7 +16122,7 @@ Extracts pagination and falls back to provided defaults when parsed values are i
|
|
|
16076
16122
|
function Pager(defaultOptions?): ParameterDecorator;
|
|
16077
16123
|
```
|
|
16078
16124
|
|
|
16079
|
-
Defined in: [libs/nest-crud/src/decorators/page.decorator.ts:120](https://github.com/hichchidev/hichchi/blob/
|
|
16125
|
+
Defined in: [libs/nest-crud/src/decorators/page.decorator.ts:120](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/decorators/page.decorator.ts#L120)
|
|
16080
16126
|
|
|
16081
16127
|
Pagination parameter decorator
|
|
16082
16128
|
|
|
@@ -16221,7 +16267,7 @@ export class ArticleController {
|
|
|
16221
16267
|
function Search(): ParameterDecorator;
|
|
16222
16268
|
```
|
|
16223
16269
|
|
|
16224
|
-
Defined in: [libs/nest-crud/src/decorators/search.decorator.ts:85](https://github.com/hichchidev/hichchi/blob/
|
|
16270
|
+
Defined in: [libs/nest-crud/src/decorators/search.decorator.ts:85](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/decorators/search.decorator.ts#L85)
|
|
16225
16271
|
|
|
16226
16272
|
Search parameter decorator
|
|
16227
16273
|
|
|
@@ -16316,7 +16362,7 @@ export class ProductController {
|
|
|
16316
16362
|
function Sorter(): ParameterDecorator;
|
|
16317
16363
|
```
|
|
16318
16364
|
|
|
16319
|
-
Defined in: [libs/nest-crud/src/decorators/sort.decorator.ts:90](https://github.com/hichchidev/hichchi/blob/
|
|
16365
|
+
Defined in: [libs/nest-crud/src/decorators/sort.decorator.ts:90](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/decorators/sort.decorator.ts#L90)
|
|
16320
16366
|
|
|
16321
16367
|
Sort parameter decorator
|
|
16322
16368
|
|
|
@@ -16412,7 +16458,7 @@ export class ProductController {
|
|
|
16412
16458
|
|
|
16413
16459
|
### ConnectionOptions
|
|
16414
16460
|
|
|
16415
|
-
Defined in: [libs/nest-crud/src/interfaces/connection-options.interface.ts:45](https://github.com/hichchidev/hichchi/blob/
|
|
16461
|
+
Defined in: [libs/nest-crud/src/interfaces/connection-options.interface.ts:45](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/connection-options.interface.ts#L45)
|
|
16416
16462
|
|
|
16417
16463
|
Database connection configuration options.
|
|
16418
16464
|
|
|
@@ -16503,7 +16549,7 @@ autoLoadEntities: true;
|
|
|
16503
16549
|
</td>
|
|
16504
16550
|
<td>
|
|
16505
16551
|
|
|
16506
|
-
[libs/nest-crud/src/interfaces/connection-options.interface.ts:185](https://github.com/hichchidev/hichchi/blob/
|
|
16552
|
+
[libs/nest-crud/src/interfaces/connection-options.interface.ts:185](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/connection-options.interface.ts#L185)
|
|
16507
16553
|
|
|
16508
16554
|
</td>
|
|
16509
16555
|
</tr>
|
|
@@ -16535,7 +16581,7 @@ charset: "utf8mb4";
|
|
|
16535
16581
|
</td>
|
|
16536
16582
|
<td>
|
|
16537
16583
|
|
|
16538
|
-
[libs/nest-crud/src/interfaces/connection-options.interface.ts:148](https://github.com/hichchidev/hichchi/blob/
|
|
16584
|
+
[libs/nest-crud/src/interfaces/connection-options.interface.ts:148](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/connection-options.interface.ts#L148)
|
|
16539
16585
|
|
|
16540
16586
|
</td>
|
|
16541
16587
|
</tr>
|
|
@@ -16566,7 +16612,7 @@ database: "my_application_db";
|
|
|
16566
16612
|
</td>
|
|
16567
16613
|
<td>
|
|
16568
16614
|
|
|
16569
|
-
[libs/nest-crud/src/interfaces/connection-options.interface.ts:114](https://github.com/hichchidev/hichchi/blob/
|
|
16615
|
+
[libs/nest-crud/src/interfaces/connection-options.interface.ts:114](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/connection-options.interface.ts#L114)
|
|
16570
16616
|
|
|
16571
16617
|
</td>
|
|
16572
16618
|
</tr>
|
|
@@ -16597,7 +16643,7 @@ entities: [__dirname + "/** /*.entity{.ts,.js}"];
|
|
|
16597
16643
|
</td>
|
|
16598
16644
|
<td>
|
|
16599
16645
|
|
|
16600
|
-
[libs/nest-crud/src/interfaces/connection-options.interface.ts:125](https://github.com/hichchidev/hichchi/blob/
|
|
16646
|
+
[libs/nest-crud/src/interfaces/connection-options.interface.ts:125](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/connection-options.interface.ts#L125)
|
|
16601
16647
|
|
|
16602
16648
|
</td>
|
|
16603
16649
|
</tr>
|
|
@@ -16632,7 +16678,7 @@ host: "localhost";
|
|
|
16632
16678
|
</td>
|
|
16633
16679
|
<td>
|
|
16634
16680
|
|
|
16635
|
-
[libs/nest-crud/src/interfaces/connection-options.interface.ts:69](https://github.com/hichchidev/hichchi/blob/
|
|
16681
|
+
[libs/nest-crud/src/interfaces/connection-options.interface.ts:69](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/connection-options.interface.ts#L69)
|
|
16636
16682
|
|
|
16637
16683
|
</td>
|
|
16638
16684
|
</tr>
|
|
@@ -16664,7 +16710,7 @@ false;
|
|
|
16664
16710
|
</td>
|
|
16665
16711
|
<td>
|
|
16666
16712
|
|
|
16667
|
-
[libs/nest-crud/src/interfaces/connection-options.interface.ts:172](https://github.com/hichchidev/hichchi/blob/
|
|
16713
|
+
[libs/nest-crud/src/interfaces/connection-options.interface.ts:172](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/connection-options.interface.ts#L172)
|
|
16668
16714
|
|
|
16669
16715
|
</td>
|
|
16670
16716
|
</tr>
|
|
@@ -16695,7 +16741,7 @@ migrations: [__dirname + "/migrations/*{.ts,.js}"];
|
|
|
16695
16741
|
</td>
|
|
16696
16742
|
<td>
|
|
16697
16743
|
|
|
16698
|
-
[libs/nest-crud/src/interfaces/connection-options.interface.ts:136](https://github.com/hichchidev/hichchi/blob/
|
|
16744
|
+
[libs/nest-crud/src/interfaces/connection-options.interface.ts:136](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/connection-options.interface.ts#L136)
|
|
16699
16745
|
|
|
16700
16746
|
</td>
|
|
16701
16747
|
</tr>
|
|
@@ -16727,7 +16773,7 @@ password: process.env.DB_PASSWORD;
|
|
|
16727
16773
|
</td>
|
|
16728
16774
|
<td>
|
|
16729
16775
|
|
|
16730
|
-
[libs/nest-crud/src/interfaces/connection-options.interface.ts:103](https://github.com/hichchidev/hichchi/blob/
|
|
16776
|
+
[libs/nest-crud/src/interfaces/connection-options.interface.ts:103](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/connection-options.interface.ts#L103)
|
|
16731
16777
|
|
|
16732
16778
|
</td>
|
|
16733
16779
|
</tr>
|
|
@@ -16758,7 +16804,7 @@ port: 3306;
|
|
|
16758
16804
|
</td>
|
|
16759
16805
|
<td>
|
|
16760
16806
|
|
|
16761
|
-
[libs/nest-crud/src/interfaces/connection-options.interface.ts:80](https://github.com/hichchidev/hichchi/blob/
|
|
16807
|
+
[libs/nest-crud/src/interfaces/connection-options.interface.ts:80](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/connection-options.interface.ts#L80)
|
|
16762
16808
|
|
|
16763
16809
|
</td>
|
|
16764
16810
|
</tr>
|
|
@@ -16796,7 +16842,7 @@ synchronize: false;
|
|
|
16796
16842
|
</td>
|
|
16797
16843
|
<td>
|
|
16798
16844
|
|
|
16799
|
-
[libs/nest-crud/src/interfaces/connection-options.interface.ts:161](https://github.com/hichchidev/hichchi/blob/
|
|
16845
|
+
[libs/nest-crud/src/interfaces/connection-options.interface.ts:161](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/connection-options.interface.ts#L161)
|
|
16800
16846
|
|
|
16801
16847
|
</td>
|
|
16802
16848
|
</tr>
|
|
@@ -16828,7 +16874,7 @@ type: "mysql";
|
|
|
16828
16874
|
</td>
|
|
16829
16875
|
<td>
|
|
16830
16876
|
|
|
16831
|
-
[libs/nest-crud/src/interfaces/connection-options.interface.ts:56](https://github.com/hichchidev/hichchi/blob/
|
|
16877
|
+
[libs/nest-crud/src/interfaces/connection-options.interface.ts:56](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/connection-options.interface.ts#L56)
|
|
16832
16878
|
|
|
16833
16879
|
</td>
|
|
16834
16880
|
</tr>
|
|
@@ -16859,7 +16905,7 @@ username: "app_user";
|
|
|
16859
16905
|
</td>
|
|
16860
16906
|
<td>
|
|
16861
16907
|
|
|
16862
|
-
[libs/nest-crud/src/interfaces/connection-options.interface.ts:91](https://github.com/hichchidev/hichchi/blob/
|
|
16908
|
+
[libs/nest-crud/src/interfaces/connection-options.interface.ts:91](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/connection-options.interface.ts#L91)
|
|
16863
16909
|
|
|
16864
16910
|
</td>
|
|
16865
16911
|
</tr>
|
|
@@ -16870,7 +16916,7 @@ username: "app_user";
|
|
|
16870
16916
|
|
|
16871
16917
|
### GetByIdsOptions
|
|
16872
16918
|
|
|
16873
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:355](https://github.com/hichchidev/hichchi/blob/
|
|
16919
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:355](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L355)
|
|
16874
16920
|
|
|
16875
16921
|
Options interface for retrieving entities by their IDs.
|
|
16876
16922
|
|
|
@@ -16970,7 +17016,7 @@ ids: ["abc123", "def456"]; // For string IDs
|
|
|
16970
17016
|
</td>
|
|
16971
17017
|
<td>
|
|
16972
17018
|
|
|
16973
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:367](https://github.com/hichchidev/hichchi/blob/
|
|
17019
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:367](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L367)
|
|
16974
17020
|
|
|
16975
17021
|
</td>
|
|
16976
17022
|
</tr>
|
|
@@ -17010,7 +17056,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
17010
17056
|
</td>
|
|
17011
17057
|
<td>
|
|
17012
17058
|
|
|
17013
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
17059
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
17014
17060
|
|
|
17015
17061
|
</td>
|
|
17016
17062
|
</tr>
|
|
@@ -17051,7 +17097,7 @@ options: {
|
|
|
17051
17097
|
</td>
|
|
17052
17098
|
<td>
|
|
17053
17099
|
|
|
17054
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
17100
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
17055
17101
|
|
|
17056
17102
|
</td>
|
|
17057
17103
|
</tr>
|
|
@@ -17088,7 +17134,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
|
|
|
17088
17134
|
</td>
|
|
17089
17135
|
<td>
|
|
17090
17136
|
|
|
17091
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:330](https://github.com/hichchidev/hichchi/blob/
|
|
17137
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:330](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L330)
|
|
17092
17138
|
|
|
17093
17139
|
</td>
|
|
17094
17140
|
</tr>
|
|
@@ -17125,7 +17171,7 @@ relations: ["profile", "posts"];
|
|
|
17125
17171
|
</td>
|
|
17126
17172
|
<td>
|
|
17127
17173
|
|
|
17128
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
17174
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
17129
17175
|
|
|
17130
17176
|
</td>
|
|
17131
17177
|
</tr>
|
|
@@ -17165,7 +17211,7 @@ sort: {
|
|
|
17165
17211
|
</td>
|
|
17166
17212
|
<td>
|
|
17167
17213
|
|
|
17168
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
17214
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
17169
17215
|
|
|
17170
17216
|
</td>
|
|
17171
17217
|
</tr>
|
|
@@ -17176,7 +17222,7 @@ sort: {
|
|
|
17176
17222
|
|
|
17177
17223
|
### GetManyOptionsFilter
|
|
17178
17224
|
|
|
17179
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:464](https://github.com/hichchidev/hichchi/blob/
|
|
17225
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:464](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L464)
|
|
17180
17226
|
|
|
17181
17227
|
Options for retrieving multiple entities with pagination and filter-based query keys.
|
|
17182
17228
|
|
|
@@ -17248,7 +17294,7 @@ filters: { status: 'active', type: 'user' }
|
|
|
17248
17294
|
</td>
|
|
17249
17295
|
<td>
|
|
17250
17296
|
|
|
17251
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:98](https://github.com/hichchidev/hichchi/blob/
|
|
17297
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:98](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L98)
|
|
17252
17298
|
|
|
17253
17299
|
</td>
|
|
17254
17300
|
</tr>
|
|
@@ -17288,7 +17334,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
17288
17334
|
</td>
|
|
17289
17335
|
<td>
|
|
17290
17336
|
|
|
17291
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
17337
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
17292
17338
|
|
|
17293
17339
|
</td>
|
|
17294
17340
|
</tr>
|
|
@@ -17329,7 +17375,7 @@ options: {
|
|
|
17329
17375
|
</td>
|
|
17330
17376
|
<td>
|
|
17331
17377
|
|
|
17332
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
17378
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
17333
17379
|
|
|
17334
17380
|
</td>
|
|
17335
17381
|
</tr>
|
|
@@ -17366,7 +17412,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
|
|
|
17366
17412
|
</td>
|
|
17367
17413
|
<td>
|
|
17368
17414
|
|
|
17369
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:330](https://github.com/hichchidev/hichchi/blob/
|
|
17415
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:330](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L330)
|
|
17370
17416
|
|
|
17371
17417
|
</td>
|
|
17372
17418
|
</tr>
|
|
@@ -17403,7 +17449,7 @@ relations: ["profile", "posts"];
|
|
|
17403
17449
|
</td>
|
|
17404
17450
|
<td>
|
|
17405
17451
|
|
|
17406
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
17452
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
17407
17453
|
|
|
17408
17454
|
</td>
|
|
17409
17455
|
</tr>
|
|
@@ -17443,7 +17489,7 @@ sort: {
|
|
|
17443
17489
|
</td>
|
|
17444
17490
|
<td>
|
|
17445
17491
|
|
|
17446
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
17492
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
17447
17493
|
|
|
17448
17494
|
</td>
|
|
17449
17495
|
</tr>
|
|
@@ -17471,7 +17517,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
17471
17517
|
</td>
|
|
17472
17518
|
<td>
|
|
17473
17519
|
|
|
17474
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:104](https://github.com/hichchidev/hichchi/blob/
|
|
17520
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:104](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L104)
|
|
17475
17521
|
|
|
17476
17522
|
</td>
|
|
17477
17523
|
</tr>
|
|
@@ -17482,7 +17528,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
17482
17528
|
|
|
17483
17529
|
### GetManyOptionsNot
|
|
17484
17530
|
|
|
17485
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:510](https://github.com/hichchidev/hichchi/blob/
|
|
17531
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:510](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L510)
|
|
17486
17532
|
|
|
17487
17533
|
Options interface for retrieving multiple entities using exclusion-based filtering with pagination.
|
|
17488
17534
|
|
|
@@ -17581,7 +17627,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
17581
17627
|
</td>
|
|
17582
17628
|
<td>
|
|
17583
17629
|
|
|
17584
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
17630
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
17585
17631
|
|
|
17586
17632
|
</td>
|
|
17587
17633
|
</tr>
|
|
@@ -17617,7 +17663,7 @@ not: { role: 'admin', status: 'deleted' }
|
|
|
17617
17663
|
</td>
|
|
17618
17664
|
<td>
|
|
17619
17665
|
|
|
17620
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:224](https://github.com/hichchidev/hichchi/blob/
|
|
17666
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:224](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L224)
|
|
17621
17667
|
|
|
17622
17668
|
</td>
|
|
17623
17669
|
</tr>
|
|
@@ -17658,7 +17704,7 @@ options: {
|
|
|
17658
17704
|
</td>
|
|
17659
17705
|
<td>
|
|
17660
17706
|
|
|
17661
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
17707
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
17662
17708
|
|
|
17663
17709
|
</td>
|
|
17664
17710
|
</tr>
|
|
@@ -17695,7 +17741,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
|
|
|
17695
17741
|
</td>
|
|
17696
17742
|
<td>
|
|
17697
17743
|
|
|
17698
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:330](https://github.com/hichchidev/hichchi/blob/
|
|
17744
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:330](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L330)
|
|
17699
17745
|
|
|
17700
17746
|
</td>
|
|
17701
17747
|
</tr>
|
|
@@ -17732,7 +17778,7 @@ relations: ["profile", "posts"];
|
|
|
17732
17778
|
</td>
|
|
17733
17779
|
<td>
|
|
17734
17780
|
|
|
17735
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
17781
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
17736
17782
|
|
|
17737
17783
|
</td>
|
|
17738
17784
|
</tr>
|
|
@@ -17772,7 +17818,7 @@ sort: {
|
|
|
17772
17818
|
</td>
|
|
17773
17819
|
<td>
|
|
17774
17820
|
|
|
17775
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
17821
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
17776
17822
|
|
|
17777
17823
|
</td>
|
|
17778
17824
|
</tr>
|
|
@@ -17800,7 +17846,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
|
|
|
17800
17846
|
</td>
|
|
17801
17847
|
<td>
|
|
17802
17848
|
|
|
17803
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:230](https://github.com/hichchidev/hichchi/blob/
|
|
17849
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:230](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L230)
|
|
17804
17850
|
|
|
17805
17851
|
</td>
|
|
17806
17852
|
</tr>
|
|
@@ -17811,7 +17857,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
|
|
|
17811
17857
|
|
|
17812
17858
|
### GetManyOptionsSearch
|
|
17813
17859
|
|
|
17814
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:487](https://github.com/hichchidev/hichchi/blob/
|
|
17860
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:487](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L487)
|
|
17815
17861
|
|
|
17816
17862
|
Options interface for retrieving multiple entities using search-based filtering with pagination.
|
|
17817
17863
|
|
|
@@ -17910,7 +17956,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
17910
17956
|
</td>
|
|
17911
17957
|
<td>
|
|
17912
17958
|
|
|
17913
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
17959
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
17914
17960
|
|
|
17915
17961
|
</td>
|
|
17916
17962
|
</tr>
|
|
@@ -17951,7 +17997,7 @@ options: {
|
|
|
17951
17997
|
</td>
|
|
17952
17998
|
<td>
|
|
17953
17999
|
|
|
17954
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
18000
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
17955
18001
|
|
|
17956
18002
|
</td>
|
|
17957
18003
|
</tr>
|
|
@@ -17988,7 +18034,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
|
|
|
17988
18034
|
</td>
|
|
17989
18035
|
<td>
|
|
17990
18036
|
|
|
17991
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:330](https://github.com/hichchidev/hichchi/blob/
|
|
18037
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:330](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L330)
|
|
17992
18038
|
|
|
17993
18039
|
</td>
|
|
17994
18040
|
</tr>
|
|
@@ -18025,7 +18071,7 @@ relations: ["profile", "posts"];
|
|
|
18025
18071
|
</td>
|
|
18026
18072
|
<td>
|
|
18027
18073
|
|
|
18028
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
18074
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
18029
18075
|
|
|
18030
18076
|
</td>
|
|
18031
18077
|
</tr>
|
|
@@ -18065,7 +18111,7 @@ search: {
|
|
|
18065
18111
|
</td>
|
|
18066
18112
|
<td>
|
|
18067
18113
|
|
|
18068
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:157](https://github.com/hichchidev/hichchi/blob/
|
|
18114
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:157](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L157)
|
|
18069
18115
|
|
|
18070
18116
|
</td>
|
|
18071
18117
|
</tr>
|
|
@@ -18105,7 +18151,7 @@ sort: {
|
|
|
18105
18151
|
</td>
|
|
18106
18152
|
<td>
|
|
18107
18153
|
|
|
18108
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
18154
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
18109
18155
|
|
|
18110
18156
|
</td>
|
|
18111
18157
|
</tr>
|
|
@@ -18133,7 +18179,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
18133
18179
|
</td>
|
|
18134
18180
|
<td>
|
|
18135
18181
|
|
|
18136
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:163](https://github.com/hichchidev/hichchi/blob/
|
|
18182
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:163](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L163)
|
|
18137
18183
|
|
|
18138
18184
|
</td>
|
|
18139
18185
|
</tr>
|
|
@@ -18144,7 +18190,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
18144
18190
|
|
|
18145
18191
|
### GetManyOptionsWhere
|
|
18146
18192
|
|
|
18147
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:535](https://github.com/hichchidev/hichchi/blob/
|
|
18193
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:535](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L535)
|
|
18148
18194
|
|
|
18149
18195
|
Options interface for retrieving multiple entities using direct WHERE clause with pagination.
|
|
18150
18196
|
|
|
@@ -18230,7 +18276,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
18230
18276
|
</td>
|
|
18231
18277
|
<td>
|
|
18232
18278
|
|
|
18233
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:265](https://github.com/hichchidev/hichchi/blob/
|
|
18279
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:265](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L265)
|
|
18234
18280
|
|
|
18235
18281
|
</td>
|
|
18236
18282
|
</tr>
|
|
@@ -18270,7 +18316,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
18270
18316
|
</td>
|
|
18271
18317
|
<td>
|
|
18272
18318
|
|
|
18273
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
18319
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
18274
18320
|
|
|
18275
18321
|
</td>
|
|
18276
18322
|
</tr>
|
|
@@ -18298,7 +18344,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
|
|
|
18298
18344
|
</td>
|
|
18299
18345
|
<td>
|
|
18300
18346
|
|
|
18301
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:277](https://github.com/hichchidev/hichchi/blob/
|
|
18347
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:277](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L277)
|
|
18302
18348
|
|
|
18303
18349
|
</td>
|
|
18304
18350
|
</tr>
|
|
@@ -18339,7 +18385,7 @@ options: {
|
|
|
18339
18385
|
</td>
|
|
18340
18386
|
<td>
|
|
18341
18387
|
|
|
18342
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
18388
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
18343
18389
|
|
|
18344
18390
|
</td>
|
|
18345
18391
|
</tr>
|
|
@@ -18376,7 +18422,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
|
|
|
18376
18422
|
</td>
|
|
18377
18423
|
<td>
|
|
18378
18424
|
|
|
18379
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:330](https://github.com/hichchidev/hichchi/blob/
|
|
18425
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:330](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L330)
|
|
18380
18426
|
|
|
18381
18427
|
</td>
|
|
18382
18428
|
</tr>
|
|
@@ -18413,7 +18459,7 @@ relations: ["profile", "posts"];
|
|
|
18413
18459
|
</td>
|
|
18414
18460
|
<td>
|
|
18415
18461
|
|
|
18416
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
18462
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
18417
18463
|
|
|
18418
18464
|
</td>
|
|
18419
18465
|
</tr>
|
|
@@ -18441,7 +18487,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
18441
18487
|
</td>
|
|
18442
18488
|
<td>
|
|
18443
18489
|
|
|
18444
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:271](https://github.com/hichchidev/hichchi/blob/
|
|
18490
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:271](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L271)
|
|
18445
18491
|
|
|
18446
18492
|
</td>
|
|
18447
18493
|
</tr>
|
|
@@ -18481,7 +18527,7 @@ sort: {
|
|
|
18481
18527
|
</td>
|
|
18482
18528
|
<td>
|
|
18483
18529
|
|
|
18484
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
18530
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
18485
18531
|
|
|
18486
18532
|
</td>
|
|
18487
18533
|
</tr>
|
|
@@ -18527,7 +18573,7 @@ where: [
|
|
|
18527
18573
|
</td>
|
|
18528
18574
|
<td>
|
|
18529
18575
|
|
|
18530
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:297](https://github.com/hichchidev/hichchi/blob/
|
|
18576
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:297](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L297)
|
|
18531
18577
|
|
|
18532
18578
|
</td>
|
|
18533
18579
|
</tr>
|
|
@@ -18538,7 +18584,7 @@ where: [
|
|
|
18538
18584
|
|
|
18539
18585
|
### GetOneOptionsFilter
|
|
18540
18586
|
|
|
18541
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:394](https://github.com/hichchidev/hichchi/blob/
|
|
18587
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:394](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L394)
|
|
18542
18588
|
|
|
18543
18589
|
Options for retrieving a single entity using filter-based query keys.
|
|
18544
18590
|
|
|
@@ -18614,7 +18660,7 @@ filters: { status: 'active', type: 'user' }
|
|
|
18614
18660
|
</td>
|
|
18615
18661
|
<td>
|
|
18616
18662
|
|
|
18617
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:98](https://github.com/hichchidev/hichchi/blob/
|
|
18663
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:98](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L98)
|
|
18618
18664
|
|
|
18619
18665
|
</td>
|
|
18620
18666
|
</tr>
|
|
@@ -18654,7 +18700,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
18654
18700
|
</td>
|
|
18655
18701
|
<td>
|
|
18656
18702
|
|
|
18657
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
18703
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
18658
18704
|
|
|
18659
18705
|
</td>
|
|
18660
18706
|
</tr>
|
|
@@ -18695,7 +18741,7 @@ options: {
|
|
|
18695
18741
|
</td>
|
|
18696
18742
|
<td>
|
|
18697
18743
|
|
|
18698
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
18744
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
18699
18745
|
|
|
18700
18746
|
</td>
|
|
18701
18747
|
</tr>
|
|
@@ -18732,7 +18778,7 @@ relations: ["profile", "posts"];
|
|
|
18732
18778
|
</td>
|
|
18733
18779
|
<td>
|
|
18734
18780
|
|
|
18735
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
18781
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
18736
18782
|
|
|
18737
18783
|
</td>
|
|
18738
18784
|
</tr>
|
|
@@ -18772,7 +18818,7 @@ sort: {
|
|
|
18772
18818
|
</td>
|
|
18773
18819
|
<td>
|
|
18774
18820
|
|
|
18775
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
18821
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
18776
18822
|
|
|
18777
18823
|
</td>
|
|
18778
18824
|
</tr>
|
|
@@ -18800,7 +18846,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
18800
18846
|
</td>
|
|
18801
18847
|
<td>
|
|
18802
18848
|
|
|
18803
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:104](https://github.com/hichchidev/hichchi/blob/
|
|
18849
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:104](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L104)
|
|
18804
18850
|
|
|
18805
18851
|
</td>
|
|
18806
18852
|
</tr>
|
|
@@ -18811,7 +18857,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
18811
18857
|
|
|
18812
18858
|
### GetOneOptionsNot
|
|
18813
18859
|
|
|
18814
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:436](https://github.com/hichchidev/hichchi/blob/
|
|
18860
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:436](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L436)
|
|
18815
18861
|
|
|
18816
18862
|
Options interface for retrieving a single entity using exclusion-based filtering.
|
|
18817
18863
|
|
|
@@ -18912,7 +18958,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
18912
18958
|
</td>
|
|
18913
18959
|
<td>
|
|
18914
18960
|
|
|
18915
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
18961
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
18916
18962
|
|
|
18917
18963
|
</td>
|
|
18918
18964
|
</tr>
|
|
@@ -18948,7 +18994,7 @@ not: { role: 'admin', status: 'deleted' }
|
|
|
18948
18994
|
</td>
|
|
18949
18995
|
<td>
|
|
18950
18996
|
|
|
18951
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:224](https://github.com/hichchidev/hichchi/blob/
|
|
18997
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:224](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L224)
|
|
18952
18998
|
|
|
18953
18999
|
</td>
|
|
18954
19000
|
</tr>
|
|
@@ -18989,7 +19035,7 @@ options: {
|
|
|
18989
19035
|
</td>
|
|
18990
19036
|
<td>
|
|
18991
19037
|
|
|
18992
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
19038
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
18993
19039
|
|
|
18994
19040
|
</td>
|
|
18995
19041
|
</tr>
|
|
@@ -19026,7 +19072,7 @@ relations: ["profile", "posts"];
|
|
|
19026
19072
|
</td>
|
|
19027
19073
|
<td>
|
|
19028
19074
|
|
|
19029
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
19075
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
19030
19076
|
|
|
19031
19077
|
</td>
|
|
19032
19078
|
</tr>
|
|
@@ -19066,7 +19112,7 @@ sort: {
|
|
|
19066
19112
|
</td>
|
|
19067
19113
|
<td>
|
|
19068
19114
|
|
|
19069
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
19115
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
19070
19116
|
|
|
19071
19117
|
</td>
|
|
19072
19118
|
</tr>
|
|
@@ -19094,7 +19140,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
|
|
|
19094
19140
|
</td>
|
|
19095
19141
|
<td>
|
|
19096
19142
|
|
|
19097
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:230](https://github.com/hichchidev/hichchi/blob/
|
|
19143
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:230](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L230)
|
|
19098
19144
|
|
|
19099
19145
|
</td>
|
|
19100
19146
|
</tr>
|
|
@@ -19105,7 +19151,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
|
|
|
19105
19151
|
|
|
19106
19152
|
### GetOneOptionsSearch
|
|
19107
19153
|
|
|
19108
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:415](https://github.com/hichchidev/hichchi/blob/
|
|
19154
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:415](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L415)
|
|
19109
19155
|
|
|
19110
19156
|
Options interface for retrieving a single entity using search-based filtering.
|
|
19111
19157
|
|
|
@@ -19206,7 +19252,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
19206
19252
|
</td>
|
|
19207
19253
|
<td>
|
|
19208
19254
|
|
|
19209
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
19255
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
19210
19256
|
|
|
19211
19257
|
</td>
|
|
19212
19258
|
</tr>
|
|
@@ -19247,7 +19293,7 @@ options: {
|
|
|
19247
19293
|
</td>
|
|
19248
19294
|
<td>
|
|
19249
19295
|
|
|
19250
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
19296
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
19251
19297
|
|
|
19252
19298
|
</td>
|
|
19253
19299
|
</tr>
|
|
@@ -19284,7 +19330,7 @@ relations: ["profile", "posts"];
|
|
|
19284
19330
|
</td>
|
|
19285
19331
|
<td>
|
|
19286
19332
|
|
|
19287
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
19333
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
19288
19334
|
|
|
19289
19335
|
</td>
|
|
19290
19336
|
</tr>
|
|
@@ -19324,7 +19370,7 @@ search: {
|
|
|
19324
19370
|
</td>
|
|
19325
19371
|
<td>
|
|
19326
19372
|
|
|
19327
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:157](https://github.com/hichchidev/hichchi/blob/
|
|
19373
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:157](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L157)
|
|
19328
19374
|
|
|
19329
19375
|
</td>
|
|
19330
19376
|
</tr>
|
|
@@ -19364,7 +19410,7 @@ sort: {
|
|
|
19364
19410
|
</td>
|
|
19365
19411
|
<td>
|
|
19366
19412
|
|
|
19367
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
19413
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
19368
19414
|
|
|
19369
19415
|
</td>
|
|
19370
19416
|
</tr>
|
|
@@ -19392,7 +19438,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
19392
19438
|
</td>
|
|
19393
19439
|
<td>
|
|
19394
19440
|
|
|
19395
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:163](https://github.com/hichchidev/hichchi/blob/
|
|
19441
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:163](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L163)
|
|
19396
19442
|
|
|
19397
19443
|
</td>
|
|
19398
19444
|
</tr>
|
|
@@ -19403,7 +19449,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
19403
19449
|
|
|
19404
19450
|
### GetOneOptionsWhere
|
|
19405
19451
|
|
|
19406
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:459](https://github.com/hichchidev/hichchi/blob/
|
|
19452
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:459](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L459)
|
|
19407
19453
|
|
|
19408
19454
|
Options interface for retrieving a single entity using direct WHERE clause.
|
|
19409
19455
|
|
|
@@ -19491,7 +19537,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
19491
19537
|
</td>
|
|
19492
19538
|
<td>
|
|
19493
19539
|
|
|
19494
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:265](https://github.com/hichchidev/hichchi/blob/
|
|
19540
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:265](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L265)
|
|
19495
19541
|
|
|
19496
19542
|
</td>
|
|
19497
19543
|
</tr>
|
|
@@ -19531,7 +19577,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
19531
19577
|
</td>
|
|
19532
19578
|
<td>
|
|
19533
19579
|
|
|
19534
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
19580
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
19535
19581
|
|
|
19536
19582
|
</td>
|
|
19537
19583
|
</tr>
|
|
@@ -19559,7 +19605,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
|
|
|
19559
19605
|
</td>
|
|
19560
19606
|
<td>
|
|
19561
19607
|
|
|
19562
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:277](https://github.com/hichchidev/hichchi/blob/
|
|
19608
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:277](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L277)
|
|
19563
19609
|
|
|
19564
19610
|
</td>
|
|
19565
19611
|
</tr>
|
|
@@ -19600,7 +19646,7 @@ options: {
|
|
|
19600
19646
|
</td>
|
|
19601
19647
|
<td>
|
|
19602
19648
|
|
|
19603
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
19649
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
19604
19650
|
|
|
19605
19651
|
</td>
|
|
19606
19652
|
</tr>
|
|
@@ -19637,7 +19683,7 @@ relations: ["profile", "posts"];
|
|
|
19637
19683
|
</td>
|
|
19638
19684
|
<td>
|
|
19639
19685
|
|
|
19640
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
19686
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
19641
19687
|
|
|
19642
19688
|
</td>
|
|
19643
19689
|
</tr>
|
|
@@ -19665,7 +19711,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
19665
19711
|
</td>
|
|
19666
19712
|
<td>
|
|
19667
19713
|
|
|
19668
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:271](https://github.com/hichchidev/hichchi/blob/
|
|
19714
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:271](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L271)
|
|
19669
19715
|
|
|
19670
19716
|
</td>
|
|
19671
19717
|
</tr>
|
|
@@ -19705,7 +19751,7 @@ sort: {
|
|
|
19705
19751
|
</td>
|
|
19706
19752
|
<td>
|
|
19707
19753
|
|
|
19708
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
19754
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
19709
19755
|
|
|
19710
19756
|
</td>
|
|
19711
19757
|
</tr>
|
|
@@ -19751,7 +19797,7 @@ where: [
|
|
|
19751
19797
|
</td>
|
|
19752
19798
|
<td>
|
|
19753
19799
|
|
|
19754
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:297](https://github.com/hichchidev/hichchi/blob/
|
|
19800
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:297](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L297)
|
|
19755
19801
|
|
|
19756
19802
|
</td>
|
|
19757
19803
|
</tr>
|
|
@@ -19762,7 +19808,7 @@ where: [
|
|
|
19762
19808
|
|
|
19763
19809
|
### PaginatedGetOptions
|
|
19764
19810
|
|
|
19765
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:319](https://github.com/hichchidev/hichchi/blob/
|
|
19811
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:319](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L319)
|
|
19766
19812
|
|
|
19767
19813
|
Options interface for paginated CRUD operations.
|
|
19768
19814
|
|
|
@@ -19867,7 +19913,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
19867
19913
|
</td>
|
|
19868
19914
|
<td>
|
|
19869
19915
|
|
|
19870
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
19916
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
19871
19917
|
|
|
19872
19918
|
</td>
|
|
19873
19919
|
</tr>
|
|
@@ -19908,7 +19954,7 @@ options: {
|
|
|
19908
19954
|
</td>
|
|
19909
19955
|
<td>
|
|
19910
19956
|
|
|
19911
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
19957
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
19912
19958
|
|
|
19913
19959
|
</td>
|
|
19914
19960
|
</tr>
|
|
@@ -19945,7 +19991,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
|
|
|
19945
19991
|
</td>
|
|
19946
19992
|
<td>
|
|
19947
19993
|
|
|
19948
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:330](https://github.com/hichchidev/hichchi/blob/
|
|
19994
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:330](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L330)
|
|
19949
19995
|
|
|
19950
19996
|
</td>
|
|
19951
19997
|
</tr>
|
|
@@ -19982,7 +20028,7 @@ relations: ["profile", "posts"];
|
|
|
19982
20028
|
</td>
|
|
19983
20029
|
<td>
|
|
19984
20030
|
|
|
19985
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
20031
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
19986
20032
|
|
|
19987
20033
|
</td>
|
|
19988
20034
|
</tr>
|
|
@@ -20022,7 +20068,7 @@ sort: {
|
|
|
20022
20068
|
</td>
|
|
20023
20069
|
<td>
|
|
20024
20070
|
|
|
20025
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
20071
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
20026
20072
|
|
|
20027
20073
|
</td>
|
|
20028
20074
|
</tr>
|
|
@@ -20033,7 +20079,7 @@ sort: {
|
|
|
20033
20079
|
|
|
20034
20080
|
### QueryOptions
|
|
20035
20081
|
|
|
20036
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:23](https://github.com/hichchidev/hichchi/blob/
|
|
20082
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:23](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L23)
|
|
20037
20083
|
|
|
20038
20084
|
Base options interface for CRUD operations.
|
|
20039
20085
|
|
|
@@ -20131,7 +20177,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
20131
20177
|
</td>
|
|
20132
20178
|
<td>
|
|
20133
20179
|
|
|
20134
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
20180
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
20135
20181
|
|
|
20136
20182
|
</td>
|
|
20137
20183
|
</tr>
|
|
@@ -20167,7 +20213,7 @@ options: {
|
|
|
20167
20213
|
</td>
|
|
20168
20214
|
<td>
|
|
20169
20215
|
|
|
20170
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
20216
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
20171
20217
|
|
|
20172
20218
|
</td>
|
|
20173
20219
|
</tr>
|
|
@@ -20199,7 +20245,7 @@ relations: ["profile", "posts"];
|
|
|
20199
20245
|
</td>
|
|
20200
20246
|
<td>
|
|
20201
20247
|
|
|
20202
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
20248
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
20203
20249
|
|
|
20204
20250
|
</td>
|
|
20205
20251
|
</tr>
|
|
@@ -20234,7 +20280,7 @@ sort: {
|
|
|
20234
20280
|
</td>
|
|
20235
20281
|
<td>
|
|
20236
20282
|
|
|
20237
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
20283
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
20238
20284
|
|
|
20239
20285
|
</td>
|
|
20240
20286
|
</tr>
|
|
@@ -20245,7 +20291,7 @@ sort: {
|
|
|
20245
20291
|
|
|
20246
20292
|
### QueryOptionsFilter
|
|
20247
20293
|
|
|
20248
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:88](https://github.com/hichchidev/hichchi/blob/
|
|
20294
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:88](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L88)
|
|
20249
20295
|
|
|
20250
20296
|
Query options using the `where`-like filter object.
|
|
20251
20297
|
|
|
@@ -20321,7 +20367,7 @@ filters: { status: 'active', type: 'user' }
|
|
|
20321
20367
|
</td>
|
|
20322
20368
|
<td>
|
|
20323
20369
|
|
|
20324
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:98](https://github.com/hichchidev/hichchi/blob/
|
|
20370
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:98](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L98)
|
|
20325
20371
|
|
|
20326
20372
|
</td>
|
|
20327
20373
|
</tr>
|
|
@@ -20361,7 +20407,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
20361
20407
|
</td>
|
|
20362
20408
|
<td>
|
|
20363
20409
|
|
|
20364
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
20410
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
20365
20411
|
|
|
20366
20412
|
</td>
|
|
20367
20413
|
</tr>
|
|
@@ -20402,7 +20448,7 @@ options: {
|
|
|
20402
20448
|
</td>
|
|
20403
20449
|
<td>
|
|
20404
20450
|
|
|
20405
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
20451
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
20406
20452
|
|
|
20407
20453
|
</td>
|
|
20408
20454
|
</tr>
|
|
@@ -20439,7 +20485,7 @@ relations: ["profile", "posts"];
|
|
|
20439
20485
|
</td>
|
|
20440
20486
|
<td>
|
|
20441
20487
|
|
|
20442
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
20488
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
20443
20489
|
|
|
20444
20490
|
</td>
|
|
20445
20491
|
</tr>
|
|
@@ -20479,7 +20525,7 @@ sort: {
|
|
|
20479
20525
|
</td>
|
|
20480
20526
|
<td>
|
|
20481
20527
|
|
|
20482
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
20528
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
20483
20529
|
|
|
20484
20530
|
</td>
|
|
20485
20531
|
</tr>
|
|
@@ -20507,7 +20553,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
20507
20553
|
</td>
|
|
20508
20554
|
<td>
|
|
20509
20555
|
|
|
20510
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:104](https://github.com/hichchidev/hichchi/blob/
|
|
20556
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:104](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L104)
|
|
20511
20557
|
|
|
20512
20558
|
</td>
|
|
20513
20559
|
</tr>
|
|
@@ -20518,7 +20564,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
20518
20564
|
|
|
20519
20565
|
### QueryOptionsNot
|
|
20520
20566
|
|
|
20521
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:197](https://github.com/hichchidev/hichchi/blob/
|
|
20567
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:197](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L197)
|
|
20522
20568
|
|
|
20523
20569
|
Options interface for exclusion-based CRUD operations.
|
|
20524
20570
|
|
|
@@ -20625,7 +20671,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
20625
20671
|
</td>
|
|
20626
20672
|
<td>
|
|
20627
20673
|
|
|
20628
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
20674
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
20629
20675
|
|
|
20630
20676
|
</td>
|
|
20631
20677
|
</tr>
|
|
@@ -20661,7 +20707,7 @@ not: { role: 'admin', status: 'deleted' }
|
|
|
20661
20707
|
</td>
|
|
20662
20708
|
<td>
|
|
20663
20709
|
|
|
20664
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:224](https://github.com/hichchidev/hichchi/blob/
|
|
20710
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:224](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L224)
|
|
20665
20711
|
|
|
20666
20712
|
</td>
|
|
20667
20713
|
</tr>
|
|
@@ -20702,7 +20748,7 @@ options: {
|
|
|
20702
20748
|
</td>
|
|
20703
20749
|
<td>
|
|
20704
20750
|
|
|
20705
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
20751
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
20706
20752
|
|
|
20707
20753
|
</td>
|
|
20708
20754
|
</tr>
|
|
@@ -20739,7 +20785,7 @@ relations: ["profile", "posts"];
|
|
|
20739
20785
|
</td>
|
|
20740
20786
|
<td>
|
|
20741
20787
|
|
|
20742
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
20788
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
20743
20789
|
|
|
20744
20790
|
</td>
|
|
20745
20791
|
</tr>
|
|
@@ -20779,7 +20825,7 @@ sort: {
|
|
|
20779
20825
|
</td>
|
|
20780
20826
|
<td>
|
|
20781
20827
|
|
|
20782
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
20828
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
20783
20829
|
|
|
20784
20830
|
</td>
|
|
20785
20831
|
</tr>
|
|
@@ -20807,7 +20853,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
|
|
|
20807
20853
|
</td>
|
|
20808
20854
|
<td>
|
|
20809
20855
|
|
|
20810
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:230](https://github.com/hichchidev/hichchi/blob/
|
|
20856
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:230](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L230)
|
|
20811
20857
|
|
|
20812
20858
|
</td>
|
|
20813
20859
|
</tr>
|
|
@@ -20818,7 +20864,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
|
|
|
20818
20864
|
|
|
20819
20865
|
### QueryOptionsSearch
|
|
20820
20866
|
|
|
20821
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:132](https://github.com/hichchidev/hichchi/blob/
|
|
20867
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:132](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L132)
|
|
20822
20868
|
|
|
20823
20869
|
Options interface for search-based CRUD operations.
|
|
20824
20870
|
|
|
@@ -20925,7 +20971,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
20925
20971
|
</td>
|
|
20926
20972
|
<td>
|
|
20927
20973
|
|
|
20928
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
20974
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
20929
20975
|
|
|
20930
20976
|
</td>
|
|
20931
20977
|
</tr>
|
|
@@ -20966,7 +21012,7 @@ options: {
|
|
|
20966
21012
|
</td>
|
|
20967
21013
|
<td>
|
|
20968
21014
|
|
|
20969
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
21015
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
20970
21016
|
|
|
20971
21017
|
</td>
|
|
20972
21018
|
</tr>
|
|
@@ -21003,7 +21049,7 @@ relations: ["profile", "posts"];
|
|
|
21003
21049
|
</td>
|
|
21004
21050
|
<td>
|
|
21005
21051
|
|
|
21006
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
21052
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
21007
21053
|
|
|
21008
21054
|
</td>
|
|
21009
21055
|
</tr>
|
|
@@ -21043,7 +21089,7 @@ search: {
|
|
|
21043
21089
|
</td>
|
|
21044
21090
|
<td>
|
|
21045
21091
|
|
|
21046
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:157](https://github.com/hichchidev/hichchi/blob/
|
|
21092
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:157](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L157)
|
|
21047
21093
|
|
|
21048
21094
|
</td>
|
|
21049
21095
|
</tr>
|
|
@@ -21083,7 +21129,7 @@ sort: {
|
|
|
21083
21129
|
</td>
|
|
21084
21130
|
<td>
|
|
21085
21131
|
|
|
21086
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
21132
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
21087
21133
|
|
|
21088
21134
|
</td>
|
|
21089
21135
|
</tr>
|
|
@@ -21111,7 +21157,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
21111
21157
|
</td>
|
|
21112
21158
|
<td>
|
|
21113
21159
|
|
|
21114
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:163](https://github.com/hichchidev/hichchi/blob/
|
|
21160
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:163](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L163)
|
|
21115
21161
|
|
|
21116
21162
|
</td>
|
|
21117
21163
|
</tr>
|
|
@@ -21122,7 +21168,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
21122
21168
|
|
|
21123
21169
|
### QueryOptionsWhere
|
|
21124
21170
|
|
|
21125
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:260](https://github.com/hichchidev/hichchi/blob/
|
|
21171
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:260](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L260)
|
|
21126
21172
|
|
|
21127
21173
|
Options interface for direct WHERE clause CRUD operations.
|
|
21128
21174
|
|
|
@@ -21216,7 +21262,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
21216
21262
|
</td>
|
|
21217
21263
|
<td>
|
|
21218
21264
|
|
|
21219
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:265](https://github.com/hichchidev/hichchi/blob/
|
|
21265
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:265](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L265)
|
|
21220
21266
|
|
|
21221
21267
|
</td>
|
|
21222
21268
|
</tr>
|
|
@@ -21256,7 +21302,7 @@ async createUserWithProfile(data, manager: EntityManager) {
|
|
|
21256
21302
|
</td>
|
|
21257
21303
|
<td>
|
|
21258
21304
|
|
|
21259
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
21305
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
|
|
21260
21306
|
|
|
21261
21307
|
</td>
|
|
21262
21308
|
</tr>
|
|
@@ -21284,7 +21330,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
|
|
|
21284
21330
|
</td>
|
|
21285
21331
|
<td>
|
|
21286
21332
|
|
|
21287
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:277](https://github.com/hichchidev/hichchi/blob/
|
|
21333
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:277](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L277)
|
|
21288
21334
|
|
|
21289
21335
|
</td>
|
|
21290
21336
|
</tr>
|
|
@@ -21325,7 +21371,7 @@ options: {
|
|
|
21325
21371
|
</td>
|
|
21326
21372
|
<td>
|
|
21327
21373
|
|
|
21328
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
21374
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
|
|
21329
21375
|
|
|
21330
21376
|
</td>
|
|
21331
21377
|
</tr>
|
|
@@ -21362,7 +21408,7 @@ relations: ["profile", "posts"];
|
|
|
21362
21408
|
</td>
|
|
21363
21409
|
<td>
|
|
21364
21410
|
|
|
21365
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
21411
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
|
|
21366
21412
|
|
|
21367
21413
|
</td>
|
|
21368
21414
|
</tr>
|
|
@@ -21390,7 +21436,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
|
|
|
21390
21436
|
</td>
|
|
21391
21437
|
<td>
|
|
21392
21438
|
|
|
21393
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:271](https://github.com/hichchidev/hichchi/blob/
|
|
21439
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:271](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L271)
|
|
21394
21440
|
|
|
21395
21441
|
</td>
|
|
21396
21442
|
</tr>
|
|
@@ -21430,7 +21476,7 @@ sort: {
|
|
|
21430
21476
|
</td>
|
|
21431
21477
|
<td>
|
|
21432
21478
|
|
|
21433
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
21479
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
|
|
21434
21480
|
|
|
21435
21481
|
</td>
|
|
21436
21482
|
</tr>
|
|
@@ -21476,7 +21522,7 @@ where: [
|
|
|
21476
21522
|
</td>
|
|
21477
21523
|
<td>
|
|
21478
21524
|
|
|
21479
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:297](https://github.com/hichchidev/hichchi/blob/
|
|
21525
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:297](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L297)
|
|
21480
21526
|
|
|
21481
21527
|
</td>
|
|
21482
21528
|
</tr>
|
|
@@ -21487,7 +21533,7 @@ where: [
|
|
|
21487
21533
|
|
|
21488
21534
|
### SaveOptionsWithSkip
|
|
21489
21535
|
|
|
21490
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:566](https://github.com/hichchidev/hichchi/blob/
|
|
21536
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:566](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L566)
|
|
21491
21537
|
|
|
21492
21538
|
Extended save options interface with skip creation functionality.
|
|
21493
21539
|
|
|
@@ -21698,7 +21744,7 @@ skipCreate: true; // Only update existing entities, don't create new ones
|
|
|
21698
21744
|
</td>
|
|
21699
21745
|
<td>
|
|
21700
21746
|
|
|
21701
|
-
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:579](https://github.com/hichchidev/hichchi/blob/
|
|
21747
|
+
[libs/nest-crud/src/interfaces/crud-options.interfaces.ts:579](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L579)
|
|
21702
21748
|
|
|
21703
21749
|
</td>
|
|
21704
21750
|
</tr>
|
|
@@ -21743,7 +21789,7 @@ node_modules/typeorm/repository/SaveOptions.d.ts:19
|
|
|
21743
21789
|
type DatabaseTypes = "mysql" | "mariadb" | "postgres";
|
|
21744
21790
|
```
|
|
21745
21791
|
|
|
21746
|
-
Defined in: [libs/nest-crud/src/types/database.types.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
21792
|
+
Defined in: [libs/nest-crud/src/types/database.types.ts:37](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/types/database.types.ts#L37)
|
|
21747
21793
|
|
|
21748
21794
|
Supported database types for application connections.
|
|
21749
21795
|
|
|
@@ -21790,7 +21836,7 @@ const connectionOptions: ConnectionOptions = {
|
|
|
21790
21836
|
type EntityDecorator = (target) => void;
|
|
21791
21837
|
```
|
|
21792
21838
|
|
|
21793
|
-
Defined in: [libs/nest-crud/src/types/decorator.types.ts:64](https://github.com/hichchidev/hichchi/blob/
|
|
21839
|
+
Defined in: [libs/nest-crud/src/types/decorator.types.ts:64](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/types/decorator.types.ts#L64)
|
|
21794
21840
|
|
|
21795
21841
|
Type definition for decorators that target standard entity classes
|
|
21796
21842
|
|
|
@@ -21873,7 +21919,7 @@ export class UserEntity extends BaseEntity {
|
|
|
21873
21919
|
type EntityExtensionDecorator = (target) => void;
|
|
21874
21920
|
```
|
|
21875
21921
|
|
|
21876
|
-
Defined in: [libs/nest-crud/src/types/decorator.types.ts:108](https://github.com/hichchidev/hichchi/blob/
|
|
21922
|
+
Defined in: [libs/nest-crud/src/types/decorator.types.ts:108](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/types/decorator.types.ts#L108)
|
|
21877
21923
|
|
|
21878
21924
|
Type definition for decorators that target extended entity classes
|
|
21879
21925
|
|
|
@@ -21961,7 +22007,7 @@ export class ProductEntity extends BaseEntityExtension {
|
|
|
21961
22007
|
type EntityOptionUnique = object;
|
|
21962
22008
|
```
|
|
21963
22009
|
|
|
21964
|
-
Defined in: [libs/nest-crud/src/types/entity-option-unique.ts:51](https://github.com/hichchidev/hichchi/blob/
|
|
22010
|
+
Defined in: [libs/nest-crud/src/types/entity-option-unique.ts:51](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/types/entity-option-unique.ts#L51)
|
|
21965
22011
|
|
|
21966
22012
|
Configuration type for defining unique constraints on entity fields.
|
|
21967
22013
|
|
|
@@ -22039,7 +22085,7 @@ type FilterOptions<Entity> = {
|
|
|
22039
22085
|
};
|
|
22040
22086
|
```
|
|
22041
22087
|
|
|
22042
|
-
Defined in: [libs/nest-crud/src/types/filter-options.type.ts:60](https://github.com/hichchidev/hichchi/blob/
|
|
22088
|
+
Defined in: [libs/nest-crud/src/types/filter-options.type.ts:60](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/types/filter-options.type.ts#L60)
|
|
22043
22089
|
|
|
22044
22090
|
A recursive type for building structured filter conditions for entity queries.
|
|
22045
22091
|
|
|
@@ -22143,7 +22189,7 @@ type FindConditions<Entity> =
|
|
|
22143
22189
|
| QueryDeepPartial<Entity>;
|
|
22144
22190
|
```
|
|
22145
22191
|
|
|
22146
|
-
Defined in: [libs/nest-crud/src/types/find-conditions.type.ts:59](https://github.com/hichchidev/hichchi/blob/
|
|
22192
|
+
Defined in: [libs/nest-crud/src/types/find-conditions.type.ts:59](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/types/find-conditions.type.ts#L59)
|
|
22147
22193
|
|
|
22148
22194
|
A flexible type for defining query conditions when finding entities.
|
|
22149
22195
|
|
|
@@ -22232,7 +22278,7 @@ async function findUsers(conditions: FindConditions<User>): Promise<User[]> {
|
|
|
22232
22278
|
type GetAllOptions<Entity> = PaginatedGetOptions<Entity>;
|
|
22233
22279
|
```
|
|
22234
22280
|
|
|
22235
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:658](https://github.com/hichchidev/hichchi/blob/
|
|
22281
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:658](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L658)
|
|
22236
22282
|
|
|
22237
22283
|
Simple options type for retrieving all entities with pagination.
|
|
22238
22284
|
|
|
@@ -22285,7 +22331,7 @@ const [users, count] = await userService.findAll(options);
|
|
|
22285
22331
|
type GetByIdOptions<Entity> = Omit<QueryOptions<Entity>, "sort">;
|
|
22286
22332
|
```
|
|
22287
22333
|
|
|
22288
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:389](https://github.com/hichchidev/hichchi/blob/
|
|
22334
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:389](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L389)
|
|
22289
22335
|
|
|
22290
22336
|
Options interface for retrieving a single entity by its ID.
|
|
22291
22337
|
|
|
@@ -22341,7 +22387,7 @@ type GetManyOptions<Entity> =
|
|
|
22341
22387
|
| GetManyOptionsWhere<Entity>;
|
|
22342
22388
|
```
|
|
22343
22389
|
|
|
22344
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:693](https://github.com/hichchidev/hichchi/blob/
|
|
22390
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:693](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L693)
|
|
22345
22391
|
|
|
22346
22392
|
Union type for all options interfaces for retrieving multiple entities with pagination.
|
|
22347
22393
|
|
|
@@ -22413,7 +22459,7 @@ type GetOneOptions<Entity> =
|
|
|
22413
22459
|
| GetOneOptionsWhere<Entity>;
|
|
22414
22460
|
```
|
|
22415
22461
|
|
|
22416
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:634](https://github.com/hichchidev/hichchi/blob/
|
|
22462
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:634](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L634)
|
|
22417
22463
|
|
|
22418
22464
|
Union type for all options interfaces for retrieving a single entity.
|
|
22419
22465
|
|
|
@@ -22472,7 +22518,7 @@ type GetOptions<Entity> =
|
|
|
22472
22518
|
| (QueryOptionsWhere<Entity> & PaginatedGetOptions<Entity>);
|
|
22473
22519
|
```
|
|
22474
22520
|
|
|
22475
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:606](https://github.com/hichchidev/hichchi/blob/
|
|
22521
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:606](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L606)
|
|
22476
22522
|
|
|
22477
22523
|
Comprehensive options type for retrieving entities with various filtering approaches and pagination.
|
|
22478
22524
|
|
|
@@ -22529,7 +22575,7 @@ const [users, count] = await getUsers({
|
|
|
22529
22575
|
type RepositoryDecorator = <T>(target) => T | void;
|
|
22530
22576
|
```
|
|
22531
22577
|
|
|
22532
|
-
Defined in: [libs/nest-crud/src/types/repository-decorator.type.ts:47](https://github.com/hichchidev/hichchi/blob/
|
|
22578
|
+
Defined in: [libs/nest-crud/src/types/repository-decorator.type.ts:47](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/types/repository-decorator.type.ts#L47)
|
|
22533
22579
|
|
|
22534
22580
|
Type definition for repository class decorators.
|
|
22535
22581
|
|
|
@@ -22649,7 +22695,7 @@ class UserRepository extends BaseRepository<User> {
|
|
|
22649
22695
|
type SaveAndGetOptions<Entity> = SaveOptionsWithSkip & GetByIdOptions<Entity>;
|
|
22650
22696
|
```
|
|
22651
22697
|
|
|
22652
|
-
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:736](https://github.com/hichchidev/hichchi/blob/
|
|
22698
|
+
Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:736](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L736)
|
|
22653
22699
|
|
|
22654
22700
|
Combined options type for save-and-get operations.
|
|
22655
22701
|
|
|
@@ -22720,7 +22766,7 @@ const updatedUser = await userService.saveAndGet(userData, options);
|
|
|
22720
22766
|
type SortOptions<Entity> = FindOptionsOrder<Entity>;
|
|
22721
22767
|
```
|
|
22722
22768
|
|
|
22723
|
-
Defined in: [libs/nest-crud/src/types/sort-options.type.ts:56](https://github.com/hichchidev/hichchi/blob/
|
|
22769
|
+
Defined in: [libs/nest-crud/src/types/sort-options.type.ts:56](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/types/sort-options.type.ts#L56)
|
|
22724
22770
|
|
|
22725
22771
|
Type alias for TypeORM's sorting configuration.
|
|
22726
22772
|
|
|
@@ -22812,7 +22858,7 @@ const users = await userRepository.find({
|
|
|
22812
22858
|
type TypeORMErrorHandler = (error) => Error | void;
|
|
22813
22859
|
```
|
|
22814
22860
|
|
|
22815
|
-
Defined in: [libs/nest-crud/src/types/error-handler.type.ts:54](https://github.com/hichchidev/hichchi/blob/
|
|
22861
|
+
Defined in: [libs/nest-crud/src/types/error-handler.type.ts:54](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/types/error-handler.type.ts#L54)
|
|
22816
22862
|
|
|
22817
22863
|
A function type for custom TypeORM error handling.
|
|
22818
22864
|
|
|
@@ -22915,7 +22961,7 @@ try {
|
|
|
22915
22961
|
const BaseEntityTemplateRelations: string[];
|
|
22916
22962
|
```
|
|
22917
22963
|
|
|
22918
|
-
Defined in: [libs/nest-crud/src/base/base-entity.ts:19](https://github.com/hichchidev/hichchi/blob/
|
|
22964
|
+
Defined in: [libs/nest-crud/src/base/base-entity.ts:19](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/base/base-entity.ts#L19)
|
|
22919
22965
|
|
|
22920
22966
|
List of standard relation properties in the BaseEntity
|
|
22921
22967
|
|
|
@@ -22939,7 +22985,7 @@ standard relations from foreign key constraint validation.
|
|
|
22939
22985
|
const CONNECTION_OPTIONS: "CONNECTION_OPTIONS" = "CONNECTION_OPTIONS";
|
|
22940
22986
|
```
|
|
22941
22987
|
|
|
22942
|
-
Defined in: [libs/nest-crud/src/tokens.ts:29](https://github.com/hichchidev/hichchi/blob/
|
|
22988
|
+
Defined in: [libs/nest-crud/src/tokens.ts:29](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/tokens.ts#L29)
|
|
22943
22989
|
|
|
22944
22990
|
Token for database connection options
|
|
22945
22991
|
|
|
@@ -22979,7 +23025,7 @@ export class AppModule {}
|
|
|
22979
23025
|
const DEFAULT_MAX_RECURSION_DEPTH: 10 = 10;
|
|
22980
23026
|
```
|
|
22981
23027
|
|
|
22982
|
-
Defined in: [libs/nest-crud/src/constants.ts:21](https://github.com/hichchidev/hichchi/blob/
|
|
23028
|
+
Defined in: [libs/nest-crud/src/constants.ts:21](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/constants.ts#L21)
|
|
22983
23029
|
|
|
22984
23030
|
Default maximum recursion depth for deep object operations
|
|
22985
23031
|
|
|
@@ -23011,7 +23057,7 @@ toQueryDeepPartialEntity Function that uses this constant to limit recursion dep
|
|
|
23011
23057
|
const EXTRACT_INVALID_COLUMN_REGEX: RegExp;
|
|
23012
23058
|
```
|
|
23013
23059
|
|
|
23014
|
-
Defined in: [libs/nest-crud/src/constants.ts:106](https://github.com/hichchidev/hichchi/blob/
|
|
23060
|
+
Defined in: [libs/nest-crud/src/constants.ts:106](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/constants.ts#L106)
|
|
23015
23061
|
|
|
23016
23062
|
Regular expression for extracting column names from database column not found errors
|
|
23017
23063
|
|
|
@@ -23041,7 +23087,7 @@ EntityUtils.handleError Method that uses this pattern to extract column names fr
|
|
|
23041
23087
|
const EXTRACT_INVALID_QUERY_FIELD_REGEX: RegExp;
|
|
23042
23088
|
```
|
|
23043
23089
|
|
|
23044
|
-
Defined in: [libs/nest-crud/src/constants.ts:86](https://github.com/hichchidev/hichchi/blob/
|
|
23090
|
+
Defined in: [libs/nest-crud/src/constants.ts:86](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/constants.ts#L86)
|
|
23045
23091
|
|
|
23046
23092
|
Regular expression for extracting field names from TypeORM property not found errors
|
|
23047
23093
|
|
|
@@ -23071,7 +23117,7 @@ EntityUtils.handleError Method that uses this pattern to extract field names fro
|
|
|
23071
23117
|
const FK_CONSTRAINT_REGEX: RegExp;
|
|
23072
23118
|
```
|
|
23073
23119
|
|
|
23074
|
-
Defined in: [libs/nest-crud/src/constants.ts:66](https://github.com/hichchidev/hichchi/blob/
|
|
23120
|
+
Defined in: [libs/nest-crud/src/constants.ts:66](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/constants.ts#L66)
|
|
23075
23121
|
|
|
23076
23122
|
Regular expression for validating foreign key constraint naming convention
|
|
23077
23123
|
|
|
@@ -23104,7 +23150,7 @@ The format is: FK_entityName_relatedEntityName
|
|
|
23104
23150
|
const ID_PATH: "id" = "id";
|
|
23105
23151
|
```
|
|
23106
23152
|
|
|
23107
|
-
Defined in: [libs/nest-crud/src/constants.ts:108](https://github.com/hichchidev/hichchi/blob/
|
|
23153
|
+
Defined in: [libs/nest-crud/src/constants.ts:108](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/constants.ts#L108)
|
|
23108
23154
|
|
|
23109
23155
|
---
|
|
23110
23156
|
|
|
@@ -23114,7 +23160,7 @@ Defined in: [libs/nest-crud/src/constants.ts:108](https://github.com/hichchidev/
|
|
|
23114
23160
|
const ID_PATH_VAR: ":id";
|
|
23115
23161
|
```
|
|
23116
23162
|
|
|
23117
|
-
Defined in: [libs/nest-crud/src/constants.ts:110](https://github.com/hichchidev/hichchi/blob/
|
|
23163
|
+
Defined in: [libs/nest-crud/src/constants.ts:110](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/constants.ts#L110)
|
|
23118
23164
|
|
|
23119
23165
|
---
|
|
23120
23166
|
|
|
@@ -23175,7 +23221,7 @@ Defined in: node_modules/@nestjs/typeorm/dist/common/typeorm.decorators.d.ts:4
|
|
|
23175
23221
|
const UNIQUE_CONSTRAINT_REGEX: RegExp;
|
|
23176
23222
|
```
|
|
23177
23223
|
|
|
23178
|
-
Defined in: [libs/nest-crud/src/constants.ts:43](https://github.com/hichchidev/hichchi/blob/
|
|
23224
|
+
Defined in: [libs/nest-crud/src/constants.ts:43](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/constants.ts#L43)
|
|
23179
23225
|
|
|
23180
23226
|
Regular expression for validating unique constraint naming convention
|
|
23181
23227
|
|
|
@@ -23207,7 +23253,7 @@ The format is: UNIQUE_entityName_fieldName
|
|
|
23207
23253
|
const USER_ENTITY_TABLE_NAME: "users" = "users";
|
|
23208
23254
|
```
|
|
23209
23255
|
|
|
23210
|
-
Defined in: [libs/nest-crud/src/tokens.ts:56](https://github.com/hichchidev/hichchi/blob/
|
|
23256
|
+
Defined in: [libs/nest-crud/src/tokens.ts:56](https://github.com/hichchidev/hichchi/blob/680b16602323e63535d1e4f7113a156787a42e23/libs/nest-crud/src/tokens.ts#L56)
|
|
23211
23257
|
|
|
23212
23258
|
Standard table name for user entities
|
|
23213
23259
|
|