41 lines
866 B
TypeScript
41 lines
866 B
TypeScript
// Core
|
|
|
|
export type { RegisterInput } from "./core/service-registry/service-registry.js";
|
|
export { ServiceRegistry } from "./core/service-registry/service-registry.js";
|
|
|
|
// Errors
|
|
export {
|
|
SVC_DISC_CODES,
|
|
SvcDiscError,
|
|
type SvcDiscErrorCode,
|
|
} from "./errors/errors.js";
|
|
|
|
// OTel
|
|
export {
|
|
bindActiveServicesGauge,
|
|
type RegistrationOutcome,
|
|
recordQuery,
|
|
recordQueryDuration,
|
|
recordRegistration,
|
|
} from "./otel/otel.js";
|
|
|
|
// Types
|
|
export type {
|
|
RegistryEvent,
|
|
ServiceDescriptor,
|
|
ServiceQuery,
|
|
ServiceRegistryConfig,
|
|
ServiceRegistryEventMap,
|
|
ServiceRegistryStorageLike,
|
|
ServiceStatus,
|
|
} from "./types/types.js";
|
|
|
|
// Schemas
|
|
export {
|
|
RegistrationInputSchema,
|
|
ServiceDescriptorSchema,
|
|
ServiceQuerySchema,
|
|
ServiceRegistryConfigSchema,
|
|
ServiceStatusSchema,
|
|
} from "./types/types.schemas.js";
|