Socket
Socket
Sign inDemoInstall

@alipay/faas-db-builder

Package Overview
Dependencies
Maintainers
2
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alipay/faas-db-builder - npm Package Compare versions

Comparing version 1.1.0-alpha.12 to 1.1.0-alpha.15

2

lib/common/constant.js

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

"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PipelineStageName=exports.Target=exports.DocumentAction=exports.CollectionAction=exports.Sort=void 0;var Sort;(function(e){e.DESC="desc",e.ASC="asc"})(Sort=exports.Sort||(exports.Sort={}));var CollectionAction;(function(e){e.update="update",e.delete="delete",e.query="query",e.queryList="queryList",e.create="create"})(CollectionAction=exports.CollectionAction||(exports.CollectionAction={}));var DocumentAction;(function(e){e.update="update",e.replace="replace",e.delete="delete",e.query="query",e.queryList="queryList",e.create="create",e.batchCreate="batchCreate",e.count="count",e.aggregate="aggregate"})(DocumentAction=exports.DocumentAction||(exports.DocumentAction={}));var Target;(function(e){e.collection="collection",e.document="document"})(Target=exports.Target||(exports.Target={}));var PipelineStageName;(function(e){e.match="$match",e.group="$group",e.sample="$sample"})(PipelineStageName=exports.PipelineStageName||(exports.PipelineStageName={}));
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PipelineStageName=exports.Target=exports.DocumentAction=exports.CollectionAction=exports.Sort=void 0;var Sort;(function(e){e.DESC="desc",e.ASC="asc"})(Sort||(exports.Sort=Sort={}));var CollectionAction;(function(e){e.update="update",e.delete="delete",e.query="query",e.queryList="queryList",e.create="create"})(CollectionAction||(exports.CollectionAction=CollectionAction={}));var DocumentAction;(function(e){e.update="update",e.replace="replace",e.delete="delete",e.query="query",e.queryList="queryList",e.create="create",e.batchCreate="batchCreate",e.count="count",e.aggregate="aggregate"})(DocumentAction||(exports.DocumentAction=DocumentAction={}));var Target;(function(e){e.collection="collection",e.document="document"})(Target||(exports.Target=Target={}));var PipelineStageName;(function(e){e.match="$match",e.group="$group",e.sample="$sample"})(PipelineStageName||(exports.PipelineStageName=PipelineStageName={}));

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

"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DbBuildError=exports.ErrorCode=void 0;var ErrorCode;(function(t){t.INVALID_PARAM="INVALID_PARAM",t.INVALID_COMMAND="INVALID_COMMAND"})(ErrorCode=exports.ErrorCode||(exports.ErrorCode={}));class DbBuildError extends Error{code;static create(r,e){const o=new DbBuildError(e);return o.code=r,o}static invalidParam(r,e){return DbBuildError.create(ErrorCode.INVALID_PARAM,`Invalid param "${r}", ${e}`)}static invalidCommand(r){return DbBuildError.create(ErrorCode.INVALID_COMMAND,r)}}exports.DbBuildError=DbBuildError;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DbBuildError=exports.ErrorCode=void 0;var ErrorCode;(function(t){t.INVALID_PARAM="INVALID_PARAM",t.INVALID_COMMAND="INVALID_COMMAND"})(ErrorCode||(exports.ErrorCode=ErrorCode={}));class DbBuildError extends Error{code;static create(r,e){const o=new DbBuildError(e);return o.code=r,o}static invalidParam(r,e){return DbBuildError.create(ErrorCode.INVALID_PARAM,`Invalid param "${r}", ${e}`)}static invalidCommand(r){return DbBuildError.create(ErrorCode.INVALID_COMMAND,r)}}exports.DbBuildError=DbBuildError;

@@ -18,3 +18,3 @@ import { QueryCommand } from './command/AbstractCommand';

export interface AddOneDocumentParam {
data: DocumentData | DocumentData[];
data: DocumentData;
}

@@ -21,0 +21,0 @@ export interface AddManyDocumentParam {

{
"name": "@alipay/faas-db-builder",
"version": "1.1.0-alpha.12",
"version": "1.1.0-alpha.15",
"description": "db builder",

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

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