From bf184cb4beb3f8684c12204364994ccbc9f45581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20K=C3=B6nig?= Date: Wed, 5 Mar 2025 12:02:08 +0100 Subject: [PATCH 1/2] feat: make title of a file optional --- _docs_integrate/data-model-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs_integrate/data-model-overview.md b/_docs_integrate/data-model-overview.md index f441af0a9..574682676 100644 --- a/_docs_integrate/data-model-overview.md +++ b/_docs_integrate/data-model-overview.md @@ -186,7 +186,7 @@ The content of the File can be downloaded separately by executing the [Download | filename | `string` | The name of the file as it was on the device that uploaded it. | will be encrypted before sent to the Backbone | | filesize | `number` | The size of the plaintext file in bytes. | will be encrypted before sent to the Backbone | | mimetype | `string` | The [mimetype](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) of the file. | will be encrypted before sent to the Backbone | -| title | `string` | A human readable title of the file, which can be defined when uploading the File. | will be encrypted before sent to the Backbone | +| title | `string` \| `undefined` | A human readable title of the file, which can be defined when uploading the File. | will be encrypted before sent to the Backbone | | description | `string` \| `undefined` | A human readable description of the file, which can be defined when uploading the File. | will be encrypted before sent to the Backbone | | isOwn | `boolean` | {% include descr_isOwn class="File" %} | saved only locally | | truncatedReference | `string` | {% include descr_truncatedReference class="File" %} | saved only locally | From c52ced439b5859ccbfbeeb2a920df56a3ac2ce8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20K=C3=B6nig?= Date: Wed, 5 Mar 2025 12:03:10 +0100 Subject: [PATCH 2/2] refactor: template -> templateId --- _docs_integrate/data-model-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs_integrate/data-model-overview.md b/_docs_integrate/data-model-overview.md index 574682676..d705b4a9c 100644 --- a/_docs_integrate/data-model-overview.md +++ b/_docs_integrate/data-model-overview.md @@ -104,7 +104,7 @@ A Relationship between two Identities is the prerequisite for them to exchange M | Name | Type | Description | Remarks | | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------- | | id | `string` | {% include descr_id class="Relationship" prefix="REL" %} | | -| template | [`RelationshipTemplate`](#relationshiptemplate) | The RelationshipTemplate that was used to establish this Relationship. | | +| templateId | `string` | The ID of the RelationshipTemplate that was used to establish this Relationship. | | | status | `"Pending"` \| `"Active"` \| `"Rejected"` \| `"Revoked"` \| `"Terminated"` \| `"DeletionProposed"` | The status of this Relationship.
{::nomarkdown}{:/} | | | 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. | |