Skip to content

Commit

Permalink
fix: prettier error due to merge
Browse files Browse the repository at this point in the history
  • Loading branch information
britsta committed Dec 5, 2024
1 parent d9d82cb commit d37455a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _docs_integrate/data-model-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ A Relationship between two Identities is the prerequisite for them to exchange M
| template | [`RelationshipTemplate`](#relationshiptemplate) | The RelationshipTemplate that was used to establish this Relationship. | |
| status | `"Pending"` \| `"Active"` \| `"Rejected"` \| `"Revoked"` \| `"Terminated"` \| `"DeletionProposed"` | The status of this Relationship. <br>{::nomarkdown}<ul><li>Pending: the Relationship was created, but not yet accepted by the recipient. In this state you cannot send Messages yet.</li><li>Active: this means that the Relationship is active. As long as it is active, both participants can exchange Messages.</li><li>Rejected: the Relationship was rejected by the recipient.</li><li>Revoked: the Relationship was revoked by the sender.</li><li>Terminated: No Messages can be sent. Either side can request reactivation from the peer.</li><li>Deletion Proposed: Your peer has decomposed the Relationship, i. e. locally deleted the Relationship and data transmitted during it.</li></ul>{:/} | |
| creationContent | [`RelationshipCreationContent`](#relationshipcreationcontent) \| [`ArbitraryRelationshipCreationContent`](#arbitraryrelationshipcreationcontent) | The content sent along when the Relationship is initiated. If the `template` contains a [RelationshipTemplateContent](#relationshiptemplatecontent), `RelationshipCreationContent` has to be used. Otherwise, an `ArbitraryRelationshipCreationContent` is used, which can be filled with anything. | will be encrypted before sent to the Backbone |
| peer | `string` | The `address` of the [Identity](#identity) with which you have this Relationship. | saved only locally |
| peer | `string` | The `address` of the [Identity](#identity) with which you have this Relationship. | saved only locally |
| peerDeletionInfo | [`PeerDeletionInfo`](#peerdeletioninfo) \| `undefined` | Information about whether the Identity with which you have this Relationship is to be deleted or was deleted, as well as the point in time of that deletion. | saved only locally |
| auditLog | [`RelationshipAuditLogEntry`](#relationshipauditlogentry)`[]` | A log of Relationship operations like creating or accepting a pending Relationship. | |

Expand All @@ -114,7 +114,7 @@ The audit log records Relationship operations starting with the creation of the
| Name | Type | Description | Remarks |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| createdAt | `string` | A timestamp that describes when the Relationship operation was executed. | |
| createdBy | `string` | The `address` of the [Identity](#identity) that executed the Relationship operation. | |
| createdBy | `string` | The `address` of the [Identity](#identity) that executed the Relationship operation. | |
| createdByDevice | `string` | The ID of the Device that executed the Relationship operation. You can use this information to track back who exactly did it. | |
| reason | `"Creation"` \| `"AcceptanceOfCreation"` \| `"RejectionOfCreation"` \| `"RevocationOfCreation"` \| `"Termination"` \| `"ReactivationRequested"` \| `"AcceptanceOfReactivation"` \| `"RejectionOfReactivation"` \| `"RevocationOfReactivation"` \| `"Decomposition"` \| `"DecompositionDueToIdentityDeletion"` | The type of the Relationship operation. <br>{::nomarkdown}<ul><li>Creation: creation of the pending Relationship.</li><li>AcceptanceOfCreation: acceptance of the pending Relationship.</li><li>RejectionOfCreation: rejection of the pending Relationship.</li><li>RevocationOfCreation: revocation of the pending Relationship.</li><li>Termination: termination of the active Relationship.</li><li>ReactivationRequested: request for the reactivation of the terminated Relationship.</li><li>AcceptanceOfReactivation: acceptance of the reactivation of the terminated Relationship.</li><li>RejectionOfReactivation: rejection of the reactivation of the terminated Relationship.</li><li>RevocationOfReactivation: revocation of the reactivation of the terminated Relationship.</li><li>Decomposition: decomposition of the terminated Relationship.</li><li>DecompositionDueToIdentityDeletion: decomposition of the terminated Relationship due to the <a href="https://enmeshed.eu/integrate/delete-identities#side-effects-of-identity-deletion-on-relationships">deletion of the peer</a> to which the Relationship exists.</li></ul></ul>{:/} | |
| oldStatus | `"Pending"` \| `"Active"` \| `"Terminated"` \| `undefined` | The status of the Relationship before the operation, it's `undefined` if the operation is the Relationship's creation. | |
Expand Down

0 comments on commit d37455a

Please sign in to comment.