@fiado/type-kit 2.1.2 → 2.1.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.
@@ -12,4 +12,5 @@ export declare class GroupResponse {
12
12
  uniqueMainDirectory: string | null;
13
13
  authorizedAccounts: Array<string>;
14
14
  category: string;
15
+ imageUrl?: string | null;
15
16
  }
@@ -1,12 +1,12 @@
1
1
  import { GroupStatus } from "../enums/GroupStatus";
2
2
  export declare class GroupUpdateRequest {
3
- name: string;
4
- description: string;
5
- leader: string;
6
- status: GroupStatus;
7
- codesToRefer: Array<string>;
8
- uniqueMainDirectory: string;
9
- authorizedAccounts: Array<string>;
10
- category: string;
11
- imageUrl: string;
3
+ name?: string;
4
+ description?: string;
5
+ leader?: string;
6
+ status?: GroupStatus;
7
+ codesToRefer?: Array<string>;
8
+ uniqueMainDirectory?: string;
9
+ authorizedAccounts?: Array<string>;
10
+ category?: string;
11
+ imageUrl?: string;
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "2.1.2",
3
+ "version": "2.1.4",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -14,6 +14,7 @@ export class GroupResponse {
14
14
  uniqueMainDirectory: string | null
15
15
  authorizedAccounts: Array<string>
16
16
  category: string
17
+ imageUrl?: string | null
17
18
  }
18
19
 
19
20
 
@@ -6,35 +6,35 @@ export class GroupUpdateRequest {
6
6
  @IsOptional()
7
7
  @IsString()
8
8
  @Length(1, 50)
9
- name: string;
9
+ name?: string;
10
10
 
11
11
  @IsOptional()
12
12
  @IsString()
13
13
  @Length(1, 200)
14
- description: string;
14
+ description?: string;
15
15
 
16
16
  @IsOptional()
17
17
  @IsEmail()
18
- leader: string
18
+ leader?: string
19
19
 
20
20
  @IsOptional()
21
21
  @IsEnum(GroupStatus)
22
- status: GroupStatus
22
+ status?: GroupStatus
23
23
 
24
24
  @IsOptional()
25
- codesToRefer: Array<string>;
25
+ codesToRefer?: Array<string>;
26
26
 
27
27
  @IsOptional()
28
- uniqueMainDirectory: string;
28
+ uniqueMainDirectory?: string;
29
29
 
30
30
  @IsOptional()
31
- authorizedAccounts: Array<string>;
31
+ authorizedAccounts?: Array<string>;
32
32
 
33
33
  @IsOptional()
34
34
  @Length(3, 20)
35
- category: string;
35
+ category?: string;
36
36
 
37
37
  @IsOptional()
38
38
  @IsString()
39
- imageUrl: string;
39
+ imageUrl?: string;
40
40
  }