vsrepo 1.2.4 → 1.2.5
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.
|
@@ -593,7 +593,7 @@ export type SaveObject<TInput, TRepo> =
|
|
|
593
593
|
/**
|
|
594
594
|
* Extrai o tipo de payload do método `patch` a partir de uma instância de VSRepository configurada.
|
|
595
595
|
*/
|
|
596
|
-
export type
|
|
596
|
+
export type PatchObject<TInput, TRepo> =
|
|
597
597
|
TRepo extends VSRepository<infer T, infer M, infer Config>
|
|
598
598
|
? (Config extends { relations: infer R } ? (R extends object ? R : {}) : {}) extends infer TRelations
|
|
599
599
|
? DistributiveOmit<TInput, keyof TRelations> & {
|