@forklaunch/implementation-iam-base 0.7.2 → 0.7.3
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/lib/services/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IdDto, IdsDto } from '@forklaunch/common';
|
|
2
2
|
import { OpenTelemetryCollector, MetricsDefinition, TelemetryOptions } from '@forklaunch/core/http';
|
|
3
3
|
import { OrganizationService, PermissionService, RoleService, UserService } from '@forklaunch/interfaces-iam/interfaces';
|
|
4
|
+
export * from '@forklaunch/interfaces-iam/interfaces';
|
|
4
5
|
import { CreateOrganizationDto, UpdateOrganizationDto, CreatePermissionDto, UpdatePermissionDto, CreateRoleDto, RoleDto, UpdateRoleDto, CreateUserDto, UpdateUserDto } from '@forklaunch/interfaces-iam/types';
|
|
5
6
|
import { AnySchemaValidator } from '@forklaunch/validator';
|
|
6
7
|
import { EntityManager, FilterQuery } from '@mikro-orm/core';
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IdDto, IdsDto } from '@forklaunch/common';
|
|
2
2
|
import { OpenTelemetryCollector, MetricsDefinition, TelemetryOptions } from '@forklaunch/core/http';
|
|
3
3
|
import { OrganizationService, PermissionService, RoleService, UserService } from '@forklaunch/interfaces-iam/interfaces';
|
|
4
|
+
export * from '@forklaunch/interfaces-iam/interfaces';
|
|
4
5
|
import { CreateOrganizationDto, UpdateOrganizationDto, CreatePermissionDto, UpdatePermissionDto, CreateRoleDto, RoleDto, UpdateRoleDto, CreateUserDto, UpdateUserDto } from '@forklaunch/interfaces-iam/types';
|
|
5
6
|
import { AnySchemaValidator } from '@forklaunch/validator';
|
|
6
7
|
import { EntityManager, FilterQuery } from '@mikro-orm/core';
|
package/lib/services/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
15
|
}
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
20
|
|
|
20
21
|
// services/index.ts
|
|
@@ -664,10 +665,14 @@ var BaseUserService = class {
|
|
|
664
665
|
return user.roles.map((role) => role.permissions).flat();
|
|
665
666
|
}
|
|
666
667
|
};
|
|
668
|
+
|
|
669
|
+
// services/index.ts
|
|
670
|
+
__reExport(services_exports, require("@forklaunch/interfaces-iam/interfaces"), module.exports);
|
|
667
671
|
// Annotate the CommonJS export names for ESM import in node:
|
|
668
672
|
0 && (module.exports = {
|
|
669
673
|
BaseOrganizationService,
|
|
670
674
|
BasePermissionService,
|
|
671
675
|
BaseRoleService,
|
|
672
|
-
BaseUserService
|
|
676
|
+
BaseUserService,
|
|
677
|
+
...require("@forklaunch/interfaces-iam/interfaces")
|
|
673
678
|
});
|
package/lib/services/index.mjs
CHANGED
|
@@ -643,6 +643,9 @@ var BaseUserService = class {
|
|
|
643
643
|
return user.roles.map((role) => role.permissions).flat();
|
|
644
644
|
}
|
|
645
645
|
};
|
|
646
|
+
|
|
647
|
+
// services/index.ts
|
|
648
|
+
export * from "@forklaunch/interfaces-iam/interfaces";
|
|
646
649
|
export {
|
|
647
650
|
BaseOrganizationService,
|
|
648
651
|
BasePermissionService,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/implementation-iam-base",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "Billing basic implementation for forklaunch",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@sinclair/typebox": "^0.34.41",
|
|
45
45
|
"ajv": "^8.17.1",
|
|
46
46
|
"zod": "^4.1.11",
|
|
47
|
-
"@forklaunch/interfaces-iam": "0.7.
|
|
47
|
+
"@forklaunch/interfaces-iam": "0.7.3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@typescript/native-preview": "7.0.0-dev.20250930.1",
|