automation-lib 4.7.49 → 4.7.50
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 +41 -0
- package/dist/index.d.mts +21 -31
- package/dist/index.d.ts +21 -31
- package/dist/index.js +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
package/commit.bat
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BoInterfaceModelsCommon, BoEnumsCommon } from 'bodevops-be-common';
|
|
2
|
+
import { BoInterfaceModelsCommon as BoInterfaceModelsCommon$1 } from 'bodevops-be-common/dist';
|
|
2
3
|
|
|
3
4
|
declare const CONST_API_OTP: {
|
|
4
5
|
SEND: string;
|
|
@@ -95,12 +96,11 @@ declare const CONST_API_CONTROLLERS: {
|
|
|
95
96
|
MANAGER_WORK: string;
|
|
96
97
|
MANAGER_WORK_IDEA: string;
|
|
97
98
|
MANAGER_WORK_NICHE: string;
|
|
98
|
-
MANAGER_WORK_TAG: string;
|
|
99
99
|
MANAGER_WORK_PIN: string;
|
|
100
100
|
MANAGER_WORK_DOMAIN: string;
|
|
101
101
|
SHEETS_WORKS: string;
|
|
102
102
|
SHEETS_WORK_PIN: string;
|
|
103
|
-
|
|
103
|
+
TAG: string;
|
|
104
104
|
SHEETS_WORK_DOMAIN: string;
|
|
105
105
|
SHEETS_WORKS_CATEGORIES: string;
|
|
106
106
|
TASKS_JOBS: string;
|
|
@@ -535,14 +535,21 @@ interface ISheetWorksCategory extends BoInterfaceModelsCommon.IBaseModel, BoInte
|
|
|
535
535
|
swc_desc: string;
|
|
536
536
|
}
|
|
537
537
|
|
|
538
|
+
interface ITag extends BoInterfaceModelsCommon$1.IBaseModel {
|
|
539
|
+
tag_manager?: IManagerWork | string;
|
|
540
|
+
tag_sheetWork?: ISheetWork | string;
|
|
541
|
+
tag_name: string;
|
|
542
|
+
tag_color: string;
|
|
543
|
+
}
|
|
544
|
+
|
|
538
545
|
interface IManagerWork extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ISoftDeleteModel<IUser>, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
|
539
546
|
mw_name: string;
|
|
540
547
|
mw_user: string | IUser;
|
|
541
548
|
mw_department: string | IDepartment;
|
|
542
549
|
mw_type: ETypeManagerWorkType;
|
|
543
550
|
mw_classify: ETypeManagerWorkClassify;
|
|
544
|
-
mw_tags: string[] |
|
|
545
|
-
mw_domains: string[] |
|
|
551
|
+
mw_tags: string[] | ITag[];
|
|
552
|
+
mw_domains: string[] | IDomain[];
|
|
546
553
|
mw_priority: EPriority;
|
|
547
554
|
mw_status: EStatusSheetWork;
|
|
548
555
|
mw_sheetWorks: string[] | ISheetWork[];
|
|
@@ -555,21 +562,18 @@ interface IManagerWork extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceMo
|
|
|
555
562
|
mw_quote3: string;
|
|
556
563
|
mw_desc: string;
|
|
557
564
|
}
|
|
558
|
-
interface IManagerWorkTag extends BoInterfaceModelsCommon.IBaseModel {
|
|
559
|
-
tag_manager: IManagerWork | string;
|
|
560
|
-
tag_name: string;
|
|
561
|
-
tag_color: string;
|
|
562
|
-
}
|
|
563
|
-
interface IManagerWorkDomain extends BoInterfaceModelsCommon.IBaseModel {
|
|
564
|
-
domain_manager: IManagerWork | string;
|
|
565
|
-
domain_name: string;
|
|
566
|
-
domain_color: string;
|
|
567
|
-
}
|
|
568
565
|
interface IManagerWorkPin extends BoInterfaceModelsCommon.IBaseModel {
|
|
569
566
|
pin_type: ETypeManagerWorkPin;
|
|
570
567
|
pin_manager: string | IManagerWork;
|
|
571
568
|
}
|
|
572
569
|
|
|
570
|
+
interface IDomain extends BoInterfaceModelsCommon$1.IBaseModel {
|
|
571
|
+
domain_manager?: IManagerWork | string;
|
|
572
|
+
domain_sheetWork?: ISheetWork | string;
|
|
573
|
+
domain_name: string;
|
|
574
|
+
domain_color: string;
|
|
575
|
+
}
|
|
576
|
+
|
|
573
577
|
interface ISheetWork extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ISoftDeleteModel<IUser>, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
|
574
578
|
sw_name: string;
|
|
575
579
|
sw_slug: string;
|
|
@@ -586,21 +590,11 @@ interface ISheetWork extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceMode
|
|
|
586
590
|
sw_idea: IManagerWork | string;
|
|
587
591
|
sw_niche: IManagerWork | string;
|
|
588
592
|
sw_subNiche: IManagerWork | string;
|
|
589
|
-
sw_tags: string[] |
|
|
590
|
-
sw_domains: string[] |
|
|
593
|
+
sw_tags: string[] | ITag[];
|
|
594
|
+
sw_domains: string[] | IDomain[];
|
|
591
595
|
sw_pin: string | ISheetWorkPin;
|
|
592
596
|
sw_classify: ETypeSheetWorkClassify;
|
|
593
597
|
}
|
|
594
|
-
interface ISheetWorkTag extends BoInterfaceModelsCommon.IBaseModel {
|
|
595
|
-
tag_sheetWork: ISheetWork | string;
|
|
596
|
-
tag_name: string;
|
|
597
|
-
tag_color: string;
|
|
598
|
-
}
|
|
599
|
-
interface ISheetWorkDomain extends BoInterfaceModelsCommon.IBaseModel {
|
|
600
|
-
domain_sheetWork: ISheetWork | string;
|
|
601
|
-
domain_name: string;
|
|
602
|
-
domain_color: string;
|
|
603
|
-
}
|
|
604
598
|
interface ISheetWorkPin extends BoInterfaceModelsCommon.IBaseModel {
|
|
605
599
|
pin_type: ETypeSheetWorkPin;
|
|
606
600
|
pin_sheetWork: string | ISheetWork;
|
|
@@ -694,17 +688,13 @@ type index$5_IDepartment = IDepartment;
|
|
|
694
688
|
type index$5_IImage = IImage;
|
|
695
689
|
type index$5_ILark = ILark;
|
|
696
690
|
type index$5_IManagerWork = IManagerWork;
|
|
697
|
-
type index$5_IManagerWorkDomain = IManagerWorkDomain;
|
|
698
691
|
type index$5_IManagerWorkPin = IManagerWorkPin;
|
|
699
|
-
type index$5_IManagerWorkTag = IManagerWorkTag;
|
|
700
692
|
type index$5_INotification = INotification;
|
|
701
693
|
type index$5_IRole = IRole;
|
|
702
694
|
type index$5_IRoleFeature = IRoleFeature;
|
|
703
695
|
type index$5_IRoleGroup = IRoleGroup;
|
|
704
696
|
type index$5_ISheetWork = ISheetWork;
|
|
705
|
-
type index$5_ISheetWorkDomain = ISheetWorkDomain;
|
|
706
697
|
type index$5_ISheetWorkPin = ISheetWorkPin;
|
|
707
|
-
type index$5_ISheetWorkTag = ISheetWorkTag;
|
|
708
698
|
type index$5_ISheetWorksCategory = ISheetWorksCategory;
|
|
709
699
|
type index$5_ITaskJob = ITaskJob;
|
|
710
700
|
type index$5_ITaskJobCheckList = ITaskJobCheckList;
|
|
@@ -712,7 +702,7 @@ type index$5_ITaskJobDiscuss = ITaskJobDiscuss;
|
|
|
712
702
|
type index$5_ITaskJobLabel = ITaskJobLabel;
|
|
713
703
|
type index$5_ITaskJobsGroup = ITaskJobsGroup;
|
|
714
704
|
declare namespace index$5 {
|
|
715
|
-
export type { index$5_IBlog as IBlog, index$5_IBlogsCategory as IBlogsCategory, index$5_IDepartment as IDepartment, index$5_IImage as IImage, index$5_ILark as ILark, index$5_IManagerWork as IManagerWork, index$
|
|
705
|
+
export type { index$5_IBlog as IBlog, index$5_IBlogsCategory as IBlogsCategory, index$5_IDepartment as IDepartment, index$5_IImage as IImage, index$5_ILark as ILark, index$5_IManagerWork as IManagerWork, index$5_IManagerWorkPin as IManagerWorkPin, index$5_INotification as INotification, index$5_IRole as IRole, index$5_IRoleFeature as IRoleFeature, index$5_IRoleGroup as IRoleGroup, index$5_ISheetWork as ISheetWork, index$5_ISheetWorkPin as ISheetWorkPin, index$5_ISheetWorksCategory as ISheetWorksCategory, index$5_ITaskJob as ITaskJob, index$5_ITaskJobCheckList as ITaskJobCheckList, index$5_ITaskJobDiscuss as ITaskJobDiscuss, index$5_ITaskJobLabel as ITaskJobLabel, index$5_ITaskJobsGroup as ITaskJobsGroup };
|
|
716
706
|
}
|
|
717
707
|
|
|
718
708
|
interface IProxyTracking extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ISoftDeleteModel<IUser>, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BoInterfaceModelsCommon, BoEnumsCommon } from 'bodevops-be-common';
|
|
2
|
+
import { BoInterfaceModelsCommon as BoInterfaceModelsCommon$1 } from 'bodevops-be-common/dist';
|
|
2
3
|
|
|
3
4
|
declare const CONST_API_OTP: {
|
|
4
5
|
SEND: string;
|
|
@@ -95,12 +96,11 @@ declare const CONST_API_CONTROLLERS: {
|
|
|
95
96
|
MANAGER_WORK: string;
|
|
96
97
|
MANAGER_WORK_IDEA: string;
|
|
97
98
|
MANAGER_WORK_NICHE: string;
|
|
98
|
-
MANAGER_WORK_TAG: string;
|
|
99
99
|
MANAGER_WORK_PIN: string;
|
|
100
100
|
MANAGER_WORK_DOMAIN: string;
|
|
101
101
|
SHEETS_WORKS: string;
|
|
102
102
|
SHEETS_WORK_PIN: string;
|
|
103
|
-
|
|
103
|
+
TAG: string;
|
|
104
104
|
SHEETS_WORK_DOMAIN: string;
|
|
105
105
|
SHEETS_WORKS_CATEGORIES: string;
|
|
106
106
|
TASKS_JOBS: string;
|
|
@@ -535,14 +535,21 @@ interface ISheetWorksCategory extends BoInterfaceModelsCommon.IBaseModel, BoInte
|
|
|
535
535
|
swc_desc: string;
|
|
536
536
|
}
|
|
537
537
|
|
|
538
|
+
interface ITag extends BoInterfaceModelsCommon$1.IBaseModel {
|
|
539
|
+
tag_manager?: IManagerWork | string;
|
|
540
|
+
tag_sheetWork?: ISheetWork | string;
|
|
541
|
+
tag_name: string;
|
|
542
|
+
tag_color: string;
|
|
543
|
+
}
|
|
544
|
+
|
|
538
545
|
interface IManagerWork extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ISoftDeleteModel<IUser>, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
|
539
546
|
mw_name: string;
|
|
540
547
|
mw_user: string | IUser;
|
|
541
548
|
mw_department: string | IDepartment;
|
|
542
549
|
mw_type: ETypeManagerWorkType;
|
|
543
550
|
mw_classify: ETypeManagerWorkClassify;
|
|
544
|
-
mw_tags: string[] |
|
|
545
|
-
mw_domains: string[] |
|
|
551
|
+
mw_tags: string[] | ITag[];
|
|
552
|
+
mw_domains: string[] | IDomain[];
|
|
546
553
|
mw_priority: EPriority;
|
|
547
554
|
mw_status: EStatusSheetWork;
|
|
548
555
|
mw_sheetWorks: string[] | ISheetWork[];
|
|
@@ -555,21 +562,18 @@ interface IManagerWork extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceMo
|
|
|
555
562
|
mw_quote3: string;
|
|
556
563
|
mw_desc: string;
|
|
557
564
|
}
|
|
558
|
-
interface IManagerWorkTag extends BoInterfaceModelsCommon.IBaseModel {
|
|
559
|
-
tag_manager: IManagerWork | string;
|
|
560
|
-
tag_name: string;
|
|
561
|
-
tag_color: string;
|
|
562
|
-
}
|
|
563
|
-
interface IManagerWorkDomain extends BoInterfaceModelsCommon.IBaseModel {
|
|
564
|
-
domain_manager: IManagerWork | string;
|
|
565
|
-
domain_name: string;
|
|
566
|
-
domain_color: string;
|
|
567
|
-
}
|
|
568
565
|
interface IManagerWorkPin extends BoInterfaceModelsCommon.IBaseModel {
|
|
569
566
|
pin_type: ETypeManagerWorkPin;
|
|
570
567
|
pin_manager: string | IManagerWork;
|
|
571
568
|
}
|
|
572
569
|
|
|
570
|
+
interface IDomain extends BoInterfaceModelsCommon$1.IBaseModel {
|
|
571
|
+
domain_manager?: IManagerWork | string;
|
|
572
|
+
domain_sheetWork?: ISheetWork | string;
|
|
573
|
+
domain_name: string;
|
|
574
|
+
domain_color: string;
|
|
575
|
+
}
|
|
576
|
+
|
|
573
577
|
interface ISheetWork extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ISoftDeleteModel<IUser>, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
|
574
578
|
sw_name: string;
|
|
575
579
|
sw_slug: string;
|
|
@@ -586,21 +590,11 @@ interface ISheetWork extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceMode
|
|
|
586
590
|
sw_idea: IManagerWork | string;
|
|
587
591
|
sw_niche: IManagerWork | string;
|
|
588
592
|
sw_subNiche: IManagerWork | string;
|
|
589
|
-
sw_tags: string[] |
|
|
590
|
-
sw_domains: string[] |
|
|
593
|
+
sw_tags: string[] | ITag[];
|
|
594
|
+
sw_domains: string[] | IDomain[];
|
|
591
595
|
sw_pin: string | ISheetWorkPin;
|
|
592
596
|
sw_classify: ETypeSheetWorkClassify;
|
|
593
597
|
}
|
|
594
|
-
interface ISheetWorkTag extends BoInterfaceModelsCommon.IBaseModel {
|
|
595
|
-
tag_sheetWork: ISheetWork | string;
|
|
596
|
-
tag_name: string;
|
|
597
|
-
tag_color: string;
|
|
598
|
-
}
|
|
599
|
-
interface ISheetWorkDomain extends BoInterfaceModelsCommon.IBaseModel {
|
|
600
|
-
domain_sheetWork: ISheetWork | string;
|
|
601
|
-
domain_name: string;
|
|
602
|
-
domain_color: string;
|
|
603
|
-
}
|
|
604
598
|
interface ISheetWorkPin extends BoInterfaceModelsCommon.IBaseModel {
|
|
605
599
|
pin_type: ETypeSheetWorkPin;
|
|
606
600
|
pin_sheetWork: string | ISheetWork;
|
|
@@ -694,17 +688,13 @@ type index$5_IDepartment = IDepartment;
|
|
|
694
688
|
type index$5_IImage = IImage;
|
|
695
689
|
type index$5_ILark = ILark;
|
|
696
690
|
type index$5_IManagerWork = IManagerWork;
|
|
697
|
-
type index$5_IManagerWorkDomain = IManagerWorkDomain;
|
|
698
691
|
type index$5_IManagerWorkPin = IManagerWorkPin;
|
|
699
|
-
type index$5_IManagerWorkTag = IManagerWorkTag;
|
|
700
692
|
type index$5_INotification = INotification;
|
|
701
693
|
type index$5_IRole = IRole;
|
|
702
694
|
type index$5_IRoleFeature = IRoleFeature;
|
|
703
695
|
type index$5_IRoleGroup = IRoleGroup;
|
|
704
696
|
type index$5_ISheetWork = ISheetWork;
|
|
705
|
-
type index$5_ISheetWorkDomain = ISheetWorkDomain;
|
|
706
697
|
type index$5_ISheetWorkPin = ISheetWorkPin;
|
|
707
|
-
type index$5_ISheetWorkTag = ISheetWorkTag;
|
|
708
698
|
type index$5_ISheetWorksCategory = ISheetWorksCategory;
|
|
709
699
|
type index$5_ITaskJob = ITaskJob;
|
|
710
700
|
type index$5_ITaskJobCheckList = ITaskJobCheckList;
|
|
@@ -712,7 +702,7 @@ type index$5_ITaskJobDiscuss = ITaskJobDiscuss;
|
|
|
712
702
|
type index$5_ITaskJobLabel = ITaskJobLabel;
|
|
713
703
|
type index$5_ITaskJobsGroup = ITaskJobsGroup;
|
|
714
704
|
declare namespace index$5 {
|
|
715
|
-
export type { index$5_IBlog as IBlog, index$5_IBlogsCategory as IBlogsCategory, index$5_IDepartment as IDepartment, index$5_IImage as IImage, index$5_ILark as ILark, index$5_IManagerWork as IManagerWork, index$
|
|
705
|
+
export type { index$5_IBlog as IBlog, index$5_IBlogsCategory as IBlogsCategory, index$5_IDepartment as IDepartment, index$5_IImage as IImage, index$5_ILark as ILark, index$5_IManagerWork as IManagerWork, index$5_IManagerWorkPin as IManagerWorkPin, index$5_INotification as INotification, index$5_IRole as IRole, index$5_IRoleFeature as IRoleFeature, index$5_IRoleGroup as IRoleGroup, index$5_ISheetWork as ISheetWork, index$5_ISheetWorkPin as ISheetWorkPin, index$5_ISheetWorksCategory as ISheetWorksCategory, index$5_ITaskJob as ITaskJob, index$5_ITaskJobCheckList as ITaskJobCheckList, index$5_ITaskJobDiscuss as ITaskJobDiscuss, index$5_ITaskJobLabel as ITaskJobLabel, index$5_ITaskJobsGroup as ITaskJobsGroup };
|
|
716
706
|
}
|
|
717
707
|
|
|
718
708
|
interface IProxyTracking extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ISoftDeleteModel<IUser>, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
package/dist/index.js
CHANGED
|
@@ -141,12 +141,11 @@ var CONST_API_CONTROLLERS = {
|
|
|
141
141
|
MANAGER_WORK: "manager-work",
|
|
142
142
|
MANAGER_WORK_IDEA: "manager-work-idea",
|
|
143
143
|
MANAGER_WORK_NICHE: "manager-work-niche",
|
|
144
|
-
MANAGER_WORK_TAG: "manager-work-tag",
|
|
145
144
|
MANAGER_WORK_PIN: "manager-work-pin",
|
|
146
145
|
MANAGER_WORK_DOMAIN: "manager-work-domain",
|
|
147
146
|
SHEETS_WORKS: "sheets-works",
|
|
148
147
|
SHEETS_WORK_PIN: "sheets-work-pin",
|
|
149
|
-
|
|
148
|
+
TAG: "tag",
|
|
150
149
|
SHEETS_WORK_DOMAIN: "sheets-work-domain",
|
|
151
150
|
SHEETS_WORKS_CATEGORIES: "sheets-works-categories",
|
|
152
151
|
TASKS_JOBS: "tasks-jobs",
|
package/dist/index.mjs
CHANGED
|
@@ -118,12 +118,11 @@ var CONST_API_CONTROLLERS = {
|
|
|
118
118
|
MANAGER_WORK: "manager-work",
|
|
119
119
|
MANAGER_WORK_IDEA: "manager-work-idea",
|
|
120
120
|
MANAGER_WORK_NICHE: "manager-work-niche",
|
|
121
|
-
MANAGER_WORK_TAG: "manager-work-tag",
|
|
122
121
|
MANAGER_WORK_PIN: "manager-work-pin",
|
|
123
122
|
MANAGER_WORK_DOMAIN: "manager-work-domain",
|
|
124
123
|
SHEETS_WORKS: "sheets-works",
|
|
125
124
|
SHEETS_WORK_PIN: "sheets-work-pin",
|
|
126
|
-
|
|
125
|
+
TAG: "tag",
|
|
127
126
|
SHEETS_WORK_DOMAIN: "sheets-work-domain",
|
|
128
127
|
SHEETS_WORKS_CATEGORIES: "sheets-works-categories",
|
|
129
128
|
TASKS_JOBS: "tasks-jobs",
|