refactor: standardize formatting and enhance DocumentSchema

- Updated compose.yaml to use consistent quotation marks for port and labels.
- Refactored package.json to improve readability of Jest configuration.
- Enhanced DocumentSchema by adding a new event type for cursor movement and improving formatting for better clarity.
- Consolidated import statements in document.schema.ts for consistency and readability.
- Improved error handling and validation across various methods in DocumentSchema to enhance user experience.

These changes improve code maintainability and readability, ensuring a more consistent and user-friendly experience in the Document management features.
This commit is contained in:
2024-12-17 05:24:46 +07:00
parent 6b0b95bb32
commit 637e044a05
4 changed files with 387 additions and 236 deletions

View File

@@ -7,5 +7,6 @@ export enum DocumentEvent {
ACTIVE_DOCUMENT_ID_CHANGED = 'document_active_document_id_changed',
CLIENT_REQUEST_SYNC = 'document_client_request_sync',
SERVER_REQUEST_SYNC = 'document_server_request_sync',
CURSOR_MOVED = 'document_cursor_moved',
AI_SUGGESTION = 'document_ai_suggestion',
}

File diff suppressed because it is too large Load Diff