@karmaniverous/entity-manager 6.3.0 → 6.3.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -798,7 +798,7 @@ declare class EntityManager<M extends EntityMap, HashKey extends string, RangeKe
798
798
  *
799
799
  * @throws `Error` if `entityToken` is invalid.
800
800
  */
801
- addKeys<Item extends ItemMap<M, HashKey, RangeKey>[EntityToken], EntityToken extends keyof Exactify<M> & string>(item: Item, entityToken: EntityToken, overwrite?: boolean): Item;
801
+ addKeys<Item extends ItemMap<M, HashKey, RangeKey>[EntityToken], EntityToken extends keyof Exactify<M> & string>(item: Partial<Item>, entityToken: EntityToken, overwrite?: boolean): Partial<Item>;
802
802
  /**
803
803
  * Strips generated properties, hash key, and range key from an {@link ItemMap | `ItemMap`} object. Mutates `item`.
804
804
  *
@@ -809,7 +809,7 @@ declare class EntityManager<M extends EntityMap, HashKey extends string, RangeKe
809
809
  *
810
810
  * @throws `Error` if `entityToken` is invalid.
811
811
  */
812
- removeKeys<Item extends ItemMap<M, HashKey, RangeKey>[EntityToken], EntityToken extends keyof Exactify<M> & string>(item: Item, entityToken: EntityToken): Item;
812
+ removeKeys<Item extends ItemMap<M, HashKey, RangeKey>[EntityToken], EntityToken extends keyof Exactify<M> & string>(item: Partial<Item>, entityToken: EntityToken): Partial<Item>;
813
813
  /**
814
814
  * Query a database entity across shards in a provider-generic fashion.
815
815
  *
package/package.json CHANGED
@@ -132,5 +132,5 @@
132
132
  },
133
133
  "type": "module",
134
134
  "types": "dist/index.d.ts",
135
- "version": "6.3.0"
135
+ "version": "6.3.1"
136
136
  }