@karmaniverous/entity-manager 6.2.3 → 6.2.4
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.
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -921,7 +921,7 @@ interface ShardQueryFunctionBuilderOptions<Item extends ItemMap<M, HashKey, Rang
|
|
|
921
921
|
/** `entityManager.config.entities` key. */
|
|
922
922
|
entityToken: EntityToken;
|
|
923
923
|
/** Either the designated entity hash key or a generated property with `sharded === true`. */
|
|
924
|
-
hashKeyToken: HashKey | PropertiesOfType<M[EntityToken], void
|
|
924
|
+
hashKeyToken: HashKey | (PropertiesOfType<M[EntityToken], void> & string);
|
|
925
925
|
/** `entityManager.config.entities.<entityToken>.indexes` key. */
|
|
926
926
|
indexToken: string;
|
|
927
927
|
/** A partial `Item` sufficiently populated to generate the query hash key & index values. */
|
|
@@ -936,7 +936,7 @@ interface ShardQueryFunctionBuilderOptions<Item extends ItemMap<M, HashKey, Rang
|
|
|
936
936
|
* @category Query
|
|
937
937
|
*/
|
|
938
938
|
declare abstract class ShardQueryFunctionBuilder<Item extends ItemMap<M, HashKey, RangeKey>[EntityToken], EntityToken extends keyof Exactify<M> & string, M extends EntityMap, HashKey extends string, RangeKey extends string, T extends TranscodeMap, Options extends ShardQueryFunctionBuilderOptions<Item, EntityToken, M, HashKey, RangeKey, T>> {
|
|
939
|
-
protected options: Options;
|
|
939
|
+
protected readonly options: Options;
|
|
940
940
|
constructor(options: Options);
|
|
941
941
|
abstract getShardQueryFunction(): ShardQueryFunction<Item, EntityToken, M, HashKey, RangeKey, T>;
|
|
942
942
|
}
|
package/package.json
CHANGED