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

@deboxsoft/accounting-api

Package Overview
Dependencies
Maintainers
1
Versions
434
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deboxsoft/accounting-api - npm Package Compare versions

Comparing version 0.1.0-alpha.5 to 0.1.0-alpha.6

2

package.json
{
"name": "@deboxsoft/accounting-api",
"version": "0.1.0-alpha.5",
"version": "0.1.0-alpha.6",
"license": "SEE LICENSE IN LICENSE.md",

@@ -5,0 +5,0 @@ "repository": {

@@ -1,10 +0,5 @@

import type { Account, CreateAccountInput, CreateResult, UpdateAccountInput, UpdateResult, RemoveResult } from "../types";
import type { Account, CreateAccountInput, UpdateAccountInput } from "../types";
import type { Repository } from "./Repository";
export interface AccountRepo extends Repository<Account, CreateAccountInput, UpdateAccountInput> {
create(input: any): Promise<CreateResult>;
update(id: any, input: any): Promise<UpdateResult>;
removeById(id: any): Promise<RemoveResult>;
findAll(): Promise<Account[]>;
findById(id: any): Promise<Account | undefined>;
getChildAccount(id: string): Promise<Account[]>;
}

@@ -1,7 +0,7 @@

export interface Repository<Data, Input, UpdateInput = Input, ID = string> {
create(input: Input): Promise<any>;
update(id: ID, input: UpdateInput): Promise<any>;
export interface Repository<Data, Input, UpdateInput = Partial<Input>, ID = string> {
create(input: Input): Promise<Data>;
update(id: ID, input: UpdateInput): Promise<Data>;
findById(id: ID): Promise<Data | undefined>;
findAll(): Promise<Data[]>;
removeById(id: ID): Promise<any>;
find(filter?: any): Promise<Data[]>;
remove(id: ID): Promise<boolean>;
}
import type { Repository } from "./Repository";
import type { CreateResult, RemoveResult, Transaction, TransactionInput, UpdateResult } from "../types";
import type { Transaction, TransactionInput } from "../types";
export interface TransactionRepo extends Repository<Transaction, TransactionInput> {
create(input: any): Promise<CreateResult>;
update(id: any, input: any): Promise<UpdateResult>;
removeById(id: any): Promise<RemoveResult>;
}

@@ -71,8 +71,8 @@ export declare type Maybe<T> = T | undefined;

export declare type Mutation = {
createAccount?: Maybe<CreateResult>;
createTransaction?: Maybe<CreateResult>;
removeAccount?: Maybe<RemoveResult>;
removeTransaction?: Maybe<RemoveResult>;
updateAccount?: Maybe<UpdateResult>;
updateTransaction?: Maybe<UpdateResult>;
createAccount?: Maybe<Account>;
createTransaction?: Maybe<Transaction>;
removeAccount?: Maybe<Scalars["Boolean"]>;
removeTransaction?: Maybe<Scalars["Boolean"]>;
updateAccount?: Maybe<Account>;
updateTransaction?: Maybe<Transaction>;
};

@@ -118,5 +118,5 @@ export declare type MutationCreateAccountArgs = {

parentId?: Maybe<Scalars["ID"]>;
level: Scalars["Int"];
active: Scalars["Boolean"];
isParent: Scalars["Boolean"];
level?: Maybe<Scalars["Int"]>;
active?: Maybe<Scalars["Boolean"]>;
isParent?: Maybe<Scalars["Boolean"]>;
fiscal?: Maybe<Scalars["Boolean"]>;

@@ -123,0 +123,0 @@ memo?: Maybe<Scalars["String"]>;

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