@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 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 (schemaValidator: SchemaValidator, entity: Entity, ...additionalArgs: never[]) => Promise<Dto> = (schemaValidator: SchemaValidator, entity: Entity, ...additionalArgs: never[]) => Promise<Dto>> = new (schemaValidator: SchemaValidator) => {
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 (schemaValidator: SchemaValidator, entity: Entity, ...additionalArgs: never[]) => Promise<Dto> = (schemaValidator: SchemaValidator, entity: Entity, ...additionalArgs: never[]) => Promise<Dto>> = new (schemaValidator: SchemaValidator) => {
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/internal",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Internal package for utilities and other internal code.",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {