17 lines
958 B
TypeScript
17 lines
958 B
TypeScript
// Every area's feature modules, for the X runtime (src/inject/entry.tsx defines them in the
|
|
// registry). Each area exports `MODULES` from src/areas/<area>/index.ts.
|
|
|
|
import type { FeatureModule } from '../../../../waybetter/packages/runtime/src/featureModules.ts';
|
|
import type { PluginApi } from '../inject/pluginApi.ts';
|
|
import { MODULES as COMPOSE } from './compose/index.ts';
|
|
import { MODULES as READER } from './reader/index.ts';
|
|
import { MODULES as PROFILE } from './profile/index.ts';
|
|
import { MODULES as CHAT } from './chat/index.ts';
|
|
import { MODULES as MEDIA } from './media/index.ts';
|
|
import { MODULES as SEARCH } from './search/index.ts';
|
|
import { MODULES as NOTIFICATIONS } from './notifications/index.ts';
|
|
import { MODULES as NAVIGATION } from './navigation/index.ts';
|
|
|
|
export const ALL_MODULES: ReadonlyArray<FeatureModule<PluginApi>> = [
|
|
...COMPOSE, ...READER, ...PROFILE, ...CHAT, ...MEDIA, ...SEARCH, ...NOTIFICATIONS, ...NAVIGATION,
|
|
];
|