@rexnow/libs 3.1.0 → 3.1.2

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.
@@ -58,7 +58,7 @@ interface VideoItemChild {
58
58
  /** 视频播放地址 */
59
59
  videoUrl?: string;
60
60
  /** 详情页地址 */
61
- link: string;
61
+ link?: string;
62
62
  /** 集数 */
63
63
  episode?: number;
64
64
  /** 描述 */
@@ -243,7 +243,7 @@ export const videoItemChildSchema = z.object({
243
243
  /** 视频播放地址 */
244
244
  videoUrl: z.string().optional(),
245
245
  /** 详情页地址 */
246
- link: z.string(),
246
+ link: z.string().optional(),
247
247
  /** 集数 */
248
248
  episode: z.number().optional(),
249
249
  /** 描述 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rexnow/libs",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./widget-adaptor": {