@forklaunch/implementation-iam-base 1.0.30 → 1.0.32
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.
|
@@ -1,55 +1,56 @@
|
|
|
1
|
+
import { ResolvedEntity } from '@forklaunch/core/persistence';
|
|
1
2
|
import { Organization, Permission, Role, User } from '../../persistence/entities';
|
|
2
3
|
export type OrganizationEntities<OrganizationStatus> = {
|
|
3
4
|
OrganizationMapper: {
|
|
4
|
-
'~entity': (typeof Organization)['~entity'] & {
|
|
5
|
+
'~entity': ResolvedEntity<(typeof Organization)['~entity']> & {
|
|
5
6
|
status: OrganizationStatus[keyof OrganizationStatus];
|
|
6
7
|
};
|
|
7
8
|
};
|
|
8
9
|
CreateOrganizationMapper: {
|
|
9
|
-
'~entity': (typeof Organization)['~entity'] & {
|
|
10
|
+
'~entity': ResolvedEntity<(typeof Organization)['~entity']> & {
|
|
10
11
|
status: OrganizationStatus[keyof OrganizationStatus];
|
|
11
12
|
};
|
|
12
13
|
};
|
|
13
14
|
UpdateOrganizationMapper: {
|
|
14
|
-
'~entity': (typeof Organization)['~entity'] & {
|
|
15
|
+
'~entity': ResolvedEntity<(typeof Organization)['~entity']> & {
|
|
15
16
|
status: OrganizationStatus[keyof OrganizationStatus];
|
|
16
17
|
};
|
|
17
18
|
};
|
|
18
19
|
};
|
|
19
20
|
export type PermissionEntities = {
|
|
20
21
|
PermissionMapper: {
|
|
21
|
-
'~entity': (typeof Permission)['~entity']
|
|
22
|
+
'~entity': ResolvedEntity<(typeof Permission)['~entity']>;
|
|
22
23
|
};
|
|
23
24
|
CreatePermissionMapper: {
|
|
24
|
-
'~entity': (typeof Permission)['~entity']
|
|
25
|
+
'~entity': ResolvedEntity<(typeof Permission)['~entity']>;
|
|
25
26
|
};
|
|
26
27
|
UpdatePermissionMapper: {
|
|
27
|
-
'~entity': (typeof Permission)['~entity']
|
|
28
|
+
'~entity': ResolvedEntity<(typeof Permission)['~entity']>;
|
|
28
29
|
};
|
|
29
30
|
RoleEntityMapper: {
|
|
30
|
-
'~entity': (typeof Role)['~entity']
|
|
31
|
+
'~entity': ResolvedEntity<(typeof Role)['~entity']>;
|
|
31
32
|
};
|
|
32
33
|
};
|
|
33
34
|
export type RoleEntities = {
|
|
34
35
|
RoleMapper: {
|
|
35
|
-
'~entity': (typeof Role)['~entity']
|
|
36
|
+
'~entity': ResolvedEntity<(typeof Role)['~entity']>;
|
|
36
37
|
};
|
|
37
38
|
CreateRoleMapper: {
|
|
38
|
-
'~entity': (typeof Role)['~entity']
|
|
39
|
+
'~entity': ResolvedEntity<(typeof Role)['~entity']>;
|
|
39
40
|
};
|
|
40
41
|
UpdateRoleMapper: {
|
|
41
|
-
'~entity': (typeof Role)['~entity']
|
|
42
|
+
'~entity': ResolvedEntity<(typeof Role)['~entity']>;
|
|
42
43
|
};
|
|
43
44
|
};
|
|
44
45
|
export type UserEntities = {
|
|
45
46
|
UserMapper: {
|
|
46
|
-
'~entity': (typeof User)['~entity']
|
|
47
|
+
'~entity': ResolvedEntity<(typeof User)['~entity']>;
|
|
47
48
|
};
|
|
48
49
|
CreateUserMapper: {
|
|
49
|
-
'~entity': (typeof User)['~entity']
|
|
50
|
+
'~entity': ResolvedEntity<(typeof User)['~entity']>;
|
|
50
51
|
};
|
|
51
52
|
UpdateUserMapper: {
|
|
52
|
-
'~entity': (typeof User)['~entity']
|
|
53
|
+
'~entity': ResolvedEntity<(typeof User)['~entity']>;
|
|
53
54
|
};
|
|
54
55
|
};
|
|
55
56
|
//# sourceMappingURL=iamEntities.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iamEntities.types.d.ts","sourceRoot":"","sources":["../../../domain/types/iamEntities.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,UAAU,EACV,IAAI,EACJ,IAAI,EACL,MAAM,4BAA4B,CAAC;AAGpC,MAAM,MAAM,oBAAoB,CAAC,kBAAkB,IAAI;IACrD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AE,cAAc,CAAC,CAAC,OAAO,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;KAC3D,CAAC;IACF,gBAAgB,EAAE;QAChB,SAAS,EAAE,cAAc,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;KACrD,CAAC;CACH,CAAC;AAGF,MAAM,MAAM,YAAY,GAAG;IACzB,UAAU,EAAE;QACV,SAAS,EAAE,cAAc,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;KACrD,CAAC;IACF,gBAAgB,EAAE;QAChB,SAAS,EAAE,cAAc,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;KACrD,CAAC;IACF,gBAAgB,EAAE;QAChB,SAAS,EAAE,cAAc,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;KACrD,CAAC;CACH,CAAC;AAGF,MAAM,MAAM,YAAY,GAAG;IACzB,UAAU,EAAE;QACV,SAAS,EAAE,cAAc,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;KACrD,CAAC;IACF,gBAAgB,EAAE;QAChB,SAAS,EAAE,cAAc,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;KACrD,CAAC;IACF,gBAAgB,EAAE;QAChB,SAAS,EAAE,cAAc,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;KACrD,CAAC;CACH,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ResolvedEntity } from '@forklaunch/core/persistence';
|
|
1
2
|
import {
|
|
2
3
|
Organization,
|
|
3
4
|
Permission,
|
|
@@ -8,17 +9,17 @@ import {
|
|
|
8
9
|
// organization entity mapper types
|
|
9
10
|
export type OrganizationEntities<OrganizationStatus> = {
|
|
10
11
|
OrganizationMapper: {
|
|
11
|
-
'~entity': (typeof Organization)['~entity'] & {
|
|
12
|
+
'~entity': ResolvedEntity<(typeof Organization)['~entity']> & {
|
|
12
13
|
status: OrganizationStatus[keyof OrganizationStatus];
|
|
13
14
|
};
|
|
14
15
|
};
|
|
15
16
|
CreateOrganizationMapper: {
|
|
16
|
-
'~entity': (typeof Organization)['~entity'] & {
|
|
17
|
+
'~entity': ResolvedEntity<(typeof Organization)['~entity']> & {
|
|
17
18
|
status: OrganizationStatus[keyof OrganizationStatus];
|
|
18
19
|
};
|
|
19
20
|
};
|
|
20
21
|
UpdateOrganizationMapper: {
|
|
21
|
-
'~entity': (typeof Organization)['~entity'] & {
|
|
22
|
+
'~entity': ResolvedEntity<(typeof Organization)['~entity']> & {
|
|
22
23
|
status: OrganizationStatus[keyof OrganizationStatus];
|
|
23
24
|
};
|
|
24
25
|
};
|
|
@@ -27,41 +28,41 @@ export type OrganizationEntities<OrganizationStatus> = {
|
|
|
27
28
|
// permission entity mapper types
|
|
28
29
|
export type PermissionEntities = {
|
|
29
30
|
PermissionMapper: {
|
|
30
|
-
'~entity': (typeof Permission)['~entity']
|
|
31
|
+
'~entity': ResolvedEntity<(typeof Permission)['~entity']>;
|
|
31
32
|
};
|
|
32
33
|
CreatePermissionMapper: {
|
|
33
|
-
'~entity': (typeof Permission)['~entity']
|
|
34
|
+
'~entity': ResolvedEntity<(typeof Permission)['~entity']>;
|
|
34
35
|
};
|
|
35
36
|
UpdatePermissionMapper: {
|
|
36
|
-
'~entity': (typeof Permission)['~entity']
|
|
37
|
+
'~entity': ResolvedEntity<(typeof Permission)['~entity']>;
|
|
37
38
|
};
|
|
38
39
|
RoleEntityMapper: {
|
|
39
|
-
'~entity': (typeof Role)['~entity']
|
|
40
|
+
'~entity': ResolvedEntity<(typeof Role)['~entity']>;
|
|
40
41
|
};
|
|
41
42
|
};
|
|
42
43
|
|
|
43
44
|
// role entity mapper types
|
|
44
45
|
export type RoleEntities = {
|
|
45
46
|
RoleMapper: {
|
|
46
|
-
'~entity': (typeof Role)['~entity']
|
|
47
|
+
'~entity': ResolvedEntity<(typeof Role)['~entity']>;
|
|
47
48
|
};
|
|
48
49
|
CreateRoleMapper: {
|
|
49
|
-
'~entity': (typeof Role)['~entity']
|
|
50
|
+
'~entity': ResolvedEntity<(typeof Role)['~entity']>;
|
|
50
51
|
};
|
|
51
52
|
UpdateRoleMapper: {
|
|
52
|
-
'~entity': (typeof Role)['~entity']
|
|
53
|
+
'~entity': ResolvedEntity<(typeof Role)['~entity']>;
|
|
53
54
|
};
|
|
54
55
|
};
|
|
55
56
|
|
|
56
57
|
// user entity mapper types
|
|
57
58
|
export type UserEntities = {
|
|
58
59
|
UserMapper: {
|
|
59
|
-
'~entity': (typeof User)['~entity']
|
|
60
|
+
'~entity': ResolvedEntity<(typeof User)['~entity']>;
|
|
60
61
|
};
|
|
61
62
|
CreateUserMapper: {
|
|
62
|
-
'~entity': (typeof User)['~entity']
|
|
63
|
+
'~entity': ResolvedEntity<(typeof User)['~entity']>;
|
|
63
64
|
};
|
|
64
65
|
UpdateUserMapper: {
|
|
65
|
-
'~entity': (typeof User)['~entity']
|
|
66
|
+
'~entity': ResolvedEntity<(typeof User)['~entity']>;
|
|
66
67
|
};
|
|
67
68
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/implementation-iam-base",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.32",
|
|
4
4
|
"description": "IAM basic implementation for forklaunch",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@forklaunch/common": "^1.2.23",
|
|
49
|
-
"@forklaunch/core": "^1.5.
|
|
49
|
+
"@forklaunch/core": "^1.5.15",
|
|
50
50
|
"@forklaunch/internal": "^1.2.24",
|
|
51
51
|
"@forklaunch/validator": "^1.2.24",
|
|
52
|
-
"@mikro-orm/core": "7.1.11",
|
|
52
|
+
"@mikro-orm/core": "^7.1.11",
|
|
53
53
|
"@sinclair/typebox": "^0.34.52",
|
|
54
54
|
"ajv": "^8.20.0",
|
|
55
55
|
"uuid": "^14.0.1",
|
|
56
56
|
"zod": "^4.4.3",
|
|
57
|
-
"@forklaunch/interfaces-iam": "^1.0.
|
|
57
|
+
"@forklaunch/interfaces-iam": "^1.0.30"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|