Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
This library contains the core types for Fathym's Everything as Code (EaC) framework.
default
The core Everything as Code (EaC) types.
Type representing whether to fetch all or any matches.
Schema for AllAnyTypes.
Validates that the value is one of the AllAnyTypes union type values.
Represents the JWT payload structure for EaC API requests.
Schema for EaCAPIJWTPayload.
Validates the JWT payload structure, ensuring specific keys like EnterpriseLookup, JWT, and Username
are of the correct types while allowing additional metadata through dynamic keys.
Everything as Code (EaC) details.
Schema for EaCDetails.
Validates the structure for Everything as Code (EaC) details, focusing on the Details field which
captures vertex-specific properties and supports metadata extensibility.
EaC enterprise details.
Schema for EaCEnterpriseDetails.
Validates the structure for enterprise details, inheriting all properties from EaCVertexDetailsSchema.
The base type for Everything as Code (EaC) to create open EaC types. This represents an extensible metadata structure with arbitrary keys and values.
Schema for EaCMetadataBase.
Validates that the object is an extensible metadata structure with arbitrary keys and values.
Represents a collection of EaC module actuators for use in EaC processing.
Schema for EaCModuleActuator.
This schema validates a configuration for handling a specific EaC module,
ensuring consistency for API paths and processing order.
Schema for EaCModuleActuators.
Validates a collection of EaC module actuators with a $Force flag and dynamic keys mapping to individual EaCModuleActuator configurations.
Represents a user record in the Everything as Code (EaC) framework.
Schema for EaCUserRecord.
This schema validates user records, ensuring a consistent structure for enterprise-related user data.
Details about a vertex in the Everything as Code (EaC) graph.
Schema for EaCVertexDetails.
This schema validates the essential details of a vertex in the EaC graph.
Everything as Code (EaC).
Schema for EverythingAsCode.
Validates the structure of an EaC node, ensuring consistency in identification, configuration,
and hierarchical linking properties.
Type guard for AllAnyTypes.
Validates if the given value is a valid AllAnyTypes value.
Type guard for EaCAPIJWTPayload.
Validates if the given object conforms to the EaCAPIJWTPayload structure.
Type guard for EaCDetails.
Validates if the given object conforms to the EaCDetails structure.
Type guard for EaCEnterpriseDetails.
Validates if the given object conforms to the EaCEnterpriseDetails structure.
Type guard for EaCMetadataBase.
Validates if the given object conforms to the EaCMetadataBase structure.
Type guard for EaCModuleActuator.
Validates if the given object conforms to the EaCModuleActuator structure.
Type guard for EaCModuleActuators.
Validates if the given object conforms to the EaCModuleActuators structure.
Type guard for EaCUserRecord.
Validates if the given object conforms to the EaCUserRecord structure.
Type guard for EaCVertexDetails.
Validates if the given object conforms to the EaCVertexDetails structure.
Type guard for EverythingAsCode.
Validates if the given object conforms to the EverythingAsCode structure.
Validates and parses a value as AllAnyTypes.
Validates and parses an object as EaCAPIJWTPayload.
Validates and parses an object as EaCDetails.
Validates and parses an object as EaCEnterpriseDetails.
Validates and parses an object as EaCMetadataBase.
Validates and parses an object as EaCModuleActuator.
Validates and parses an object as EaCModuleActuators.
Validates and parses an object as EaCUserRecord.
Validates and parses an object as EaCVertexDetails.
Validates and parses an object as EverythingAsCode.
dfs
The core Everything as Code (EaC) Distributed File System types.
Represents options for configuring a Distributed File System (DFS).
Schema for DistributedFileSystemOptions.
Ensures that DFS-specific options conform to expected types.
Represents details for an Azure Blob Storage-backed Distributed File System (DFS) in Everything as Code (EaC).
Schema for EaCAzureBlobStorageDistributedFileSystemDetails.
Ensures Type is explicitly "AzureBlobStorage" while extending EaCDistributedFileSystemDetailsSchema.
Represents details for a Deno KV-backed Distributed File System (DFS) in Everything as Code (EaC).
Schema for EaCDenoKVDistributedFileSystemDetails.
Ensures Type is explicitly "DenoKV" while extending EaCDistributedFileSystemDetailsSchema.
Represents an Everything as Code (EaC) Distributed File System (DFS).
Schema for EaCDistributedFileSystemAsCode.
Ensures that Details conforms to EaCDistributedFileSystemDetailsSchema.
Represents details for a Distributed File System (DFS) in Everything as Code (EaC).
Schema for EaCDistributedFileSystemDetails.
Ensures that DFS-specific properties conform to expected types while extending EaCVertexDetailsSchema.
Represents details for an ESM-backed Distributed File System (DFS) in Everything as Code (EaC).
Schema for EaCESMDistributedFileSystemDetails.
Ensures Type is explicitly "ESM" while extending EaCDistributedFileSystemDetailsSchema.
Represents details for a JSR-backed Distributed File System (DFS) in Everything as Code (EaC).
Schema for EaCJSRDistributedFileSystemDetails.
Ensures Type is explicitly "JSR" while extending EaCDistributedFileSystemDetailsSchema.
Represents details for a Local File System-backed Distributed File System (DFS) in Everything as Code (EaC).
Schema for EaCLocalDistributedFileSystemDetails.
Ensures Type is explicitly "Local" while extending EaCDistributedFileSystemDetailsSchema.
Represents details for an NPM-backed Distributed File System (DFS) in Everything as Code (EaC).
Schema for EaCNPMDistributedFileSystemDetails.
Ensures Type is explicitly "NPM" while extending EaCDistributedFileSystemDetailsSchema.
Represents details for a Remote-backed Distributed File System (DFS) in Everything as Code (EaC).
Schema for EaCRemoteDistributedFileSystemDetails.
Ensures Type is explicitly "Remote" while extending EaCDistributedFileSystemDetailsSchema.
Represents the Everything as Code (EaC) Distributed File System (DFS) structure.
Schema for EverythingAsCodeDFS.
Type guard for DistributedFileSystemOptions.
Validates if the given object conforms to the DistributedFileSystemOptions structure.
Type guard for EaCAzureBlobStorageDistributedFileSystemDetails.
Validates if the given object conforms to the EaCAzureBlobStorageDistributedFileSystemDetails structure.
Type guard for EaCDenoKVDistributedFileSystemDetails.
Validates if the given object conforms to the EaCDenoKVDistributedFileSystemDetails structure.
Type guard for EaCDistributedFileSystemAsCode.
Validates if the given object conforms to the EaCDistributedFileSystemAsCode structure.
Type guard for EaCDistributedFileSystemDetails.
Validates if the given object conforms to the EaCDistributedFileSystemDetails structure.
Type guard for EaCESMDistributedFileSystemDetails.
Validates if the given object conforms to the EaCESMDistributedFileSystemDetails structure.
Type guard for EaCJSRDistributedFileSystemDetails.
Validates if the given object conforms to the EaCJSRDistributedFileSystemDetails structure.
Type guard for EaCLocalDistributedFileSystemDetails.
Validates if the given object conforms to the EaCLocalDistributedFileSystemDetails structure.
Type guard for EaCNPMDistributedFileSystemDetails.
Validates if the given object conforms to the EaCNPMDistributedFileSystemDetails structure.
Type guard for EaCRemoteDistributedFileSystemDetails.
Validates if the given object conforms to the EaCRemoteDistributedFileSystemDetails structure.
Type guard for EverythingAsCodeDFS.
Validates if the given object conforms to the EverythingAsCodeDFS structure.
Validates and parses an object as DistributedFileSystemOptions.
Validates and parses an object as EaCAzureBlobStorageDistributedFileSystemDetails.
Validates and parses an object as EaCDenoKVDistributedFileSystemDetails.
Validates and parses an object as EaCDistributedFileSystemAsCode.
Validates and parses an object as EaCDistributedFileSystemDetails.
Validates and parses an object as EaCESMDistributedFileSystemDetails.
Validates and parses an object as EaCJSRDistributedFileSystemDetails.
Validates and parses an object as EaCLocalDistributedFileSystemDetails.
Validates and parses an object as EaCNPMDistributedFileSystemDetails.
Validates and parses an object as EaCRemoteDistributedFileSystemDetails.
Validates and parses an object as EverythingAsCodeDFS.
Implements DFSFileHandler for Azure Blob Storage.
Implements DFSFileHandler for Deno KV-backed storage.
Abstract base class implementing IDFSFileHandler.
Concrete implementations must provide method implementations.
Implements DFSFileHandler for ESM-based file systems.
Implements DFSFileHandler using HTTP(S) and local file fetching.
Interface defining methods for a Distributed File System (DFS) File Handler.
Specialized DFS handler for JSR-backed file systems. Handles version resolution and file retrieval from jsr.io.
Implements DFSFileHandler for local file system storage.
Implements DFSFileHandler for NPM-based file storage via Skypack CDN.
Implements DFSFileHandler for worker-based DFS execution.
Resolver for Azure Blob Storage Distributed File Systems (DFS).
Resolver for ESM-based Distributed File Systems (DFS).
Resolver for JSR-based Distributed File Systems (DFS).
Resolver for Local Distributed File Systems (DFS).
Resolver for NPM Distributed File Systems (DFS) using Skypack CDN.
Resolver for Remote Distributed File Systems (DFS).
Resolver for Worker-based Distributed File Systems (DFS).
- Configure
- EaC
- Gateway
- Handle
- IoC
- Middleware
- OnEaCChanged
- Revision
- buildContext
- buildRouteGroupHandlers
- buildRouteGroupRouteHandler
- configurationFinalization
- configurationSetup
- configurePipeline
- configurePlugins
- filterRoutes
- finalizePlugins
- logger
- pipeline
- pluginConfigs
- pluginDefs
- resetRuntime
- setURLMatch
- shouldContinueToNextRoute
The EaC Application Resolver Configuration.
Function to find an available port in the given range
Generalized function for resolving ports
steward/status
Helpers for interacting with and managing the EaC commit status.
Executes a connection request for a specific EaC handler.
Checks if a given EaC entry exists in the key-value store.
Invalidates processing for a specific EaC entry if it exceeds the maximum runtime.
Marks an EaC entry as processed by deleting relevant keys.
Waits for EaC processing to complete with a specific handler.
types
Supporting types for working with the EaC.