automation-lib 4.7.48 → 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 -2
- package/dist/index.d.ts +46 -2
- package/package.json +1 -1
- package/commit.bat +0 -41
package/dist/index.d.mts
CHANGED
|
@@ -871,9 +871,51 @@ interface ITaskTool extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModel
|
|
|
871
871
|
task_action: string;
|
|
872
872
|
task_day: string;
|
|
873
873
|
task_timeExecute: string;
|
|
874
|
-
task_note: string;
|
|
875
874
|
task_status: EStatusTaskTool;
|
|
876
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
|
+
};
|
|
877
919
|
}
|
|
878
920
|
|
|
879
921
|
interface IPatternCanvaAvatar extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ISoftDeleteModel<IUser>, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
|
@@ -897,6 +939,7 @@ type index$4_IDevice = IDevice;
|
|
|
897
939
|
type index$4_IDeviceAllowPermission = IDeviceAllowPermission;
|
|
898
940
|
type index$4_IDeviceInfoEmail = IDeviceInfoEmail;
|
|
899
941
|
type index$4_IDeviceSetting = IDeviceSetting;
|
|
942
|
+
type index$4_IHistoryCanva = IHistoryCanva;
|
|
900
943
|
type index$4_ILogging = ILogging;
|
|
901
944
|
type index$4_IPC = IPC;
|
|
902
945
|
type index$4_IPatternCanvaAvatar = IPatternCanvaAvatar;
|
|
@@ -905,9 +948,10 @@ type index$4_IProxy = IProxy;
|
|
|
905
948
|
type index$4_IProxySetting = IProxySetting;
|
|
906
949
|
type index$4_IProxyTracking = IProxyTracking;
|
|
907
950
|
type index$4_ISheetsTool = ISheetsTool;
|
|
951
|
+
type index$4_ITaskPc = ITaskPc;
|
|
908
952
|
type index$4_ITaskTool = ITaskTool;
|
|
909
953
|
declare namespace index$4 {
|
|
910
|
-
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 };
|
|
911
955
|
}
|
|
912
956
|
|
|
913
957
|
interface IDeviceEmail extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ISoftDeleteModel<IUser>, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
package/dist/index.d.ts
CHANGED
|
@@ -871,9 +871,51 @@ interface ITaskTool extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModel
|
|
|
871
871
|
task_action: string;
|
|
872
872
|
task_day: string;
|
|
873
873
|
task_timeExecute: string;
|
|
874
|
-
task_note: string;
|
|
875
874
|
task_status: EStatusTaskTool;
|
|
876
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
|
+
};
|
|
877
919
|
}
|
|
878
920
|
|
|
879
921
|
interface IPatternCanvaAvatar extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ISoftDeleteModel<IUser>, BoInterfaceModelsCommon.ITrackingModel<IUser> {
|
|
@@ -897,6 +939,7 @@ type index$4_IDevice = IDevice;
|
|
|
897
939
|
type index$4_IDeviceAllowPermission = IDeviceAllowPermission;
|
|
898
940
|
type index$4_IDeviceInfoEmail = IDeviceInfoEmail;
|
|
899
941
|
type index$4_IDeviceSetting = IDeviceSetting;
|
|
942
|
+
type index$4_IHistoryCanva = IHistoryCanva;
|
|
900
943
|
type index$4_ILogging = ILogging;
|
|
901
944
|
type index$4_IPC = IPC;
|
|
902
945
|
type index$4_IPatternCanvaAvatar = IPatternCanvaAvatar;
|
|
@@ -905,9 +948,10 @@ type index$4_IProxy = IProxy;
|
|
|
905
948
|
type index$4_IProxySetting = IProxySetting;
|
|
906
949
|
type index$4_IProxyTracking = IProxyTracking;
|
|
907
950
|
type index$4_ISheetsTool = ISheetsTool;
|
|
951
|
+
type index$4_ITaskPc = ITaskPc;
|
|
908
952
|
type index$4_ITaskTool = ITaskTool;
|
|
909
953
|
declare namespace index$4 {
|
|
910
|
-
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 };
|
|
911
955
|
}
|
|
912
956
|
|
|
913
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
|
-
|