@medusajs/utils
Advanced tools
Comparing version 2.5.1-snapshot-20250212135945 to 2.5.1-snapshot-20250212161408
@@ -1,2 +0,2 @@ | ||
import { Constructor, Context, FindConfig, IDmlEntity, Pluralize, Prettify, RestoreReturn, SoftDeleteReturn, InferEntityType, InferEntityForModuleService } from "@medusajs/types"; | ||
import { Constructor, Context, FindConfig, IDmlEntity, InferEntityType, Pluralize, Prettify, RestoreReturn, SoftDeleteReturn } from "@medusajs/types"; | ||
import { DmlEntity } from "../../dml"; | ||
@@ -22,3 +22,3 @@ export type BaseMethods = "retrieve" | "list" | "listAndCount" | "delete" | "softDelete" | "restore" | "create" | "update"; | ||
dto: T[Key] extends DmlEntity<any, any> ? InferEntityType<T[Key]> : T[Key] extends Constructor<any> ? InstanceType<T[Key]> : any; | ||
inputDto: T[Key] extends DmlEntity<any, any> ? Omit<InferEntityForModuleService<T[Key]>, DMLDTOExcludeProperties> : T[Key] extends Constructor<any> ? InstanceType<T[Key]> : any; | ||
inputDto: T[Key] extends DmlEntity<any, any> ? Omit<InferEntityType<T[Key]>, DMLDTOExcludeProperties> : T[Key] extends Constructor<any> ? InstanceType<T[Key]> : any; | ||
model: T[Key] extends { | ||
@@ -25,0 +25,0 @@ model: infer MODEL; |
{ | ||
"name": "@medusajs/utils", | ||
"version": "2.5.1-snapshot-20250212135945", | ||
"version": "2.5.1-snapshot-20250212161408", | ||
"description": "Medusa utilities functions shared by Medusa core and Modules", | ||
@@ -50,3 +50,3 @@ "main": "dist/index.js", | ||
"@graphql-tools/schema": "^10.0.6", | ||
"@medusajs/types": "2.5.1-snapshot-20250212135945", | ||
"@medusajs/types": "2.5.1-snapshot-20250212161408", | ||
"@types/pluralize": "^0.0.33", | ||
@@ -53,0 +53,0 @@ "bignumber.js": "^9.1.2", |
Sorry, the diff of this file is not supported yet
1443017
+ Added@medusajs/types@2.5.1-snapshot-20250212161408(transitive)
- Removed@medusajs/types@2.5.1-snapshot-20250212135945(transitive)