Module

for-nest

This module serves as the main entry point for the ts-workspace library. It aggregates and exports functionality from various submodules and utilities within the project.

The module includes:

  1. Utility functions and types from the "./utils" directory:

    • These likely contain helper functions, common types, and shared functionality used throughout the project.
    • May include operations for data manipulation, type checking, or other general-purpose utilities.
  2. A namespace and related types from the "./namespace" directory:

    • This could contain domain-specific code or a collection of related functionality.
    • Might include interfaces, types, or classes that represent core concepts in the library.
  3. A VERSION constant:

    • Represents the current version of the module.
    • Useful for version checking and compatibility purposes.

This structure provides a clean and organized export of the module's functionality, allowing consumers to easily import and use specific parts of the library as needed.

View Source index.ts, line 2

Namespaces

events

Exposes the classes that expose Decaf's Observer pattern as a NestJS SSE stream over HTTP: the EventsController and EventsSubscriptionController request handlers, the ObserverSubscriptionRegistry that tracks topic subscriptions per requester fingerprint, the DecafStreamModule that wires them into a Nest application and the module-level ObserverEventsOptions.

Members

string

# static constant VERSION

Represents the current version of the ts-workspace module.

Represents the current version of the ts-workspace module. The actual version number is replaced during the build process.

View Source index.ts, line 47

# inner constant COMMIT

Stores the current git commit hash for the package. The build replaces the placeholder with the actual commit hash at publish time.

Represents the current commit hash of the module build.

View Source index.ts, line 48

# inner constant FULL_VERSION

Stores the semver version and commit hash for the package. The build replaces the placeholder with the actual <version>-<commit> value at publish time.

Represents the full version string of the module.

View Source index.ts, line 55