mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 00:56:26 +08:00
22 lines
682 B
TypeScript
22 lines
682 B
TypeScript
import { Module } from '@nestjs/common';
|
|
|
|
import { PrismaService } from '../../prisma';
|
|
import { FeatureManagementService } from './management';
|
|
import { FeatureService } from './service';
|
|
|
|
/**
|
|
* Feature module provider pre-user feature flag management.
|
|
* includes:
|
|
* - feature query/update/permit
|
|
* - feature statistics
|
|
*/
|
|
@Module({
|
|
providers: [FeatureService, FeatureManagementService],
|
|
exports: [FeatureService, FeatureManagementService],
|
|
})
|
|
export class FeatureModule {}
|
|
|
|
export { type CommonFeature, commonFeatureSchema } from './types';
|
|
export { FeatureKind, Features, FeatureType } from './types';
|
|
export { FeatureManagementService, FeatureService, PrismaService };
|