Clean documentation

This commit is contained in:
Romaric Mourgues
2023-04-17 17:00:03 +02:00
parent a46c6ca0a8
commit 88bd3b2a32
80 changed files with 138 additions and 2492 deletions
@@ -5,7 +5,7 @@ description: Application models for backend
# Database models
**applications**\
****Represent an application in the database
\*\*\*\*Represent an application in the database
```javascript
{
@@ -27,7 +27,7 @@ type ApplicationIdentity = {
description: string;
website: string;
categories: string[];
compatibility: "twake"[];
compatibility: "tdrive"[];
};
type ApplicationPublication = {
@@ -53,7 +53,7 @@ type ApplicationAccess = {
};
type ApplicationDisplay = {
twake: {
tdrive: {
"version": 1,
"files" : {
@@ -74,7 +74,7 @@ type ApplicationDisplay = {
//Chat plugin
"chat": {
"input": {
"icon": "", //If defined replace original icon url of your app
"icon": "", //If defined replace original icon url of your app
"type": "file" | "call" //To add in existing apps folder / default icon
},
"commands": [
@@ -113,18 +113,16 @@ type ApplicationDisplay = {
};
```
**company\_application**\
****Represent an application in a company
**company_application**\
\*\*\*\*Represent an application in a company
```javascript
{
"company_id": uuid;
"application_id": uuid;
"id": uuid;
"created_at": number;
"created_by": string; //Will be the default delegated user when doing actions on Twake
"created_by": string; //Will be the default delegated user when doing actions on TDrive
}
```