chore: implement js test suites

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-07-24 00:14:15 -04:00
commit 8799ad0e70
21 changed files with 5409 additions and 0 deletions
+60
View File
@@ -0,0 +1,60 @@
<?php
namespace KTXM\DocumentsTextEditor;
use KTXF\Module\ModuleBrowserInterface;
use KTXF\Module\ModuleInstanceAbstract;
/**
* Documents Text Editor — provides inline editing for text, Markdown, and HTML files
* via the documents_file_editor integration point.
*/
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
{
public function __construct()
{ }
public function handle(): string
{
return 'documents_text_editor';
}
public function label(): string
{
return 'Documents Text Editor';
}
public function author(): string
{
return 'Ktrix';
}
public function description(): string
{
return 'Provides inline text, Markdown, and HTML editing for the Documents module via the file editor integration point.';
}
public function version(): string
{
return '0.0.1';
}
public function permissions(): array
{
return [];
}
public function registerBI(): array
{
return [
'handle' => $this->handle(),
'namespace' => 'DocumentsTextEditor',
'version' => $this->version(),
'label' => $this->label(),
'author' => $this->author(),
'description' => $this->description(),
'boot' => 'static/module.mjs',
];
}
}