@forklaunch/internal 0.0.2 → 0.0.3
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 +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +2 -2
- package/lib/index.mjs +2 -2
- package/package.json +1 -1
package/lib/index.d.mts
CHANGED
|
@@ -7,12 +7,12 @@ import { EntityManager } from '@mikro-orm/core';
|
|
|
7
7
|
declare class IdentityRequestMapper<T, SchemaValidator extends AnySchemaValidator> {
|
|
8
8
|
dto: T;
|
|
9
9
|
_Entity: T;
|
|
10
|
-
deserializeDtoToEntity(schemaValidator: SchemaValidator, dto: T): T
|
|
10
|
+
deserializeDtoToEntity(schemaValidator: SchemaValidator, dto: T): Promise<T>;
|
|
11
11
|
}
|
|
12
12
|
declare class IdentityResponseMapper<T, SchemaValidator extends AnySchemaValidator> {
|
|
13
13
|
dto: T;
|
|
14
14
|
_Entity: T;
|
|
15
|
-
serializeEntityToDto(schemaValidator: SchemaValidator, entity: T): T
|
|
15
|
+
serializeEntityToDto(schemaValidator: SchemaValidator, entity: T): Promise<T>;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
declare function testSchemaEquality<Schematic>(): <Z extends IdiomaticSchema<ZodSchemaValidator>, T extends IdiomaticSchema<TypeboxSchemaValidator>>(zodSchema: Z, typeBoxSchema: T, testData: Schematic extends Schema<Z, ZodSchemaValidator> ? Schema<Z, ZodSchemaValidator> extends Schematic ? Schematic extends Schema<T, TypeboxSchemaValidator> ? Schema<T, TypeboxSchemaValidator> extends Schematic ? Schematic : {
|
package/lib/index.d.ts
CHANGED
|
@@ -7,12 +7,12 @@ import { EntityManager } from '@mikro-orm/core';
|
|
|
7
7
|
declare class IdentityRequestMapper<T, SchemaValidator extends AnySchemaValidator> {
|
|
8
8
|
dto: T;
|
|
9
9
|
_Entity: T;
|
|
10
|
-
deserializeDtoToEntity(schemaValidator: SchemaValidator, dto: T): T
|
|
10
|
+
deserializeDtoToEntity(schemaValidator: SchemaValidator, dto: T): Promise<T>;
|
|
11
11
|
}
|
|
12
12
|
declare class IdentityResponseMapper<T, SchemaValidator extends AnySchemaValidator> {
|
|
13
13
|
dto: T;
|
|
14
14
|
_Entity: T;
|
|
15
|
-
serializeEntityToDto(schemaValidator: SchemaValidator, entity: T): T
|
|
15
|
+
serializeEntityToDto(schemaValidator: SchemaValidator, entity: T): Promise<T>;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
declare function testSchemaEquality<Schematic>(): <Z extends IdiomaticSchema<ZodSchemaValidator>, T extends IdiomaticSchema<TypeboxSchemaValidator>>(zodSchema: Z, typeBoxSchema: T, testData: Schematic extends Schema<Z, ZodSchemaValidator> ? Schema<Z, ZodSchemaValidator> extends Schematic ? Schematic extends Schema<T, TypeboxSchemaValidator> ? Schema<T, TypeboxSchemaValidator> extends Schematic ? Schematic : {
|
package/lib/index.js
CHANGED
|
@@ -33,14 +33,14 @@ module.exports = __toCommonJS(index_exports);
|
|
|
33
33
|
var IdentityRequestMapper = class {
|
|
34
34
|
dto;
|
|
35
35
|
_Entity;
|
|
36
|
-
deserializeDtoToEntity(schemaValidator, dto) {
|
|
36
|
+
async deserializeDtoToEntity(schemaValidator, dto) {
|
|
37
37
|
return dto;
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
var IdentityResponseMapper = class {
|
|
41
41
|
dto;
|
|
42
42
|
_Entity;
|
|
43
|
-
serializeEntityToDto(schemaValidator, entity) {
|
|
43
|
+
async serializeEntityToDto(schemaValidator, entity) {
|
|
44
44
|
return entity;
|
|
45
45
|
}
|
|
46
46
|
};
|
package/lib/index.mjs
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
var IdentityRequestMapper = class {
|
|
3
3
|
dto;
|
|
4
4
|
_Entity;
|
|
5
|
-
deserializeDtoToEntity(schemaValidator, dto) {
|
|
5
|
+
async deserializeDtoToEntity(schemaValidator, dto) {
|
|
6
6
|
return dto;
|
|
7
7
|
}
|
|
8
8
|
};
|
|
9
9
|
var IdentityResponseMapper = class {
|
|
10
10
|
dto;
|
|
11
11
|
_Entity;
|
|
12
|
-
serializeEntityToDto(schemaValidator, entity) {
|
|
12
|
+
async serializeEntityToDto(schemaValidator, entity) {
|
|
13
13
|
return entity;
|
|
14
14
|
}
|
|
15
15
|
};
|