mirror of
https://github.com/zadam/trilium.git
synced 2025-12-10 01:14:25 +01:00
- Add database migration v234 for multi-user schema - Implement users, roles, user_roles, and note_shares tables - Add user management service with CRUD operations - Implement role-based permission system (Admin/Editor/Reader) - Add RESTful user management API endpoints - Update login flow to support username + password authentication - Maintain backward compatibility with legacy password-only login - Create default admin user from existing credentials during migration - Add session management for multi-user authentication - Include TypeScript type definitions for Node.js globals Tests: 948 passed | 17 skipped (965 total) Build: Successful (server and client) TypeScript: Zero errors
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"target": "ES2020",
|
|
"outDir": "dist",
|
|
"types": [
|
|
"node",
|
|
"express"
|
|
],
|
|
"rootDir": "src",
|
|
"tsBuildInfoFile": "dist/tsconfig.app.tsbuildinfo"
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.d.ts",
|
|
"package.json"
|
|
],
|
|
"exclude": [
|
|
"eslint.config.js",
|
|
"eslint.config.cjs",
|
|
"eslint.config.mjs",
|
|
"vite.config.ts",
|
|
"vite.config.mts",
|
|
"vitest.config.ts",
|
|
"vitest.config.mts",
|
|
"src/**/*.test.ts",
|
|
"src/**/*.spec.ts",
|
|
"src/**/*.test.tsx",
|
|
"src/**/*.spec.tsx",
|
|
"src/**/*.test.js",
|
|
"src/**/*.spec.js",
|
|
"src/**/*.test.jsx",
|
|
"src/**/*.spec.jsx"
|
|
],
|
|
"references": [
|
|
{
|
|
"path": "../../packages/ckeditor5/tsconfig.lib.json"
|
|
},
|
|
{
|
|
"path": "../../packages/turndown-plugin-gfm/tsconfig.lib.json"
|
|
},
|
|
{
|
|
"path": "../../packages/express-partial-content/tsconfig.lib.json"
|
|
},
|
|
{
|
|
"path": "../../packages/commons/tsconfig.lib.json"
|
|
}
|
|
]
|
|
}
|