@scaffoldly/rowdy 0.0.2-1-beta.20251001124440.3766778 → 0.0.2-1-beta.20251001181536.46b12ea

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -29,6 +29,13 @@ declare class URI extends URL implements ILoggable {
29
29
  static from(uri: string): URI;
30
30
  repr(): string;
31
31
  }
32
+ type Health = Array<{
33
+ match?: RouteRuleMatch;
34
+ backends?: Array<{
35
+ origin: string;
36
+ healthy: boolean;
37
+ }>;
38
+ }>;
32
39
  declare class Routes implements IRoutes, ILoggable {
33
40
  readonly version: RoutesVersion;
34
41
  readonly rules: Array<RouteRule>;
@@ -42,6 +49,7 @@ declare class Routes implements IRoutes, ILoggable {
42
49
  static fromDataURL(dataUrl?: string): Routes;
43
50
  intoDataURL(): string;
44
51
  intoURI(path: string): URI | undefined;
52
+ health(): Promise<Health>;
45
53
  repr(): string;
46
54
  }
47
55