Commit Graph
49 Commits
Author SHA1 Message Date
tuankiet2s 4435bc0804 refactor: standardize code formatting and improve readability in User schema
- Reformatted import statements and method calls to use consistent line endings and spacing, enhancing code clarity.
- Updated error handling messages to maintain uniformity across the schema.
- Improved overall readability by ensuring consistent use of semicolons and line breaks, making the code easier to navigate and maintain.
2024-12-10 16:37:10 +07:00
An Vu d242c39e2e commit expose quizAttempt 2024-12-10 13:05:15 +07:00
tuankiet2s ba32ee8dc1 chore: refactor pub/sub iterator usage across schema files
- Updated pub/sub iterator methods from `asyncIterableIterator` to `asyncIterator` in multiple schema files for improved compatibility with the latest GraphQL subscriptions.
- Refactored subscription logic in CollaborationSession, Document, Message, User, and other schema files to enhance readability and maintainability.
- Adjusted imports in GraphQL builder to utilize RedisPubSub for better performance in subscription handling.
2024-12-08 21:54:23 +07:00
tuankiet2s 45dca51990 chore: update biome configuration and enhance error handling in schema files
- Enabled useIgnoreFile in biome.json for better file management.
- Updated various correctness and style rules in biome.json to enforce stricter coding standards.
- Added new biome lint command in package.json for improved code quality checks.
- Refactored error handling in multiple schema files to use consistent error throwing patterns, enhancing readability and maintainability.
- Improved user authentication checks across various schemas to ensure proper access control.
2024-12-08 21:01:26 +07:00
tuankiet2s 10e20092ab chore: update configuration and improve schema imports
- Updated biome.json to include "graphql.d.ts" in the ignored files list.
- Updated subproject commit reference in epess-database to the latest version.
- Removed unused script from package.json and streamlined module file extensions in tsconfig.json.
- Consolidated exclude patterns in tsconfig.build.json for clarity.
- Refactored imports across multiple schema files for consistency and improved readability.
- Enhanced various schema files by ensuring proper import order and removing redundant code.
- Improved error handling and data integrity checks in several service and schema files.
2024-12-08 20:49:52 +07:00
tuankiet2s 9e6d62e4be chore: update package dependencies and improve pub/sub iterator usage
- Updated various package dependencies in package-lock.json and package.json for enhanced stability and performance.
- Changed pub/sub iterator methods from `asyncIterator` to `asyncIterableIterator` in multiple schema files for better compatibility with the latest GraphQL subscriptions.
- Added `moduleResolution` option in tsconfig.json to support Node.js-style module resolution.
2024-12-08 20:38:09 +07:00
tuankiet2s a619c95efc Update dependencies in package.json and package-lock.json, refactor CronService to include notification handling for schedule expirations, and enhance DocumentSchema with OpenAI integration for document editing suggestions. Additionally, modify GraphqlModule to include PubSubModule for real-time notifications and improve datetime utility functions for better date formatting. Update epess-database subproject reference to indicate a dirty state. 2024-11-30 16:41:47 +07:00
tuankiet2s 77f44a891f Refactor CollaborationSession and Document schemas to improve code clarity and functionality. Enhance error handling in collaboration session retrieval and update logic. Introduce new request sync events in Document schema and update Minio service for document page management. Adjust cron job to use current date for future schedule date checks. Update user schema for better error handling and improve service descriptions in order schema. Remove global decorators from Workshop modules for better module encapsulation. 2024-11-27 06:48:49 +07:00
tuankiet2s d1ba07434a chuc mung ban da duoc ban 2024-11-25 16:45:51 +07:00
tuankiet2s 8abf867fbb ba me thang khoi 2024-11-25 16:16:49 +07:00
tuankiet2s ccfe7bf1f1 update gi cung duoc 2024-11-22 16:04:53 +07:00
tuankiet2s d8a3894aba update manyyyyyyyyy 2024-11-22 15:06:49 +07:00
tuankiet2s d56e1f9348 update transaction 2024-11-21 18:30:32 +07:00
unclebonn 4e6ade0679 format code 2024-11-19 16:12:39 +07:00
unclebonn 9a134645a7 update order id 2024-11-19 16:09:56 +07:00
tuankiet2s 88941394eb super bug 2024-11-18 15:34:32 +07:00
tuankiet2s 3430971449 toi bi ngu 2024-11-17 20:27:33 +07:00
tuankiet2s ff45e69efd push code chua nhi? 2024-11-11 22:04:39 +07:00
tuankiet2s e0a8b0aaa0 update service and category 2024-11-11 18:55:24 +07:00
TyrannoandGitHub 705c4b53d8 Update user.schema.ts 2024-11-11 13:13:45 +07:00
tuankiet2s 95a092cec9 😒 2024-11-09 18:44:35 +07:00
tuankiet2s 57037a59ec update websocket 2024-11-06 17:16:10 +07:00
tuankiet2s 56ba2808c8 day len server theo loi Khoi noi, toi xin tuyen bo mien tru trach nhiem 2024-11-05 15:02:53 +07:00
tuankiet2s ec77f07de1 fix time geneate logic and replace default datetime by luxon 2024-11-01 17:27:25 +07:00
tuankiet2s 8631bd935d fix admin note is required in mentor 2024-10-29 19:49:22 +07:00
tuankiet2s e003bcd634 implement platform config 2024-10-29 19:06:01 +07:00
tuankiet2s 152bb50da8 refactor source code 2024-10-29 17:42:54 +07:00
tuankiet2s 3c5b09ed5d update resume and service 2024-10-29 16:04:48 +07:00
tuankiet2s 9423a36eeb add context subscription 2024-10-29 02:21:18 +07:00
tuankiet2s ba54d3466c optimize context 2024-10-29 01:54:19 +07:00
tuankiet2s 34cea2ccd3 implement redis cache for context 2024-10-29 00:56:23 +07:00
tuankiet2s f787d0c194 9h sang tao code tiep 2024-10-28 02:56:36 +07:00
tuankiet2s eec9fcfeff push code ne 2024-10-28 01:08:13 +07:00
tuankiet2s ef89372e8c update invite center staff 2024-10-27 19:47:50 +07:00
tuankiet2s 9e0e97a560 refactor schema to match database schema 2024-10-27 13:12:24 +07:00
tuankiet2s 48305a3948 AI da dat ten cho dong song 2024-10-26 11:10:14 +07:00
tuankiet2s 2b6d3869f9 update handle session 2024-10-25 15:19:20 +07:00
tuankiet2s 7e25e8d96b merge change from db 2024-10-25 14:49:16 +07:00
tuankiet2s 2872ac69ef update service status 2024-10-23 15:43:50 +07:00
tuankiet2s 8652c9e89a update user schema 2024-10-18 17:11:29 +07:00
tuankiet2s 7714a0fb79 db bump 2024-10-18 15:52:03 +07:00
tuankiet2s 1523642b9d update schema due to majority database change 2024-10-18 01:50:26 +07:00
tuankiet2s 8817f961a8 update pagination 2024-10-17 19:06:51 +07:00
tuankiet2s f9967ac5bd refactor and update get url logic 2024-10-17 17:02:03 +07:00
tuankiet2s 5c56e79d63 phong bat 2024-10-17 15:15:08 +07:00
tuankiet2s 59923b02cb push code push code 2024-10-17 15:02:25 +07:00
tuankiet2s 75a10356da add centerstaff mutation 2024-10-13 19:38:51 +07:00
tuankiet2s 263ff4e207 update cors 2024-10-13 17:12:33 +07:00
tuankiet2s 0e3aa751ce Fixing file name casing 2024-10-12 23:15:06 +07:00