kysely-hydrate 0.7.2 → 0.7.3

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.mts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -621,7 +621,7 @@ interface TWithBaseQuery<in out T extends TQuerySet, in out BaseQuery extends TQ
621
621
  Collections: T["Collections"];
622
622
  JoinedQuery: TJoinedQueryWithBaseQuery<T["BaseAlias"], T["JoinedQuery"], BaseQuery>;
623
623
  OrderableColumns: T["OrderableColumns"] | (keyof BaseQuery["O"] & string);
624
- HydratedOutput: Flatten<Omit<RawExtend<BaseQuery["O"], T["HydratedOutput"]>, T["OmittedKeys"]>>;
624
+ HydratedOutput: T["IsMapped"] extends true ? T["HydratedOutput"] : Flatten<Omit<RawExtend<BaseQuery["O"], T["HydratedOutput"]>, T["OmittedKeys"]>>;
625
625
  OmittedKeys: T["OmittedKeys"];
626
626
  }
627
627
  interface TWithOutput<in out T extends TQuerySet, in out Output> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kysely-hydrate",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "Explicit ORM-style queries with Kysely",
5
5
  "homepage": "https://github.com/GiacoCorsiglia/kysely-hydrate#readme",
6
6
  "bugs": {