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.88 to 2.6.89

60

libs/index.d.ts

@@ -48,21 +48,21 @@ import * as _zod from 'zod';

}, {
current: z.ZodDefault<z.ZodNumber>;
page: z.ZodDefault<z.ZodNumber>;
}>, {
total: z.ZodNumber;
}>, "strip", z.ZodTypeAny, {
page: number;
size: number;
current: number;
total: number;
}, {
page?: number | undefined;
size?: number | undefined;
current?: number | undefined;
total: number;
}>, {
page: number;
size: number;
current: number;
total: number;
last: number;
pageCount: number;
}, {
page?: number | undefined;
size?: number | undefined;
current?: number | undefined;
total: number;

@@ -75,9 +75,9 @@ }>;

}, {
current: z.ZodDefault<z.ZodNumber>;
page: z.ZodDefault<z.ZodNumber>;
}>, "strip", z.ZodTypeAny, {
page: number;
size: number;
current: number;
}, {
page?: number | undefined;
size?: number | undefined;
current?: number | undefined;
}>, z.ZodObject<z.extendShape<{

@@ -121,4 +121,4 @@ size: z.ZodDefault<z.ZodNumber>;

} | {
page: number;
size: number;
current: number;
} | undefined;

@@ -139,4 +139,4 @@ type?: "cursor" | "page" | "default" | undefined;

} | {
page?: number | undefined;
size?: number | undefined;
current?: number | undefined;
} | undefined;

@@ -168,14 +168,14 @@ type?: "cursor" | "page" | "default" | undefined;

size: z.ZodNumber;
current: z.ZodNumber;
last: z.ZodNumber;
page: z.ZodNumber;
pageCount: z.ZodNumber;
}>, "strip", z.ZodTypeAny, {
page: number;
size: number;
current: number;
total: number;
last: number;
pageCount: number;
}, {
page: number;
size: number;
current: number;
total: number;
last: number;
pageCount: number;
}>;

@@ -211,14 +211,14 @@ type PageDefaultInfo = z.output<typeof PageDefaultInfo>;

size: z.ZodNumber;
current: z.ZodNumber;
last: z.ZodNumber;
page: z.ZodNumber;
pageCount: z.ZodNumber;
}>, "strip", z.ZodTypeAny, {
page: number;
size: number;
current: number;
total: number;
last: number;
pageCount: number;
}, {
page: number;
size: number;
current: number;
total: number;
last: number;
pageCount: number;
}>, z.ZodObject<z.extendShape<{

@@ -261,6 +261,6 @@ total: z.ZodOptional<z.ZodNumber>;

} | {
page: number;
size: number;
current: number;
total: number;
last: number;
pageCount: number;
};

@@ -278,6 +278,6 @@ }, {

} | {
page: number;
size: number;
current: number;
total: number;
last: number;
pageCount: number;
};

@@ -316,9 +316,9 @@ }>;

}, {
current: z.ZodDefault<z.ZodNumber>;
page: z.ZodDefault<z.ZodNumber>;
}>, "strip", z.ZodTypeAny, {
page: number;
size: number;
current: number;
}, {
page?: number | undefined;
size?: number | undefined;
current?: number | undefined;
}>;

@@ -325,0 +325,0 @@ type PageDefaultParams = z.input<typeof PageDefaultParams>;

@@ -119,3 +119,3 @@ import { __export, CONFIG_KEY, Container, ContainerDIClass, DbxError, getConfig, getConfigService, __reExport } from './chunk-3BIZMSTQ.js';

var PageDefaultParams = PageParams.extend({
current: z.number().default(1)
page: z.number().default(1)
});

@@ -134,4 +134,4 @@ var PageInfo = z.object({

size: z.number(),
current: z.number(),
last: z.number()
page: z.number(),
pageCount: z.number()
});

@@ -152,3 +152,3 @@ var PaginationOptions = z.object({

total: z.number()
}).transform(({ size, current, total }) => {
}).transform(({ size, page, total }) => {
const pageCount = Math.ceil(total / size);

@@ -158,4 +158,4 @@ return {

size,
current,
last: pageCount
page,
pageCount
};

@@ -162,0 +162,0 @@ });

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

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

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