@forklaunch/implementation-iam-base 1.0.3 → 1.0.4
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 +114 -103
- package/lib/domain/types/index.d.ts +114 -103
- 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,171 +25,183 @@ 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: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
30
29
|
primary: true;
|
|
31
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
readonly status:
|
|
35
|
-
kind: "enum";
|
|
36
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
30
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
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:
|
|
41
|
-
primary: true;
|
|
42
|
-
}, 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"> & {
|
|
39
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
43
40
|
primary: true;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
41
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
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: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
52
51
|
primary: true;
|
|
53
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
readonly status:
|
|
57
|
-
kind: "enum";
|
|
58
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
52
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
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: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
64
63
|
primary: true;
|
|
65
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
66
|
-
|
|
67
|
-
}
|
|
64
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
65
|
+
readonly __classified: true;
|
|
66
|
+
};
|
|
68
67
|
readonly permissions: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.InferEntityFromProperties<{
|
|
69
|
-
readonly id:
|
|
68
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
70
69
|
primary: true;
|
|
71
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
readonly slug:
|
|
70
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
71
|
+
readonly __classified: true;
|
|
72
|
+
};
|
|
73
|
+
readonly slug: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
74
|
+
readonly __classified: true;
|
|
75
|
+
};
|
|
75
76
|
}, undefined, never, never, false>, _mikro_orm_core.EmptyOptions & {
|
|
76
77
|
kind: "m:n";
|
|
77
78
|
}>;
|
|
78
79
|
}, undefined, never, never, false>, never, {
|
|
79
|
-
readonly id:
|
|
80
|
-
primary: true;
|
|
81
|
-
}, 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"> & {
|
|
80
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
82
81
|
primary: true;
|
|
83
|
-
}
|
|
82
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
83
|
+
readonly __classified: true;
|
|
84
|
+
};
|
|
84
85
|
readonly permissions: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.InferEntityFromProperties<{
|
|
85
|
-
readonly id:
|
|
86
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
86
87
|
primary: true;
|
|
87
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
readonly slug:
|
|
88
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
89
|
+
readonly __classified: true;
|
|
90
|
+
};
|
|
91
|
+
readonly slug: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
92
|
+
readonly __classified: true;
|
|
93
|
+
};
|
|
91
94
|
}, undefined, never, never, false>, _mikro_orm_core.EmptyOptions & {
|
|
92
95
|
kind: "m:n";
|
|
93
96
|
}>;
|
|
94
97
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
95
|
-
readonly id:
|
|
96
|
-
primary: true;
|
|
97
|
-
}, 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"> & {
|
|
98
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
98
99
|
primary: true;
|
|
99
|
-
}
|
|
100
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
101
|
+
readonly __classified: true;
|
|
102
|
+
};
|
|
100
103
|
readonly permissions: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.InferEntityFromProperties<{
|
|
101
|
-
readonly id:
|
|
104
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
102
105
|
primary: true;
|
|
103
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
104
|
-
|
|
105
|
-
}
|
|
106
|
-
readonly slug:
|
|
106
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
107
|
+
readonly __classified: true;
|
|
108
|
+
};
|
|
109
|
+
readonly slug: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
110
|
+
readonly __classified: true;
|
|
111
|
+
};
|
|
107
112
|
}, undefined, never, never, false>, _mikro_orm_core.EmptyOptions & {
|
|
108
113
|
kind: "m:n";
|
|
109
114
|
}>;
|
|
110
115
|
}, undefined, never, never, false>>>;
|
|
111
116
|
declare const Permission: _mikro_orm_core.EntitySchemaWithMeta<"Permission", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
112
|
-
readonly id:
|
|
113
|
-
primary: true;
|
|
114
|
-
}, 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"> & {
|
|
117
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
115
118
|
primary: true;
|
|
116
|
-
}
|
|
117
|
-
|
|
119
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
120
|
+
readonly __classified: true;
|
|
121
|
+
};
|
|
122
|
+
readonly slug: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
123
|
+
readonly __classified: true;
|
|
124
|
+
};
|
|
118
125
|
}, undefined, never, never, false>, never, {
|
|
119
|
-
readonly id:
|
|
126
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
120
127
|
primary: true;
|
|
121
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
readonly slug:
|
|
128
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
129
|
+
readonly __classified: true;
|
|
130
|
+
};
|
|
131
|
+
readonly slug: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
132
|
+
readonly __classified: true;
|
|
133
|
+
};
|
|
125
134
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
126
|
-
readonly id:
|
|
135
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
127
136
|
primary: true;
|
|
128
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
readonly slug:
|
|
137
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
138
|
+
readonly __classified: true;
|
|
139
|
+
};
|
|
140
|
+
readonly slug: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
141
|
+
readonly __classified: true;
|
|
142
|
+
};
|
|
132
143
|
}, undefined, never, never, false>>>;
|
|
133
144
|
declare const User: _mikro_orm_core.EntitySchemaWithMeta<"User", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
134
|
-
readonly id:
|
|
145
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
135
146
|
primary: true;
|
|
136
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
137
|
-
|
|
138
|
-
}
|
|
147
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
148
|
+
readonly __classified: true;
|
|
149
|
+
};
|
|
139
150
|
readonly organization: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.InferEntityFromProperties<{
|
|
140
|
-
readonly id:
|
|
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"> & {
|
|
151
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
143
152
|
primary: true;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
153
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
154
|
+
readonly __classified: true;
|
|
155
|
+
};
|
|
156
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
148
157
|
kind: "enum";
|
|
149
|
-
}
|
|
158
|
+
}> & {
|
|
159
|
+
readonly __classified: true;
|
|
160
|
+
};
|
|
150
161
|
}, undefined, never, never, false>, Omit<_mikro_orm_core.EmptyOptions & {
|
|
151
162
|
kind: "m:1";
|
|
152
163
|
}, "nullable"> & {
|
|
153
164
|
nullable: true;
|
|
154
165
|
}>;
|
|
155
166
|
}, undefined, never, never, false>, never, {
|
|
156
|
-
readonly id:
|
|
167
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
157
168
|
primary: true;
|
|
158
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
159
|
-
|
|
160
|
-
}
|
|
169
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
170
|
+
readonly __classified: true;
|
|
171
|
+
};
|
|
161
172
|
readonly organization: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.InferEntityFromProperties<{
|
|
162
|
-
readonly id:
|
|
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"> & {
|
|
173
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
165
174
|
primary: true;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
175
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
176
|
+
readonly __classified: true;
|
|
177
|
+
};
|
|
178
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
170
179
|
kind: "enum";
|
|
171
|
-
}
|
|
180
|
+
}> & {
|
|
181
|
+
readonly __classified: true;
|
|
182
|
+
};
|
|
172
183
|
}, undefined, never, never, false>, Omit<_mikro_orm_core.EmptyOptions & {
|
|
173
184
|
kind: "m:1";
|
|
174
185
|
}, "nullable"> & {
|
|
175
186
|
nullable: true;
|
|
176
187
|
}>;
|
|
177
188
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
178
|
-
readonly id:
|
|
179
|
-
primary: true;
|
|
180
|
-
}, 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"> & {
|
|
189
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
181
190
|
primary: true;
|
|
182
|
-
}
|
|
191
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
192
|
+
readonly __classified: true;
|
|
193
|
+
};
|
|
183
194
|
readonly organization: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.InferEntityFromProperties<{
|
|
184
|
-
readonly id:
|
|
195
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
185
196
|
primary: true;
|
|
186
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
187
|
-
|
|
188
|
-
}
|
|
189
|
-
readonly status:
|
|
190
|
-
kind: "enum";
|
|
191
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
197
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
198
|
+
readonly __classified: true;
|
|
199
|
+
};
|
|
200
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
192
201
|
kind: "enum";
|
|
193
|
-
}
|
|
202
|
+
}> & {
|
|
203
|
+
readonly __classified: true;
|
|
204
|
+
};
|
|
194
205
|
}, undefined, never, never, false>, Omit<_mikro_orm_core.EmptyOptions & {
|
|
195
206
|
kind: "m:1";
|
|
196
207
|
}, "nullable"> & {
|
|
@@ -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,171 +25,183 @@ 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: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
30
29
|
primary: true;
|
|
31
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
readonly status:
|
|
35
|
-
kind: "enum";
|
|
36
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
30
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
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:
|
|
41
|
-
primary: true;
|
|
42
|
-
}, 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"> & {
|
|
39
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
43
40
|
primary: true;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
41
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
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: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
52
51
|
primary: true;
|
|
53
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
readonly status:
|
|
57
|
-
kind: "enum";
|
|
58
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
52
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
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: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
64
63
|
primary: true;
|
|
65
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
66
|
-
|
|
67
|
-
}
|
|
64
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
65
|
+
readonly __classified: true;
|
|
66
|
+
};
|
|
68
67
|
readonly permissions: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.InferEntityFromProperties<{
|
|
69
|
-
readonly id:
|
|
68
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
70
69
|
primary: true;
|
|
71
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
readonly slug:
|
|
70
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
71
|
+
readonly __classified: true;
|
|
72
|
+
};
|
|
73
|
+
readonly slug: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
74
|
+
readonly __classified: true;
|
|
75
|
+
};
|
|
75
76
|
}, undefined, never, never, false>, _mikro_orm_core.EmptyOptions & {
|
|
76
77
|
kind: "m:n";
|
|
77
78
|
}>;
|
|
78
79
|
}, undefined, never, never, false>, never, {
|
|
79
|
-
readonly id:
|
|
80
|
-
primary: true;
|
|
81
|
-
}, 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"> & {
|
|
80
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
82
81
|
primary: true;
|
|
83
|
-
}
|
|
82
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
83
|
+
readonly __classified: true;
|
|
84
|
+
};
|
|
84
85
|
readonly permissions: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.InferEntityFromProperties<{
|
|
85
|
-
readonly id:
|
|
86
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
86
87
|
primary: true;
|
|
87
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
readonly slug:
|
|
88
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
89
|
+
readonly __classified: true;
|
|
90
|
+
};
|
|
91
|
+
readonly slug: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
92
|
+
readonly __classified: true;
|
|
93
|
+
};
|
|
91
94
|
}, undefined, never, never, false>, _mikro_orm_core.EmptyOptions & {
|
|
92
95
|
kind: "m:n";
|
|
93
96
|
}>;
|
|
94
97
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
95
|
-
readonly id:
|
|
96
|
-
primary: true;
|
|
97
|
-
}, 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"> & {
|
|
98
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
98
99
|
primary: true;
|
|
99
|
-
}
|
|
100
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
101
|
+
readonly __classified: true;
|
|
102
|
+
};
|
|
100
103
|
readonly permissions: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.InferEntityFromProperties<{
|
|
101
|
-
readonly id:
|
|
104
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
102
105
|
primary: true;
|
|
103
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
104
|
-
|
|
105
|
-
}
|
|
106
|
-
readonly slug:
|
|
106
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
107
|
+
readonly __classified: true;
|
|
108
|
+
};
|
|
109
|
+
readonly slug: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
110
|
+
readonly __classified: true;
|
|
111
|
+
};
|
|
107
112
|
}, undefined, never, never, false>, _mikro_orm_core.EmptyOptions & {
|
|
108
113
|
kind: "m:n";
|
|
109
114
|
}>;
|
|
110
115
|
}, undefined, never, never, false>>>;
|
|
111
116
|
declare const Permission: _mikro_orm_core.EntitySchemaWithMeta<"Permission", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
112
|
-
readonly id:
|
|
113
|
-
primary: true;
|
|
114
|
-
}, 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"> & {
|
|
117
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
115
118
|
primary: true;
|
|
116
|
-
}
|
|
117
|
-
|
|
119
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
120
|
+
readonly __classified: true;
|
|
121
|
+
};
|
|
122
|
+
readonly slug: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
123
|
+
readonly __classified: true;
|
|
124
|
+
};
|
|
118
125
|
}, undefined, never, never, false>, never, {
|
|
119
|
-
readonly id:
|
|
126
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
120
127
|
primary: true;
|
|
121
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
readonly slug:
|
|
128
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
129
|
+
readonly __classified: true;
|
|
130
|
+
};
|
|
131
|
+
readonly slug: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
132
|
+
readonly __classified: true;
|
|
133
|
+
};
|
|
125
134
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
126
|
-
readonly id:
|
|
135
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
127
136
|
primary: true;
|
|
128
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
readonly slug:
|
|
137
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
138
|
+
readonly __classified: true;
|
|
139
|
+
};
|
|
140
|
+
readonly slug: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
141
|
+
readonly __classified: true;
|
|
142
|
+
};
|
|
132
143
|
}, undefined, never, never, false>>>;
|
|
133
144
|
declare const User: _mikro_orm_core.EntitySchemaWithMeta<"User", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
134
|
-
readonly id:
|
|
145
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
135
146
|
primary: true;
|
|
136
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
137
|
-
|
|
138
|
-
}
|
|
147
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
148
|
+
readonly __classified: true;
|
|
149
|
+
};
|
|
139
150
|
readonly organization: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.InferEntityFromProperties<{
|
|
140
|
-
readonly id:
|
|
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"> & {
|
|
151
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
143
152
|
primary: true;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
153
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
154
|
+
readonly __classified: true;
|
|
155
|
+
};
|
|
156
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
148
157
|
kind: "enum";
|
|
149
|
-
}
|
|
158
|
+
}> & {
|
|
159
|
+
readonly __classified: true;
|
|
160
|
+
};
|
|
150
161
|
}, undefined, never, never, false>, Omit<_mikro_orm_core.EmptyOptions & {
|
|
151
162
|
kind: "m:1";
|
|
152
163
|
}, "nullable"> & {
|
|
153
164
|
nullable: true;
|
|
154
165
|
}>;
|
|
155
166
|
}, undefined, never, never, false>, never, {
|
|
156
|
-
readonly id:
|
|
167
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
157
168
|
primary: true;
|
|
158
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
159
|
-
|
|
160
|
-
}
|
|
169
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
170
|
+
readonly __classified: true;
|
|
171
|
+
};
|
|
161
172
|
readonly organization: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.InferEntityFromProperties<{
|
|
162
|
-
readonly id:
|
|
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"> & {
|
|
173
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
165
174
|
primary: true;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
175
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
176
|
+
readonly __classified: true;
|
|
177
|
+
};
|
|
178
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
170
179
|
kind: "enum";
|
|
171
|
-
}
|
|
180
|
+
}> & {
|
|
181
|
+
readonly __classified: true;
|
|
182
|
+
};
|
|
172
183
|
}, undefined, never, never, false>, Omit<_mikro_orm_core.EmptyOptions & {
|
|
173
184
|
kind: "m:1";
|
|
174
185
|
}, "nullable"> & {
|
|
175
186
|
nullable: true;
|
|
176
187
|
}>;
|
|
177
188
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
178
|
-
readonly id:
|
|
179
|
-
primary: true;
|
|
180
|
-
}, 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"> & {
|
|
189
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
181
190
|
primary: true;
|
|
182
|
-
}
|
|
191
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
192
|
+
readonly __classified: true;
|
|
193
|
+
};
|
|
183
194
|
readonly organization: () => _mikro_orm_core.PropertyChain<_mikro_orm_core.InferEntityFromProperties<{
|
|
184
|
-
readonly id:
|
|
195
|
+
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
185
196
|
primary: true;
|
|
186
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
187
|
-
|
|
188
|
-
}
|
|
189
|
-
readonly status:
|
|
190
|
-
kind: "enum";
|
|
191
|
-
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
197
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")> & {
|
|
198
|
+
readonly __classified: true;
|
|
199
|
+
};
|
|
200
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
192
201
|
kind: "enum";
|
|
193
|
-
}
|
|
202
|
+
}> & {
|
|
203
|
+
readonly __classified: true;
|
|
204
|
+
};
|
|
194
205
|
}, undefined, never, never, false>, Omit<_mikro_orm_core.EmptyOptions & {
|
|
195
206
|
kind: "m:1";
|
|
196
207
|
}, "nullable"> & {
|
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.4",
|
|
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.3",
|
|
40
|
+
"@forklaunch/core": "^1.1.3",
|
|
41
|
+
"@forklaunch/internal": "^1.1.3",
|
|
42
|
+
"@forklaunch/validator": "^1.1.3",
|
|
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.4"
|
|
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"
|