AFFiNE/packages/backend/server/tests
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
..
utils refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
app.e2e.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
auth.e2e.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
auth.spec.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
cache.spec.ts refactor(server): folder structure (#5573) 2024-01-12 04:18:39 +00:00
config.spec.ts refactor(server): folder structure (#5573) 2024-01-12 04:18:39 +00:00
doc.spec.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
feature.spec.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
history.spec.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
mailer.e2e.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
mailer.spec.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
quota.spec.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
session.spec.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
sync.spec.ts fix(server): node imports order (#5583) 2024-01-14 05:47:56 +00:00
tsconfig.json refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
user.e2e.ts fix(server): node imports order (#5583) 2024-01-14 05:47:56 +00:00
workspace-blobs.spec.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
workspace-invite.e2e.ts refactor(server): plugin modules (#5630) 2024-01-22 07:40:28 +00:00
workspace.e2e.ts fix(server): node imports order (#5583) 2024-01-14 05:47:56 +00:00