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
+23
View File
@@ -0,0 +1,23 @@
import type { ModuleIntegrations } from '@KTXC/types/moduleTypes'
const integrations: ModuleIntegrations = {
/**
* Register the text editor for text/plain, text/markdown, and text/html MIME types.
*
* Editor component contract:
* props: { entity: EntityObject, mime: string, readFile: Function, writeFile: Function }
*/
documents_file_editor: [
{
id: 'text_editor',
label: 'Text Editor',
priority: 20,
meta: {
mimeTypes: ['text/plain', 'text/markdown', 'text/x-markdown', 'text/html'],
},
component: () => import('./components/TextEditorViewer.vue'),
},
],
}
export default integrations