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

@chego/chego-api

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chego/chego-api - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

14

lib/interfaces.d.ts
import { IQueryAndWhere, IQuerySelect } from './interfaces';
import { QuerySyntaxEnum } from './enums';
import { QuerySyntaxTemplate, QueryBuildFunction, CommandProp, AnyButFunction, StringOrProperty, Fn } from './types';
import { QuerySyntaxTemplate, QueryBuildFunction, AnyButFunction, StringOrProperty, Fn } from './types';
export declare type CommandProp = QueryBuildFunction<IQuery> | AnyButFunction;
export interface IChego {

@@ -41,5 +42,2 @@ execute(query: IQuery): Promise<any>;

}
export interface IQuerySchemeBuilder extends IQueryMethods {
build(): IQuerySchemeElement[];
}
export interface IQueryAnd {

@@ -61,3 +59,3 @@ and: IQueryNot & IQueryEqualTo & IQueryLike & IQueryGT & IQueryLT & IQueryBetween & IQueryWhere & IQueryWrapped;

export interface IQueryEqualTo {
eq(value: CommandProp<IQuery>): IQueryOrder & IQueryLimit & IQueryAnd & IQueryOr;
eq(...values: CommandProp[]): IQueryOrder & IQueryLimit & IQueryAnd & IQueryOr;
}

@@ -71,3 +69,3 @@ export interface IQueryWhereExists {

export interface IQueryGT {
gt(value: CommandProp<IQuery>): IQueryOrder & IQueryLimit & IQueryAnd & IQueryOr;
gt(...values: CommandProp[]): IQueryOrder & IQueryLimit & IQueryAnd & IQueryOr;
}

@@ -81,3 +79,3 @@ export interface IQueryInsert {

export interface IQueryLike {
like(value: CommandProp<IQuery>): IQueryOrder & IQueryLimit & IQueryAnd & IQueryOr;
like(...values: CommandProp[]): IQueryOrder & IQueryLimit & IQueryAnd & IQueryOr;
}

@@ -88,3 +86,3 @@ export interface IQueryLimit {

export interface IQueryLT {
lt(value: CommandProp<IQuery>): IQueryOrder & IQueryLimit & IQueryAnd & IQueryOr;
lt(...values: CommandProp[]): IQueryOrder & IQueryLimit & IQueryAnd & IQueryOr;
}

@@ -91,0 +89,0 @@ export interface IQueryNot {

@@ -45,2 +45,1 @@ import { QuerySyntaxEnum, SortingOrderEnum } from './enums';

export declare type AnyButFunction = Exclude<PrimaryTypes | Obj, (...args: any[]) => any>;
export declare type CommandProp<T> = QueryBuildFunction<T> | AnyButFunction;
{
"name": "@chego/chego-api",
"version": "1.0.3",
"version": "1.0.4",
"description": "The API layer of Chego modules.",

@@ -5,0 +5,0 @@ "main": "./lib/api.js",

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