Module: _internals/serializer
Type Aliases
SerializerFactory
Ƭ SerializerFactory: (dependencies
: SerializerDependencies
) => serializer
Type declaration
▸ (dependencies
): serializer
Parameters
Name | Type |
---|---|
dependencies | SerializerDependencies |
Returns
serializer
Defined in
packages/admin-sdk/src/_internals/serializer/index.ts:41
Functions
default
▸ default(dependencies
): Object
The main serializer factory. It returns a general serializer/deserializer which combines all single serializer
Parameters
Name | Type |
---|---|
dependencies | SerializerDependencies |
Returns
Object
Name | Type |
---|---|
getSerializers | () => serializer [] |
getSerializerByName | (name : string ) => serializer | null |
serialize | (messageData : any ) => any |
deserialize | (messageData : any , event : MessageEvent <string >) => any |
Defined in
packages/admin-sdk/src/_internals/serializer/index.ts:60