automation-lib 4.7.52 → 4.7.53

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/dist/index.d.mts CHANGED
@@ -876,7 +876,6 @@ interface ITaskPc extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsC
876
876
  }
877
877
 
878
878
  interface IHistoryCanva extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ITrackingModel<IUser> {
879
- type: ETypeCanva;
880
879
  templateCanvaName: string;
881
880
  pageThumb: {
882
881
  username: string;
@@ -885,14 +884,14 @@ interface IHistoryCanva extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceM
885
884
  page1: {
886
885
  text: string;
887
886
  username: string;
888
- titlePoll: string;
889
- poll1: string;
890
- poll2: string;
891
- poll3: string;
887
+ titlePool: string;
888
+ pool1: string;
889
+ pool2: string;
890
+ pool3: string;
892
891
  };
893
892
  page2: {
894
- textFirst: string;
895
- textSecond: string;
893
+ firstText: string;
894
+ secondText: string;
896
895
  username: string;
897
896
  };
898
897
  page3: {
package/dist/index.d.ts CHANGED
@@ -876,7 +876,6 @@ interface ITaskPc extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsC
876
876
  }
877
877
 
878
878
  interface IHistoryCanva extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ITrackingModel<IUser> {
879
- type: ETypeCanva;
880
879
  templateCanvaName: string;
881
880
  pageThumb: {
882
881
  username: string;
@@ -885,14 +884,14 @@ interface IHistoryCanva extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceM
885
884
  page1: {
886
885
  text: string;
887
886
  username: string;
888
- titlePoll: string;
889
- poll1: string;
890
- poll2: string;
891
- poll3: string;
887
+ titlePool: string;
888
+ pool1: string;
889
+ pool2: string;
890
+ pool3: string;
892
891
  };
893
892
  page2: {
894
- textFirst: string;
895
- textSecond: string;
893
+ firstText: string;
894
+ secondText: string;
896
895
  username: string;
897
896
  };
898
897
  page3: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation-lib",
3
- "version": "4.7.52",
3
+ "version": "4.7.53",
4
4
  "description": "Common features and type of applications auto",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
package/commit.bat DELETED
@@ -1,41 +0,0 @@
1
- @echo off
2
-
3
- :: Read the current version from package.json
4
- for /f "tokens=2 delims=:, " %%i in ('findstr "version" package.json') do set currentVersion=%%i
5
-
6
- :: Remove quotes from the version string
7
- set currentVersion=%currentVersion:"=%
8
-
9
- :: Split version into its components
10
- for /f "tokens=1,2,3 delims=." %%a in ("%currentVersion%") do (
11
- set major=%%a
12
- set minor=%%b
13
- set patch=%%c
14
- )
15
-
16
- :: Increment the patch version
17
- set /a patch+=1
18
-
19
- :: Create the new version string
20
- set newVersion=%major%.%minor%.%patch%
21
-
22
- :: Update the version in package.json
23
- powershell -Command "(Get-Content package.json) -replace '\"version\": \"%currentVersion%\"', '\"version\": \"%newVersion%\"' | Set-Content package.json"
24
-
25
- :: Display the new version
26
- echo New version: %newVersion%
27
-
28
- :: Run npm publish using call
29
- call npm run pub
30
-
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
40
-
41
-