@magnetarjs/types
Advanced tools
Comparing version 0.8.4 to 0.9.0
@@ -166,2 +166,6 @@ import { PartialDeep, Spread } from 'type-fest'; | ||
startAfter(...fieldValues: unknown[]): CollectionInstance<DocDataType, GranularTypes>; | ||
/** | ||
* Meta data from the last fetch call | ||
*/ | ||
fetched: FetchMetaData; | ||
}; | ||
@@ -504,2 +508,6 @@ | ||
docs: DocMetadata[]; | ||
/** Wether or not the end was reached, in case there is no `limit` this is always true */ | ||
reachedEnd: boolean; | ||
/** The last fetched doc */ | ||
last: unknown; | ||
}; | ||
@@ -866,2 +874,11 @@ /** | ||
declare type FetchPromises = Map<string, Promise<any>>; | ||
/** | ||
* Stored by plugins to be able to more easily fetch more data with `startAfter(last)` | ||
*/ | ||
declare type FetchMetaData = { | ||
/** Wether or not the end was reached, in case there is no `limit` this is always true */ | ||
reachedEnd: boolean; | ||
/** The last fetched doc */ | ||
last: unknown; | ||
}; | ||
@@ -877,2 +894,2 @@ /** | ||
export { ActionConfig, ActionName, ActionTernary, ActionType, Clauses, CollectionFn, CollectionInstance, DoOnFetch, DoOnStream, DoOnStreamFns, DocFn, DocInstance, DocMetadata, Equals, EventFn, EventFnBefore, EventFnError, EventFnRevert, EventFnSuccess, EventName, EventNameFnMap, EventNameFnsMap, ExecutionOrderConfig, FetchPromises, FetchResponse, GlobalConfig, Intersect, Limit, MagnetarDeleteAction, MagnetarDeletePropAction, MagnetarFetchAction, MagnetarInsertAction, MagnetarInstance, MagnetarPlugin, MagnetarStreamAction, MagnetarWriteAction, ModifyDeletePropPayload, ModifyPayloadFnMap, ModifyPayloadFnsMap, ModifyReadPayload, ModifyReadResponseFnMap, ModifyReadResponseFnsMap, ModifyWritePayload, ModuleConfig, MustExecuteOnRead, OLeaves, OPaths, OnAddedFn, OnModifiedFn, OnRemovedFn, OrderByClause, PluginActionPayloadBase, PluginActionTernary, PluginDeleteAction, PluginDeleteActionPayload, PluginDeletePropAction, PluginDeletePropActionPayload, PluginFetchAction, PluginFetchActionPayload, PluginInsertAction, PluginInsertActionPayload, PluginInstance, PluginModuleConfig, PluginModuleSetupPayload, PluginRevertAction, PluginRevertActionPayload, PluginStreamAction, PluginStreamActionPayload, PluginWriteAction, PluginWriteActionPayload, StoreName, StreamResponse, SyncBatch, WhereClause, WhereFilterOp, WriteLock, actionNameTypeMap }; | ||
export { ActionConfig, ActionName, ActionTernary, ActionType, Clauses, CollectionFn, CollectionInstance, DoOnFetch, DoOnStream, DoOnStreamFns, DocFn, DocInstance, DocMetadata, Equals, EventFn, EventFnBefore, EventFnError, EventFnRevert, EventFnSuccess, EventName, EventNameFnMap, EventNameFnsMap, ExecutionOrderConfig, FetchMetaData, FetchPromises, FetchResponse, GlobalConfig, Intersect, Limit, MagnetarDeleteAction, MagnetarDeletePropAction, MagnetarFetchAction, MagnetarInsertAction, MagnetarInstance, MagnetarPlugin, MagnetarStreamAction, MagnetarWriteAction, ModifyDeletePropPayload, ModifyPayloadFnMap, ModifyPayloadFnsMap, ModifyReadPayload, ModifyReadResponseFnMap, ModifyReadResponseFnsMap, ModifyWritePayload, ModuleConfig, MustExecuteOnRead, OLeaves, OPaths, OnAddedFn, OnModifiedFn, OnRemovedFn, OrderByClause, PluginActionPayloadBase, PluginActionTernary, PluginDeleteAction, PluginDeleteActionPayload, PluginDeletePropAction, PluginDeletePropActionPayload, PluginFetchAction, PluginFetchActionPayload, PluginInsertAction, PluginInsertActionPayload, PluginInstance, PluginModuleConfig, PluginModuleSetupPayload, PluginRevertAction, PluginRevertActionPayload, PluginStreamAction, PluginStreamActionPayload, PluginWriteAction, PluginWriteActionPayload, StoreName, StreamResponse, SyncBatch, WhereClause, WhereFilterOp, WriteLock, actionNameTypeMap }; |
{ | ||
"name": "@magnetarjs/types", | ||
"version": "0.8.4", | ||
"version": "0.9.0", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "description": "Magnetar shared types", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44136
938