Commit Graph

24 Commits

Author SHA1 Message Date
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
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
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
16f6f8a629 chore: update package dependencies and adjust GraphQL upload imports
- Updated various package dependencies in package-lock.json and package.json for improved stability and performance.
- Changed import paths for graphql-upload to use .mjs extensions, ensuring compatibility with ES modules.
- Added @types/graphql-upload to package.json for better TypeScript support.
- Adjusted Jest configuration for improved readability and maintainability.
2024-12-07 19:54:37 +07:00
7729d3ce63 refactor: improve code readability and logging in GraphQL builder
- Reformat plugin array for better readability in the Builder class constructor.
- Enhance unused query handling by adding logging for unused queries in development.
- Update TypeScript error comment for clarity in GraphqlModule, specifying that the request is not typed.
2024-11-30 17:00:34 +07:00
88941394eb super bug 2024-11-18 15:34:32 +07:00
3430971449 toi bi ngu 2024-11-17 20:27:33 +07:00
270d185f18 backend cung da bi lac 2024-11-15 20:09:07 +07:00
ff45e69efd push code chua nhi? 2024-11-11 22:04:39 +07:00
e0a8b0aaa0 update service and category 2024-11-11 18:55:24 +07:00
57037a59ec update websocket 2024-11-06 17:16:10 +07:00
56ba2808c8 day len server theo loi Khoi noi, toi xin tuyen bo mien tru trach nhiem 2024-11-05 15:02:53 +07:00
bc2eda7490 update payment 2024-11-03 20:28:14 +07:00
1a5577f8e6 fix some bug and produce many problem to solve later 2024-11-02 16:27:28 +07:00
ec77f07de1 fix time geneate logic and replace default datetime by luxon 2024-11-01 17:27:25 +07:00
152bb50da8 refactor source code 2024-10-29 17:42:54 +07:00
9423a36eeb add context subscription 2024-10-29 02:21:18 +07:00
eec9fcfeff push code ne 2024-10-28 01:08:13 +07:00
1a7b5a5fb6 add invite staff 2024-10-27 16:48:56 +07:00
7e25e8d96b merge change from db 2024-10-25 14:49:16 +07:00
2872ac69ef update service status 2024-10-23 15:43:50 +07:00
338cb84ac9 big gift 2024-10-20 19:29:54 +07:00
0ac5868d2d ba me oi con thanh cong roi 2024-10-14 23:05:35 +07:00
0e3aa751ce Fixing file name casing 2024-10-12 23:15:06 +07:00