automation-lib 6.6.527 → 6.6.529
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 +50 -62
- package/dist/index.d.mts +14 -5
- package/dist/index.d.ts +14 -5
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/commit.bat
CHANGED
|
@@ -1,62 +1,50 @@
|
|
|
1
|
-
@echo off
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
echo
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
::
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
::
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
git commit -m "v%newVersion% - %commit_message%"
|
|
52
|
-
timeout /t 2 /nobreak >nul
|
|
53
|
-
|
|
54
|
-
echo --- Push to hs main ---
|
|
55
|
-
git push hs main && echo [OK] Push hs main xong. || echo [LOI] Push hs main that bai.
|
|
56
|
-
|
|
57
|
-
echo.
|
|
58
|
-
echo ===========================================
|
|
59
|
-
echo HOAN TAT! Version: %newVersion%
|
|
60
|
-
echo ===========================================
|
|
61
|
-
pause
|
|
62
|
-
endlocal
|
|
1
|
+
@echo off
|
|
2
|
+
|
|
3
|
+
:: Add all changes to git
|
|
4
|
+
git add .
|
|
5
|
+
|
|
6
|
+
:: Commit changes with a message
|
|
7
|
+
echo Committing changes...
|
|
8
|
+
set /p commit_message="Enter commit message: "
|
|
9
|
+
git commit -m "%commit_message%"
|
|
10
|
+
sleep 2
|
|
11
|
+
|
|
12
|
+
:: Push changes to the 'main' branch of the 'cp' remote
|
|
13
|
+
git pull origin toan
|
|
14
|
+
|
|
15
|
+
:: Read the current version from package.json
|
|
16
|
+
for /f "tokens=2 delims=:, " %%i in ('findstr "version" package.json') do set currentVersion=%%i
|
|
17
|
+
|
|
18
|
+
:: Remove quotes from the version string
|
|
19
|
+
set currentVersion=%currentVersion:"=%
|
|
20
|
+
|
|
21
|
+
:: Split version into its components
|
|
22
|
+
for /f "tokens=1,2,3 delims=." %%a in ("%currentVersion%") do (
|
|
23
|
+
set major=%%a
|
|
24
|
+
set minor=%%b
|
|
25
|
+
set patch=%%c
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
:: Increment the patch version
|
|
29
|
+
set /a patch+=1
|
|
30
|
+
|
|
31
|
+
:: Create the new version string
|
|
32
|
+
set newVersion=%major%.%minor%.%patch%
|
|
33
|
+
|
|
34
|
+
:: Update the version in package.json
|
|
35
|
+
powershell -Command "(Get-Content package.json) -replace '\"version\": \"%currentVersion%\"', '\"version\": \"%newVersion%\"' | Set-Content package.json"
|
|
36
|
+
|
|
37
|
+
:: Display the new version
|
|
38
|
+
echo New version: %newVersion%
|
|
39
|
+
|
|
40
|
+
:: Run npm publish using call
|
|
41
|
+
call npm run pub
|
|
42
|
+
|
|
43
|
+
git add .
|
|
44
|
+
sleep 1
|
|
45
|
+
git commit -m "%commit_message%"
|
|
46
|
+
sleep 2
|
|
47
|
+
|
|
48
|
+
git push origin toan
|
|
49
|
+
|
|
50
|
+
|
package/dist/index.d.mts
CHANGED
|
@@ -9530,14 +9530,14 @@ declare enum ESheetToolTimeCrawl {
|
|
|
9530
9530
|
}
|
|
9531
9531
|
declare enum ESheetToolInstagram {
|
|
9532
9532
|
Post = "Post",
|
|
9533
|
-
"Follow
|
|
9533
|
+
"Follow/unFollow/Blocker" = "Follow/unFollow/Blocker",
|
|
9534
9534
|
"Reply Comment" = "Reply comment",
|
|
9535
9535
|
"Reply Message" = "Reply message",
|
|
9536
9536
|
AvatarCover = "AvatarCover"
|
|
9537
9537
|
}
|
|
9538
9538
|
declare enum ESheetToolThreads {
|
|
9539
9539
|
Post = "Post",
|
|
9540
|
-
"Follow
|
|
9540
|
+
"Follow/unFollow/Blocker" = "Follow/unFollow/Blocker",
|
|
9541
9541
|
"Reply Comment" = "Reply comment",
|
|
9542
9542
|
"Reply Message" = "Reply message",
|
|
9543
9543
|
AvatarCover = "AvatarCover"
|
|
@@ -18220,7 +18220,10 @@ interface FindManualContentSocialInstagramDto extends IFindBaseDto {
|
|
|
18220
18220
|
timeStopStart: Date;
|
|
18221
18221
|
postInfo: {
|
|
18222
18222
|
childrenId: string;
|
|
18223
|
-
|
|
18223
|
+
listFiles: Array<{
|
|
18224
|
+
idDriver: string;
|
|
18225
|
+
type: "Video" | "Image";
|
|
18226
|
+
}>;
|
|
18224
18227
|
};
|
|
18225
18228
|
totalPosts: number;
|
|
18226
18229
|
totalPostsPosted: number;
|
|
@@ -18446,7 +18449,10 @@ interface FindDraftManualContentInstagramDto extends IFindBaseDto {
|
|
|
18446
18449
|
timeStopStart: Date;
|
|
18447
18450
|
postInfo: {
|
|
18448
18451
|
childrenId: string;
|
|
18449
|
-
|
|
18452
|
+
listFiles: Array<{
|
|
18453
|
+
idDriver: string;
|
|
18454
|
+
type: "Video" | "Image";
|
|
18455
|
+
}>;
|
|
18450
18456
|
};
|
|
18451
18457
|
totalPosts: number;
|
|
18452
18458
|
totalPostsDoneSync: number;
|
|
@@ -18765,7 +18771,10 @@ interface FindManualContentSocialThreadsDto extends IFindBaseDto {
|
|
|
18765
18771
|
timeStopStart: Date;
|
|
18766
18772
|
postInfo: {
|
|
18767
18773
|
childrenId: string;
|
|
18768
|
-
|
|
18774
|
+
listFiles: Array<{
|
|
18775
|
+
idDriver: string;
|
|
18776
|
+
type: "Video" | "Image";
|
|
18777
|
+
}>;
|
|
18769
18778
|
};
|
|
18770
18779
|
totalPosts: number;
|
|
18771
18780
|
totalPostsPosted: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -9530,14 +9530,14 @@ declare enum ESheetToolTimeCrawl {
|
|
|
9530
9530
|
}
|
|
9531
9531
|
declare enum ESheetToolInstagram {
|
|
9532
9532
|
Post = "Post",
|
|
9533
|
-
"Follow
|
|
9533
|
+
"Follow/unFollow/Blocker" = "Follow/unFollow/Blocker",
|
|
9534
9534
|
"Reply Comment" = "Reply comment",
|
|
9535
9535
|
"Reply Message" = "Reply message",
|
|
9536
9536
|
AvatarCover = "AvatarCover"
|
|
9537
9537
|
}
|
|
9538
9538
|
declare enum ESheetToolThreads {
|
|
9539
9539
|
Post = "Post",
|
|
9540
|
-
"Follow
|
|
9540
|
+
"Follow/unFollow/Blocker" = "Follow/unFollow/Blocker",
|
|
9541
9541
|
"Reply Comment" = "Reply comment",
|
|
9542
9542
|
"Reply Message" = "Reply message",
|
|
9543
9543
|
AvatarCover = "AvatarCover"
|
|
@@ -18220,7 +18220,10 @@ interface FindManualContentSocialInstagramDto extends IFindBaseDto {
|
|
|
18220
18220
|
timeStopStart: Date;
|
|
18221
18221
|
postInfo: {
|
|
18222
18222
|
childrenId: string;
|
|
18223
|
-
|
|
18223
|
+
listFiles: Array<{
|
|
18224
|
+
idDriver: string;
|
|
18225
|
+
type: "Video" | "Image";
|
|
18226
|
+
}>;
|
|
18224
18227
|
};
|
|
18225
18228
|
totalPosts: number;
|
|
18226
18229
|
totalPostsPosted: number;
|
|
@@ -18446,7 +18449,10 @@ interface FindDraftManualContentInstagramDto extends IFindBaseDto {
|
|
|
18446
18449
|
timeStopStart: Date;
|
|
18447
18450
|
postInfo: {
|
|
18448
18451
|
childrenId: string;
|
|
18449
|
-
|
|
18452
|
+
listFiles: Array<{
|
|
18453
|
+
idDriver: string;
|
|
18454
|
+
type: "Video" | "Image";
|
|
18455
|
+
}>;
|
|
18450
18456
|
};
|
|
18451
18457
|
totalPosts: number;
|
|
18452
18458
|
totalPostsDoneSync: number;
|
|
@@ -18765,7 +18771,10 @@ interface FindManualContentSocialThreadsDto extends IFindBaseDto {
|
|
|
18765
18771
|
timeStopStart: Date;
|
|
18766
18772
|
postInfo: {
|
|
18767
18773
|
childrenId: string;
|
|
18768
|
-
|
|
18774
|
+
listFiles: Array<{
|
|
18775
|
+
idDriver: string;
|
|
18776
|
+
type: "Video" | "Image";
|
|
18777
|
+
}>;
|
|
18769
18778
|
};
|
|
18770
18779
|
totalPosts: number;
|
|
18771
18780
|
totalPostsPosted: number;
|
package/dist/index.js
CHANGED
|
@@ -3686,7 +3686,7 @@ var ESheetToolTimeCrawl = /* @__PURE__ */ ((ESheetToolTimeCrawl2) => {
|
|
|
3686
3686
|
})(ESheetToolTimeCrawl || {});
|
|
3687
3687
|
var ESheetToolInstagram = /* @__PURE__ */ ((ESheetToolInstagram2) => {
|
|
3688
3688
|
ESheetToolInstagram2["Post"] = "Post";
|
|
3689
|
-
ESheetToolInstagram2["Follow
|
|
3689
|
+
ESheetToolInstagram2["Follow/unFollow/Blocker"] = "Follow/unFollow/Blocker";
|
|
3690
3690
|
ESheetToolInstagram2["Reply Comment"] = "Reply comment";
|
|
3691
3691
|
ESheetToolInstagram2["Reply Message"] = "Reply message";
|
|
3692
3692
|
ESheetToolInstagram2["AvatarCover"] = "AvatarCover";
|
|
@@ -3694,7 +3694,7 @@ var ESheetToolInstagram = /* @__PURE__ */ ((ESheetToolInstagram2) => {
|
|
|
3694
3694
|
})(ESheetToolInstagram || {});
|
|
3695
3695
|
var ESheetToolThreads = /* @__PURE__ */ ((ESheetToolThreads2) => {
|
|
3696
3696
|
ESheetToolThreads2["Post"] = "Post";
|
|
3697
|
-
ESheetToolThreads2["Follow
|
|
3697
|
+
ESheetToolThreads2["Follow/unFollow/Blocker"] = "Follow/unFollow/Blocker";
|
|
3698
3698
|
ESheetToolThreads2["Reply Comment"] = "Reply comment";
|
|
3699
3699
|
ESheetToolThreads2["Reply Message"] = "Reply message";
|
|
3700
3700
|
ESheetToolThreads2["AvatarCover"] = "AvatarCover";
|
package/dist/index.mjs
CHANGED
|
@@ -3375,7 +3375,7 @@ var ESheetToolTimeCrawl = /* @__PURE__ */ ((ESheetToolTimeCrawl2) => {
|
|
|
3375
3375
|
})(ESheetToolTimeCrawl || {});
|
|
3376
3376
|
var ESheetToolInstagram = /* @__PURE__ */ ((ESheetToolInstagram2) => {
|
|
3377
3377
|
ESheetToolInstagram2["Post"] = "Post";
|
|
3378
|
-
ESheetToolInstagram2["Follow
|
|
3378
|
+
ESheetToolInstagram2["Follow/unFollow/Blocker"] = "Follow/unFollow/Blocker";
|
|
3379
3379
|
ESheetToolInstagram2["Reply Comment"] = "Reply comment";
|
|
3380
3380
|
ESheetToolInstagram2["Reply Message"] = "Reply message";
|
|
3381
3381
|
ESheetToolInstagram2["AvatarCover"] = "AvatarCover";
|
|
@@ -3383,7 +3383,7 @@ var ESheetToolInstagram = /* @__PURE__ */ ((ESheetToolInstagram2) => {
|
|
|
3383
3383
|
})(ESheetToolInstagram || {});
|
|
3384
3384
|
var ESheetToolThreads = /* @__PURE__ */ ((ESheetToolThreads2) => {
|
|
3385
3385
|
ESheetToolThreads2["Post"] = "Post";
|
|
3386
|
-
ESheetToolThreads2["Follow
|
|
3386
|
+
ESheetToolThreads2["Follow/unFollow/Blocker"] = "Follow/unFollow/Blocker";
|
|
3387
3387
|
ESheetToolThreads2["Reply Comment"] = "Reply comment";
|
|
3388
3388
|
ESheetToolThreads2["Reply Message"] = "Reply message";
|
|
3389
3389
|
ESheetToolThreads2["AvatarCover"] = "AvatarCover";
|