diff --git a/composer/composer/autoload_classmap.php b/composer/composer/autoload_classmap.php index bb893afcd1..5d10b06aaf 100644 --- a/composer/composer/autoload_classmap.php +++ b/composer/composer/autoload_classmap.php @@ -85,6 +85,8 @@ 'OCA\\Richdocuments\\Settings\\Section' => $baseDir . '/../lib/Settings/Section.php', 'OCA\\Richdocuments\\TemplateManager' => $baseDir . '/../lib/TemplateManager.php', 'OCA\\Richdocuments\\Template\\CollaboraTemplateProvider' => $baseDir . '/../lib/Template/CollaboraTemplateProvider.php', + 'OCA\\Richdocuments\\Template\\Field' => $baseDir . '/../lib/Template/Field.php', + 'OCA\\Richdocuments\\Template\\FieldType' => $baseDir . '/../lib/Template/FieldType.php', 'OCA\\Richdocuments\\TokenManager' => $baseDir . '/../lib/TokenManager.php', 'OCA\\Richdocuments\\UploadException' => $baseDir . '/../lib/UploadException.php', 'OCA\\Richdocuments\\WOPI\\Parser' => $baseDir . '/../lib/WOPI/Parser.php', diff --git a/composer/composer/autoload_static.php b/composer/composer/autoload_static.php index 3dbb05187e..fecd83902d 100644 --- a/composer/composer/autoload_static.php +++ b/composer/composer/autoload_static.php @@ -100,6 +100,8 @@ class ComposerStaticInitRichdocuments 'OCA\\Richdocuments\\Settings\\Section' => __DIR__ . '/..' . '/../lib/Settings/Section.php', 'OCA\\Richdocuments\\TemplateManager' => __DIR__ . '/..' . '/../lib/TemplateManager.php', 'OCA\\Richdocuments\\Template\\CollaboraTemplateProvider' => __DIR__ . '/..' . '/../lib/Template/CollaboraTemplateProvider.php', + 'OCA\\Richdocuments\\Template\\Field' => __DIR__ . '/..' . '/../lib/Template/Field.php', + 'OCA\\Richdocuments\\Template\\FieldType' => __DIR__ . '/..' . '/../lib/Template/FieldType.php', 'OCA\\Richdocuments\\TokenManager' => __DIR__ . '/..' . '/../lib/TokenManager.php', 'OCA\\Richdocuments\\UploadException' => __DIR__ . '/..' . '/../lib/UploadException.php', 'OCA\\Richdocuments\\WOPI\\Parser' => __DIR__ . '/..' . '/../lib/WOPI/Parser.php', diff --git a/lib/Template/Field.php b/lib/Template/Field.php new file mode 100644 index 0000000000..70511f3e58 --- /dev/null +++ b/lib/Template/Field.php @@ -0,0 +1,16 @@ +type = $type; + } +} diff --git a/lib/Template/FieldType.php b/lib/Template/FieldType.php new file mode 100644 index 0000000000..e5e0c176d9 --- /dev/null +++ b/lib/Template/FieldType.php @@ -0,0 +1,12 @@ +