Initial commit

This commit is contained in:
root
2025-12-21 09:59:39 -05:00
committed by Sebastian Krupinski
commit cc4e467cef
36 changed files with 7133 additions and 0 deletions

66
lib/Module.php Normal file
View File

@@ -0,0 +1,66 @@
<?php
namespace KTXM\Chrono;
use KTXF\Module\ModuleBrowserInterface;
use KTXF\Module\ModuleInstanceAbstract;
/**
* Chrono Module - Calendaring and Tasks
*/
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
{
public function __construct()
{ }
public function handle(): string
{
return 'chrono';
}
public function label(): string
{
return 'Chrono';
}
public function author(): string
{
return 'Ktrix';
}
public function description(): string
{
return 'Calendar and task management interface - provides event scheduling, task tracking, and time management capabilities';
}
public function version(): string
{
return '0.0.1';
}
public function permissions(): array
{
return [
'chrono' => [
'label' => 'Access Chrono',
'description' => 'View and access the calendar and task management module',
'group' => 'Calendar & Tasks'
],
];
}
public function registerBI(): array
{
return [
'handle' => $this->handle(),
'namespace' => 'Chrono',
'version' => $this->version(),
'label' => $this->label(),
'author' => $this->author(),
'description' => $this->description(),
'boot' => 'static/module.mjs',
];
}
}