refactor: Fix psalm issues

- Add typing for most of the services, controllers and mappers
- Add api doc for mappers
- Use vendor-bin for psalm
- Use attributes for controllers
- Fix upload of attachments

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
This commit is contained in:
Carl Schwan
2025-09-23 16:59:09 +02:00
parent 64741e455d
commit 5cf486150a
77 changed files with 4257 additions and 1393 deletions

View File

@@ -90,8 +90,8 @@
}
],
"assignedUsers": [],
"attachments": null,
"attachmentCount": null,
"attachments": [],
"attachmentCount": 0,
"owner": {
"primaryKey": "admin",
"uid": "admin",
@@ -123,8 +123,8 @@
"createdAt": 1689667572,
"labels": [],
"assignedUsers": [],
"attachments": null,
"attachmentCount": null,
"attachments": [],
"attachmentCount": 0,
"owner": {
"primaryKey": "admin",
"uid": "admin",
@@ -168,8 +168,8 @@
"type": 0
}
],
"attachments": null,
"attachmentCount": null,
"attachments": [],
"attachmentCount": 0,
"owner": {
"primaryKey": "admin",
"uid": "admin",
@@ -240,8 +240,8 @@
}
],
"assignedUsers": [],
"attachments": null,
"attachmentCount": null,
"attachments": [],
"attachmentCount": 0,
"owner": {
"primaryKey": "admin",
"uid": "admin",
@@ -283,8 +283,8 @@
}
],
"assignedUsers": [],
"attachments": null,
"attachmentCount": null,
"attachments": [],
"attachmentCount": 0,
"owner": {
"primaryKey": "admin",
"uid": "admin",
@@ -328,8 +328,8 @@
"type": 0
}
],
"attachments": null,
"attachmentCount": null,
"attachments": [],
"attachmentCount": 0,
"owner": {
"primaryKey": "admin",
"uid": "admin",
@@ -493,8 +493,8 @@
"createdAt": 1689667483,
"labels": [],
"assignedUsers": [],
"attachments": null,
"attachmentCount": null,
"attachments": [],
"attachmentCount": 0,
"owner": {
"primaryKey": "admin",
"uid": "admin",
@@ -526,8 +526,8 @@
"createdAt": 1689667518,
"labels": [],
"assignedUsers": [],
"attachments": null,
"attachmentCount": null,
"attachments": [],
"attachmentCount": 0,
"owner": {
"primaryKey": "admin",
"uid": "admin",
@@ -559,8 +559,8 @@
"createdAt": 1689667527,
"labels": [],
"assignedUsers": [],
"attachments": null,
"attachmentCount": null,
"attachments": [],
"attachmentCount": 0,
"owner": {
"primaryKey": "admin",
"uid": "admin",
@@ -592,8 +592,8 @@
"createdAt": 1689667537,
"labels": [],
"assignedUsers": [],
"attachments": null,
"attachmentCount": null,
"attachments": [],
"attachmentCount": 0,
"owner": {
"primaryKey": "admin",
"uid": "admin",
@@ -636,8 +636,8 @@
"createdAt": 1689667488,
"labels": [],
"assignedUsers": [],
"attachments": null,
"attachmentCount": null,
"attachments": [],
"attachmentCount": 0,
"owner": {
"primaryKey": "admin",
"uid": "admin",
@@ -680,8 +680,8 @@
"createdAt": 1689667493,
"labels": [],
"assignedUsers": [],
"attachments": null,
"attachmentCount": null,
"attachments": [],
"attachmentCount": 0,
"owner": {
"primaryKey": "admin",
"uid": "admin",
@@ -713,8 +713,8 @@
"createdAt": 1689667502,
"labels": [],
"assignedUsers": [],
"attachments": null,
"attachmentCount": null,
"attachments": [],
"attachmentCount": 0,
"owner": {
"primaryKey": "admin",
"uid": "admin",