Core - v1.0.0
    Preparing search index...

      Core - v1.0.0

      The entire published surface. package.json#exports points here and TypeDoc documents from here, so a symbol is API when it appears below and internal when it does not. Keep it a barrel — behaviour belongs in core/.

      Directory Holds May import from
      index.ts re-exports only every layer
      core/ behaviour: Service, Logger, the config engine every layer below
      types/ shapes callers receive or supply, incl. capabilities nothing in src/
      constants/ values that never depend on runtime state nothing in src/
      exceptions/ the faults raised nothing in src/
      security/ primitives that exist to be safe nothing in src/
      utils/ helpers any library could use nothing in src/

      Dependency arrows point into the leaf layers and never back out. A lint rule enforces it, because a convention only survives as long as everyone remembers it, and the import that breaks it looks like every other import at the point it is written.

      The layer everything else depends on, which holds only while it names no vendor, no runtime, and no HTTP framework. Anything here that seems to need a vendor SDK, a runtime's types, or an HTTP framework belongs in an adapter package instead — a second lint rule enforces that too.

      import { configure, Logger, systemDefaults } from '@bayudwiyansatria/core'
      import { platformDefaults } from '<the-adapter-package>'

      // Once, at startup, before anything resolves a setting.
      configure({ ...systemDefaults, ...platformDefaults }, overrides)

      const log = Logger.fromEnv(env, { service: 'ArticleService' })
      log.info('ready')

      Bayu Dwiyan Satria

      1.0.0

      1.0.0

      ConfigurationError
      Logger
      MissingCapabilityError
      NoopCacheStore
      NoopMessageQueue
      NoopRateLimiter
      NoopTelemetrySink
      Service
      Signature
      Text
      Time
      APIResponse
      CacheStore
      Capability
      CoordinationStore
      DataStore
      InferenceEngine
      LogContext
      LoggingSettings
      MessageQueue
      ObjectStore
      RateLimiter
      RequestFacts
      RequestMetadata
      RequestMetric
      SecuritySettings
      SqlConnectionProvider
      SqlCredentials
      SqlStatement
      SqlTarget
      SqlWriteResult
      StoredObject
      SystemConfiguration
      TelemetrySink
      VectorIndex
      VectorMatch
      LogLevel
      Overrides
      systemDefaults
      configure
      resolve
      timingSafeEqual