🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@nomalism-com/types

Package Overview
Dependencies
Maintainers
2
Versions
3541
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nomalism-com/types - npm Package Compare versions

Comparing version
0.47.1
to
0.47.2
+1
-5
dist/modules/user/providers/interface.d.ts

@@ -28,6 +28,2 @@ import type { DocumentHeader } from "../../../shared/entities/stock";

}
export interface IFindRequest {
id?: string;
number?: number[];
}
export type IFindResponse = Omit<IFindDetailedResponse, "">;

@@ -84,3 +80,3 @@ export type IFindPaginatedRequest = IShared.IPaginationRequest;

findByQuery(params: IFindByQueryRequest): Promise<IFindResponse[]>;
find(selector: IFindRequest): Promise<IFindResponse[]>;
find(): Promise<IFindResponse[]>;
findPaginated(selector: IFindPaginatedRequest): Promise<IFindWithPaginationResponse>;

@@ -87,0 +83,0 @@ create(data: ICreateRequest): Promise<IFindResponse>;

+2
-1
import joi from "joi";
export declare const createBody: joi.ObjectSchema<any>;
export declare const updateBody: joi.ObjectSchema<any>;
export declare const findQuery: joi.ObjectSchema<any>;
export declare const findByQueryQuery: joi.ObjectSchema<any>;
export declare const findByNumberQuery: joi.ObjectSchema<any>;
export declare const findWithPaginationQuery: joi.ObjectSchema<any>;
export declare const findByNumberParams: joi.ObjectSchema<any>;
{
"name": "@nomalism-com/types",
"description": "A nomalism package with all necessary types and validations for developing APIs",
"version": "0.47.1",
"version": "0.47.2",
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",

@@ -6,0 +6,0 @@ "license": "UNLICENSED",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display