automation-lib 4.7.36 → 4.7.38

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/commit.bat CHANGED
@@ -1,14 +1,5 @@
1
1
  @echo off
2
2
 
3
- :: Add all changes to git
4
- git add .
5
-
6
- :: Commit changes with a message
7
- git commit -m "update: Son update code"
8
-
9
- :: Push changes to the 'main' branch of the 'cp' remote
10
- git pull hs main
11
-
12
3
  :: Read the current version from package.json
13
4
  for /f "tokens=2 delims=:, " %%i in ('findstr "version" package.json') do set currentVersion=%%i
14
5
 
@@ -37,6 +28,14 @@ echo New version: %newVersion%
37
28
  :: Run npm publish using call
38
29
  call npm run pub
39
30
 
40
- git push hs main
31
+ :: Add all changes to git
32
+ git add .
33
+
34
+ :: Commit changes with a message
35
+ git commit -m "update: Liem update code"
36
+
37
+ :: Push changes to the 'main' branch of the 'cp' remote
38
+ git pull origin main
39
+ git push origin main
41
40
 
42
41
 
package/dist/index.d.mts CHANGED
@@ -578,11 +578,12 @@ interface ISheetWork extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceMode
578
578
  sw_desc: string;
579
579
  sw_emails: string[];
580
580
  sw_note: string;
581
+ sw_children: ISheetWork[] | string[];
581
582
  sw_priority: EPriority;
582
583
  sw_status: EStatusSheetWork;
583
584
  sw_category: string | ISheetWorksCategory;
584
- sw_usersPermission: string[] | IUser[];
585
- sw_departmentsPermission: string[] | IDepartment[];
585
+ sw_usersPermission: string | IUser;
586
+ sw_departmentsPermission: string | IDepartment;
586
587
  sw_idea: IManagerWork[] | string[];
587
588
  sw_niche: IManagerWork[] | string[];
588
589
  sw_subNiche: IManagerWork[] | string[];
package/dist/index.d.ts CHANGED
@@ -578,11 +578,12 @@ interface ISheetWork extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceMode
578
578
  sw_desc: string;
579
579
  sw_emails: string[];
580
580
  sw_note: string;
581
+ sw_children: ISheetWork[] | string[];
581
582
  sw_priority: EPriority;
582
583
  sw_status: EStatusSheetWork;
583
584
  sw_category: string | ISheetWorksCategory;
584
- sw_usersPermission: string[] | IUser[];
585
- sw_departmentsPermission: string[] | IDepartment[];
585
+ sw_usersPermission: string | IUser;
586
+ sw_departmentsPermission: string | IDepartment;
586
587
  sw_idea: IManagerWork[] | string[];
587
588
  sw_niche: IManagerWork[] | string[];
588
589
  sw_subNiche: IManagerWork[] | string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation-lib",
3
- "version": "4.7.36",
3
+ "version": "4.7.38",
4
4
  "description": "Common features and type of applications auto",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",