automation-lib 4.7.51 → 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
@@ -97,11 +97,10 @@ declare const CONST_API_CONTROLLERS: {
97
97
  MANAGER_WORK_IDEA: string;
98
98
  MANAGER_WORK_NICHE: string;
99
99
  MANAGER_WORK_PIN: string;
100
- MANAGER_WORK_DOMAIN: string;
100
+ DOMAIN: string;
101
101
  SHEETS_WORKS: string;
102
102
  SHEETS_WORK_PIN: string;
103
103
  TAG: string;
104
- SHEETS_WORK_DOMAIN: string;
105
104
  SHEETS_WORKS_CATEGORIES: string;
106
105
  TASKS_JOBS: string;
107
106
  TASKS_JOBS_GROUPS: string;
@@ -877,7 +876,6 @@ interface ITaskPc extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsC
877
876
  }
878
877
 
879
878
  interface IHistoryCanva extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ITrackingModel<IUser> {
880
- type: ETypeCanva;
881
879
  templateCanvaName: string;
882
880
  pageThumb: {
883
881
  username: string;
@@ -886,14 +884,14 @@ interface IHistoryCanva extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceM
886
884
  page1: {
887
885
  text: string;
888
886
  username: string;
889
- titlePoll: string;
890
- poll1: string;
891
- poll2: string;
892
- poll3: string;
887
+ titlePool: string;
888
+ pool1: string;
889
+ pool2: string;
890
+ pool3: string;
893
891
  };
894
892
  page2: {
895
- textFirst: string;
896
- textSecond: string;
893
+ firstText: string;
894
+ secondText: string;
897
895
  username: string;
898
896
  };
899
897
  page3: {
package/dist/index.d.ts CHANGED
@@ -97,11 +97,10 @@ declare const CONST_API_CONTROLLERS: {
97
97
  MANAGER_WORK_IDEA: string;
98
98
  MANAGER_WORK_NICHE: string;
99
99
  MANAGER_WORK_PIN: string;
100
- MANAGER_WORK_DOMAIN: string;
100
+ DOMAIN: string;
101
101
  SHEETS_WORKS: string;
102
102
  SHEETS_WORK_PIN: string;
103
103
  TAG: string;
104
- SHEETS_WORK_DOMAIN: string;
105
104
  SHEETS_WORKS_CATEGORIES: string;
106
105
  TASKS_JOBS: string;
107
106
  TASKS_JOBS_GROUPS: string;
@@ -877,7 +876,6 @@ interface ITaskPc extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsC
877
876
  }
878
877
 
879
878
  interface IHistoryCanva extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ITrackingModel<IUser> {
880
- type: ETypeCanva;
881
879
  templateCanvaName: string;
882
880
  pageThumb: {
883
881
  username: string;
@@ -886,14 +884,14 @@ interface IHistoryCanva extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceM
886
884
  page1: {
887
885
  text: string;
888
886
  username: string;
889
- titlePoll: string;
890
- poll1: string;
891
- poll2: string;
892
- poll3: string;
887
+ titlePool: string;
888
+ pool1: string;
889
+ pool2: string;
890
+ pool3: string;
893
891
  };
894
892
  page2: {
895
- textFirst: string;
896
- textSecond: string;
893
+ firstText: string;
894
+ secondText: string;
897
895
  username: string;
898
896
  };
899
897
  page3: {
package/dist/index.js CHANGED
@@ -142,11 +142,10 @@ var CONST_API_CONTROLLERS = {
142
142
  MANAGER_WORK_IDEA: "manager-work-idea",
143
143
  MANAGER_WORK_NICHE: "manager-work-niche",
144
144
  MANAGER_WORK_PIN: "manager-work-pin",
145
- MANAGER_WORK_DOMAIN: "manager-work-domain",
145
+ DOMAIN: "domain",
146
146
  SHEETS_WORKS: "sheets-works",
147
147
  SHEETS_WORK_PIN: "sheets-work-pin",
148
148
  TAG: "tag",
149
- SHEETS_WORK_DOMAIN: "sheets-work-domain",
150
149
  SHEETS_WORKS_CATEGORIES: "sheets-works-categories",
151
150
  TASKS_JOBS: "tasks-jobs",
152
151
  TASKS_JOBS_GROUPS: "tasks-jobs-groups",
package/dist/index.mjs CHANGED
@@ -119,11 +119,10 @@ var CONST_API_CONTROLLERS = {
119
119
  MANAGER_WORK_IDEA: "manager-work-idea",
120
120
  MANAGER_WORK_NICHE: "manager-work-niche",
121
121
  MANAGER_WORK_PIN: "manager-work-pin",
122
- MANAGER_WORK_DOMAIN: "manager-work-domain",
122
+ DOMAIN: "domain",
123
123
  SHEETS_WORKS: "sheets-works",
124
124
  SHEETS_WORK_PIN: "sheets-work-pin",
125
125
  TAG: "tag",
126
- SHEETS_WORK_DOMAIN: "sheets-work-domain",
127
126
  SHEETS_WORKS_CATEGORIES: "sheets-works-categories",
128
127
  TASKS_JOBS: "tasks-jobs",
129
128
  TASKS_JOBS_GROUPS: "tasks-jobs-groups",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation-lib",
3
- "version": "4.7.51",
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
-