Class: JSONAPIAtomicOperationsDocumentSerializer
Hierarchy​
JSONAPIBaseSerializer<RecordOperationsDocument,ResourceAtomicOperationsDocument,unknown,unknown>↳
JSONAPIAtomicOperationsDocumentSerializer
Constructors​
constructor​
• new JSONAPIAtomicOperationsDocumentSerializer(settings)
Parameters​
| Name | Type |
|---|---|
settings | Object |
settings.deserializationOptions? | unknown |
settings.keyMap? | RecordKeyMap |
settings.schema | RecordSchema |
settings.serializationOptions? | unknown |
settings.serializerFor | SerializerForFn<Serializer<unknown, unknown, unknown, unknown>> |
Inherited from​
JSONAPIBaseSerializer.constructor
Defined in​
packages/@orbit/jsonapi/src/serializers/jsonapi-base-serializer.ts:31
Properties​
serializerFor​
• serializerFor: SerializerForFn<Serializer<unknown, unknown, unknown, unknown>>
Inherited from​
JSONAPIBaseSerializer.serializerFor
Defined in​
packages/@orbit/jsonapi/src/serializers/jsonapi-base-serializer.ts:27
Accessors​
keyMap​
• get keyMap(): undefined | RecordKeyMap
Returns​
undefined | RecordKeyMap
Inherited from​
JSONAPIBaseSerializer.keyMap
Defined in​
packages/@orbit/jsonapi/src/serializers/jsonapi-base-serializer.ts:58
schema​
• get schema(): RecordSchema
Returns​
RecordSchema
Inherited from​
JSONAPIBaseSerializer.schema
Defined in​
packages/@orbit/jsonapi/src/serializers/jsonapi-base-serializer.ts:54
Methods​
deserialize​
â–¸ deserialize(document): RecordOperationsDocument
Parameters​
| Name | Type |
|---|---|
document | ResourceAtomicOperationsDocument |
Returns​
Overrides​
JSONAPIBaseSerializer.deserialize
Defined in​
packages/@orbit/jsonapi/src/serializers/jsonapi-atomic-operations-document-serializer.ts:54
deserializeAtomicOperation​
â–¸ deserializeAtomicOperation(operation): RecordOperation
Parameters​
| Name | Type |
|---|---|
operation | ResourceAtomicOperation |
Returns​
RecordOperation
Defined in​
packages/@orbit/jsonapi/src/serializers/jsonapi-atomic-operations-document-serializer.ts:77
deserializeAtomicOperations​
â–¸ deserializeAtomicOperations(operations): RecordOperation[]
Parameters​
| Name | Type |
|---|---|
operations | ResourceAtomicOperation[] |
Returns​
RecordOperation[]
Defined in​
packages/@orbit/jsonapi/src/serializers/jsonapi-atomic-operations-document-serializer.ts:69
serialize​
â–¸ serialize(document): ResourceAtomicOperationsDocument
Parameters​
| Name | Type |
|---|---|
document | RecordOperationsDocument |
Returns​
ResourceAtomicOperationsDocument
Overrides​
JSONAPIBaseSerializer.serialize
Defined in​
packages/@orbit/jsonapi/src/serializers/jsonapi-atomic-operations-document-serializer.ts:15