Comparing version 3.0.74 to 3.0.75
@@ -45,3 +45,4 @@ import { EntityMeta, RadsDb } from '_rads-db'; | ||
type VerifyManyArgsAny = VerifyManyArgs<any>; | ||
type GetArgsInclude<EN extends keyof EntityMeta, R extends keyof EntityMeta[EN]['relations'] = keyof EntityMeta[EN]['relations']> = [R] extends [never] ? { | ||
type RelationsAndNestedObjects<EN extends keyof EntityMeta> = EntityMeta[EN]['relations'] & EntityMeta[EN]['nestedObjects']; | ||
type GetArgsInclude<EN extends keyof EntityMeta, R extends keyof RelationsAndNestedObjects<EN> = keyof RelationsAndNestedObjects<EN>> = [R] extends [never] ? { | ||
_pick?: EntityMeta[EN]['primitives'][]; | ||
@@ -51,3 +52,3 @@ } : { | ||
} & { | ||
[K in R]?: GetArgsInclude<EntityMeta[EN]['relations'][K]['entityName']>; | ||
[K in R]?: GetArgsInclude<RelationsAndNestedObjects<EN>[K]['entityName']>; | ||
}; | ||
@@ -255,2 +256,3 @@ type GetAggResponse<EN extends keyof EntityMeta, A extends GetAggArgs<EN>> = { | ||
keepHistoryFields?: string[]; | ||
sourceFile?: string; | ||
} | ||
@@ -257,0 +259,0 @@ interface FileUploadResult { |
{ | ||
"name": "rads-db", | ||
"version": "3.0.74", | ||
"version": "3.0.75", | ||
"packageManager": "pnpm@8.6.1", | ||
@@ -5,0 +5,0 @@ "description": "Say goodbye to boilerplate code and hello to efficient and elegant syntax.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
374803
10318