diff options
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 6 | ||||
-rw-r--r-- | appinfo/info.xml | 27 | ||||
-rw-r--r-- | appinfo/routes.php | 17 |
3 files changed, 50 insertions, 0 deletions
diff --git a/appinfo/app.php b/appinfo/app.php new file mode 100644 index 000000000..e29799f72 --- /dev/null +++ b/appinfo/app.php @@ -0,0 +1,6 @@ +<?php +declare(strict_types=1); + +namespace OCA\Text\AppInfo; + + diff --git a/appinfo/info.xml b/appinfo/info.xml new file mode 100644 index 000000000..68674d1f0 --- /dev/null +++ b/appinfo/info.xml @@ -0,0 +1,27 @@ +<?xml version="1.0"?> +<info xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd"> + <id>text</id> + <name>Text</name> + <summary>Type together</summary> + <description>Collaborative text editor</description> + <version>0.1.0-dev1</version> + <licence>agpl</licence> + <author mail="jus@bitgrid.net">Julius Härtl</author> + <namespace>Text</namespace> + <category>type</category> + <website>https://github.com/nextcloud/text</website> + <bugs>https://github.com/nextcloud/text/issues</bugs> + <repository type="git">https://github.com/nextcloud/text.git</repository> + <screenshot>https://raw.githubusercontent.com/nextcloud/text/master/img/screenshot.png</screenshot> + <dependencies> + <nextcloud min-version="15" max-version="16"/> + </dependencies> + <navigations> + <navigation> + <name>Text</name> + <route>text.Navigation.navigate</route> + <order>6</order> + </navigation> + </navigations> +</info> diff --git a/appinfo/routes.php b/appinfo/routes.php new file mode 100644 index 000000000..468b47616 --- /dev/null +++ b/appinfo/routes.php @@ -0,0 +1,17 @@ +<?php +declare(strict_types=1); + +namespace OCA\Text\AppInfo; + +return [ + 'routes' => [ + ['name' => 'Navigation#navigate', 'url' => '/', 'verb' => 'GET'], + + ['name' => 'Session#create', 'url' => '/session/create', 'verb' => 'GET'], + ['name' => 'Sync#sync', 'url' => '/session/sync', 'verb' => 'GET'], + ['name' => 'Session#push', 'url' => '/session/push', 'verb' => 'GET'], + ['name' => 'Session#get', 'url' => '/session/get', 'verb' => 'GET'], + ['name' => 'Session#close', 'url' => '/session/close', 'verb' => 'GET'], + + ] +]; |