mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
close AF-1218 AF-1219
Added configuration for experimental features
Example:
```
const blocksuiteFeatureFlags = {
...
enable_expand_database_block: {
displayName: 'Enable Expand Database Block',
description: 'Allows expanding database blocks for better view and management.',
feedbackType: 'discord',
displayChannel: ['stable', 'beta', 'canary', 'internal'],
restrictedPlatform: 'client'
},
enable_ai_onboarding: {
displayName: 'AI Onboarding',
description: 'Enables AI onboarding.',
displayChannel: [],
defaultState: true,
},
...
}
```

Server
Get started
Install dependencies
yarn
Build Native binding
yarn workspace @affine/server-native build
Run server
yarn dev
now you can access the server GraphQL endpoint at http://localhost:3000/graphql