zmp-sdk 2.43.2 → 2.43.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/apis/apis/openPostFeed.js +1 -1
- package/apis/common/apis/general/openPostFeed.js +1 -1
- package/apis/index.d.ts +10 -5
- package/apis/package.json.js +1 -1
- package/apis/types/enum.js +1 -1
- package/browser.min.js +2 -2
- package/index.d.ts +11 -5
- package/index.es.js +2 -2
- package/index.js +2 -2
- package/index.umd.js +3 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare enum ChatType {
|
|
|
188
188
|
}
|
|
189
189
|
declare enum PostFeedType {
|
|
190
190
|
image = 1,
|
|
191
|
+
multi_image = 2,
|
|
191
192
|
link = 4,
|
|
192
193
|
profile = 5
|
|
193
194
|
}
|
|
@@ -2516,20 +2517,25 @@ declare function openChat(args: AsyncVoidCallback & TypeOf<(typeof openChatArgs)
|
|
|
2516
2517
|
declare const openPostFeedArgs: ZodUnion<[ZodObject<{
|
|
2517
2518
|
type: ZodEnum<["image"]>;
|
|
2518
2519
|
data: ZodObject<{
|
|
2519
|
-
imageUrl: ZodOptional<
|
|
2520
|
+
imageUrl: ZodOptional<ZodString>;
|
|
2521
|
+
imageUrls: ZodOptional<ZodArray<ZodString, "many">>;
|
|
2520
2522
|
}, "strip", ZodTypeAny, {
|
|
2521
|
-
imageUrl?: string |
|
|
2523
|
+
imageUrl?: string | undefined;
|
|
2524
|
+
imageUrls?: string[] | undefined;
|
|
2522
2525
|
}, {
|
|
2523
|
-
imageUrl?: string |
|
|
2526
|
+
imageUrl?: string | undefined;
|
|
2527
|
+
imageUrls?: string[] | undefined;
|
|
2524
2528
|
}>;
|
|
2525
2529
|
}, "strip", ZodTypeAny, {
|
|
2526
2530
|
data: {
|
|
2527
|
-
imageUrl?: string |
|
|
2531
|
+
imageUrl?: string | undefined;
|
|
2532
|
+
imageUrls?: string[] | undefined;
|
|
2528
2533
|
};
|
|
2529
2534
|
type: "image";
|
|
2530
2535
|
}, {
|
|
2531
2536
|
data: {
|
|
2532
|
-
imageUrl?: string |
|
|
2537
|
+
imageUrl?: string | undefined;
|
|
2538
|
+
imageUrls?: string[] | undefined;
|
|
2533
2539
|
};
|
|
2534
2540
|
type: "image";
|
|
2535
2541
|
}>, ZodObject<{
|