memos/server/router/api/v1
Steven 4c1d1c70d1 refactor: rename workspace to instance throughout codebase
Remove work-related terminology by renaming "workspace" to "instance"
across the entire application. This change better reflects that Memos
is a self-hosted tool suitable for personal and non-work use cases.

Breaking Changes:
- API endpoints: /api/v1/workspace/* → /api/v1/instance/*
- gRPC service: WorkspaceService → InstanceService
- Proto types: WorkspaceSetting → InstanceSetting
- Frontend translation keys: workspace-section → instance-section

Backend Changes:
- Renamed proto definitions and regenerated code
- Updated all store layer methods and database drivers
- Renamed service implementations and API handlers
- Updated cache from workspaceSettingCache to instanceSettingCache

Frontend Changes:
- Renamed service client: workspaceServiceClient → instanceServiceClient
- Updated all React components and state management
- Refactored stores: workspace.ts → instance.ts
- Updated all 32 locale translation files

All tests pass and both backend and frontend build successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 23:35:35 +08:00
..
test refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
acl.go chore: fix reactions seed data 2025-10-27 20:27:27 +08:00
acl_config.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
activity_service.go chore: fix linter 2025-10-31 08:36:12 +08:00
attachment_service.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
auth.go chore: fix reactions seed data 2025-10-27 20:27:27 +08:00
auth_service.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
auth_service_client_info_test.go chore: fix linter 2025-08-31 20:22:32 +08:00
common.go refactor: remove unused constants 2025-10-16 20:40:46 +08:00
health_service.go
idp_service.go chore: fix linter 2025-08-31 20:22:32 +08:00
instance_service.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
logger_interceptor.go
memo_attachment_service.go
memo_relation_service.go refactor: update markdown parser 2025-10-26 11:28:40 +08:00
memo_service.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
memo_service_converter.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
memo_service_filter.go
reaction_service.go fix: add user authentication checks 2025-10-08 20:30:05 +08:00
resource_name.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
shortcut_service.go refactor: remove unused constants 2025-10-16 20:40:46 +08:00
test_auth.go
user_service.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
user_service_stats.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
v1.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00