@forklaunch/interfaces-iam 0.3.5 → 0.4.0
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.
|
@@ -6,18 +6,18 @@ export type CreateUserDto = Partial<IdDto> & {
|
|
|
6
6
|
password: string;
|
|
7
7
|
firstName: string;
|
|
8
8
|
lastName: string;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
organization: string;
|
|
10
|
+
roles: string[];
|
|
11
11
|
phoneNumber?: string;
|
|
12
12
|
subscription?: string;
|
|
13
13
|
providerFields?: unknown;
|
|
14
14
|
};
|
|
15
|
-
export type UpdateUserDto = Partial<Omit<CreateUserDto, '
|
|
15
|
+
export type UpdateUserDto = Partial<Omit<CreateUserDto, 'organization'>> &
|
|
16
16
|
IdDto;
|
|
17
17
|
|
|
18
18
|
export type UserDto = Omit<
|
|
19
19
|
CreateUserDto,
|
|
20
|
-
'
|
|
20
|
+
'roles' | 'password' | 'organization'
|
|
21
21
|
> &
|
|
22
22
|
IdDto &
|
|
23
23
|
Partial<RecordTimingDto> & {
|
package/lib/types/index.d.mts
CHANGED
|
@@ -42,14 +42,14 @@ type CreateUserDto = Partial<IdDto> & {
|
|
|
42
42
|
password: string;
|
|
43
43
|
firstName: string;
|
|
44
44
|
lastName: string;
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
organization: string;
|
|
46
|
+
roles: string[];
|
|
47
47
|
phoneNumber?: string;
|
|
48
48
|
subscription?: string;
|
|
49
49
|
providerFields?: unknown;
|
|
50
50
|
};
|
|
51
|
-
type UpdateUserDto = Partial<Omit<CreateUserDto, '
|
|
52
|
-
type UserDto = Omit<CreateUserDto, '
|
|
51
|
+
type UpdateUserDto = Partial<Omit<CreateUserDto, 'organization'>> & IdDto;
|
|
52
|
+
type UserDto = Omit<CreateUserDto, 'roles' | 'password' | 'organization'> & IdDto & Partial<RecordTimingDto> & {
|
|
53
53
|
roles: RoleDto[];
|
|
54
54
|
};
|
|
55
55
|
type UserServiceParameters = {
|
package/lib/types/index.d.ts
CHANGED
|
@@ -42,14 +42,14 @@ type CreateUserDto = Partial<IdDto> & {
|
|
|
42
42
|
password: string;
|
|
43
43
|
firstName: string;
|
|
44
44
|
lastName: string;
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
organization: string;
|
|
46
|
+
roles: string[];
|
|
47
47
|
phoneNumber?: string;
|
|
48
48
|
subscription?: string;
|
|
49
49
|
providerFields?: unknown;
|
|
50
50
|
};
|
|
51
|
-
type UpdateUserDto = Partial<Omit<CreateUserDto, '
|
|
52
|
-
type UserDto = Omit<CreateUserDto, '
|
|
51
|
+
type UpdateUserDto = Partial<Omit<CreateUserDto, 'organization'>> & IdDto;
|
|
52
|
+
type UserDto = Omit<CreateUserDto, 'roles' | 'password' | 'organization'> & IdDto & Partial<RecordTimingDto> & {
|
|
53
53
|
roles: RoleDto[];
|
|
54
54
|
};
|
|
55
55
|
type UserServiceParameters = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/interfaces-iam",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "IAM interfaces for forklaunch",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"lib/**"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@forklaunch/common": "^0.4.
|
|
33
|
+
"@forklaunch/common": "^0.4.5",
|
|
34
34
|
"@mikro-orm/core": "^6.4.16"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
37
|
+
"@typescript/native-preview": "7.0.0-dev.20250712.1",
|
|
38
38
|
"depcheck": "^1.4.7",
|
|
39
39
|
"prettier": "^3.6.2",
|
|
40
40
|
"typedoc": "^0.28.7"
|