randydev commited on
Commit
e6618eb
·
verified ·
1 Parent(s): dbd58da

Update lib/types/sfilemobi-dl-v1.js

Browse files
Files changed (1) hide show
  1. lib/types/sfilemobi-dl-v1.js +2 -2
lib/types/sfilemobi-dl-v1.js CHANGED
@@ -2,11 +2,11 @@ import { z } from 'zod';
2
 
3
  const URL_ERROR_MESSAGE = 'Input must be a valid sfile.mobi URL!';
4
 
5
- export const SfilemobidlArgsSchema = z.object({
6
  0: z.string().url({ message: URL_ERROR_MESSAGE }).regex(/^(https?:\/\/)?sfile\.mobi/i, URL_ERROR_MESSAGE)
7
  });
8
 
9
- export const SfilemobidlSchema = z.object({
10
  url: z.string().url(),
11
  filename: z.string(),
12
  icon: z.string(),
 
2
 
3
  const URL_ERROR_MESSAGE = 'Input must be a valid sfile.mobi URL!';
4
 
5
+ const SfilemobidlArgsSchema = z.object({
6
  0: z.string().url({ message: URL_ERROR_MESSAGE }).regex(/^(https?:\/\/)?sfile\.mobi/i, URL_ERROR_MESSAGE)
7
  });
8
 
9
+ const SfilemobidlSchema = z.object({
10
  url: z.string().url(),
11
  filename: z.string(),
12
  icon: z.string(),