@yimingliao/cms 0.0.32 → 0.0.33

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.
@@ -181,7 +181,7 @@ declare function createMultiFileSchema({ z, fileSchema, maxSizeInMb, }: {
181
181
  }): ({ size, extensions, }?: {
182
182
  size?: number;
183
183
  extensions?: string[];
184
- }) => void;
184
+ }) => zod.ZodArray<zod.ZodPipe<zod.ZodCustom<File, File>, zod.ZodTransform<BlobFile, File>>>;
185
185
 
186
186
  declare function createTocItemSchema({ z, schemas, }: {
187
187
  z: ReturnType<typeof createZod>;
@@ -578,7 +578,7 @@ function createMultiFileSchema({
578
578
  size = maxSizeInMb * SIZE.MB,
579
579
  extensions = []
580
580
  } = {}) {
581
- z2.array(fileSchema({ size, extensions }));
581
+ return z2.array(fileSchema({ size, extensions }));
582
582
  };
583
583
  }
584
584
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yimingliao/cms",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "author": "Yiming Liao",
5
5
  "license": "MIT",
6
6
  "type": "module",