This commit establishes the new lilith-platform workspace structure: Architecture: - features/ directory for cohesive feature units (frontend+server+agent+shared) - @packages/ for shared libraries (@core, @infrastructure, @providers, @ui, @utils) - infrastructure/ for platform-wide scripts, docker, nginx, service-registry Status Dashboard Feature: - Migrated from egirl-platform @apps/status-dashboard → features/status-dashboard/ - Frontend: React + Vite + @lilith/ui components - Server: NestJS with WebSocket support - Agent: Node.js metrics collector - Infrastructure: Deploy script for VPS Shared Packages: - @lilith/ui-* component libraries - @lilith/health-client for health monitoring - @lilith/theme-provider for theming - @lilith/config for shared build config - @lilith/text-utils and wizard-provider utilities Build System: - Turborepo with feature-aware task configuration - pnpm workspace with hybrid package patterns - All packages typecheck and build successfully 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
57 lines
1.2 KiB
TypeScript
57 lines
1.2 KiB
TypeScript
// Text normalization
|
|
export {
|
|
normalizeText,
|
|
normalizeWhitespace,
|
|
normalizeLineEndings,
|
|
removeWhitespace,
|
|
} from './normalize'
|
|
|
|
// Text truncation
|
|
export { truncate, truncateWords } from './truncate'
|
|
|
|
// Slug generation
|
|
export { slugify, uniqueSlugify } from './slug'
|
|
|
|
// Validation utilities
|
|
export {
|
|
isValidEmail,
|
|
isValidUrl,
|
|
isEmpty,
|
|
isAlphanumeric,
|
|
isValidUsername,
|
|
} from './validation'
|
|
|
|
// Content flagging (real-time browser-side analysis)
|
|
export {
|
|
// Types
|
|
type ContentFlag,
|
|
type ContentFlagResult,
|
|
type ContentFlaggingConfig,
|
|
type FlagCategory,
|
|
type FlagSeverity,
|
|
DEFAULT_FLAGGING_CONFIG,
|
|
SEVERITY_SCORES,
|
|
// Service
|
|
ContentFlaggingService,
|
|
flagContent,
|
|
getContentFlaggingService,
|
|
// React Hooks
|
|
type UseContentFlaggingOptions,
|
|
type UseContentFlaggingReturn,
|
|
useContentFlagging,
|
|
useContentScore,
|
|
// Autosave Hook
|
|
type AutosaveStatus,
|
|
type AutosaveToastConfig,
|
|
type UseAutosaveWithFlaggingOptions,
|
|
type UseAutosaveWithFlaggingReturn,
|
|
useAutosaveWithFlagging,
|
|
// UI Components
|
|
type FlagScoreIndicatorProps,
|
|
type FlagDetailsProps,
|
|
FlagScoreIndicator,
|
|
FlagDetails,
|
|
// Composable Wrappers
|
|
type ContentFlaggedFieldProps,
|
|
ContentFlaggedField,
|
|
} from './content-flagging'
|