@ttshivers/automapper-classes
Advanced tools
Comparing version 8.8.1 to 8.8.3
{ | ||
"name": "@ttshivers/automapper-classes/mapped-types", | ||
"version": "8.8.1", | ||
"version": "8.8.3", | ||
"type": "module", | ||
@@ -10,4 +10,4 @@ "sideEffects": false, | ||
"peerDependencies": { | ||
"@ttshivers/automapper-core": "8.8.1", | ||
"@ttshivers/automapper-classes": "8.8.1" | ||
"@ttshivers/automapper-core": "8.8.3", | ||
"@ttshivers/automapper-classes": "8.8.3" | ||
}, | ||
@@ -14,0 +14,0 @@ "repository": { |
export * from './lib/mapper-pick-type'; | ||
export * from './lib/mapper-omit-type'; | ||
export * from './lib/mapper-intersection-type'; |
@@ -0,0 +0,0 @@ import type { Constructor } from '@ttshivers/automapper-core'; |
import type { Constructor } from '@ttshivers/automapper-core'; | ||
import type { MappedType } from './mapped-type'; | ||
export declare function MapperIntersectionType<A, B>(classARef: Constructor<A>, classBRef: Constructor<B>): MappedType<A & B>; |
import type { Constructor } from '@ttshivers/automapper-core'; | ||
import type { MappedType } from './mapped-type'; | ||
export declare function MapperOmitType<T, K extends keyof T>(classRef: Constructor<T>, keys: readonly K[]): MappedType<Omit<T, (typeof keys)[number]>>; |
import type { Constructor } from '@ttshivers/automapper-core'; | ||
import type { MappedType } from './mapped-type'; | ||
export declare function MapperPickType<T, K extends keyof T>(classRef: Constructor<T>, keys: readonly K[]): MappedType<Pick<T, (typeof keys)[number]>>; |
import type { Constructor } from '@ttshivers/automapper-core'; | ||
export declare function inheritAutoMapMetadata(parentClass: Constructor, targetClass: Function, isPropertyInherited?: (key: string) => boolean): void; | ||
export declare function inheritPropertyInitializers(target: Record<string, unknown>, sourceClass: Constructor, isPropertyInherited?: (key: string) => boolean): void; |
{ | ||
"name": "@ttshivers/automapper-classes", | ||
"version": "8.8.1", | ||
"version": "8.8.3", | ||
"type": "module", | ||
"peerDependencies": { | ||
"@ttshivers/automapper-core": "8.8.1", | ||
"@ttshivers/automapper-core": "8.8.3", | ||
"reflect-metadata": "~0.1.13" | ||
}, | ||
"exports": { | ||
"./": { | ||
"types": "./src/index.d.ts", | ||
".": { | ||
"types": "./index.d.ts", | ||
"import": "./index.js", | ||
@@ -13,0 +13,0 @@ "require": "./index.cjs" |
@@ -0,0 +0,0 @@ export * from './lib/classes'; |
@@ -0,0 +0,0 @@ import type { Constructor } from '@ttshivers/automapper-core'; |
import { Constructor, MappingStrategyInitializer, MappingStrategyInitializerOptions } from '@ttshivers/automapper-core'; | ||
import 'reflect-metadata'; | ||
export declare function classes(options?: MappingStrategyInitializerOptions): MappingStrategyInitializer<Constructor>; |
@@ -0,0 +0,0 @@ import type { Constructor } from '@ttshivers/automapper-core'; |
export declare const AUTOMAPPER_METADATA_FACTORY_KEY = "__AUTOMAPPER_METADATA_FACTORY__"; | ||
export declare const AUTOMAP_PROPERTIES_METADATA_KEY = "automap:properties"; | ||
export declare const AUTOMAP_STANDALONE_METADATA_KEY = "automap:standalone"; |
@@ -319,3 +319,3 @@ import { AUTOMAPPER_METADATA_FACTORY_KEY } from '@ttshivers/automapper-classes'; | ||
/* generated */ | ||
const version$1 = 881; | ||
const version$1 = 882; | ||
@@ -322,0 +322,0 @@ const defaultOptions = { |
{ | ||
"name": "@ttshivers/automapper-classes/transformer-plugin", | ||
"version": "8.8.1", | ||
"version": "8.8.3", | ||
"type": "module", | ||
@@ -10,4 +10,4 @@ "sideEffects": false, | ||
"peerDependencies": { | ||
"@ttshivers/automapper-core": "8.8.1", | ||
"@ttshivers/automapper-classes": "8.8.1" | ||
"@ttshivers/automapper-core": "8.8.3", | ||
"@ttshivers/automapper-classes": "8.8.3" | ||
}, | ||
@@ -14,0 +14,0 @@ "repository": { |
@@ -1,1 +0,1 @@ | ||
export declare const version = 881; | ||
export declare const version = 882; |
Sorry, the diff of this file is not supported yet
70060