Add self-info endpoint for ProjectConfigurator discovery, sync shared updates
Lint / Lint (push) Successful in 1m5s
Tests / Go backend (push) Successful in 46s
Docker / Docker Build & Push (push) Failing after 2m1s
Tests / Dashboard checks (push) Successful in 49s

GET /api/info reports name/tabs/mount types (empty - state lives in Postgres,
no shared file mounts) so ProjectConfigurator's Projects workspace can
register this instance from just a URL.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Gabriel20xxandClaude Sonnet 5 committed 2026-09-04 15:07:02 +02:00
1 parent 557a61b4ee
commit bbf5d8bb05
126 files changed
+2897 -8542

No files matched your search

+62
View File
@@ -0,0 +1,62 @@
import js from '@eslint/js'
import globals from 'globals'
import svelte from 'eslint-plugin-svelte'
import prettierConfig from 'eslint-config-prettier'
import tseslint from 'typescript-eslint'
export default tseslint.config(
{ ignores: ['build', '.svelte-kit', 'node_modules'] },
js.configs.recommended,
...tseslint.configs.recommended,
...svelte.configs.recommended,
{
files: ['**/*.ts', '**/*.svelte'],
languageOptions: {
ecmaVersion: 2022,
globals: {
...globals.browser,
__MEDIA_APP__: 'readonly',
__FRONTEND_TECH_STACK__: 'readonly',
},
},
rules: {
'no-console': 'error',
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
},
},
{
files: ['**/*.{js,mjs,cjs}'],
languageOptions: {
ecmaVersion: 2022,
globals: globals.node,
},
rules: {},
},
{
files: ['**/*.svelte'],
languageOptions: {
parserOptions: {
parser: tseslint.parser,
extraFileExtensions: ['.svelte'],
},
},
rules: {
'prefer-const': 'off',
'svelte/no-navigation-without-resolve': 'off',
},
},
prettierConfig,
...svelte.configs.prettier,
{
files: ['**/*.svelte.ts'],
languageOptions: {
parser: tseslint.parser,
ecmaVersion: 2022,
globals: {
...globals.browser,
__MEDIA_APP__: 'readonly',
__FRONTEND_TECH_STACK__: 'readonly',
},
},
},
)