@karmaniverous/entity-manager 6.1.0-1 → 6.1.0-2

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.cts CHANGED
@@ -897,4 +897,14 @@ declare abstract class EntityManagerClient<O extends EntityManagerClientOptions>
897
897
  get options(): Required<O>;
898
898
  }
899
899
 
900
- export { type Config, type ConfigEntities, type ConfigEntity, type ConfigEntityGenerated, type ConfigKeys, type ConfigTranscodes, EntityManager, EntityManagerClient, type EntityManagerClientBatchOptions, type EntityManagerClientOptions, type EntityMap, type ExclusiveKey, type ItemMap, type Logger, type LoggerEndpoint, type LoggerOptions, type ParsedConfig, type QueryOptions, type QueryResult, type ShardBump, type ShardQueryFunction, type ShardQueryResult, type Unwrap, conditionalize };
900
+ /**
901
+ * Returns an object type with specific properties rendered required and non-nullable.
902
+ *
903
+ * @typeParam T - The object type to modify.
904
+ * @typeParam K - Union of keys of `T` to render required and non-nullable.
905
+ */
906
+ type WithRequiredAndNonNullable<T, K extends keyof T> = T & {
907
+ [P in K]-?: NonNullable<T[P]>;
908
+ };
909
+
910
+ export { type Config, type ConfigEntities, type ConfigEntity, type ConfigEntityGenerated, type ConfigKeys, type ConfigTranscodes, EntityManager, EntityManagerClient, type EntityManagerClientBatchOptions, type EntityManagerClientOptions, type EntityMap, type ExclusiveKey, type ItemMap, type Logger, type LoggerEndpoint, type LoggerOptions, type ParsedConfig, type QueryOptions, type QueryResult, type ShardBump, type ShardQueryFunction, type ShardQueryResult, type Unwrap, type WithRequiredAndNonNullable, conditionalize };
package/dist/index.d.mts CHANGED
@@ -897,4 +897,14 @@ declare abstract class EntityManagerClient<O extends EntityManagerClientOptions>
897
897
  get options(): Required<O>;
898
898
  }
899
899
 
900
- export { type Config, type ConfigEntities, type ConfigEntity, type ConfigEntityGenerated, type ConfigKeys, type ConfigTranscodes, EntityManager, EntityManagerClient, type EntityManagerClientBatchOptions, type EntityManagerClientOptions, type EntityMap, type ExclusiveKey, type ItemMap, type Logger, type LoggerEndpoint, type LoggerOptions, type ParsedConfig, type QueryOptions, type QueryResult, type ShardBump, type ShardQueryFunction, type ShardQueryResult, type Unwrap, conditionalize };
900
+ /**
901
+ * Returns an object type with specific properties rendered required and non-nullable.
902
+ *
903
+ * @typeParam T - The object type to modify.
904
+ * @typeParam K - Union of keys of `T` to render required and non-nullable.
905
+ */
906
+ type WithRequiredAndNonNullable<T, K extends keyof T> = T & {
907
+ [P in K]-?: NonNullable<T[P]>;
908
+ };
909
+
910
+ export { type Config, type ConfigEntities, type ConfigEntity, type ConfigEntityGenerated, type ConfigKeys, type ConfigTranscodes, EntityManager, EntityManagerClient, type EntityManagerClientBatchOptions, type EntityManagerClientOptions, type EntityMap, type ExclusiveKey, type ItemMap, type Logger, type LoggerEndpoint, type LoggerOptions, type ParsedConfig, type QueryOptions, type QueryResult, type ShardBump, type ShardQueryFunction, type ShardQueryResult, type Unwrap, type WithRequiredAndNonNullable, conditionalize };
package/dist/index.d.ts CHANGED
@@ -897,4 +897,14 @@ declare abstract class EntityManagerClient<O extends EntityManagerClientOptions>
897
897
  get options(): Required<O>;
898
898
  }
899
899
 
900
- export { type Config, type ConfigEntities, type ConfigEntity, type ConfigEntityGenerated, type ConfigKeys, type ConfigTranscodes, EntityManager, EntityManagerClient, type EntityManagerClientBatchOptions, type EntityManagerClientOptions, type EntityMap, type ExclusiveKey, type ItemMap, type Logger, type LoggerEndpoint, type LoggerOptions, type ParsedConfig, type QueryOptions, type QueryResult, type ShardBump, type ShardQueryFunction, type ShardQueryResult, type Unwrap, conditionalize };
900
+ /**
901
+ * Returns an object type with specific properties rendered required and non-nullable.
902
+ *
903
+ * @typeParam T - The object type to modify.
904
+ * @typeParam K - Union of keys of `T` to render required and non-nullable.
905
+ */
906
+ type WithRequiredAndNonNullable<T, K extends keyof T> = T & {
907
+ [P in K]-?: NonNullable<T[P]>;
908
+ };
909
+
910
+ export { type Config, type ConfigEntities, type ConfigEntity, type ConfigEntityGenerated, type ConfigKeys, type ConfigTranscodes, EntityManager, EntityManagerClient, type EntityManagerClientBatchOptions, type EntityManagerClientOptions, type EntityMap, type ExclusiveKey, type ItemMap, type Logger, type LoggerEndpoint, type LoggerOptions, type ParsedConfig, type QueryOptions, type QueryResult, type ShardBump, type ShardQueryFunction, type ShardQueryResult, type Unwrap, type WithRequiredAndNonNullable, conditionalize };
package/package.json CHANGED
@@ -132,5 +132,5 @@
132
132
  },
133
133
  "type": "module",
134
134
  "types": "dist/index.d.ts",
135
- "version": "6.1.0-1"
135
+ "version": "6.1.0-2"
136
136
  }