@dnax/core 0.77.8 → 0.77.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.77.8",
3
+ "version": "0.77.9",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {},
package/types/index.ts CHANGED
@@ -331,7 +331,7 @@ export type Collection = {
331
331
  } & {
332
332
  aggregate?: (ctx: ctxApi) => Array<object> | null | undefined | typeof fn.error;
333
333
  insertOne?: (ctx: ctxApi) => object | null | undefined | typeof fn.error;
334
- insertMany?: (ctx: ctxApi) => Array<any> | null | undefined | typeof fn.error;
334
+ insertMany?: (ctx: ctxApi) => any[] | any | null | undefined | typeof fn.error;
335
335
  updateOne?: (ctx: ctxApi) => object | null | undefined | typeof fn.error;
336
336
  updateMany?: (ctx: ctxApi) => object | null | undefined | typeof fn.error;
337
337
  deleteOne?: (ctx: ctxApi) => object | null | undefined | typeof fn.error;
@@ -454,7 +454,7 @@ export type TimeSeriesCollection = Collection &{
454
454
  customApi?: {
455
455
  aggregate?: (ctx: ctxApi) => Array<object> | null | undefined | typeof fn.error;
456
456
  insertOne?: (ctx: ctxApi) => object | null | undefined | typeof fn.error;
457
- insertMany?: (ctx: ctxApi) => Array<any> | null | undefined | typeof fn.error;
457
+ insertMany?: (ctx: ctxApi) => Array<any> | null | undefined | typeof fn.error | any[] | any;
458
458
  updateOne?: (ctx: ctxApi) => object | null | undefined | typeof fn.error;
459
459
  updateMany?: (ctx: ctxApi) => object | null | undefined | typeof fn.error;
460
460
  deleteOne?: (ctx: ctxApi) => object | null | undefined | typeof fn.error;