openvidu/openvidu-dashboard/dashboard-ce/backend/src/index.ts

90 lines
3.6 KiB
TypeScript

export { TOKENS } from './di/tokens.js';
export { type DashboardConfig, variableErrors } from './config/variables.js';
export type { Logger } from './logging/logger.js';
export { Shutdown, type Exit } from './lifecycle/shutdown.js';
export { runHealthcheck } from './lifecycle/healthcheck.js';
export {
type DashboardOptions,
ExitCode,
type RunningDashboard,
startDashboard,
type StartupContext,
type StartupHook
} from './lifecycle/startup.js';
export { type OpenApiLicense, type OpenApiOptions, openApiDocument } from './api/openapi.js';
export {
type AuthContext,
type HttpMethod,
type RouteDefinition,
type RouteInput,
type RouteLock,
RouteRegistry,
type RouteResponse,
type RouteSecurity
} from './api/route-registry.js';
export {
type AnalyticsCatalogue,
CE_ANALYTICS_CATALOGUE,
type DimensionDefinition,
type MetricDefinition,
ratio as ratioMetric,
sum as sumMetric
} from './analytics/analytics-catalogue.js';
export { AnalyticsFeatureGate } from './analytics/analytics-gate.js';
export { AnalyticsService } from './analytics/analytics-service.js';
export { EgressService } from './egress/egress-service.js';
export { ApiError } from './http/api-error.js';
export { InfoService } from './info/info-service.js';
export type { ParticipantGroup, RoomGroup } from './overview/overview-repository.js';
export { overviewResponse } from './overview/overview-responses.js';
export { overviewRoute } from './overview/overview-routes.js';
export { type OverviewExtension, type OverviewInputs, OverviewService } from './overview/overview-service.js';
export { IngressService } from './ingress/ingress-service.js';
export { ParticipantsService } from './participants/participants-service.js';
export { RoomsService } from './rooms/rooms-service.js';
export { StatsModeReader } from './stats/stats-mode.js';
// Generic pieces the PRO routes, queries and responses are built on.
export {
buildPage,
type CursorPayload,
cursorOrThrow,
decodeCursor,
encodeCursor,
pageQuery,
type PageQuery,
type SortValue
} from './api/cursor.js';
export { compareIds, compareValues, indexOrderedPage, type Page } from './api/keyset.js';
export { iso } from './api/mapping.js';
export {
csvParam,
cursorParam,
limitParam,
optionalRangeQuery,
orderParam,
qParam,
rangedQuery,
tzParam
} from './api/query.js';
export { ROLLUP_INDEX } from './analytics/analytics-repository.js';
export { isoDate, listResponse, mediaStatsField, staleField } from './api/responses.js';
export { prefixRegex } from './api/search.js';
export { bucketStart, bucketStarts, MAX_BUCKETS } from './api/time-series.js';
export { ifNoneMatchMatches } from './http/conditional.js';
export { readRetentionMs, readStatsRetentionMs } from './schema/retention.js';
export { markStale, nodeAlive, type StaleContext, staleFlag, WriterFreshness } from './status/freshness.js';
export { compact, type Loose } from './util/compact.js';
export { enumValues } from './util/enum-values.js';
// CE resource pieces the PRO details extend.
export { EGRESS_LIST_PROJECTION, toEgressListItem } from './egress/egress-mappers.js';
export { egressesListResponse, egressListFields } from './egress/egress-responses.js';
export { toIngressListItem } from './ingress/ingress-mappers.js';
export { ingressListFields } from './ingress/ingress-responses.js';
export { toParticipantListItem } from './participants/participants-mappers.js';
export { PARTICIPANT_LIST_PROJECTION } from './participants/participants-query.js';
export { participantClientSummary, participantListFields } from './participants/participants-responses.js';
export { toRoomListItem } from './rooms/rooms-mappers.js';
export { roomListFields } from './rooms/rooms-responses.js';