@punks/backend-entity-manager 0.0.108 → 0.0.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +58 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/platforms/nest/__test__/server/entities/crmContacts/crmContact.query.d.ts +1 -2
- package/dist/cjs/types/platforms/nest/extensions/authentication/guards/auth.d.ts +2 -0
- package/dist/esm/index.js +58 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/platforms/nest/__test__/server/entities/crmContacts/crmContact.query.d.ts +1 -2
- package/dist/esm/types/platforms/nest/extensions/authentication/guards/auth.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/esm/types/platforms/nest/__test__/server/entities/crmContacts/crmContact.query.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FindOptionsOrder,
|
|
1
|
+
import { FindOptionsOrder, FindOptionsWhere } from "typeorm";
|
|
2
2
|
import { EntityManagerRegistry, NestTypeOrmQueryBuilder } from "../../../../../..";
|
|
3
3
|
import { CrmContactEntity } from "../../database/core/entities/crmContact.entity";
|
|
4
4
|
import { CrmContactFacets, CrmContactSorting } from "./crmContact.models";
|
|
@@ -10,5 +10,4 @@ export declare class CrmContactQueryBuilder extends NestTypeOrmQueryBuilder<CrmC
|
|
|
10
10
|
protected buildSortingClause(request: CrmContactSearchParameters): FindOptionsOrder<CrmContactEntity>;
|
|
11
11
|
protected buildWhereClause(request: CrmContactSearchParameters): FindOptionsWhere<CrmContactEntity> | FindOptionsWhere<CrmContactEntity>[];
|
|
12
12
|
protected calculateFacets(request: CrmContactSearchParameters, context?: AppAuthContext): Promise<CrmContactFacets>;
|
|
13
|
-
protected getRelationsToLoad(request: CrmContactSearchParameters, context: AppAuthContext | undefined): FindOptionsRelations<CrmContactEntity> | undefined;
|
|
14
13
|
}
|
|
@@ -2,6 +2,7 @@ import { CanActivate, ExecutionContext } from "@nestjs/common";
|
|
|
2
2
|
import { Reflector } from "@nestjs/core";
|
|
3
3
|
export declare class AuthGuard implements CanActivate {
|
|
4
4
|
private reflector;
|
|
5
|
+
private readonly logger;
|
|
5
6
|
constructor(reflector: Reflector);
|
|
6
7
|
canActivate(context: ExecutionContext): boolean;
|
|
7
8
|
private isRoleMatching;
|
|
@@ -10,4 +11,5 @@ export declare class AuthGuard implements CanActivate {
|
|
|
10
11
|
private getAllowedRoles;
|
|
11
12
|
private getCurrentAuth;
|
|
12
13
|
private getMetadata;
|
|
14
|
+
private getContextInfo;
|
|
13
15
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1531,6 +1531,7 @@ type UserPasswordResetCompletedEventPayload = {
|
|
|
1531
1531
|
|
|
1532
1532
|
declare class AuthGuard implements CanActivate {
|
|
1533
1533
|
private reflector;
|
|
1534
|
+
private readonly logger;
|
|
1534
1535
|
constructor(reflector: Reflector);
|
|
1535
1536
|
canActivate(context: ExecutionContext): boolean;
|
|
1536
1537
|
private isRoleMatching;
|
|
@@ -1539,6 +1540,7 @@ declare class AuthGuard implements CanActivate {
|
|
|
1539
1540
|
private getAllowedRoles;
|
|
1540
1541
|
private getCurrentAuth;
|
|
1541
1542
|
private getMetadata;
|
|
1543
|
+
private getContextInfo;
|
|
1542
1544
|
}
|
|
1543
1545
|
|
|
1544
1546
|
declare enum UserCreationError {
|