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.92 to 2.6.93

libs/ConfigService-c2d65e7d.d.ts

3

libs/config.d.ts
import nconf from 'nconf';
import { n as ConfigService } from './ConfigService-aeb8ee43.js';
import { z as ConfigService } from './ConfigService-c2d65e7d.js';
import 'zod';

@@ -4,0 +5,0 @@ interface ConfigOptions {

@@ -1,4 +0,2 @@

import * as _zod from 'zod';
import { z, ZodType } from 'zod';
export { z } from 'zod';
export { A as AlternativeType, w as AppConfig, x as CONFIG_KEY, y as Callback, v as Config, z as ConfigService, r as CreateResponse, C as CreateResult, p as DataResponse, D as DataResult, n as Filter, l as FilterCondition, F as FilterOperators, I as ID, o as IdParams, J as Join, N as NestedPaths, e as PageCursorInfo, b as PageCursorParams, i as PageCursorParamsOutput, f as PageDefaultInfo, c as PageDefaultParams, j as PageDefaultParamsOutput, d as PageInfo, a as PageParams, h as Pagination, g as PaginationOptions, P as PaginationType, k as PropertyType, R as RegExpOrString, u as RemoveResponse, q as RemoveResult, m as RootFilterOperators, S as ServerApiConfig, s as UpdateResponse, U as UpdateResult, E as getConfig, B as getConfigService, t as transformDefaultPageInfo } from './ConfigService-c2d65e7d.js';
export { camelCase, capitalCase, constantCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase } from 'change-case';

@@ -11,5 +9,7 @@ export { Base64 as base64 } from 'js-base64';

export * from 'openapi3-ts';
import * as _zod from 'zod';
import { z, ZodType } from 'zod';
export { z } from 'zod';
import { OpenAPIGenerator, OpenAPIRegistry } from '@asteasolutions/zod-to-openapi';
export { ZodOpenAPIMetadata, extendZodWithOpenApi } from '@asteasolutions/zod-to-openapi';
export { A as AlternativeType, k as AppConfig, l as CONFIG_KEY, m as Callback, j as Config, n as ConfigService, g as CreateResponse, C as CreateResult, e as DataResponse, D as DataResult, c as Filter, a as FilterCondition, F as FilterOperators, I as ID, d as IdParams, J as Join, N as NestedPaths, P as PropertyType, R as RegExpOrString, i as RemoveResponse, f as RemoveResult, b as RootFilterOperators, S as ServerApiConfig, h as UpdateResponse, U as UpdateResult, p as getConfig, o as getConfigService } from './ConfigService-aeb8ee43.js';
export { default as mustache } from 'mustache';

@@ -38,284 +38,2 @@

declare const PaginationType: z.ZodDefault<z.ZodEnum<["cursor", "page", "default"]>>;
declare const PageParams: z.ZodObject<{
size: z.ZodDefault<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
size: number;
}, {
size?: number | undefined;
}>;
declare const transformDefaultPageInfo: z.ZodEffects<z.ZodObject<z.extendShape<z.extendShape<{
size: z.ZodDefault<z.ZodNumber>;
}, {
page: z.ZodDefault<z.ZodNumber>;
}>, {
total: z.ZodNumber;
}>, "strip", z.ZodTypeAny, {
page: number;
size: number;
total: number;
}, {
page?: number | undefined;
size?: number | undefined;
total: number;
}>, {
page: number;
size: number;
total: number;
pageCount: number;
}, {
page?: number | undefined;
size?: number | undefined;
total: number;
}>;
declare const PaginationOptions: z.ZodObject<{
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["cursor", "page", "default"]>>>;
params: z.ZodOptional<z.ZodUnion<[z.ZodObject<z.extendShape<{
size: z.ZodDefault<z.ZodNumber>;
}, {
page: z.ZodDefault<z.ZodNumber>;
}>, "strip", z.ZodTypeAny, {
page: number;
size: number;
}, {
page?: number | undefined;
size?: number | undefined;
}>, z.ZodObject<z.extendShape<{
size: z.ZodDefault<z.ZodNumber>;
}, {
previous: z.ZodOptional<z.ZodAny>;
before: z.ZodOptional<z.ZodAny>;
next: z.ZodOptional<z.ZodAny>;
after: z.ZodOptional<z.ZodAny>;
hint: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
}>, "strip", z.ZodTypeAny, {
previous?: any;
before?: any;
next?: any;
after?: any;
hint?: string | Record<string, string> | undefined;
size: number;
}, {
size?: number | undefined;
previous?: any;
before?: any;
next?: any;
after?: any;
hint?: string | Record<string, string> | undefined;
}>]>>;
sortField: z.ZodOptional<z.ZodString>;
sortAsc: z.ZodOptional<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, {
sort?: Record<string, 1 | -1> | undefined;
filter?: any;
params?: {
previous?: any;
before?: any;
next?: any;
after?: any;
hint?: string | Record<string, string> | undefined;
size: number;
} | {
page: number;
size: number;
} | undefined;
type?: "cursor" | "page" | "default" | undefined;
sortField?: string | undefined;
sortAsc?: boolean | undefined;
}, {
sort?: Record<string, 1 | -1> | undefined;
filter?: any;
params?: {
size?: number | undefined;
previous?: any;
before?: any;
next?: any;
after?: any;
hint?: string | Record<string, string> | undefined;
} | {
page?: number | undefined;
size?: number | undefined;
} | undefined;
type?: "cursor" | "page" | "default" | undefined;
sortField?: string | undefined;
sortAsc?: boolean | undefined;
}>;
type PaginationOptions<F = any> = z.input<typeof PaginationOptions> & {
type?: z.TypeOf<typeof PaginationType>;
params?: PageDefaultParams | PageCursorParams;
sortField?: string;
sortAsc?: boolean;
sort?: Record<keyof F, 1 | -1>;
filter?: F;
};
declare const PageInfo: z.ZodObject<{
total: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
total?: number | undefined;
}, {
total?: number | undefined;
}>;
type PageInfo = z.output<typeof PageInfo>;
declare const PageDefaultInfo: z.ZodObject<z.extendShape<{
total: z.ZodOptional<z.ZodNumber>;
}, {
total: z.ZodNumber;
size: z.ZodNumber;
page: z.ZodNumber;
pageCount: z.ZodNumber;
}>, "strip", z.ZodTypeAny, {
page: number;
size: number;
total: number;
pageCount: number;
}, {
page: number;
size: number;
total: number;
pageCount: number;
}>;
type PageDefaultInfo = z.output<typeof PageDefaultInfo>;
declare const PageCursorInfo: z.ZodObject<z.extendShape<{
total: z.ZodOptional<z.ZodNumber>;
}, {
next: z.ZodOptional<z.ZodString>;
hasNext: z.ZodOptional<z.ZodBoolean>;
previous: z.ZodOptional<z.ZodString>;
hasPrevious: z.ZodOptional<z.ZodBoolean>;
}>, "strip", z.ZodTypeAny, {
previous?: string | undefined;
next?: string | undefined;
total?: number | undefined;
hasNext?: boolean | undefined;
hasPrevious?: boolean | undefined;
}, {
previous?: string | undefined;
next?: string | undefined;
total?: number | undefined;
hasNext?: boolean | undefined;
hasPrevious?: boolean | undefined;
}>;
type PageCursorInfo = z.output<typeof PageCursorInfo>;
declare const Pagination: z.ZodObject<{
data: z.ZodArray<z.ZodAny, "many">;
pageInfo: z.ZodUnion<[z.ZodObject<z.extendShape<{
total: z.ZodOptional<z.ZodNumber>;
}, {
total: z.ZodNumber;
size: z.ZodNumber;
page: z.ZodNumber;
pageCount: z.ZodNumber;
}>, "strip", z.ZodTypeAny, {
page: number;
size: number;
total: number;
pageCount: number;
}, {
page: number;
size: number;
total: number;
pageCount: number;
}>, z.ZodObject<z.extendShape<{
total: z.ZodOptional<z.ZodNumber>;
}, {
next: z.ZodOptional<z.ZodString>;
hasNext: z.ZodOptional<z.ZodBoolean>;
previous: z.ZodOptional<z.ZodString>;
hasPrevious: z.ZodOptional<z.ZodBoolean>;
}>, "strip", z.ZodTypeAny, {
previous?: string | undefined;
next?: string | undefined;
total?: number | undefined;
hasNext?: boolean | undefined;
hasPrevious?: boolean | undefined;
}, {
previous?: string | undefined;
next?: string | undefined;
total?: number | undefined;
hasNext?: boolean | undefined;
hasPrevious?: boolean | undefined;
}>, z.ZodObject<{
total: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
total?: number | undefined;
}, {
total?: number | undefined;
}>]>;
}, "strip", z.ZodTypeAny, {
data: any[];
pageInfo: {
total?: number | undefined;
} | {
previous?: string | undefined;
next?: string | undefined;
total?: number | undefined;
hasNext?: boolean | undefined;
hasPrevious?: boolean | undefined;
} | {
page: number;
size: number;
total: number;
pageCount: number;
};
}, {
data: any[];
pageInfo: {
total?: number | undefined;
} | {
previous?: string | undefined;
next?: string | undefined;
total?: number | undefined;
hasNext?: boolean | undefined;
hasPrevious?: boolean | undefined;
} | {
page: number;
size: number;
total: number;
pageCount: number;
};
}>;
type Pagination<D = any> = z.output<typeof Pagination> & {
data: D[];
};
declare const PageCursorParams: z.ZodObject<z.extendShape<{
size: z.ZodDefault<z.ZodNumber>;
}, {
previous: z.ZodOptional<z.ZodAny>;
before: z.ZodOptional<z.ZodAny>;
next: z.ZodOptional<z.ZodAny>;
after: z.ZodOptional<z.ZodAny>;
hint: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
}>, "strip", z.ZodTypeAny, {
previous?: any;
before?: any;
next?: any;
after?: any;
hint?: string | Record<string, string> | undefined;
size: number;
}, {
size?: number | undefined;
previous?: any;
before?: any;
next?: any;
after?: any;
hint?: string | Record<string, string> | undefined;
}>;
type PageCursorParams = z.input<typeof PageCursorParams>;
type PageCursorParamsOutput = z.output<typeof PageCursorParams>;
declare const PageDefaultParams: z.ZodObject<z.extendShape<{
size: z.ZodDefault<z.ZodNumber>;
}, {
page: z.ZodDefault<z.ZodNumber>;
}>, "strip", z.ZodTypeAny, {
page: number;
size: number;
}, {
page?: number | undefined;
size?: number | undefined;
}>;
type PageDefaultParams = z.input<typeof PageDefaultParams>;
type PageDefaultParamsOutput = z.output<typeof PageDefaultParams>;
interface LogFn {

@@ -719,2 +437,2 @@ (msg: string, ...args: any[]): void;

export { Container, ContainerDIClass, DateSchema, DbxError, DbxErrorOptions, HttpErrorResponse, IdSchema, LOGGER_KEY, Logger, MakeSchemaResponse, ModuleConfig, NotificationType, OpenApiManager, OpenApiManagerOptions, PageCursorInfo, PageCursorParams, PageCursorParamsOutput, PageDefaultInfo, PageDefaultParams, PageDefaultParamsOutput, PageInfo, PageParams, Pagination, PaginationOptions, PaginationType, RangeDate, RangeDateSchema, TimeStampSchema, clamp, cloneDeep, compact, createLoggerConsole, createOpenApiManager, dayTimeZone, debounce, enumInfo, escapeRegExp, getLogger, getOpenApiManager, getRangeDate, hasOpenApiManager, isAnyZodType, isEmpty, isNil, isObject, isPlainObject, isString, isStringAndNotBlank, isStringBlank, isUndefined, isZodType, kindOf, makeSchemaResponse, mapValues, memoize, objectEquals, omit, omitBy, pickBy, pull, throttle, transformDefaultPageInfo, urlJoin, zod };
export { Container, ContainerDIClass, DateSchema, DbxError, DbxErrorOptions, HttpErrorResponse, IdSchema, LOGGER_KEY, Logger, MakeSchemaResponse, ModuleConfig, NotificationType, OpenApiManager, OpenApiManagerOptions, RangeDate, RangeDateSchema, TimeStampSchema, clamp, cloneDeep, compact, createLoggerConsole, createOpenApiManager, dayTimeZone, debounce, enumInfo, escapeRegExp, getLogger, getOpenApiManager, getRangeDate, hasOpenApiManager, isAnyZodType, isEmpty, isNil, isObject, isPlainObject, isString, isStringAndNotBlank, isStringBlank, isUndefined, isZodType, kindOf, makeSchemaResponse, mapValues, memoize, objectEquals, omit, omitBy, pickBy, pull, throttle, urlJoin, zod };
{
"name": "@deboxsoft/module-core",
"version": "2.6.92",
"version": "2.6.93",
"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