@deboxsoft/module-core
Advanced tools
Comparing version 2.5.46 to 2.5.47
@@ -199,3 +199,3 @@ import { z, ZodType } from 'zod'; | ||
declare const PaginationOptions: z.ZodObject<{ | ||
type: z.ZodDefault<z.ZodEnum<["cursor", "default"]>>; | ||
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["cursor", "default"]>>>; | ||
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>; | ||
@@ -229,2 +229,3 @@ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>; | ||
filter?: any; | ||
type?: "cursor" | "default" | undefined; | ||
cursor?: { | ||
@@ -241,3 +242,2 @@ previous?: any; | ||
sortAsc?: boolean | undefined; | ||
type: "cursor" | "default"; | ||
}, { | ||
@@ -244,0 +244,0 @@ sort?: Record<string, 1 | -1> | undefined; |
@@ -137,3 +137,3 @@ var __defProp = Object.defineProperty; | ||
var PaginationOptions = z2.object({ | ||
type: PaginationType, | ||
type: PaginationType.optional(), | ||
limit: z2.number().default(30).optional(), | ||
@@ -140,0 +140,0 @@ page: z2.number().default(1).optional(), |
{ | ||
"name": "@deboxsoft/module-core", | ||
"version": "2.5.46", | ||
"version": "2.5.47", | ||
"license": "SEE LICENSE IN LICENSE", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65536