AFFiNE/packages/backend/server/tests/utils
liuyi e516e0db23
refactor(server): plugin modules (#5630)
- [x] separates modules into `fundamental`, `core`, `plugins`
- [x] optional modules with `@OptionalModule` decorator to install modules with requirements met(`requires`, `if`)
- [x] `module.contributesTo` defines optional features that will be enabled if module registered
- [x] `AFFiNE.plugins.use('payment', {})` to enable a optional/plugin module
- [x] `PaymentModule` is the first plugin module
- [x] GraphQLSchema will not be generated for non-included modules
- [x] Frontend can use `ServerConfigType` query to detect which features are enabled
- [x] override existing provider globally
2024-01-22 07:40:28 +00:00
..
blobs.ts feat: use SafeInt replace Float (#5613) 2024-01-17 12:36:21 +00:00
common.ts feat: struct type feature config (#5142) 2023-12-14 09:50:52 +00:00
index.ts feat: struct type feature config (#5142) 2023-12-14 09:50:52 +00:00
invite.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
user.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
utils.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
workspace.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00