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

@magnetarjs/types

Package Overview
Dependencies
Maintainers
3
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magnetarjs/types - npm Package Compare versions

Comparing version 0.16.5 to 0.16.6

36

dist/index.d.ts

@@ -121,2 +121,15 @@ import { Merge } from 'merge-anything';

type OrderByClause = [string, ('asc' | 'desc')?];
type NestedQueryClause = {
and: (WhereClause | {
and: (WhereClause | any)[];
} | {
or: (WhereClause | any)[];
})[];
} | {
or: (WhereClause | {
and: (WhereClause | any)[];
} | {
or: (WhereClause | any)[];
})[];
};
/**

@@ -130,5 +143,5 @@ * Determines a complex queries of where-filter with ANDs and ORs.

type QueryClause = {
and: (WhereClause | QueryClause)[];
and: (WhereClause | NestedQueryClause)[];
} | {
or: (WhereClause | QueryClause)[];
or: (WhereClause | NestedQueryClause)[];
};

@@ -156,6 +169,19 @@ /**

];
type NestedQuery<T extends Record<string, any> = Record<string, any>> = {
and: (WhereClauseTuple<T> | {
and: (WhereClauseTuple<T> | any)[];
} | {
or: (WhereClauseTuple<T> | any)[];
})[];
} | {
or: (WhereClauseTuple<T> | {
and: (WhereClauseTuple<T> | any)[];
} | {
or: (WhereClauseTuple<T> | any)[];
})[];
};
type Query<T extends Record<string, any> = Record<string, any>> = {
or: (WhereClauseTuple<T> | Query<T>)[];
or: (WhereClauseTuple<T> | NestedQuery<T>)[];
} | {
and: (WhereClauseTuple<T> | Query<T>)[];
and: (WhereClauseTuple<T> | NestedQuery<T>)[];
};

@@ -1125,2 +1151,2 @@

export { ActionConfig, ActionName, ActionTernary, ActionType, ArrayValues, Clauses, CollectionFn, CollectionInstance, CollectionName, DeepGet, DeepPropType, DefaultTo, DoOnFetch, DoOnFetchCount, DoOnStream, DoOnStreamFns, DocFn, DocInstance, DocMetadata, Equals, EqualsAnyOfUnion, EventFn, EventFnBefore, EventFnError, EventFnRevert, EventFnSuccess, EventName, EventNameFnMap, EventNameFnsMap, ExecutionOrderConfig, FetchCountResponse, FetchMetaDataCollection, FetchPromises, FetchResponse, GlobalConfig, Intersect, IsFullStringLiteral, Limit, MODULE_IDENTIFIER_SPLIT, MagnetarDeleteAction, MagnetarDeletePropAction, MagnetarFetchAction, MagnetarFetchCountAction, MagnetarInsertAction, MagnetarInstance, MagnetarPlugin, MagnetarStreamAction, MagnetarWriteAction, MergeDeep, ModifyDeletePropPayload, ModifyPayloadFnMap, ModifyPayloadFnsMap, ModifyReadPayload, ModifyReadResponseFnMap, ModifyReadResponseFnsMap, ModifyWritePayload, ModuleConfig, MustExecuteOnRead, OLeaves, OPathsWithOptional, OPathsWithoutOptional, OnAddedFn, OnModifiedFn, OnRemovedFn, OrderByClause, PartialDeep, PathFilterIdentifier, PathWhereIdentifier, PathWhereOrderByIdentifier, PluginActionPayloadBase, PluginActionTernary, PluginDeleteAction, PluginDeleteActionPayload, PluginDeletePropAction, PluginDeletePropActionPayload, PluginFetchAction, PluginFetchActionPayload, PluginFetchCountAction, PluginFetchCountActionPayload, PluginInsertAction, PluginInsertActionPayload, PluginInstance, PluginModuleConfig, PluginModuleSetupPayload, PluginRevertAction, PluginRevertActionPayload, PluginStreamAction, PluginStreamActionPayload, PluginWriteAction, PluginWriteActionPayload, Query, QueryClause, Split, StoreName, StreamResponse, SyncBatch, TupleExcludingFirst, TupleExcludingLast, TupleFirst, TupleLast, TupleOf, WhereClause, WhereClauseTuple, WhereFilterOp, WhereFilterValue, WriteLock, actionNameTypeMap, getPathFilterIdentifier, getPathWhereIdentifier, getPathWhereOrderByIdentifier };
export { ActionConfig, ActionName, ActionTernary, ActionType, ArrayValues, Clauses, CollectionFn, CollectionInstance, CollectionName, DeepGet, DeepPropType, DefaultTo, DoOnFetch, DoOnFetchCount, DoOnStream, DoOnStreamFns, DocFn, DocInstance, DocMetadata, Equals, EqualsAnyOfUnion, EventFn, EventFnBefore, EventFnError, EventFnRevert, EventFnSuccess, EventName, EventNameFnMap, EventNameFnsMap, ExecutionOrderConfig, FetchCountResponse, FetchMetaDataCollection, FetchPromises, FetchResponse, GlobalConfig, Intersect, IsFullStringLiteral, Limit, MODULE_IDENTIFIER_SPLIT, MagnetarDeleteAction, MagnetarDeletePropAction, MagnetarFetchAction, MagnetarFetchCountAction, MagnetarInsertAction, MagnetarInstance, MagnetarPlugin, MagnetarStreamAction, MagnetarWriteAction, MergeDeep, ModifyDeletePropPayload, ModifyPayloadFnMap, ModifyPayloadFnsMap, ModifyReadPayload, ModifyReadResponseFnMap, ModifyReadResponseFnsMap, ModifyWritePayload, ModuleConfig, MustExecuteOnRead, NestedQuery, NestedQueryClause, OLeaves, OPathsWithOptional, OPathsWithoutOptional, OnAddedFn, OnModifiedFn, OnRemovedFn, OrderByClause, PartialDeep, PathFilterIdentifier, PathWhereIdentifier, PathWhereOrderByIdentifier, PluginActionPayloadBase, PluginActionTernary, PluginDeleteAction, PluginDeleteActionPayload, PluginDeletePropAction, PluginDeletePropActionPayload, PluginFetchAction, PluginFetchActionPayload, PluginFetchCountAction, PluginFetchCountActionPayload, PluginInsertAction, PluginInsertActionPayload, PluginInstance, PluginModuleConfig, PluginModuleSetupPayload, PluginRevertAction, PluginRevertActionPayload, PluginStreamAction, PluginStreamActionPayload, PluginWriteAction, PluginWriteActionPayload, Query, QueryClause, Split, StoreName, StreamResponse, SyncBatch, TupleExcludingFirst, TupleExcludingLast, TupleFirst, TupleLast, TupleOf, WhereClause, WhereClauseTuple, WhereFilterOp, WhereFilterValue, WriteLock, actionNameTypeMap, getPathFilterIdentifier, getPathWhereIdentifier, getPathWhereOrderByIdentifier };

4

package.json
{
"name": "@magnetarjs/types",
"version": "0.16.5",
"version": "0.16.6",
"sideEffects": false,

@@ -23,3 +23,3 @@ "description": "Magnetar shared types",

"dependencies": {
"merge-anything": "^5.1.1"
"merge-anything": "^5.1.7"
},

@@ -26,0 +26,0 @@ "keywords": [

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