@forklaunch/implementation-iam-base 1.0.3 → 1.0.5
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/domain/types/index.d.mts +75 -124
- package/lib/domain/types/index.d.ts +75 -124
- package/lib/services/index.d.mts +0 -1
- package/lib/services/index.d.ts +0 -1
- package/package.json +7 -7
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OrganizationDto, CreateOrganizationDto, UpdateOrganizationDto, PermissionDto, CreatePermissionDto, UpdatePermissionDto, UpdateRoleDto, RoleDto, CreateRoleDto, UserDto, CreateUserDto, UpdateUserDto } from '@forklaunch/interfaces-iam/types';
|
|
2
|
-
import * as _forklaunch_core_persistence from '@forklaunch/core/persistence';
|
|
3
2
|
import * as _mikro_orm_core from '@mikro-orm/core';
|
|
4
3
|
import { InferEntity, EntityManager } from '@mikro-orm/core';
|
|
5
4
|
|
|
@@ -26,172 +25,124 @@ type UserDtos = {
|
|
|
26
25
|
};
|
|
27
26
|
|
|
28
27
|
declare const Organization: _mikro_orm_core.EntitySchemaWithMeta<"Organization", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
29
|
-
readonly id:
|
|
28
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
30
29
|
primary: true;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
readonly status:
|
|
35
|
-
kind: "enum";
|
|
36
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
30
|
+
}> & {
|
|
31
|
+
readonly __classified: true;
|
|
32
|
+
};
|
|
33
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
37
34
|
kind: "enum";
|
|
38
|
-
}
|
|
35
|
+
}> & {
|
|
36
|
+
readonly __classified: true;
|
|
37
|
+
};
|
|
39
38
|
}, undefined, never, never, false>, never, {
|
|
40
|
-
readonly id:
|
|
39
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
41
40
|
primary: true;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
readonly status:
|
|
46
|
-
kind: "enum";
|
|
47
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
41
|
+
}> & {
|
|
42
|
+
readonly __classified: true;
|
|
43
|
+
};
|
|
44
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
48
45
|
kind: "enum";
|
|
49
|
-
}
|
|
46
|
+
}> & {
|
|
47
|
+
readonly __classified: true;
|
|
48
|
+
};
|
|
50
49
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
51
|
-
readonly id:
|
|
50
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
52
51
|
primary: true;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
readonly status:
|
|
57
|
-
kind: "enum";
|
|
58
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
52
|
+
}> & {
|
|
53
|
+
readonly __classified: true;
|
|
54
|
+
};
|
|
55
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
59
56
|
kind: "enum";
|
|
60
|
-
}
|
|
57
|
+
}> & {
|
|
58
|
+
readonly __classified: true;
|
|
59
|
+
};
|
|
61
60
|
}, undefined, never, never, false>>>;
|
|
62
61
|
declare const Role: _mikro_orm_core.EntitySchemaWithMeta<"Role", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
63
|
-
readonly id:
|
|
62
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
64
63
|
primary: true;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
readonly permissions: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.
|
|
69
|
-
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
70
|
-
primary: true;
|
|
71
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
72
|
-
primary: true;
|
|
73
|
-
}>;
|
|
74
|
-
readonly slug: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
75
|
-
}, undefined, never, never, false>, _mikro_orm_core.EmptyOptions & {
|
|
64
|
+
}> & {
|
|
65
|
+
readonly __classified: true;
|
|
66
|
+
};
|
|
67
|
+
readonly permissions: () => _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
76
68
|
kind: "m:n";
|
|
77
69
|
}>;
|
|
78
70
|
}, undefined, never, never, false>, never, {
|
|
79
|
-
readonly id:
|
|
71
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
80
72
|
primary: true;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
readonly permissions: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.
|
|
85
|
-
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
86
|
-
primary: true;
|
|
87
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
88
|
-
primary: true;
|
|
89
|
-
}>;
|
|
90
|
-
readonly slug: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
91
|
-
}, undefined, never, never, false>, _mikro_orm_core.EmptyOptions & {
|
|
73
|
+
}> & {
|
|
74
|
+
readonly __classified: true;
|
|
75
|
+
};
|
|
76
|
+
readonly permissions: () => _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
92
77
|
kind: "m:n";
|
|
93
78
|
}>;
|
|
94
79
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
95
|
-
readonly id:
|
|
80
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
96
81
|
primary: true;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
readonly permissions: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.
|
|
101
|
-
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
102
|
-
primary: true;
|
|
103
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
104
|
-
primary: true;
|
|
105
|
-
}>;
|
|
106
|
-
readonly slug: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
107
|
-
}, undefined, never, never, false>, _mikro_orm_core.EmptyOptions & {
|
|
82
|
+
}> & {
|
|
83
|
+
readonly __classified: true;
|
|
84
|
+
};
|
|
85
|
+
readonly permissions: () => _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
108
86
|
kind: "m:n";
|
|
109
87
|
}>;
|
|
110
88
|
}, undefined, never, never, false>>>;
|
|
111
89
|
declare const Permission: _mikro_orm_core.EntitySchemaWithMeta<"Permission", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
112
|
-
readonly id:
|
|
90
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
113
91
|
primary: true;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
readonly slug:
|
|
92
|
+
}> & {
|
|
93
|
+
readonly __classified: true;
|
|
94
|
+
};
|
|
95
|
+
readonly slug: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
96
|
+
readonly __classified: true;
|
|
97
|
+
};
|
|
118
98
|
}, undefined, never, never, false>, never, {
|
|
119
|
-
readonly id:
|
|
120
|
-
primary: true;
|
|
121
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
99
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
122
100
|
primary: true;
|
|
123
|
-
}
|
|
124
|
-
|
|
101
|
+
}> & {
|
|
102
|
+
readonly __classified: true;
|
|
103
|
+
};
|
|
104
|
+
readonly slug: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
105
|
+
readonly __classified: true;
|
|
106
|
+
};
|
|
125
107
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
126
|
-
readonly id:
|
|
127
|
-
primary: true;
|
|
128
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
108
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
129
109
|
primary: true;
|
|
130
|
-
}
|
|
131
|
-
|
|
110
|
+
}> & {
|
|
111
|
+
readonly __classified: true;
|
|
112
|
+
};
|
|
113
|
+
readonly slug: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
114
|
+
readonly __classified: true;
|
|
115
|
+
};
|
|
132
116
|
}, undefined, never, never, false>>>;
|
|
133
117
|
declare const User: _mikro_orm_core.EntitySchemaWithMeta<"User", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
134
|
-
readonly id:
|
|
118
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
135
119
|
primary: true;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
readonly organization: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.
|
|
140
|
-
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
141
|
-
primary: true;
|
|
142
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
143
|
-
primary: true;
|
|
144
|
-
}>;
|
|
145
|
-
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
146
|
-
kind: "enum";
|
|
147
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
148
|
-
kind: "enum";
|
|
149
|
-
}>;
|
|
150
|
-
}, undefined, never, never, false>, Omit<_mikro_orm_core.EmptyOptions & {
|
|
120
|
+
}> & {
|
|
121
|
+
readonly __classified: true;
|
|
122
|
+
};
|
|
123
|
+
readonly organization: () => _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
151
124
|
kind: "m:1";
|
|
152
125
|
}, "nullable"> & {
|
|
153
126
|
nullable: true;
|
|
154
127
|
}>;
|
|
155
128
|
}, undefined, never, never, false>, never, {
|
|
156
|
-
readonly id:
|
|
129
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
157
130
|
primary: true;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
}
|
|
161
|
-
readonly organization: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.
|
|
162
|
-
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
163
|
-
primary: true;
|
|
164
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
165
|
-
primary: true;
|
|
166
|
-
}>;
|
|
167
|
-
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
168
|
-
kind: "enum";
|
|
169
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
170
|
-
kind: "enum";
|
|
171
|
-
}>;
|
|
172
|
-
}, undefined, never, never, false>, Omit<_mikro_orm_core.EmptyOptions & {
|
|
131
|
+
}> & {
|
|
132
|
+
readonly __classified: true;
|
|
133
|
+
};
|
|
134
|
+
readonly organization: () => _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
173
135
|
kind: "m:1";
|
|
174
136
|
}, "nullable"> & {
|
|
175
137
|
nullable: true;
|
|
176
138
|
}>;
|
|
177
139
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
178
|
-
readonly id:
|
|
140
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
179
141
|
primary: true;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
}
|
|
183
|
-
readonly organization: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.
|
|
184
|
-
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
185
|
-
primary: true;
|
|
186
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
187
|
-
primary: true;
|
|
188
|
-
}>;
|
|
189
|
-
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
190
|
-
kind: "enum";
|
|
191
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
192
|
-
kind: "enum";
|
|
193
|
-
}>;
|
|
194
|
-
}, undefined, never, never, false>, Omit<_mikro_orm_core.EmptyOptions & {
|
|
142
|
+
}> & {
|
|
143
|
+
readonly __classified: true;
|
|
144
|
+
};
|
|
145
|
+
readonly organization: () => _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
195
146
|
kind: "m:1";
|
|
196
147
|
}, "nullable"> & {
|
|
197
148
|
nullable: true;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OrganizationDto, CreateOrganizationDto, UpdateOrganizationDto, PermissionDto, CreatePermissionDto, UpdatePermissionDto, UpdateRoleDto, RoleDto, CreateRoleDto, UserDto, CreateUserDto, UpdateUserDto } from '@forklaunch/interfaces-iam/types';
|
|
2
|
-
import * as _forklaunch_core_persistence from '@forklaunch/core/persistence';
|
|
3
2
|
import * as _mikro_orm_core from '@mikro-orm/core';
|
|
4
3
|
import { InferEntity, EntityManager } from '@mikro-orm/core';
|
|
5
4
|
|
|
@@ -26,172 +25,124 @@ type UserDtos = {
|
|
|
26
25
|
};
|
|
27
26
|
|
|
28
27
|
declare const Organization: _mikro_orm_core.EntitySchemaWithMeta<"Organization", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
29
|
-
readonly id:
|
|
28
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
30
29
|
primary: true;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
readonly status:
|
|
35
|
-
kind: "enum";
|
|
36
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
30
|
+
}> & {
|
|
31
|
+
readonly __classified: true;
|
|
32
|
+
};
|
|
33
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
37
34
|
kind: "enum";
|
|
38
|
-
}
|
|
35
|
+
}> & {
|
|
36
|
+
readonly __classified: true;
|
|
37
|
+
};
|
|
39
38
|
}, undefined, never, never, false>, never, {
|
|
40
|
-
readonly id:
|
|
39
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
41
40
|
primary: true;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
readonly status:
|
|
46
|
-
kind: "enum";
|
|
47
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
41
|
+
}> & {
|
|
42
|
+
readonly __classified: true;
|
|
43
|
+
};
|
|
44
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
48
45
|
kind: "enum";
|
|
49
|
-
}
|
|
46
|
+
}> & {
|
|
47
|
+
readonly __classified: true;
|
|
48
|
+
};
|
|
50
49
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
51
|
-
readonly id:
|
|
50
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
52
51
|
primary: true;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
readonly status:
|
|
57
|
-
kind: "enum";
|
|
58
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
52
|
+
}> & {
|
|
53
|
+
readonly __classified: true;
|
|
54
|
+
};
|
|
55
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
59
56
|
kind: "enum";
|
|
60
|
-
}
|
|
57
|
+
}> & {
|
|
58
|
+
readonly __classified: true;
|
|
59
|
+
};
|
|
61
60
|
}, undefined, never, never, false>>>;
|
|
62
61
|
declare const Role: _mikro_orm_core.EntitySchemaWithMeta<"Role", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
63
|
-
readonly id:
|
|
62
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
64
63
|
primary: true;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
readonly permissions: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.
|
|
69
|
-
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
70
|
-
primary: true;
|
|
71
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
72
|
-
primary: true;
|
|
73
|
-
}>;
|
|
74
|
-
readonly slug: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
75
|
-
}, undefined, never, never, false>, _mikro_orm_core.EmptyOptions & {
|
|
64
|
+
}> & {
|
|
65
|
+
readonly __classified: true;
|
|
66
|
+
};
|
|
67
|
+
readonly permissions: () => _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
76
68
|
kind: "m:n";
|
|
77
69
|
}>;
|
|
78
70
|
}, undefined, never, never, false>, never, {
|
|
79
|
-
readonly id:
|
|
71
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
80
72
|
primary: true;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
readonly permissions: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.
|
|
85
|
-
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
86
|
-
primary: true;
|
|
87
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
88
|
-
primary: true;
|
|
89
|
-
}>;
|
|
90
|
-
readonly slug: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
91
|
-
}, undefined, never, never, false>, _mikro_orm_core.EmptyOptions & {
|
|
73
|
+
}> & {
|
|
74
|
+
readonly __classified: true;
|
|
75
|
+
};
|
|
76
|
+
readonly permissions: () => _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
92
77
|
kind: "m:n";
|
|
93
78
|
}>;
|
|
94
79
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
95
|
-
readonly id:
|
|
80
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
96
81
|
primary: true;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
readonly permissions: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.
|
|
101
|
-
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
102
|
-
primary: true;
|
|
103
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
104
|
-
primary: true;
|
|
105
|
-
}>;
|
|
106
|
-
readonly slug: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
107
|
-
}, undefined, never, never, false>, _mikro_orm_core.EmptyOptions & {
|
|
82
|
+
}> & {
|
|
83
|
+
readonly __classified: true;
|
|
84
|
+
};
|
|
85
|
+
readonly permissions: () => _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
108
86
|
kind: "m:n";
|
|
109
87
|
}>;
|
|
110
88
|
}, undefined, never, never, false>>>;
|
|
111
89
|
declare const Permission: _mikro_orm_core.EntitySchemaWithMeta<"Permission", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
112
|
-
readonly id:
|
|
90
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
113
91
|
primary: true;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
readonly slug:
|
|
92
|
+
}> & {
|
|
93
|
+
readonly __classified: true;
|
|
94
|
+
};
|
|
95
|
+
readonly slug: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
96
|
+
readonly __classified: true;
|
|
97
|
+
};
|
|
118
98
|
}, undefined, never, never, false>, never, {
|
|
119
|
-
readonly id:
|
|
120
|
-
primary: true;
|
|
121
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
99
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
122
100
|
primary: true;
|
|
123
|
-
}
|
|
124
|
-
|
|
101
|
+
}> & {
|
|
102
|
+
readonly __classified: true;
|
|
103
|
+
};
|
|
104
|
+
readonly slug: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
105
|
+
readonly __classified: true;
|
|
106
|
+
};
|
|
125
107
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
126
|
-
readonly id:
|
|
127
|
-
primary: true;
|
|
128
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
108
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
129
109
|
primary: true;
|
|
130
|
-
}
|
|
131
|
-
|
|
110
|
+
}> & {
|
|
111
|
+
readonly __classified: true;
|
|
112
|
+
};
|
|
113
|
+
readonly slug: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
114
|
+
readonly __classified: true;
|
|
115
|
+
};
|
|
132
116
|
}, undefined, never, never, false>>>;
|
|
133
117
|
declare const User: _mikro_orm_core.EntitySchemaWithMeta<"User", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
134
|
-
readonly id:
|
|
118
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
135
119
|
primary: true;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
readonly organization: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.
|
|
140
|
-
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
141
|
-
primary: true;
|
|
142
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
143
|
-
primary: true;
|
|
144
|
-
}>;
|
|
145
|
-
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
146
|
-
kind: "enum";
|
|
147
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
148
|
-
kind: "enum";
|
|
149
|
-
}>;
|
|
150
|
-
}, undefined, never, never, false>, Omit<_mikro_orm_core.EmptyOptions & {
|
|
120
|
+
}> & {
|
|
121
|
+
readonly __classified: true;
|
|
122
|
+
};
|
|
123
|
+
readonly organization: () => _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
151
124
|
kind: "m:1";
|
|
152
125
|
}, "nullable"> & {
|
|
153
126
|
nullable: true;
|
|
154
127
|
}>;
|
|
155
128
|
}, undefined, never, never, false>, never, {
|
|
156
|
-
readonly id:
|
|
129
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
157
130
|
primary: true;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
}
|
|
161
|
-
readonly organization: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.
|
|
162
|
-
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
163
|
-
primary: true;
|
|
164
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
165
|
-
primary: true;
|
|
166
|
-
}>;
|
|
167
|
-
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
168
|
-
kind: "enum";
|
|
169
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
170
|
-
kind: "enum";
|
|
171
|
-
}>;
|
|
172
|
-
}, undefined, never, never, false>, Omit<_mikro_orm_core.EmptyOptions & {
|
|
131
|
+
}> & {
|
|
132
|
+
readonly __classified: true;
|
|
133
|
+
};
|
|
134
|
+
readonly organization: () => _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
173
135
|
kind: "m:1";
|
|
174
136
|
}, "nullable"> & {
|
|
175
137
|
nullable: true;
|
|
176
138
|
}>;
|
|
177
139
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
178
|
-
readonly id:
|
|
140
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
179
141
|
primary: true;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
}
|
|
183
|
-
readonly organization: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.
|
|
184
|
-
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
185
|
-
primary: true;
|
|
186
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
187
|
-
primary: true;
|
|
188
|
-
}>;
|
|
189
|
-
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
190
|
-
kind: "enum";
|
|
191
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
192
|
-
kind: "enum";
|
|
193
|
-
}>;
|
|
194
|
-
}, undefined, never, never, false>, Omit<_mikro_orm_core.EmptyOptions & {
|
|
142
|
+
}> & {
|
|
143
|
+
readonly __classified: true;
|
|
144
|
+
};
|
|
145
|
+
readonly organization: () => _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
195
146
|
kind: "m:1";
|
|
196
147
|
}, "nullable"> & {
|
|
197
148
|
nullable: true;
|
package/lib/services/index.d.mts
CHANGED
|
@@ -7,7 +7,6 @@ export * from '@forklaunch/interfaces-iam/types';
|
|
|
7
7
|
import { AnySchemaValidator } from '@forklaunch/validator';
|
|
8
8
|
import { EntityManager, FilterQuery, InferEntity } from '@mikro-orm/core';
|
|
9
9
|
import { OrganizationEntities, OrganizationDtos, OrganizationMappers, PermissionEntities, PermissionDtos, PermissionMappers, RoleEntities, RoleDtos, RoleMappers, UserEntities, UserDtos, UserMappers } from '../domain/types/index.mjs';
|
|
10
|
-
import '@forklaunch/core/persistence';
|
|
11
10
|
|
|
12
11
|
declare class BaseOrganizationService<SchemaValidator extends AnySchemaValidator, OrganizationStatus = unknown, MapperEntities extends OrganizationEntities<OrganizationStatus> = OrganizationEntities<OrganizationStatus>, MapperDomains extends OrganizationDtos<OrganizationStatus> = OrganizationDtos<OrganizationStatus>> implements OrganizationService<OrganizationStatus> {
|
|
13
12
|
private evaluatedTelemetryOptions;
|
package/lib/services/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export * from '@forklaunch/interfaces-iam/types';
|
|
|
7
7
|
import { AnySchemaValidator } from '@forklaunch/validator';
|
|
8
8
|
import { EntityManager, FilterQuery, InferEntity } from '@mikro-orm/core';
|
|
9
9
|
import { OrganizationEntities, OrganizationDtos, OrganizationMappers, PermissionEntities, PermissionDtos, PermissionMappers, RoleEntities, RoleDtos, RoleMappers, UserEntities, UserDtos, UserMappers } from '../domain/types/index.js';
|
|
10
|
-
import '@forklaunch/core/persistence';
|
|
11
10
|
|
|
12
11
|
declare class BaseOrganizationService<SchemaValidator extends AnySchemaValidator, OrganizationStatus = unknown, MapperEntities extends OrganizationEntities<OrganizationStatus> = OrganizationEntities<OrganizationStatus>, MapperDomains extends OrganizationDtos<OrganizationStatus> = OrganizationDtos<OrganizationStatus>> implements OrganizationService<OrganizationStatus> {
|
|
13
12
|
private evaluatedTelemetryOptions;
|
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.5",
|
|
4
4
|
"description": "IAM basic implementation for forklaunch",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"lib/**"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@forklaunch/common": "^1.1.
|
|
40
|
-
"@forklaunch/core": "^1.1.
|
|
41
|
-
"@forklaunch/internal": "^1.1.
|
|
42
|
-
"@forklaunch/validator": "^1.1.
|
|
39
|
+
"@forklaunch/common": "^1.1.4",
|
|
40
|
+
"@forklaunch/core": "^1.1.4",
|
|
41
|
+
"@forklaunch/internal": "^1.1.4",
|
|
42
|
+
"@forklaunch/validator": "^1.1.4",
|
|
43
43
|
"@mikro-orm/core": "7.0.5",
|
|
44
44
|
"@sinclair/typebox": "^0.34.48",
|
|
45
45
|
"ajv": "^8.18.0",
|
|
46
46
|
"uuid": "^13.0.0",
|
|
47
47
|
"zod": "^4.3.6",
|
|
48
|
-
"@forklaunch/interfaces-iam": "1.0.
|
|
48
|
+
"@forklaunch/interfaces-iam": "1.0.5"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
51
|
+
"@typescript/native-preview": "7.0.0-dev.20260320.1",
|
|
52
52
|
"depcheck": "^1.4.7",
|
|
53
53
|
"prettier": "^3.8.1",
|
|
54
54
|
"typedoc": "^0.28.18"
|