@iflyrpa/actions 1.2.30-beta.1 → 1.2.30-beta.3
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/actions/searchPublishInfo/types.d.ts +44 -0
- package/dist/actions/xiaohongshuWebSearch/index.d.ts +37 -8
- package/dist/bundle.js +549 -490
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.ts +45 -0
- package/dist/index.js +535 -488
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +534 -489
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.d.ts +5 -0
- package/package.json +1 -1
|
@@ -95,6 +95,50 @@ export declare const FetchArticlesDataSchema: z.ZodObject<{
|
|
|
95
95
|
collectNum: z.ZodNumber;
|
|
96
96
|
shareNum: z.ZodNumber;
|
|
97
97
|
}, z.core.$strip>]>>>;
|
|
98
|
+
timerPublish: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
99
|
+
title: z.ZodString;
|
|
100
|
+
imageUrl: z.ZodString;
|
|
101
|
+
createTime: z.ZodNumber;
|
|
102
|
+
redirectUrl: z.ZodString;
|
|
103
|
+
originalData: z.ZodOptional<z.ZodUnknown>;
|
|
104
|
+
showNum: z.ZodNumber;
|
|
105
|
+
readNum: z.ZodNumber;
|
|
106
|
+
likeNum: z.ZodNumber;
|
|
107
|
+
commentNum: z.ZodNumber;
|
|
108
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
+
title: z.ZodString;
|
|
110
|
+
imageUrl: z.ZodString;
|
|
111
|
+
createTime: z.ZodNumber;
|
|
112
|
+
redirectUrl: z.ZodString;
|
|
113
|
+
originalData: z.ZodOptional<z.ZodUnknown>;
|
|
114
|
+
readNum: z.ZodNumber;
|
|
115
|
+
likeNum: z.ZodNumber;
|
|
116
|
+
shareNum: z.ZodNumber;
|
|
117
|
+
recommendNum: z.ZodNumber;
|
|
118
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
119
|
+
title: z.ZodString;
|
|
120
|
+
imageUrl: z.ZodString;
|
|
121
|
+
createTime: z.ZodNumber;
|
|
122
|
+
redirectUrl: z.ZodString;
|
|
123
|
+
originalData: z.ZodOptional<z.ZodUnknown>;
|
|
124
|
+
recommendNum: z.ZodNumber;
|
|
125
|
+
collectNum: z.ZodNumber;
|
|
126
|
+
readNum: z.ZodNumber;
|
|
127
|
+
likeNum: z.ZodNumber;
|
|
128
|
+
commentNum: z.ZodNumber;
|
|
129
|
+
shareNum: z.ZodNumber;
|
|
130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
131
|
+
title: z.ZodString;
|
|
132
|
+
imageUrl: z.ZodString;
|
|
133
|
+
createTime: z.ZodNumber;
|
|
134
|
+
redirectUrl: z.ZodString;
|
|
135
|
+
originalData: z.ZodOptional<z.ZodUnknown>;
|
|
136
|
+
readNum: z.ZodNumber;
|
|
137
|
+
likeNum: z.ZodNumber;
|
|
138
|
+
commentNum: z.ZodNumber;
|
|
139
|
+
collectNum: z.ZodNumber;
|
|
140
|
+
shareNum: z.ZodNumber;
|
|
141
|
+
}, z.core.$strip>]>>>;
|
|
98
142
|
pagination: z.ZodOptional<z.ZodObject<{
|
|
99
143
|
total: z.ZodOptional<z.ZodNumber>;
|
|
100
144
|
nextPage: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1,12 +1,41 @@
|
|
|
1
1
|
import { type CommonAction } from "@iflyrpa/share";
|
|
2
|
-
import
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export declare const XhsWebSearchParamsSchema: z.ZodObject<{
|
|
4
|
+
url: z.ZodOptional<z.ZodString>;
|
|
5
|
+
cookies: z.ZodArray<z.ZodObject<{
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
value: z.ZodString;
|
|
8
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
9
|
+
path: z.ZodOptional<z.ZodString>;
|
|
10
|
+
expires: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
httpOnly: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
secure: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
14
|
+
actionType: z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
mockApi: "mockApi";
|
|
16
|
+
rpa: "rpa";
|
|
17
|
+
server: "server";
|
|
18
|
+
}>>;
|
|
19
|
+
accountId: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
proxyLoc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
localIP: z.ZodOptional<z.ZodString>;
|
|
22
|
+
huiwenToken: z.ZodOptional<z.ZodString>;
|
|
23
|
+
articleId: z.ZodOptional<z.ZodString>;
|
|
24
|
+
saveType: z.ZodOptional<z.ZodString>;
|
|
25
|
+
keyword: z.ZodString;
|
|
26
|
+
page: z.ZodNumber;
|
|
27
|
+
page_size: z.ZodNumber;
|
|
28
|
+
sort_type: z.ZodEnum<{
|
|
29
|
+
general: "general";
|
|
30
|
+
time_descending: "time_descending";
|
|
31
|
+
popular_descending: "popular_descending";
|
|
32
|
+
}>;
|
|
33
|
+
time_filter: z.ZodEnum<{
|
|
34
|
+
不限: "不限";
|
|
35
|
+
一周内: "一周内";
|
|
36
|
+
}>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
export type XhsWebSearchParams = z.infer<typeof XhsWebSearchParamsSchema>;
|
|
10
39
|
export interface SearchResponse {
|
|
11
40
|
code: number;
|
|
12
41
|
success: boolean;
|