@forklaunch/interfaces-iam 0.3.5 → 0.5.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
- organizationId: string;
10
- roleIds: string[];
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, 'organizationId'>> &
15
+ export type UpdateUserDto = Partial<Omit<CreateUserDto, 'organization'>> &
16
16
  IdDto;
17
17
 
18
18
  export type UserDto = Omit<
19
19
  CreateUserDto,
20
- 'roleIds' | 'password' | 'organizationId'
20
+ 'roles' | 'password' | 'organization'
21
21
  > &
22
22
  IdDto &
23
23
  Partial<RecordTimingDto> & {
@@ -42,14 +42,14 @@ type CreateUserDto = Partial<IdDto> & {
42
42
  password: string;
43
43
  firstName: string;
44
44
  lastName: string;
45
- organizationId: string;
46
- roleIds: string[];
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, 'organizationId'>> & IdDto;
52
- type UserDto = Omit<CreateUserDto, 'roleIds' | 'password' | 'organizationId'> & IdDto & Partial<RecordTimingDto> & {
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 = {
@@ -42,14 +42,14 @@ type CreateUserDto = Partial<IdDto> & {
42
42
  password: string;
43
43
  firstName: string;
44
44
  lastName: string;
45
- organizationId: string;
46
- roleIds: string[];
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, 'organizationId'>> & IdDto;
52
- type UserDto = Omit<CreateUserDto, 'roleIds' | 'password' | 'organizationId'> & IdDto & Partial<RecordTimingDto> & {
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.5",
3
+ "version": "0.5.0",
4
4
  "description": "IAM interfaces for forklaunch",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -30,14 +30,14 @@
30
30
  "lib/**"
31
31
  ],
32
32
  "dependencies": {
33
- "@forklaunch/common": "^0.4.3",
33
+ "@forklaunch/common": "^0.4.6",
34
34
  "@mikro-orm/core": "^6.4.16"
35
35
  },
36
36
  "devDependencies": {
37
- "@typescript/native-preview": "7.0.0-dev.20250710.1",
37
+ "@typescript/native-preview": "7.0.0-dev.20250803.1",
38
38
  "depcheck": "^1.4.7",
39
39
  "prettier": "^3.6.2",
40
- "typedoc": "^0.28.7"
40
+ "typedoc": "^0.28.9"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "tsgo --noEmit && tsup interfaces/index.ts types/index.ts --format cjs,esm --no-splitting --dts --tsconfig tsconfig.json --out-dir lib --clean && if [ -f eject-package.bash ]; then pnpm package:eject; fi",