@forklaunch/internal 0.0.5 → 0.0.6
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.
- package/lib/index.d.mts +1 -1
- package/lib/index.d.ts +1 -1
- package/package.json +1 -1
package/lib/index.d.mts
CHANGED
|
@@ -88,7 +88,7 @@ type MapperSchemaValidatorObject<SV extends AnySchemaValidator> = SV['_ValidSche
|
|
|
88
88
|
* @template Dto - The type of the DTO object.
|
|
89
89
|
* @template Entity - The type of the entity object.
|
|
90
90
|
*/
|
|
91
|
-
type ResponseMapperConstructor<SchemaValidator extends AnySchemaValidator, Dto, Entity, SerializeEntityToDto extends (
|
|
91
|
+
type ResponseMapperConstructor<SchemaValidator extends AnySchemaValidator, Dto, Entity, SerializeEntityToDto extends (entity: Entity, ...additionalArgs: never[]) => Promise<Dto> = (entity: Entity, ...additionalArgs: never[]) => Promise<Dto>> = new (schemaValidator: SchemaValidator) => {
|
|
92
92
|
dto: Dto;
|
|
93
93
|
_Entity: Entity;
|
|
94
94
|
serializeEntityToDto: SerializeEntityToDto;
|
package/lib/index.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ type MapperSchemaValidatorObject<SV extends AnySchemaValidator> = SV['_ValidSche
|
|
|
88
88
|
* @template Dto - The type of the DTO object.
|
|
89
89
|
* @template Entity - The type of the entity object.
|
|
90
90
|
*/
|
|
91
|
-
type ResponseMapperConstructor<SchemaValidator extends AnySchemaValidator, Dto, Entity, SerializeEntityToDto extends (
|
|
91
|
+
type ResponseMapperConstructor<SchemaValidator extends AnySchemaValidator, Dto, Entity, SerializeEntityToDto extends (entity: Entity, ...additionalArgs: never[]) => Promise<Dto> = (entity: Entity, ...additionalArgs: never[]) => Promise<Dto>> = new (schemaValidator: SchemaValidator) => {
|
|
92
92
|
dto: Dto;
|
|
93
93
|
_Entity: Entity;
|
|
94
94
|
serializeEntityToDto: SerializeEntityToDto;
|