Brave Ship Window Core - Pure, framework-agnostic maintenance window logic
This package provides the logic for determining if a feature or application is currently in a maintenance window or has a planned downtime.
import { FeatureConfig } from '@farmart-tech/brave-window-core';const config = new FeatureConfig('my-app', { plannedReleases: [{ downtimeStartAt: '2024-01-01T10:00:00Z', downtimeEndAt: '2024-01-01T12:00:00Z', scopes: ['web'] }]});const isInMaintenance = config.getIsInMaintenance('web'); Copy
import { FeatureConfig } from '@farmart-tech/brave-window-core';const config = new FeatureConfig('my-app', { plannedReleases: [{ downtimeStartAt: '2024-01-01T10:00:00Z', downtimeEndAt: '2024-01-01T12:00:00Z', scopes: ['web'] }]});const isInMaintenance = config.getIsInMaintenance('web');
FeatureConfig for the main maintenance evaluation class
Brave Ship Window Core - Pure, framework-agnostic maintenance window logic
This package provides the logic for determining if a feature or application is currently in a maintenance window or has a planned downtime.
Example: Checking for maintenance
See
FeatureConfig for the main maintenance evaluation class