@karmaniverous/entity-manager 6.4.6 → 6.4.8
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/cjs/index.js +0 -2
- package/dist/index.d.ts +1 -26
- package/dist/mjs/index.js +0 -1
- package/package.json +1 -1
- package/dist/cjs/ShardQueryMapBuilder.js +0 -14
- package/dist/mjs/ShardQueryMapBuilder.js +0 -12
package/dist/cjs/index.js
CHANGED
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var conditionalize = require('./conditionalize.js');
|
|
4
4
|
var EntityManager = require('./EntityManager.js');
|
|
5
|
-
var ShardQueryMapBuilder = require('./ShardQueryMapBuilder.js');
|
|
6
5
|
|
|
7
6
|
|
|
8
7
|
|
|
9
8
|
exports.conditionalize = conditionalize.conditionalize;
|
|
10
9
|
exports.EntityManager = EntityManager.EntityManager;
|
|
11
|
-
exports.ShardQueryMapBuilder = ShardQueryMapBuilder.ShardQueryMapBuilder;
|
package/dist/index.d.ts
CHANGED
|
@@ -858,31 +858,6 @@ interface LoggerOptions {
|
|
|
858
858
|
logInternals?: boolean;
|
|
859
859
|
}
|
|
860
860
|
|
|
861
|
-
/**
|
|
862
|
-
* {@link ShardQueryMapBuilder | `ShardQueryMapBuilder`} options.
|
|
863
|
-
*
|
|
864
|
-
* @category Query
|
|
865
|
-
*/
|
|
866
|
-
interface ShardQueryMapBuilderOptions {
|
|
867
|
-
/** `entityManager.config.entities` key. */
|
|
868
|
-
entityToken: string;
|
|
869
|
-
/** Either the designated entity hash key or a generated property with `sharded === true`. */
|
|
870
|
-
hashKeyToken: string;
|
|
871
|
-
/** Dehydrated page key from the previous query data page. */
|
|
872
|
-
pageKey?: string;
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
/**
|
|
876
|
-
* Entity Manager shard query builder base class.
|
|
877
|
-
*
|
|
878
|
-
* @category Query
|
|
879
|
-
*/
|
|
880
|
-
declare abstract class ShardQueryMapBuilder<Item extends Entity, Options extends ShardQueryMapBuilderOptions> {
|
|
881
|
-
readonly options: Options;
|
|
882
|
-
constructor(options: Options);
|
|
883
|
-
abstract getShardQueryMap(): ShardQueryMap<Item>;
|
|
884
|
-
}
|
|
885
|
-
|
|
886
861
|
/**
|
|
887
862
|
* Returns an object type with specific properties rendered required and non-nullable.
|
|
888
863
|
*
|
|
@@ -893,4 +868,4 @@ type WithRequiredAndNonNullable<T, K extends keyof T> = T & {
|
|
|
893
868
|
[P in K]-?: NonNullable<T[P]>;
|
|
894
869
|
};
|
|
895
870
|
|
|
896
|
-
export { type Config, type ConfigEntities, type ConfigEntity, type ConfigEntityGenerated, type ConfigKeys, type ConfigTranscodes, EntityManager, type EntityMap, type ExclusiveKey, type ItemMap, type Logger, type LoggerEndpoint, type LoggerOptions, type ParsedConfig, type QueryOptions, type QueryResult, type ShardBump, type ShardQueryFunction, type ShardQueryMap,
|
|
871
|
+
export { type Config, type ConfigEntities, type ConfigEntity, type ConfigEntityGenerated, type ConfigKeys, type ConfigTranscodes, EntityManager, type EntityMap, type ExclusiveKey, type ItemMap, type Logger, type LoggerEndpoint, type LoggerOptions, type ParsedConfig, type QueryOptions, type QueryResult, type ShardBump, type ShardQueryFunction, type ShardQueryMap, type ShardQueryResult, type Unwrap, type WithRequiredAndNonNullable, conditionalize };
|
package/dist/mjs/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Entity Manager shard query builder base class.
|
|
5
|
-
*
|
|
6
|
-
* @category Query
|
|
7
|
-
*/
|
|
8
|
-
class ShardQueryMapBuilder {
|
|
9
|
-
constructor(options) {
|
|
10
|
-
this.options = options;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
exports.ShardQueryMapBuilder = ShardQueryMapBuilder;
|