Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@deboxsoft/module-core

Package Overview
Dependencies
Maintainers
1
Versions
280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deboxsoft/module-core - npm Package Compare versions

Comparing version 2.6.0 to 2.6.1

38

libs/index.d.ts

@@ -233,16 +233,2 @@ import { z, ZodType } from 'zod';

}>, z.ZodObject<{
current: z.ZodDefault<z.ZodNumber>;
size: z.ZodDefault<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
current: number;
size: number;
}, {
current?: number | undefined;
size?: number | undefined;
}>]>;
sortField: z.ZodOptional<z.ZodString>;
sortAsc: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
sort: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<-1>]>>>;
filter: z.ZodOptional<z.ZodAny>;
cursor: z.ZodOptional<z.ZodObject<{
previous: z.ZodOptional<z.ZodAny>;

@@ -265,3 +251,7 @@ before: z.ZodOptional<z.ZodAny>;

hint?: string | Record<string, string> | undefined;
}>>;
}>]>;
sortField: z.ZodOptional<z.ZodString>;
sortAsc: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
sort: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<-1>]>>>;
filter: z.ZodOptional<z.ZodAny>;
}, "strip", z.ZodTypeAny, {

@@ -271,3 +261,5 @@ sort?: Record<string, 1 | -1> | undefined;

type?: "cursor" | "default" | undefined;
cursor?: {
sortField?: string | undefined;
sortAsc?: boolean | undefined;
params: {
previous?: any;

@@ -278,6 +270,3 @@ before?: any;

hint?: string | Record<string, string> | undefined;
} | undefined;
sortField?: string | undefined;
sortAsc?: boolean | undefined;
params: {
} | {
current: number;

@@ -290,3 +279,5 @@ size: number;

type?: "cursor" | "default" | undefined;
cursor?: {
sortField?: string | undefined;
sortAsc?: boolean | undefined;
params: {
previous?: any;

@@ -297,6 +288,3 @@ before?: any;

hint?: string | Record<string, string> | undefined;
} | undefined;
sortField?: string | undefined;
sortAsc?: boolean | undefined;
params: {
} | {
current?: number | undefined;

@@ -303,0 +291,0 @@ size?: number | undefined;

@@ -151,8 +151,7 @@ var __defProp = Object.defineProperty;

type: PaginationType.optional(),
params: z2.union([PageDefaultParams, PageDefaultParams]),
params: z2.union([PageDefaultParams, PageCursorParams]),
sortField: z2.string().optional(),
sortAsc: z2.boolean().default(true).optional(),
sort: z2.record(z2.string(), z2.union([z2.literal(1), z2.literal(-1)])).optional(),
filter: z2.any().optional(),
cursor: PageCursorParams.optional()
filter: z2.any().optional()
});

@@ -159,0 +158,0 @@ var Pagination = z2.object({

{
"name": "@deboxsoft/module-core",
"version": "2.6.0",
"version": "2.6.1",
"license": "SEE LICENSE IN LICENSE",

@@ -5,0 +5,0 @@ "maintainers": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc