mocody 0.4.8 → 0.4.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.
@@ -79,9 +79,9 @@ export declare class DynamoDataOperation<T> extends RepoModel<T> implements Repo
79
79
  private _mocody_getProjectionFields;
80
80
  mocody_getManyByIds({ dataIds, fields, excludeFields, withCondition, }: {
81
81
  dataIds: string[];
82
- fields?: (keyof T)[];
83
- excludeFields?: (keyof T)[];
84
- withCondition?: IMocodyFieldCondition<T>;
82
+ fields?: (keyof T)[] | undefined | null;
83
+ excludeFields?: (keyof T)[] | undefined | null;
84
+ withCondition?: IMocodyFieldCondition<T> | undefined | null;
85
85
  }): Promise<T[]>;
86
86
  private mocody_batchGetManyByIdsBasePrivate;
87
87
  mocody_getManyByIndex<TData = T, TSortKeyField = string>(paramOption: IMocodyQueryIndexOptionsNoPaging<TData, TSortKeyField>): Promise<TData[]>;
@@ -6,8 +6,8 @@ export declare abstract class RepoModel<T> {
6
6
  }): Promise<T | null>;
7
7
  abstract mocody_getManyByIds({ dataIds, fields, withCondition, }: {
8
8
  dataIds: string[];
9
- fields?: (keyof T)[] | null;
10
- withCondition?: IMocodyFieldCondition<T> | null;
9
+ fields?: (keyof T)[] | undefined | null;
10
+ withCondition?: IMocodyFieldCondition<T> | undefined | null;
11
11
  }): Promise<T[]>;
12
12
  abstract mocody_createOne({ data }: {
13
13
  data: T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mocody",
3
- "version": "0.4.8",
3
+ "version": "0.4.9",
4
4
  "description": "Implementation of single table design, and unified query access for MongoDB, CouchDB, and dynamoDB",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",