@experts_hub/shared 1.0.177 → 1.0.179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MicroserviceOptions } from '@nestjs/microservices';
|
|
2
|
-
import { BaseEntity as BaseEntity$1 } from 'typeorm';
|
|
3
2
|
|
|
4
3
|
declare const AUTHENTICATION_PATTERN: {
|
|
5
4
|
handleValidateToken: string;
|
|
@@ -1366,7 +1365,7 @@ declare class Permission extends BaseEntity {
|
|
|
1366
1365
|
isActive: boolean;
|
|
1367
1366
|
}
|
|
1368
1367
|
|
|
1369
|
-
declare class CompanyRolePermission extends BaseEntity
|
|
1368
|
+
declare class CompanyRolePermission extends BaseEntity {
|
|
1370
1369
|
companyRoleId: number;
|
|
1371
1370
|
companyRole: CompanyRole;
|
|
1372
1371
|
permissionId: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MicroserviceOptions } from '@nestjs/microservices';
|
|
2
|
-
import { BaseEntity as BaseEntity$1 } from 'typeorm';
|
|
3
2
|
|
|
4
3
|
declare const AUTHENTICATION_PATTERN: {
|
|
5
4
|
handleValidateToken: string;
|
|
@@ -1366,7 +1365,7 @@ declare class Permission extends BaseEntity {
|
|
|
1366
1365
|
isActive: boolean;
|
|
1367
1366
|
}
|
|
1368
1367
|
|
|
1369
|
-
declare class CompanyRolePermission extends BaseEntity
|
|
1368
|
+
declare class CompanyRolePermission extends BaseEntity {
|
|
1370
1369
|
companyRoleId: number;
|
|
1371
1370
|
companyRole: CompanyRole;
|
|
1372
1371
|
permissionId: number;
|
package/dist/index.js
CHANGED
|
@@ -3214,7 +3214,7 @@ Permission = __decorateClass([
|
|
|
3214
3214
|
], Permission);
|
|
3215
3215
|
|
|
3216
3216
|
// src/entities/company-role-permission.entity.ts
|
|
3217
|
-
var CompanyRolePermission = class extends
|
|
3217
|
+
var CompanyRolePermission = class extends BaseEntity {
|
|
3218
3218
|
};
|
|
3219
3219
|
__decorateClass([
|
|
3220
3220
|
(0, import_typeorm28.Column)({ name: "company_role_id", type: "integer", nullable: true }),
|
|
@@ -3235,7 +3235,7 @@ __decorateClass([
|
|
|
3235
3235
|
(0, import_typeorm28.JoinColumn)({ name: "permission_id" })
|
|
3236
3236
|
], CompanyRolePermission.prototype, "permission", 2);
|
|
3237
3237
|
__decorateClass([
|
|
3238
|
-
(0, import_typeorm28.Column)({ name: "assigned_by", nullable: true })
|
|
3238
|
+
(0, import_typeorm28.Column)({ name: "assigned_by", type: "integer", nullable: true })
|
|
3239
3239
|
], CompanyRolePermission.prototype, "assignedBy", 2);
|
|
3240
3240
|
CompanyRolePermission = __decorateClass([
|
|
3241
3241
|
(0, import_typeorm28.Entity)("company_role_permissions")
|
package/dist/index.mjs
CHANGED
|
@@ -3263,7 +3263,6 @@ import {
|
|
|
3263
3263
|
Entity as Entity27,
|
|
3264
3264
|
ManyToOne as ManyToOne24,
|
|
3265
3265
|
JoinColumn as JoinColumn24,
|
|
3266
|
-
BaseEntity as BaseEntity2,
|
|
3267
3266
|
Index as Index23
|
|
3268
3267
|
} from "typeorm";
|
|
3269
3268
|
|
|
@@ -3289,7 +3288,7 @@ Permission = __decorateClass([
|
|
|
3289
3288
|
], Permission);
|
|
3290
3289
|
|
|
3291
3290
|
// src/entities/company-role-permission.entity.ts
|
|
3292
|
-
var CompanyRolePermission = class extends
|
|
3291
|
+
var CompanyRolePermission = class extends BaseEntity {
|
|
3293
3292
|
};
|
|
3294
3293
|
__decorateClass([
|
|
3295
3294
|
Column28({ name: "company_role_id", type: "integer", nullable: true }),
|
|
@@ -3310,7 +3309,7 @@ __decorateClass([
|
|
|
3310
3309
|
JoinColumn24({ name: "permission_id" })
|
|
3311
3310
|
], CompanyRolePermission.prototype, "permission", 2);
|
|
3312
3311
|
__decorateClass([
|
|
3313
|
-
Column28({ name: "assigned_by", nullable: true })
|
|
3312
|
+
Column28({ name: "assigned_by", type: "integer", nullable: true })
|
|
3314
3313
|
], CompanyRolePermission.prototype, "assignedBy", 2);
|
|
3315
3314
|
CompanyRolePermission = __decorateClass([
|
|
3316
3315
|
Entity27("company_role_permissions")
|