Files
multi-simadmin/apps/web/src/index.ts
T
chick a75badeb58 feat(web): rebuild the console around the fused control plane
Render the Hub feature set in the existing Animal Island styling: fleet
messages, notification centre, log centre, organisation panel, per-instance
device module panels and the settings backup, connection and maintenance
surfaces.
2026-09-05 18:53:04 +08:00

251 lines
6.3 KiB
TypeScript

export {
AppShell,
resolveRoute,
type AppShellProps,
type InstanceContext,
type InstanceModule,
type ResolvedRoute,
type RouteKind,
} from './app-shell.js';
export {
FleetPage,
accessMethod,
canonicalHttpOrigin,
type FleetDataSource,
type FleetPageProps,
type FleetSnapshot,
} from './fleet/fleet-page.js';
export {
FleetMessagesPage,
createFleetMessagesCenterApiDataSource,
sanitizeFleetMessagesDeleteResult,
sanitizeFleetMessagesSnapshot,
sanitizeFleetOutboxFlushResult,
sanitizeFleetOutboxPage,
type FleetMessagesCenterDataSource,
type FleetMessagesDeleteFailure,
type FleetMessagesDeleteInput,
type FleetMessagesDeleteItem,
type FleetMessagesDeleteResult,
type FleetMessagesDevice,
type FleetMessagesLoadQuery,
type FleetMessagesMessage,
type FleetMessagesPageProps,
type FleetMessagesSendInput,
type FleetMessagesSendResult,
type FleetMessagesSnapshot,
type FleetOutboxFlushResult,
type FleetOutboxItem,
type FleetOutboxPage,
type FleetOutboxQuery,
type FleetOutboxStatus,
type FleetOutboxSummary,
} from './fleet/fleet-messages-page.js';
export {
FleetNotificationsPage,
type FleetNotificationsPageProps,
} from './fleet/fleet-notifications-page.js';
export { FleetLogsPage, LOG_PAGE_SIZE } from './fleet/fleet-logs-page.js';
export { createLogCenterApiDataSource } from './fleet/log-center-api-data-source.js';
export {
CONNECTION_OUTCOMES,
LEVEL_LABELS,
LOG_LEVELS,
LOG_SOURCES,
OUTCOME_LABELS,
SOURCE_LABELS,
logQueryParams,
parseLogPage,
parseRuntimeLogPage,
sanitizeConnectionLogEntry,
sanitizeConnectionSummary,
sanitizeInstanceDiagnostics,
sanitizeRuntimeLogEntry,
type ConnectionLogEntry,
type ConnectionOutcome,
type InstanceDiagnostics,
type LogCenterDataSource,
type LogLevel,
type LogQuery,
type LogSource,
type RuntimeLogEntry,
type RuntimeLogPage,
} from './fleet/log-center-types.js';
export {
createNotificationCenterApiDataSource,
NOTIFICATION_PAGE_SIZE,
} from './fleet/notification-center-api.js';
export {
sanitizeNotificationCenterSnapshot,
sanitizeNotificationChannel,
sanitizeNotificationLogEntry,
sanitizeNotificationQueueEntry,
sanitizeNotificationRule,
} from './fleet/notification-center-sanitize.js';
export {
CHANNEL_TYPE_PRESETS,
CONDITION_FIELDS,
CONDITION_MODES,
DEVICE_STATE_LABELS,
EVENT_TYPE_PRESETS,
QUEUE_STATUSES,
STATUS_LABELS,
channelTypeLabel,
eventTypeLabel,
formatTimestamp,
statusLabel,
statusTone,
type NotificationChannel,
type NotificationChannelDraft,
type NotificationChannelType,
type NotificationCenterDataSource,
type NotificationCenterSnapshot,
type NotificationDevice,
type NotificationEventType,
type NotificationLogEntry,
type NotificationPage,
type NotificationQueueEntry,
type NotificationRule,
type NotificationRuleDraft,
} from './fleet/notification-center-types.js';
export * from './fleet/fleet-table-view-model.js';
export { InstanceEditor, type InstanceEditorProps } from './instances/instance-crud.js';
export {
InstanceDetail,
INSTANCE_MODULE_LABELS,
type CapabilityDataSource,
type CapabilityState,
type InstanceCapability,
type InstanceCapabilityMap,
type InstanceDetailProps,
} from './instances/instance-detail.js';
export {
createInstanceApiDataSource,
passwordUpdate,
tagsFromInput,
type InstanceDataSource,
type ManagedInstance,
type PasswordUpdate,
} from './instances/instance-api-data-source.js';
export {
createEventStreamClient,
createSseParser,
parseEventEnvelope,
type EventStreamClient,
type EventStreamClientOptions,
type EventStreamListener,
type EventStreamState,
type EventStreamStateListener,
type SseParser,
type SseRecord,
} from './events/event-stream-client.js';
export {
createEventInvalidationController,
type EventInvalidationController,
type EventInvalidationOptions,
type InvalidationBatch,
} from './events/event-invalidation-controller.js';
export {
OverviewSystemPage,
type OverviewDataSource,
type OverviewFieldValue,
type OverviewSection,
type OverviewSnapshot,
type OverviewSystemPageProps,
} from './instances/overview-system.js';
export {
createOperationClient,
OperationClientError,
type OperationCatalogEntry,
type OperationCatalogPage,
type OperationCatalogQuery,
type OperationClient,
type OperationJob,
type PrepareOperationInput,
type PreparedOperation,
} from './operations/operation-client.js';
export {
CellularModule,
type CellularDataSource,
type CellularFieldValue,
type CellularLocation,
type CellularModuleProps,
type CellularNetworkRegistration,
type CellularOperators,
type CellularSignal,
type CellularSnapshot,
} from './instances/cellular-module.js';
export {
DeviceNetworkModule,
type DeviceNetworkDataSource,
type DeviceNetworkModuleProps,
type DeviceNetworkSnapshot,
} from './instances/device-network-module.js';
export {
CallsModule,
type CallsDataSource,
type CallsModuleProps,
type CallsSnapshot,
} from './instances/calls-module.js';
export {
MessagesModule,
type MessagesDataSource,
type MessagesModuleProps,
type MessagesSnapshot,
} from './instances/messages-module.js';
export {
AutomationModule,
sanitizeAutomationSnapshot,
type AutomationDataSource,
type AutomationModuleProps,
type AutomationSnapshot,
} from './instances/automation-module.js';
export {
EsimModule,
type EsimDataSource,
type EsimModuleProps,
type EsimSnapshot,
} from './instances/esim-module.js';
export {
NotificationsModule,
sanitizeNotificationsSnapshot,
type NotificationsDataSource,
type NotificationsModuleProps,
type NotificationsSnapshot,
} from './instances/notifications-module.js';
export {
OtaModule,
type OtaDataSource,
type OtaModuleProps,
type OtaSnapshot,
} from './instances/ota-module.js';
export {
AuditPage,
sanitizeAuditPage,
type AuditDataSource,
type AuditPageProps,
} from './audit/audit-page.js';
export {
JobsPage,
sanitizeJobPage,
sanitizeReconcileResult,
type JobsDataSource,
type JobsPageProps,
type SafeReconcileResult,
} from './jobs/jobs-page.js';
export {
InstanceSettingsPage,
type InstanceSettingsPageProps,
} from './settings/instance-settings-page.js';
export { createAuditApiDataSource } from './audit/audit-api-data-source.js';
export { JobsApiError, createJobsApiDataSource } from './jobs/jobs-api-data-source.js';
export const webWorkspaceReady = true;