New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hulanbv/nest-utilities-client-state

Package Overview
Dependencies
Maintainers
8
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hulanbv/nest-utilities-client-state - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

2

dist/hooks/core/useRequest.d.ts

@@ -12,2 +12,2 @@ import { CrudService, IHttpOptions } from 'nest-utilities-client';

*/
export declare function useRequest<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, query?: string, method?: FetchMethod, httpOptions?: IHttpOptions<Model>, stateOptions?: IStateOptions): IRequestState<Service, Model>;
export declare function useRequest<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, query?: string, method?: FetchMethod, httpOptions?: IHttpOptions<GetServiceModel<Service>>, stateOptions?: IStateOptions): IRequestState<Service, Model>;

@@ -9,2 +9,2 @@ import { CrudService, IHttpOptions } from 'nest-utilities-client';

*/
export declare function useAll<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, httpOptions?: IHttpOptions<Model>, stateOptions?: IStateOptions): IRequestState<Service, Model, Model[]>;
export declare function useAll<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, httpOptions?: IHttpOptions<GetServiceModel<Service>>, stateOptions?: IStateOptions): IRequestState<Service, Model, Model[]>;

@@ -10,2 +10,2 @@ import { CrudService, IHttpOptions } from 'nest-utilities-client';

*/
export declare function useById<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, id?: string, httpOptions?: IHttpOptions<Model>, stateOptions?: IStateOptions): IRequestState<Service, Model, Model>;
export declare function useById<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, id?: string, httpOptions?: IHttpOptions<GetServiceModel<Service>>, stateOptions?: IStateOptions): IRequestState<Service, Model, Model>;

@@ -10,2 +10,2 @@ import { CrudService, IHttpOptions } from 'nest-utilities-client';

*/
export declare function useDelete<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, id?: string, httpOptions?: IHttpOptions<Model>, stateOptions?: IStateOptions): IRequestState<Service, Model, Model>;
export declare function useDelete<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, id?: string, httpOptions?: IHttpOptions<GetServiceModel<Service>>, stateOptions?: IStateOptions): IRequestState<Service, Model, Model>;

@@ -10,2 +10,2 @@ import { CrudService, IHttpOptions } from 'nest-utilities-client';

*/
export declare function useMany<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, ids?: string[], httpOptions?: IHttpOptions<Model>, stateOptions?: IStateOptions): IRequestState<Service, Model, Model[]>;
export declare function useMany<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, ids?: string[], httpOptions?: IHttpOptions<GetServiceModel<Service>>, stateOptions?: IStateOptions): IRequestState<Service, Model, Model[]>;

@@ -11,2 +11,2 @@ import { CrudService, IHttpOptions } from 'nest-utilities-client';

*/
export declare function usePatch<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, id?: string, httpOptions?: IHttpOptions<Model>, stateOptions?: IStateOptions): IRequestState<Service, Model, Model>;
export declare function usePatch<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, id?: string, httpOptions?: IHttpOptions<GetServiceModel<Service>>, stateOptions?: IStateOptions): IRequestState<Service, Model, Model>;

@@ -8,2 +8,2 @@ import { CrudService, IHttpOptions } from 'nest-utilities-client';

*/
export declare function usePost<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, httpOptions?: IHttpOptions<Model>, stateOptions?: IStateOptions): IRequestState<Service, Model, Model>;
export declare function usePost<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, httpOptions?: IHttpOptions<GetServiceModel<Service>>, stateOptions?: IStateOptions): IRequestState<Service, Model, Model>;

@@ -11,2 +11,2 @@ import { CrudService, IHttpOptions } from 'nest-utilities-client';

*/
export declare function usePut<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, id?: string, httpOptions?: IHttpOptions<Model>, stateOptions?: IStateOptions): IRequestState<Service, Model, Model>;
export declare function usePut<Service extends CrudService<IModel>, Model extends IModel = GetServiceModel<Service>>(service: Service, id?: string, httpOptions?: IHttpOptions<GetServiceModel<Service>>, stateOptions?: IStateOptions): IRequestState<Service, Model, Model>;
{
"name": "@hulanbv/nest-utilities-client-state",
"version": "0.3.3",
"version": "0.3.4",
"description": "React hooks for state management when using nest-utilities-client and a nest-utilities based API.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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