automation-lib 4.7.47 → 4.7.49
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 +46 -3
- package/dist/index.d.ts +46 -3
- package/package.json +1 -1
- package/commit.bat +0 -41
package/dist/index.d.mts
CHANGED
|
@@ -578,7 +578,6 @@ interface ISheetWork extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceMode
|
|
|
578
578
|
sw_emails: string[];
|
|
579
579
|
sw_note: string;
|
|
580
580
|
sw_parent: ISheetWork | string;
|
|
581
|
-
sw_primary: boolean;
|
|
582
581
|
sw_priority: EPriority;
|
|
583
582
|
sw_status: EStatusSheetWork;
|
|
584
583
|
sw_category: string | ISheetWorksCategory;
|
|
@@ -872,9 +871,51 @@ interface ITaskTool extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModel
|
|
|
872
871
|
task_action: string;
|
|
873
872
|
task_day: string;
|
|
874
873
|
task_timeExecute: string;
|
|
875
|
-
task_note: string;
|
|
876
874
|
task_status: EStatusTaskTool;
|
|
877
875
|
task_keyTimeSetting: string;
|
|
876
|
+
task_data: any;
|
|
877
|
+
task_note: string;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
interface ITaskPc extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
|
881
|
+
numberOther: number;
|
|
882
|
+
device: IDevice | string;
|
|
883
|
+
account: IAccount | string;
|
|
884
|
+
taskTool: ITaskTool | string;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
interface IHistoryCanva extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
|
888
|
+
type: ETypeCanva;
|
|
889
|
+
templateCanvaName: string;
|
|
890
|
+
pageThumb: {
|
|
891
|
+
username: string;
|
|
892
|
+
link: string;
|
|
893
|
+
};
|
|
894
|
+
page1: {
|
|
895
|
+
text: string;
|
|
896
|
+
username: string;
|
|
897
|
+
titlePoll: string;
|
|
898
|
+
poll1: string;
|
|
899
|
+
poll2: string;
|
|
900
|
+
poll3: string;
|
|
901
|
+
};
|
|
902
|
+
page2: {
|
|
903
|
+
textFirst: string;
|
|
904
|
+
textSecond: string;
|
|
905
|
+
username: string;
|
|
906
|
+
};
|
|
907
|
+
page3: {
|
|
908
|
+
link: string;
|
|
909
|
+
};
|
|
910
|
+
page4: {
|
|
911
|
+
link: string;
|
|
912
|
+
};
|
|
913
|
+
page5: {
|
|
914
|
+
link: string;
|
|
915
|
+
};
|
|
916
|
+
page6: {
|
|
917
|
+
text: string;
|
|
918
|
+
};
|
|
878
919
|
}
|
|
879
920
|
|
|
880
921
|
interface IPatternCanvaAvatar extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ISoftDeleteModel<IUser>, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
|
@@ -898,6 +939,7 @@ type index$4_IDevice = IDevice;
|
|
|
898
939
|
type index$4_IDeviceAllowPermission = IDeviceAllowPermission;
|
|
899
940
|
type index$4_IDeviceInfoEmail = IDeviceInfoEmail;
|
|
900
941
|
type index$4_IDeviceSetting = IDeviceSetting;
|
|
942
|
+
type index$4_IHistoryCanva = IHistoryCanva;
|
|
901
943
|
type index$4_ILogging = ILogging;
|
|
902
944
|
type index$4_IPC = IPC;
|
|
903
945
|
type index$4_IPatternCanvaAvatar = IPatternCanvaAvatar;
|
|
@@ -906,9 +948,10 @@ type index$4_IProxy = IProxy;
|
|
|
906
948
|
type index$4_IProxySetting = IProxySetting;
|
|
907
949
|
type index$4_IProxyTracking = IProxyTracking;
|
|
908
950
|
type index$4_ISheetsTool = ISheetsTool;
|
|
951
|
+
type index$4_ITaskPc = ITaskPc;
|
|
909
952
|
type index$4_ITaskTool = ITaskTool;
|
|
910
953
|
declare namespace index$4 {
|
|
911
|
-
export type { index$4_IAccount as IAccount, index$4_IAccountDetailEmail as IAccountDetailEmail, index$4_IAccountDetailSocial as IAccountDetailSocial, index$4_IAccountsGroup as IAccountsGroup, index$4_ICanva as ICanva, index$4_ICanvaPosition as ICanvaPosition, index$4_IDevice as IDevice, index$4_IDeviceAllowPermission as IDeviceAllowPermission, index$4_IDeviceInfoEmail as IDeviceInfoEmail, index$4_IDeviceSetting as IDeviceSetting, index$4_ILogging as ILogging, index$4_IPC as IPC, index$4_IPatternCanvaAvatar as IPatternCanvaAvatar, index$4_IPatternCanvaCoverBackground as IPatternCanvaCoverBackground, index$4_IProxy as IProxy, index$4_IProxySetting as IProxySetting, index$4_IProxyTracking as IProxyTracking, index$4_ISheetsTool as ISheetsTool, index$4_ITaskTool as ITaskTool };
|
|
954
|
+
export type { index$4_IAccount as IAccount, index$4_IAccountDetailEmail as IAccountDetailEmail, index$4_IAccountDetailSocial as IAccountDetailSocial, index$4_IAccountsGroup as IAccountsGroup, index$4_ICanva as ICanva, index$4_ICanvaPosition as ICanvaPosition, index$4_IDevice as IDevice, index$4_IDeviceAllowPermission as IDeviceAllowPermission, index$4_IDeviceInfoEmail as IDeviceInfoEmail, index$4_IDeviceSetting as IDeviceSetting, index$4_IHistoryCanva as IHistoryCanva, index$4_ILogging as ILogging, index$4_IPC as IPC, index$4_IPatternCanvaAvatar as IPatternCanvaAvatar, index$4_IPatternCanvaCoverBackground as IPatternCanvaCoverBackground, index$4_IProxy as IProxy, index$4_IProxySetting as IProxySetting, index$4_IProxyTracking as IProxyTracking, index$4_ISheetsTool as ISheetsTool, index$4_ITaskPc as ITaskPc, index$4_ITaskTool as ITaskTool };
|
|
912
955
|
}
|
|
913
956
|
|
|
914
957
|
interface IDeviceEmail extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ISoftDeleteModel<IUser>, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
package/dist/index.d.ts
CHANGED
|
@@ -578,7 +578,6 @@ interface ISheetWork extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceMode
|
|
|
578
578
|
sw_emails: string[];
|
|
579
579
|
sw_note: string;
|
|
580
580
|
sw_parent: ISheetWork | string;
|
|
581
|
-
sw_primary: boolean;
|
|
582
581
|
sw_priority: EPriority;
|
|
583
582
|
sw_status: EStatusSheetWork;
|
|
584
583
|
sw_category: string | ISheetWorksCategory;
|
|
@@ -872,9 +871,51 @@ interface ITaskTool extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModel
|
|
|
872
871
|
task_action: string;
|
|
873
872
|
task_day: string;
|
|
874
873
|
task_timeExecute: string;
|
|
875
|
-
task_note: string;
|
|
876
874
|
task_status: EStatusTaskTool;
|
|
877
875
|
task_keyTimeSetting: string;
|
|
876
|
+
task_data: any;
|
|
877
|
+
task_note: string;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
interface ITaskPc extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
|
881
|
+
numberOther: number;
|
|
882
|
+
device: IDevice | string;
|
|
883
|
+
account: IAccount | string;
|
|
884
|
+
taskTool: ITaskTool | string;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
interface IHistoryCanva extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
|
888
|
+
type: ETypeCanva;
|
|
889
|
+
templateCanvaName: string;
|
|
890
|
+
pageThumb: {
|
|
891
|
+
username: string;
|
|
892
|
+
link: string;
|
|
893
|
+
};
|
|
894
|
+
page1: {
|
|
895
|
+
text: string;
|
|
896
|
+
username: string;
|
|
897
|
+
titlePoll: string;
|
|
898
|
+
poll1: string;
|
|
899
|
+
poll2: string;
|
|
900
|
+
poll3: string;
|
|
901
|
+
};
|
|
902
|
+
page2: {
|
|
903
|
+
textFirst: string;
|
|
904
|
+
textSecond: string;
|
|
905
|
+
username: string;
|
|
906
|
+
};
|
|
907
|
+
page3: {
|
|
908
|
+
link: string;
|
|
909
|
+
};
|
|
910
|
+
page4: {
|
|
911
|
+
link: string;
|
|
912
|
+
};
|
|
913
|
+
page5: {
|
|
914
|
+
link: string;
|
|
915
|
+
};
|
|
916
|
+
page6: {
|
|
917
|
+
text: string;
|
|
918
|
+
};
|
|
878
919
|
}
|
|
879
920
|
|
|
880
921
|
interface IPatternCanvaAvatar extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ISoftDeleteModel<IUser>, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
|
@@ -898,6 +939,7 @@ type index$4_IDevice = IDevice;
|
|
|
898
939
|
type index$4_IDeviceAllowPermission = IDeviceAllowPermission;
|
|
899
940
|
type index$4_IDeviceInfoEmail = IDeviceInfoEmail;
|
|
900
941
|
type index$4_IDeviceSetting = IDeviceSetting;
|
|
942
|
+
type index$4_IHistoryCanva = IHistoryCanva;
|
|
901
943
|
type index$4_ILogging = ILogging;
|
|
902
944
|
type index$4_IPC = IPC;
|
|
903
945
|
type index$4_IPatternCanvaAvatar = IPatternCanvaAvatar;
|
|
@@ -906,9 +948,10 @@ type index$4_IProxy = IProxy;
|
|
|
906
948
|
type index$4_IProxySetting = IProxySetting;
|
|
907
949
|
type index$4_IProxyTracking = IProxyTracking;
|
|
908
950
|
type index$4_ISheetsTool = ISheetsTool;
|
|
951
|
+
type index$4_ITaskPc = ITaskPc;
|
|
909
952
|
type index$4_ITaskTool = ITaskTool;
|
|
910
953
|
declare namespace index$4 {
|
|
911
|
-
export type { index$4_IAccount as IAccount, index$4_IAccountDetailEmail as IAccountDetailEmail, index$4_IAccountDetailSocial as IAccountDetailSocial, index$4_IAccountsGroup as IAccountsGroup, index$4_ICanva as ICanva, index$4_ICanvaPosition as ICanvaPosition, index$4_IDevice as IDevice, index$4_IDeviceAllowPermission as IDeviceAllowPermission, index$4_IDeviceInfoEmail as IDeviceInfoEmail, index$4_IDeviceSetting as IDeviceSetting, index$4_ILogging as ILogging, index$4_IPC as IPC, index$4_IPatternCanvaAvatar as IPatternCanvaAvatar, index$4_IPatternCanvaCoverBackground as IPatternCanvaCoverBackground, index$4_IProxy as IProxy, index$4_IProxySetting as IProxySetting, index$4_IProxyTracking as IProxyTracking, index$4_ISheetsTool as ISheetsTool, index$4_ITaskTool as ITaskTool };
|
|
954
|
+
export type { index$4_IAccount as IAccount, index$4_IAccountDetailEmail as IAccountDetailEmail, index$4_IAccountDetailSocial as IAccountDetailSocial, index$4_IAccountsGroup as IAccountsGroup, index$4_ICanva as ICanva, index$4_ICanvaPosition as ICanvaPosition, index$4_IDevice as IDevice, index$4_IDeviceAllowPermission as IDeviceAllowPermission, index$4_IDeviceInfoEmail as IDeviceInfoEmail, index$4_IDeviceSetting as IDeviceSetting, index$4_IHistoryCanva as IHistoryCanva, index$4_ILogging as ILogging, index$4_IPC as IPC, index$4_IPatternCanvaAvatar as IPatternCanvaAvatar, index$4_IPatternCanvaCoverBackground as IPatternCanvaCoverBackground, index$4_IProxy as IProxy, index$4_IProxySetting as IProxySetting, index$4_IProxyTracking as IProxyTracking, index$4_ISheetsTool as ISheetsTool, index$4_ITaskPc as ITaskPc, index$4_ITaskTool as ITaskTool };
|
|
912
955
|
}
|
|
913
956
|
|
|
914
957
|
interface IDeviceEmail extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ISoftDeleteModel<IUser>, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
package/package.json
CHANGED
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
|
-
|