aboutsummaryrefslogtreecommitdiffstats
path: root/core/ResponseDefinitions.php
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-09-07 12:37:09 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-10-18 13:21:50 +0200
commitc8cab9d2fd347975d3d5b4e1d7d9b549e5db6e25 (patch)
treed7d5bac2d10a2af4c4703d95bb74aef1a287a804 /core/ResponseDefinitions.php
parent9bdf98f699e8c484d19fd6210c50765f36bd08ee (diff)
downloadnextcloud-server-c8cab9d2fd347975d3d5b4e1d7d9b549e5db6e25.tar.gz
nextcloud-server-c8cab9d2fd347975d3d5b4e1d7d9b549e5db6e25.zip
Implement TextToImage OCP API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/ResponseDefinitions.php')
-rw-r--r--core/ResponseDefinitions.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/ResponseDefinitions.php b/core/ResponseDefinitions.php
index 7e2bc643ce5..97c91c5bbe0 100644
--- a/core/ResponseDefinitions.php
+++ b/core/ResponseDefinitions.php
@@ -144,6 +144,15 @@ namespace OCA\Core;
* output: ?string,
* identifier: string,
* }
+ *
+ * @psalm-type CoreTextToImageTask = array{
+ * id: ?int,
+ * status: 0|1|2|3|4,
+ * userId: ?string,
+ * appId: string,
+ * input: string,
+ * identifier: string,
+ * }
*/
class ResponseDefinitions {
}