Initial Commit
This commit is contained in:
40
packages/networking/network/service-discovery/src/index.ts
Normal file
40
packages/networking/network/service-discovery/src/index.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
// 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";
|
||||
Reference in New Issue
Block a user