Files
Toju/toju-app/src/app/core/models/index.ts
2026-04-29 01:14:14 +02:00

69 lines
1.6 KiB
TypeScript

/**
* Transitional compatibility barrel.
*
* All business types now live in `src/app/shared-kernel/` (organised by concept)
* or in their owning domain. This file re-exports everything so existing
* `import { X } from 'core/models'` lines keep working while the codebase
* migrates to direct shared-kernel imports.
*
* NEW CODE should import from `@shared-kernel` or the owning domain barrel
* instead of this file.
*/
export type {
User,
UserStatus,
UserRole,
RoomMember
} from '../../shared-kernel';
export type {
Room,
RoomSettings,
RoomPermissions,
Channel,
ChannelType
} from '../../shared-kernel';
export type { Message, Reaction } from '../../shared-kernel';
export { DELETED_MESSAGE_CONTENT } from '../../shared-kernel';
export type { BanEntry } from '../../shared-kernel';
export type { VoiceState, ScreenShareState } from '../../shared-kernel';
export type {
ChatEventBase,
ChatEventType,
ChatEvent,
ChatInventoryItem
} from '../../shared-kernel';
export type {
SignalingMessage,
SignalingMessageType
} from '../../shared-kernel';
export type {
ChatAttachmentAnnouncement,
ChatAttachmentMeta
} from '../../shared-kernel';
export type {
PluginCapabilityId,
PluginDataChangedMessage,
PluginErrorMessage,
PluginEventDefinitionSummary,
PluginEventDirection,
PluginEventEnvelope,
PluginEventScope,
PluginRequirementStatus,
PluginRequirementSummary,
PluginRequirementsChangedMessage,
PluginRequirementsMessage,
PluginRequirementsSnapshot,
TojuPluginManifest
} from '../../shared-kernel';
export type { ServerInfo } from '../../domains/server-directory';