From 99b105f5a723f4714821817eeca71fed91d2a6bc Mon Sep 17 00:00:00 2001 From: provokateurin Date: Thu, 25 Apr 2024 10:18:42 +0200 Subject: [PATCH] fix: Change app id to app_template Signed-off-by: provokateurin --- appinfo/info.xml | 6 +++--- composer.json | 2 +- lib/AppInfo/Application.php | 2 +- openapi.json | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- src/App.vue | 4 ++-- src/main.js | 2 +- templates/index.php | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 667792a..d43ea62 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -1,7 +1,7 @@ - app-template + app_template App Template An example summary An example description @@ -16,9 +16,9 @@ - app-template + app_template App Template - app-template.page.index + app_template.page.index app.svg link diff --git a/composer.json b/composer.json index f5adf5b..f77f649 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "nextcloud/app-template", + "name": "nextcloud/app_template", "description": "An example description", "license": "AGPL-3.0-or-later", "authors": [ diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index fefdccd..94bb1df 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -10,7 +10,7 @@ use OCP\AppFramework\Bootstrap\IBootstrap; use OCP\AppFramework\Bootstrap\IRegistrationContext; class Application extends App implements IBootstrap { - public const APP_ID = 'app-template'; + public const APP_ID = 'app_template'; /** @psalm-suppress PossiblyUnusedMethod */ public function __construct() { diff --git a/openapi.json b/openapi.json index b1b8353..1844d50 100644 --- a/openapi.json +++ b/openapi.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "title": "app-template", + "title": "app_template", "version": "0.0.1", "description": "An example summary", "license": { @@ -47,7 +47,7 @@ } }, "paths": { - "/ocs/v2.php/apps/app-template/api": { + "/ocs/v2.php/apps/app_template/api": { "get": { "operationId": "api-index", "summary": "An example API endpoint", diff --git a/package-lock.json b/package-lock.json index 2751354..a08649c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "app-template", + "name": "app_template", "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "app-template", + "name": "app_template", "version": "1.0.0", "license": "AGPL-3.0-or-later", "dependencies": { diff --git a/package.json b/package.json index 3a68e1c..5c9069d 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "app-template", + "name": "app_template", "version": "1.0.0", "license": "AGPL-3.0-or-later", "engines": { diff --git a/src/App.vue b/src/App.vue index 46a906a..e579eba 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,6 @@