@thisisagile/easy-mongo 15.28.0 → 15.28.1

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.
@@ -2,7 +2,7 @@ import { Condition, Database, Field, Get, Json, LogicalCondition, MapOptions, Ma
2
2
  import { MongoProvider } from './MongoProvider';
3
3
  export declare class Collection extends Mapper {
4
4
  protected readonly map: {
5
- field: <T = unknown>(name: string, options?: PropertyOptions<T> | undefined) => Field;
5
+ field: <T = unknown>(name: string, options?: PropertyOptions<T>) => Field;
6
6
  item: (property: string, options?: PropertyOptions | undefined) => import("@thisisagile/easy").Property<unknown>;
7
7
  ignore: (property?: string | undefined) => import("@thisisagile/easy").Mapping;
8
8
  skipIn: (property: string) => import("@thisisagile/easy").Mapping;
package/dist/Stages.d.ts CHANGED
@@ -17,7 +17,7 @@ export declare class SortBuilder {
17
17
  constructor(sorts: Record<string, Sort>);
18
18
  get keys(): string[];
19
19
  from: (s?: {
20
- s?: string | undefined;
20
+ s?: string;
21
21
  }, alt?: string) => Optional<Filter>;
22
22
  }
23
23
  export declare class IncludeBuilder {
@@ -25,7 +25,7 @@ export declare class IncludeBuilder {
25
25
  constructor(includes: Record<string, (string | Record<string, 1>)[]>);
26
26
  get keys(): string[];
27
27
  from: (i?: {
28
- i?: string | undefined;
28
+ i?: string;
29
29
  }, alt?: string) => Optional<Filter>;
30
30
  }
31
31
  export declare const stages: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thisisagile/easy-mongo",
3
- "version": "15.28.0",
3
+ "version": "15.28.1",
4
4
  "description": "Add support for MongoDB",
5
5
  "author": "Sander Hoogendoorn",
6
6
  "license": "MIT",
@@ -34,10 +34,10 @@
34
34
  "access": "public"
35
35
  },
36
36
  "devDependencies": {
37
- "@thisisagile/easy-test": "15.28.0"
37
+ "@thisisagile/easy-test": "15.28.1"
38
38
  },
39
39
  "dependencies": {
40
- "@thisisagile/easy": "^15.28.0",
41
- "mongodb": "^5.6.0"
40
+ "@thisisagile/easy": "^15.28.1",
41
+ "mongodb": "^5.9.2"
42
42
  }
43
43
  }