Skip to main content

Module: _internals/serializer

Type Aliases

SerializerFactory

Ƭ SerializerFactory: (dependencies: SerializerDependencies) => serializer

Type declaration

▸ (dependencies): serializer

Parameters
NameType
dependenciesSerializerDependencies
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

NameType
dependenciesSerializerDependencies

Returns

Object

NameType
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