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

@pinia-orm/axios-edge

Package Overview
Dependencies
Maintainers
1
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pinia-orm/axios-edge - npm Package Compare versions

Comparing version 1.9.0-28583603.744fcaf to 1.9.0-28585808.424bf4d

11

dist/index.d.ts
import { AxiosRequestConfig, AxiosResponse, AxiosInstance } from 'axios';
import { Element, Model, Repository, Collection, PiniaOrmPlugin } from 'pinia-orm';
import { Element, Model, Repository, Collection, Constructor, PiniaOrmPlugin } from 'pinia-orm';

@@ -17,3 +17,8 @@ type PersistMethods = 'save' | 'insert';

persistOptions?: PersistOptions;
delete?: string | number | ((model: Model) => boolean);
/**
* This tells the api to delete the record from the store after the call is finished.
*
* It needs the `primaryKey` value (ID) of the entity as argument.
*/
delete?: string | number;
actions?: {

@@ -160,3 +165,3 @@ [name: string]: any;

declare function useAxiosRepo<M extends Model>(model: M): AxiosRepository<Model>;
declare function useAxiosRepo<M extends Model>(model: Constructor<M>): AxiosRepository<Model>;

@@ -163,0 +168,0 @@ declare function createPiniaOrmAxios(axiosConfig?: GlobalConfig): PiniaOrmPlugin;

{
"name": "@pinia-orm/axios-edge",
"version": "1.9.0-28583603.744fcaf",
"version": "1.9.0-28585808.424bf4d",
"description": "Axios plugin for pinia-orm",

@@ -46,3 +46,3 @@ "bugs": {

"axios": ">=1.6.8",
"pinia-orm": "npm:pinia-orm-edge@1.9.0-28583603.744fcaf",
"pinia-orm": "npm:pinia-orm-edge@1.9.0-28585808.424bf4d",
"pinia": ">=2.1.7"

@@ -59,3 +59,3 @@ },

"pinia": "^2.1.7",
"pinia-orm": "npm:pinia-orm-edge@1.9.0-28583603.744fcaf",
"pinia-orm": "npm:pinia-orm-edge@1.9.0-28585808.424bf4d",
"size-limit": "^11.1.2",

@@ -62,0 +62,0 @@ "typescript": "^5.4.5",

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