@mikro-orm/sql
Advanced tools
+2
-2
| { | ||
| "name": "@mikro-orm/sql", | ||
| "version": "7.1.5", | ||
| "version": "7.1.6-dev.0", | ||
| "description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.", | ||
@@ -56,3 +56,3 @@ "keywords": [ | ||
| "peerDependencies": { | ||
| "@mikro-orm/core": "7.1.5" | ||
| "@mikro-orm/core": "7.1.6-dev.0" | ||
| }, | ||
@@ -59,0 +59,0 @@ "engines": { |
+5
-2
| import type { Generated, Kysely } from 'kysely'; | ||
| import type { CheckCallback, DeferMode, Dictionary, EntityName, EntityProperty, EntitySchemaWithMeta, FilterQuery, GroupOperator, IndexColumnOptions, InferEntityName, Opt, Primary, PrimaryProperty, QueryFlag, QueryOrderMap, RawQueryFragment, RoutineIgnoreField, Scalar, Type } from '@mikro-orm/core'; | ||
| import type { CheckCallback, DeferMode, Dictionary, EntityName, EntityProperty, EntitySchemaWithMeta, ExtractDefineEntityProperties, FilterQuery, GroupOperator, IndexColumnOptions, InferEntityName, Opt, Primary, PrimaryProperty, QueryFlag, QueryOrderMap, RawQueryFragment, RoutineIgnoreField, Scalar, Type } from '@mikro-orm/core'; | ||
| import type { JoinType, QueryType } from './query/enums.js'; | ||
@@ -310,3 +310,6 @@ import type { DatabaseSchema } from './schema/DatabaseSchema.js'; | ||
| export type MaybeReturnType<T> = T extends (...args: any[]) => infer R ? R : T; | ||
| export type InferEntityProperties<Schema> = Schema extends EntitySchemaWithMeta<any, any, any, any, infer Properties> ? Properties : never; | ||
| export type InferEntityProperties<Schema> = Schema extends EntitySchemaWithMeta<any, any, any, infer Base, infer Properties> ? MergeInheritedProperties<Base, Properties> : never; | ||
| type MergeInheritedProperties<Base, Properties extends Record<string, any>> = [ | ||
| ExtractDefineEntityProperties<Base> | ||
| ] extends [infer BaseProps extends Record<string, any>] ? [BaseProps] extends [never] ? Properties : Omit<BaseProps, keyof Properties> & Properties : Properties; | ||
| export type InferKyselyDB<TEntities extends { | ||
@@ -313,0 +316,0 @@ name: string; |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
1049149
0.03%21962
0.01%1
Infinity%